/* ==========================================================================
   UDENWA.DEV - BLAZE SOLID MODERN DESIGN SYSTEM
   Clean, Solid Dark UI inspired by Blaze Fashion Home
   (Deep Teal, Midnight Plum & Warm Blush Rose - Crisp, Solid & Non-Glassmorphic)
   Author: Udenwa Fidelis Ojinkama
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Design Tokens (Solid Dark Theme)
   -------------------------------------------------------------------------- */
:root {
    /* Background Canvas */
    --bg-dark: #0e1517;
    --bg-main: #121d20;
    --bg-secondary: #1c1828;
    --bg-card: #1a1626;
    --bg-card-hover: #241e34;
    --bg-input: #120e1c;
    --bg-header: #0e1517;

    /* Blaze Signature Accents */
    --accent-teal: #088178;
    --accent-lightsea: #0ba59a;
    --accent-blush: #ca9c9f;
    --accent-coral: #fddde4;
    --accent-bisque: #ffe4c4;
    --accent-emerald: #10b981;
    --accent-rose: #ff477e;

    /* Primary Aliases */
    --accent-primary: #088178;
    --accent-secondary: #0ba59a;
    --accent-highlight: #ca9c9f;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-dark: #0e1517;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #088178 0%, #0ba59a 50%, #ca9c9f 100%);
    --gradient-blaze: linear-gradient(135deg, #088178 0%, #0ba59a 100%);
    --gradient-blush: linear-gradient(135deg, #ca9c9f 0%, #0ba59a 100%);

    /* Borders & Solid Shadows */
    --border-subtle: 1px solid #292238;
    --border-card: 1px solid rgba(202, 156, 159, 0.22);
    --border-card-hover: 1px solid #088178;
    --border-blush: 1px solid #ca9c9f;
    --border-teal: 1px solid #088178;
    --shadow-card: 0 4px 18px rgba(0, 0, 0, 0.38);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.48), 0 0 16px rgba(8, 129, 120, 0.25);

    /* Typography */
    --font-heading: 'Poppins', 'Outfit', sans-serif;
    --font-body: 'Poppins', 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transitions & Radii */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    color-scheme: dark;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea {
    font-family: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

/* Disabled glow & overlay elements for a clean, plain background */
.ambient-glow,
.card-glow,
.form-glow,
.grid-overlay {
    display: none !important;
}

/* --------------------------------------------------------------------------
   3. Scroll Progress Bar
   -------------------------------------------------------------------------- */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-primary);
    z-index: 1200;
    transition: width 0.1s ease-out;
}

/* --------------------------------------------------------------------------
   4. Header & Navigation (Solid Dark)
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    z-index: 1100;
    background: var(--bg-header);
    border-bottom: 1px solid rgba(202, 156, 159, 0.18);
    transition: var(--transition-normal);
}

.header.scrolled {
    height: 66px;
    background: #0a0f11;
    border-bottom: 1px solid var(--accent-teal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1240px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav_logo a {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

.logo-bracket {
    color: var(--accent-lightsea);
    font-family: var(--font-mono);
    font-weight: 600;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 2px;
}

.logo-dot {
    color: var(--accent-blush);
}

.nav_menu {
    display: flex;
    align-items: center;
}

.nav_list {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #1c1828;
    padding: 5px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(202, 156, 159, 0.2);
}

.nav_link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav-icon {
    font-size: 0.82rem;
    opacity: 0.75;
}

.nav_link:hover {
    color: var(--text-primary);
    background: #272138;
}

.nav_link.active {
    background: var(--accent-teal);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(8, 129, 120, 0.4);
}

.nav_link.active .nav-icon {
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    border: 1px solid var(--accent-blush);
    border-radius: var(--radius-full);
    background: #1c1828;
    transition: var(--transition-fast);
}

.btn-nav:hover {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(8, 129, 120, 0.4);
}

.nav-drawer-header,
.nav-drawer-footer {
    display: none;
}

.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1080;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: var(--radius-sm);
    background: #1c1828;
    border: 1px solid rgba(202, 156, 159, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}

.nav-toggle:hover {
    background: #252036;
    border-color: var(--accent-lightsea);
}

.nav-toggle .bar {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. Section Header & Containers
   -------------------------------------------------------------------------- */
.section {
    padding: 95px 24px 55px;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-lightsea);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    background: #142426;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--accent-teal);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.title-underline {
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    margin: 12px auto 0;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 14px auto 0;
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero {
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 105px;
    padding-bottom: 45px;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 45px;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #142426;
    border: 1px solid #088178;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.radar-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-lightsea);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(11, 165, 154, 0.8);
}

.status-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-lightsea);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.typing-container {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 38px;
}

.typing-prefix {
    color: var(--text-muted);
    margin-right: 8px;
}

.typing-text {
    color: var(--accent-lightsea);
    font-weight: 700;
}

.typing-cursor {
    color: var(--accent-lightsea);
    font-weight: 300;
    animation: blink 1s infinite;
    margin-left: 2px;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 28px;
}

/* Social Bar */
.social-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: #1c1828;
    border: 1px solid rgba(202, 156, 159, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-pill i {
    font-size: 0.95rem;
}

.social-pill:hover {
    color: var(--text-primary);
    background: #252036;
    border-color: var(--accent-lightsea);
    transform: translateY(-2px);
}

.social-pill.whatsapp:hover {
    border-color: #10b981;
    color: #34d399;
}

.social-pill.instagram:hover {
    border-color: var(--accent-blush);
    color: var(--accent-blush);
}

.social-pill.facebook:hover {
    border-color: #3b82f6;
    color: #60a5fa;
}

/* Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-fast);
    border: none;
}

.btn-primary {
    background-color: var(--accent-teal);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(8, 129, 120, 0.35);
}

.btn-primary:hover {
    background-color: #ffffff;
    color: var(--accent-teal);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(202, 156, 159, 0.4);
}

.btn-secondary {
    background: #1c1828;
    color: var(--text-primary);
    border: 1px solid var(--accent-blush);
}

.btn-secondary:hover {
    background: var(--accent-lightsea);
    border-color: var(--accent-lightsea);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-download {
    background: transparent;
    color: var(--accent-blush);
    border: 1px dashed var(--accent-blush);
}

.btn-download:hover {
    background: #1c1828;
    border-style: solid;
    border-color: var(--accent-blush);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Avatar Showcase */
.hero_img {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.avatar-wrapper {
    position: relative;
    width: 330px;
    height: 330px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-ring {
    position: absolute;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    border: 2px solid var(--accent-blush);
}

.avatar-frame {
    position: relative;
    width: 290px;
    height: 290px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-teal);
    background: var(--bg-secondary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: #1f1a2c;
    border: 1px solid var(--accent-blush);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    z-index: 5;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.floating-badge:hover {
    transform: translateY(-3px);
    border-color: var(--accent-lightsea);
}

.floating-badge i {
    font-size: 1rem;
}

.badge-1 {
    top: 15px;
    left: -5px;
    color: #61dafb;
}

.badge-2 {
    bottom: 20px;
    left: -15px;
    color: #f7df1e;
}

.badge-3 {
    top: 50%;
    right: -20px;
    color: var(--accent-lightsea);
}

/* Stats Bar */
.hero-stats-container {
    max-width: 1120px;
    width: 100%;
    margin: 50px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: var(--bg-card);
    border: 1px solid rgba(202, 156, 159, 0.25);
    border-radius: var(--radius-lg);
    padding: 26px 36px;
    box-shadow: var(--shadow-card);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.stat-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md);
    background: #142426;
    border: 1px solid var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-lightsea);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.stat-num-wrapper {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-blush);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.3;
}

.stat-divider {
    width: 1px;
    height: 46px;
    background: rgba(202, 156, 159, 0.25);
    flex-shrink: 0;
    margin: 0 4px;
}

/* --------------------------------------------------------------------------
   7. About Section
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 32px;
    align-items: stretch;
}

.about-story-card {
    background: var(--bg-card);
    border: 1px solid rgba(202, 156, 159, 0.25);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.about-story-card:hover {
    border-color: var(--accent-teal);
}

.story-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.story-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-blush);
}

.story-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.story-role {
    font-size: 0.88rem;
    color: var(--accent-lightsea);
    font-weight: 600;
}

.story-body p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 14px;
}

.key-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.highlight-item i {
    color: var(--accent-teal);
    font-size: 0.95rem;
}

/* About Details Column */
.about-details-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid rgba(202, 156, 159, 0.2);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-fast);
}

.detail-box:hover {
    border-color: var(--accent-teal);
    background: var(--bg-card-hover);
}

.detail-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: #142426;
    border: 1px solid var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-lightsea);
    font-size: 1rem;
}

.detail-box h4 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.detail-box p {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text-primary);
}

.detail-box a {
    color: var(--accent-lightsea);
}

.vision-quote-card {
    background: #171324;
    border: 1px solid var(--accent-blush);
    border-radius: var(--radius-md);
    padding: 22px;
    position: relative;
    margin-top: auto;
    box-shadow: var(--shadow-card);
}

.quote-icon {
    font-size: 1.3rem;
    color: var(--accent-blush);
    opacity: 0.6;
    margin-bottom: 8px;
}

.quote-text {
    font-style: italic;
    color: var(--text-primary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.quote-author {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-blush);
    text-align: right;
}

/* --------------------------------------------------------------------------
   8. Services Section
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(202, 156, 159, 0.2);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-teal);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-hover);
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: #142426;
    border: 1px solid var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-lightsea);
    font-size: 1.35rem;
    margin-bottom: 18px;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon-wrap {
    background: var(--accent-teal);
    color: #ffffff;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 18px;
    flex-grow: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.service-tags li span {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--accent-lightsea);
    background: #142426;
    border: 1px solid var(--accent-teal);
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   9. Slider Controls & Scroll Containers (Solid UI)
   -------------------------------------------------------------------------- */
.slider-outer-wrapper {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 auto;
}

.slider-arrow,
#skills-prev-btn,
#skills-next-btn,
#projects-prev-btn,
#projects-next-btn {
    display: none !important;
}

/* --------------------------------------------------------------------------
   10. Skills Section (Compact Desktop Grid & Mobile Slider)
   -------------------------------------------------------------------------- */

.skills-scroll-container {
    width: 100%;
    overflow: visible;
    padding: 0;
}

.skills-slider {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    width: 100%;
}

.skill-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    background: var(--bg-card);
    border: 1px solid rgba(202, 156, 159, 0.2);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 11px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-fast);
}

.skill-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-teal);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-hover);
}

.skill-icon-wrap {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.skill-icon-wrap img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.skill-details {
    display: flex;
    flex-direction: column;
}

.skill-name {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.skill-badge {
    font-size: 0.65rem;
    font-family: var(--font-mono);
    color: var(--accent-lightsea);
    margin-top: 2px;
}

.skill-card.learning {
    border-color: rgba(202, 156, 159, 0.35);
    background: #1e1728;
}

.skill-card.learning:hover {
    border-color: var(--accent-blush);
}

.skill-card.learning .skill-badge {
    color: var(--accent-blush);
}

/* --------------------------------------------------------------------------
   11. Projects Section (Horizontal Scroll Slider)
   -------------------------------------------------------------------------- */
.project-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 7px 18px;
    border-radius: var(--radius-md);
    background: #1c1828;
    border: 1px solid rgba(202, 156, 159, 0.3);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    color: var(--text-primary);
    background: #272138;
}

.filter-btn.active {
    background: var(--accent-teal);
    color: #ffffff;
    border-color: var(--accent-teal);
    box-shadow: 0 2px 10px rgba(8, 129, 120, 0.35);
}

.projects-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 12px 4px 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-teal) #1c1828;
    cursor: grab;
    user-select: none;
}

.projects-scroll-container:active {
    cursor: grabbing;
}

.projects-scroll-container::-webkit-scrollbar {
    height: 7px;
}

.projects-scroll-container::-webkit-scrollbar-track {
    background: #140f20;
    border-radius: 10px;
}

.projects-scroll-container::-webkit-scrollbar-thumb {
    background: var(--accent-teal);
    border-radius: 10px;
}

.project-slider {
    display: flex;
    gap: 24px;
    flex-wrap: nowrap;
    width: max-content;
}

.project-card {
    width: 350px;
    min-width: 320px;
    max-width: 360px;
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid rgba(202, 156, 159, 0.25);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-hover);
}

.project-img-box {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.project-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.project-card:hover .project-img-box img {
    transform: scale(1.04);
}

.project-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.project-status-badge.live {
    background: #102d29;
    color: #34d399;
    border: 1px solid var(--accent-teal);
}

.project-status-badge.demo {
    background: #2b1f28;
    color: var(--accent-blush);
    border: 1px solid var(--accent-blush);
}

.status-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.project-status-badge.live .status-pulse-dot {
    background: #34d399;
}

.project-status-badge.demo .status-pulse-dot {
    background: var(--accent-blush);
}

.project-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 18px;
}

.tech-pill {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 4px;
    background: #142426;
    color: var(--accent-lightsea);
    border: 1px solid var(--accent-teal);
}

.project-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-project {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition-fast);
    flex: 1;
    text-align: center;
}

.btn-project.primary {
    background: var(--accent-teal);
    color: #ffffff;
}

.btn-project.primary:hover {
    background: #ffffff;
    color: var(--accent-teal);
    box-shadow: 0 2px 10px rgba(202, 156, 159, 0.3);
    transform: translateY(-2px);
}

.btn-project.secondary {
    background: #1c1828;
    color: var(--text-primary);
    border: 1px solid var(--accent-blush);
}

.btn-project.secondary:hover {
    background: var(--accent-lightsea);
    border-color: var(--accent-lightsea);
    color: #ffffff;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   12. Contact Section
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
    align-items: start;
}

.contact-highlight-card {
    background: var(--bg-card);
    border: 1px solid rgba(202, 156, 159, 0.25);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
}

.contact-highlight-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-highlight-card p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.6;
}

.contact-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.contact-item-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid rgba(202, 156, 159, 0.2);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-fast);
}

.contact-item-card:not(.static):hover {
    transform: translateX(4px);
    border-color: var(--accent-teal);
    background: var(--bg-card-hover);
}

.contact-icon-box {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-icon-box.phone {
    background: #142426;
    color: var(--accent-lightsea);
    border: 1px solid var(--accent-teal);
}

.contact-icon-box.email {
    background: #2b1f28;
    color: var(--accent-blush);
    border: 1px solid var(--accent-blush);
}

.contact-icon-box.whatsapp {
    background: #102d24;
    color: #34d399;
    border: 1px solid #10b981;
}

.contact-icon-box.location {
    background: #2b1f28;
    color: var(--accent-blush);
    border: 1px solid var(--accent-blush);
}

.contact-item-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.item-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-value {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text-primary);
}

.item-external {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.social-connect-box {
    background: var(--bg-card);
    border: 1px solid rgba(202, 156, 159, 0.2);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: var(--shadow-card);
}

.social-connect-box h4 {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.social-icons-row {
    display: flex;
    gap: 10px;
}

.social-icons-row a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #140f20;
    border: 1px solid rgba(202, 156, 159, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.social-icons-row a:hover {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Contact Form */
.contact-glass-form {
    background: var(--bg-card);
    border: 1px solid rgba(202, 156, 159, 0.25);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.contact-glass-form h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: var(--accent-lightsea);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-input);
    border: 1px solid rgba(202, 156, 159, 0.25);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.92rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-lightsea);
    box-shadow: 0 0 8px rgba(8, 129, 120, 0.35);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--accent-teal);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.98rem;
    border-radius: var(--radius-md);
    margin-top: 6px;
    box-shadow: 0 4px 15px rgba(8, 129, 120, 0.3);
}

.btn-submit:hover {
    background: #ffffff;
    color: var(--accent-teal);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(202, 156, 159, 0.4);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spinner-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-icon {
    display: none;
}

.btn-submit.loading .spinner-loader {
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   13. Footer (Solid Dark)
   -------------------------------------------------------------------------- */
.footer {
    background: #14101d;
    border-top: 1px solid rgba(202, 156, 159, 0.2);
    padding: 50px 24px 25px;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    display: inline-block;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.footer-links ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: var(--accent-lightsea);
}

.footer-social-icons {
    display: flex;
    gap: 10px;
}

.footer-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e192c;
    border: 1px solid rgba(202, 156, 159, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-social-icons a:hover {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-tagline strong.highlight {
    font-weight: 800;
    color: var(--accent-lightsea);
    letter-spacing: 0.2px;
}

/* --------------------------------------------------------------------------
   14. Back To Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1f1a2c;
    border: 1px solid var(--accent-blush);
    color: var(--accent-lightsea);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: var(--transition-fast);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    color: #ffffff;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   15. Toast Notification System
   -------------------------------------------------------------------------- */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 280px;
    max-width: 400px;
    background: #1e192c;
    border: 1px solid var(--accent-blush);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    color: var(--text-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    font-size: 1.2rem;
    margin-top: 2px;
}

.toast.success {
    border-color: var(--accent-teal);
}

.toast.success .toast-icon {
    color: #34d399;
}

.toast.error {
    border-color: var(--accent-blush);
}

.toast.error .toast-icon {
    color: var(--accent-blush);
}

.toast-content h4 {
    font-family: var(--font-heading);
    font-size: 0.94rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.toast-content p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: var(--gradient-primary);
    animation: toastTimer 4s linear forwards;
}

@keyframes toastTimer {
    0% { width: 100%; }
    100% { width: 0%; }
}

/* --------------------------------------------------------------------------
   16. Subtle Scroll Reveal
   -------------------------------------------------------------------------- */
.reveal-fade,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.reveal-fade {
    transform: translateY(16px);
}

.reveal-left {
    transform: translateX(-20px);
}

.reveal-right {
    transform: translateX(20px);
}

.reveal-scale {
    transform: scale(0.97);
}

.revealed {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* --------------------------------------------------------------------------
   17. Keyframe Animations
   -------------------------------------------------------------------------- */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* --------------------------------------------------------------------------
   18. Custom Scrollbar
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(202, 156, 159, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-teal);
}

/* --------------------------------------------------------------------------
   19. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .avatar-wrapper {
        width: 280px;
        height: 280px;
    }

    .avatar-ring {
        width: 265px;
        height: 265px;
    }

    .avatar-frame {
        width: 250px;
        height: 250px;
    }

    .hero-stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 28px;
        padding: 22px 28px;
    }

    .hero-stats-container .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 1.65rem;
    }

    .stat-label {
        white-space: normal;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    /* Mobile & Tablet Drawer Navigation */
    .nav-toggle {
        display: flex;
    }

    .btn-nav {
        display: none;
    }

    .nav_menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        max-width: 84vw;
        height: 100vh;
        height: 100dvh;
        background: #151122;
        border-left: 1px solid rgba(202, 156, 159, 0.25);
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.75);
        z-index: 1150;
        padding: 24px 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transform: translateX(105%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        pointer-events: auto;
    }

    .nav_menu.active {
        transform: translateX(0);
    }

    .nav-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(202, 156, 159, 0.2);
        margin-bottom: 18px;
    }

    .drawer-logo {
        font-family: var(--font-heading);
        font-size: 1.25rem;
        font-weight: 800;
        color: #ffffff;
        display: flex;
        align-items: center;
        letter-spacing: 0.5px;
    }

    .nav-close-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 50%;
        background: #221c32;
        border: 1px solid rgba(202, 156, 159, 0.28);
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.15rem;
        cursor: pointer;
        transition: var(--transition-fast);
    }

    .nav-close-btn:hover {
        background: var(--accent-teal);
        border-color: var(--accent-teal);
        color: #ffffff;
        transform: rotate(90deg);
        box-shadow: 0 0 12px rgba(8, 129, 120, 0.5);
    }

    .nav_list {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: transparent;
        border: none;
        padding: 0;
        gap: 8px;
    }

    .nav_list li {
        width: 100%;
        list-style: none;
    }

    .nav_link {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 11px 14px;
        font-size: 0.96rem;
        font-weight: 500;
        color: var(--text-secondary);
        background: #1d182c;
        border: 1px solid rgba(202, 156, 159, 0.12);
        border-radius: var(--radius-md);
        transition: var(--transition-fast);
    }

    .nav_link .nav-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        border-radius: 8px;
        background: #142426;
        border: 1px solid rgba(8, 129, 120, 0.4);
        color: var(--accent-lightsea);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
        opacity: 1;
        transition: var(--transition-fast);
        flex-shrink: 0;
    }

    .nav_link:hover {
        background: #262038;
        color: #ffffff;
        border-color: rgba(202, 156, 159, 0.3);
        transform: translateX(4px);
    }

    .nav_link:hover .nav-icon {
        background: var(--accent-teal);
        border-color: var(--accent-teal);
        color: #ffffff;
    }

    .nav_link.active {
        background: #231c34;
        color: #ffffff;
        font-weight: 600;
        border-color: var(--accent-teal);
        box-shadow: 0 2px 14px rgba(8, 129, 120, 0.2);
    }

    .nav_link.active .nav-icon {
        background: var(--accent-teal);
        border-color: var(--accent-teal);
        color: #ffffff;
        box-shadow: 0 0 10px rgba(8, 129, 120, 0.5);
    }

    .nav-drawer-footer {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-top: 18px;
        border-top: 1px solid rgba(202, 156, 159, 0.2);
        margin-top: auto;
    }

    .btn-drawer-cv {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: var(--accent-teal);
        color: #ffffff;
        font-weight: 600;
        font-size: 0.95rem;
        padding: 12px 18px;
        border-radius: var(--radius-md);
        box-shadow: 0 4px 16px rgba(8, 129, 120, 0.35);
        border: none;
        transition: var(--transition-fast);
    }

    .btn-drawer-cv:hover {
        background: #ffffff;
        color: var(--accent-teal);
        box-shadow: 0 6px 20px rgba(202, 156, 159, 0.4);
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {
    .header {
        height: 68px;
    }

    .hero {
        padding-top: 90px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
    }

    .hero_content {
        order: 2;
    }

    .hero_img {
        order: 1;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .typing-container {
        justify-content: center;
        font-size: 1.3rem;
    }

    .hero-description {
        margin: 0 auto 24px;
    }

    .social-bar {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 18px;
        padding: 18px 20px;
    }

    .hero-stats-container .stat-divider {
        display: none;
    }

    .stat-card {
        justify-content: flex-start;
        gap: 12px;
        min-width: 0;
    }

    .stat-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.15rem;
    }

    .stat-number {
        font-size: 1.55rem;
    }

    .stat-plus {
        font-size: 1.15rem;
    }

    .stat-label {
        font-size: 0.82rem;
        white-space: normal;
    }

    .key-highlights {
        grid-template-columns: 1fr;
    }



    .projects-scroll-container {
        padding: 6px 2px 14px;
    }

    .project-slider {
        gap: 16px;
    }

    .project-card {
        width: 260px;
        min-width: 250px;
        max-width: 270px;
        border-radius: var(--radius-md);
    }

    .project-img-box {
        height: 140px;
    }

    .project-status-badge {
        top: 8px;
        right: 8px;
        padding: 3px 8px;
        font-size: 0.65rem;
    }

    .project-content {
        padding: 14px 15px;
    }

    .project-title {
        font-size: 1.05rem;
        margin-bottom: 4px;
    }

    .project-desc {
        font-size: 0.82rem;
        line-height: 1.45;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .project-tech-stack {
        gap: 4px;
        margin-bottom: 12px;
    }

    .tech-pill {
        font-size: 0.66rem;
        padding: 2px 6px;
    }

    .project-actions {
        padding-top: 10px;
        gap: 8px;
    }

    .btn-project {
        padding: 6px 10px;
        font-size: 0.76rem;
    }

    .skills-scroll-container {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 6px 2px 14px;
        cursor: grab;
        user-select: none;
        scrollbar-width: thin;
        scrollbar-color: var(--accent-teal) #1c1828;
    }

    .skills-scroll-container:active {
        cursor: grabbing;
    }

    .skills-scroll-container::-webkit-scrollbar {
        height: 6px;
    }

    .skills-scroll-container::-webkit-scrollbar-track {
        background: #140f20;
        border-radius: 10px;
    }

    .skills-scroll-container::-webkit-scrollbar-thumb {
        background: var(--accent-teal);
        border-radius: 10px;
    }

    .skills-slider {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
        gap: 12px;
    }

    .skill-card {
        min-width: 155px;
        max-width: 165px;
        width: auto;
        padding: 9px 12px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 65px 14px 35px;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .hero-title {
        font-size: 1.95rem;
    }

    .typing-container {
        font-size: 1.05rem;
    }

    .avatar-wrapper {
        width: 210px;
        height: 210px;
    }

    .avatar-ring {
        width: 200px;
        height: 200px;
    }

    .avatar-frame {
        width: 185px;
        height: 185px;
    }

    .floating-badge {
        padding: 3px 8px;
        font-size: 0.68rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .btn-nav {
        display: none;
    }



    .projects-scroll-container {
        padding: 4px 2px 12px;
    }

    .project-slider {
        gap: 12px;
    }

    .project-card {
        width: 225px;
        min-width: 215px;
        max-width: 235px;
        border-radius: 12px;
    }

    .project-img-box {
        height: 120px;
    }

    .project-status-badge {
        top: 6px;
        right: 6px;
        padding: 2px 6px;
        font-size: 0.6rem;
    }

    .project-content {
        padding: 10px 12px;
    }

    .project-title {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }

    .project-desc {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .project-tech-stack {
        gap: 3px;
        margin-bottom: 8px;
    }

    .tech-pill {
        font-size: 0.6rem;
        padding: 1px 5px;
    }

    .project-actions {
        padding-top: 8px;
        gap: 6px;
    }

    .btn-project {
        padding: 5px 8px;
        font-size: 0.7rem;
        border-radius: 6px;
    }

    .skill-card {
        min-width: 140px;
        max-width: 150px;
        padding: 8px 10px;
        gap: 8px;
    }

    .skill-name {
        font-size: 0.8rem;
    }

    .skill-badge {
        font-size: 0.6rem;
    }

    .skill-icon-wrap {
        width: 28px;
        height: 28px;
    }

    .skill-icon-wrap img {
        width: 20px;
        height: 20px;
    }

    .about-story-card,
    .contact-glass-form {
        padding: 18px 14px;
    }

    .hero-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 10px;
        padding: 16px 14px;
        margin-top: 32px;
        border-radius: var(--radius-md);
    }

    .stat-card {
        gap: 10px;
        align-items: center;
        min-width: 0;
    }

    .stat-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 1.05rem;
        border-radius: 10px;
    }

    .stat-number {
        font-size: 1.38rem;
    }

    .stat-plus {
        font-size: 1.05rem;
    }

    .stat-label {
        font-size: 0.75rem;
        line-height: 1.25;
        margin-top: 2px;
        white-space: normal;
        word-break: normal;
    }

    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 360px) {
    .hero-stats-container {
        padding: 12px 8px;
        gap: 10px 6px;
    }

    .stat-card {
        gap: 6px;
    }

    .stat-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-plus {
        font-size: 0.9rem;
    }

    .stat-label {
        font-size: 0.68rem;
        line-height: 1.2;
    }
}