/* ================================================
   PREMIUM PORTFOLIO — ADVANCED CSS
   Prasanna B | AI/ML & Full Stack Developer
   ================================================ */

/* ── Design Tokens ── */
:root {
        /* Colors */
    --bg-dark: #0a0f1e;
    --bg-darker: #060b14;
    --bg-surface: #0d1526;
    --bg-card: rgba(13, 21, 38, 0.6);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-primary: #C9A84C;
    --accent-secondary: #D4AF37;
    --accent-tertiary: #B8962E;
    --accent-cyan: #D4AF37;
    --accent-color: #C9A84C;
    --accent-hover: #B8962E;

    --gradient-primary: linear-gradient(135deg, #1B2A6B, #D4AF37);
    --gradient-accent: linear-gradient(135deg, #1B2A6B, #C9A84C, #D4AF37);
    --gradient-warm: linear-gradient(135deg, #1B2A6B, #B8962E);
    --gradient-glow: linear-gradient(90deg, #1B2A6B, #D4AF37, #1B2A6B);

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(212, 175, 55, 0.08);
    --glass-border-hover: rgba(212, 175, 55, 0.28);

    /* Typography */
    --font-main: 'Outfit', 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(201, 168, 76, 0.06), transparent),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(212, 175, 55, 0.04), transparent),
        radial-gradient(ellipse 70% 60% at 50% 90%, rgba(201, 168, 76, 0.03), transparent);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #fff;
}

.highlight {
    color: var(--accent-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Custom Cursor ── */
.cursor-glow {
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.25), transparent 70%);
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    mix-blend-mode: screen;
    filter: blur(2px);
}

.cursor-glow.active {
    opacity: 1;
}

.cursor-glow.hovering {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.35), transparent 70%);
}

/* ── Scroll Progress ── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-glow);
    background-size: 200% 100%;
    width: 0%;
    z-index: 10000;
    box-shadow:
        0 0 10px rgba(201, 168, 76, 0.5),
        0 0 20px rgba(212, 175, 55, 0.2);
    transition: width 0.1s linear;
    animation: gradientShift 4s ease-in-out infinite;
}

/* ── Background — Animated Gradient Mesh ── */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background-color: var(--bg-dark);
}

.blob {
    position: absolute;
    filter: blur(6px);
    opacity: 0.2;
    animation: waveFlow 3s ease-in-out infinite alternate;
    will-change: transform;
}

.blob-1 {
    width: 80vw;
    height: 80vh;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.5), rgba(212, 175, 55, 0.3));
    top: -10%;
    left: -10%;
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    animation-delay: 0s;
}

.blob-2 {
    width: 70vw;
    height: 70vh;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(201, 168, 76, 0.5));
    bottom: -10%;
    right: -10%;
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 40%;
    animation-delay: -1s;
    animation-direction: alternate-reverse;
}

.blob-3 {
    width: 60vw;
    height: 60vh;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.3), rgba(245, 158, 11, 0.15));
    top: 30%;
    left: 20%;
    border-radius: 30% 70% 50% 50% / 50% 30% 70% 50%;
    animation-delay: -2s;
}

.blob-4 {
    width: 90vw;
    height: 90vh;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.2), transparent 70%);
    top: 10%;
    right: 20%;
    border-radius: 50%;
    animation: pulseFlow 4s ease-in-out infinite alternate;
    opacity: 0.15;
}

/* Grain texture overlay */
.bg-animation::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

@keyframes waveFlow {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    }
    100% {
        transform: translate(3%, 4%) rotate(5deg) scale(1.05);
        border-radius: 60% 40% 30% 70% / 50% 60% 40% 40%;
    }
}

@keyframes pulseFlow {
    0% { transform: scale(0.95); opacity: 0.1; }
    100% { transform: scale(1.05); opacity: 0.2; }
}

/* ── Gradient Text Utility ── */
.gradient-text {
    background: var(--gradient-accent);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ── Section Separator ── */
.section-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-secondary), transparent);
    opacity: 0.2;
}

/* ════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 0;
    z-index: 1000;
    transition: var(--transition-slow);
    background: transparent;
}

nav.scrolled {
    background: rgba(6, 11, 20, 0.88);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(201, 168, 76, 0.03);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
}

.logo .highlight {
    color: var(--accent-primary);
    text-shadow: 0 0 15px rgba(201, 168, 76, 0.5);
}

.logo:hover {
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.4), 0 0 40px rgba(201, 168, 76, 0.15);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 6px;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(201, 168, 76, 0.4);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.nav-links a.active {
    color: #ffffff;
}

.hamburger {
    display: none;
    cursor: pointer;
    transition: var(--transition);
}

.hamburger:hover .bar,
.hamburger.active .bar {
    background-color: var(--accent-primary);
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
}

/* ════════════════════════════════════════════
   GLASSMORPHISM CARDS — v2
   ════════════════════════════════════════════ */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Animated gradient border on hover */
.glass-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0), rgba(212, 175, 55, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

/* Shine sweep overlay */
.glass-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 40%,
        rgba(201, 168, 76, 0.03) 45%,
        rgba(212, 175, 55, 0.03) 55%,
        transparent 60%
    );
    transform: rotate(0deg);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(201, 168, 76, 0.06),
        0 0 80px rgba(212, 175, 55, 0.03);
}

.glass-card:hover::before {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.4), rgba(212, 175, 55, 0.1), rgba(201, 168, 76, 0.4));
}

.glass-card:hover::after {
    transform: rotate(180deg);
}

/* ════════════════════════════════════════════
   TYPOGRAPHY & SECTIONS
   ════════════════════════════════════════════ */
.section {
    padding: 110px 0;
    position: relative;
}

.alt-bg {
    background-color: rgba(6, 6, 12, 0.8);
    background-image: radial-gradient(ellipse 50% 30% at 70% 50%, rgba(201, 168, 76, 0.04), transparent);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 3.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.3);
    border-radius: 3px;
}

/* ════════════════════════════════════════════
   BUTTONS — Premium
   ════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    z-index: 1;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: var(--font-main);
    letter-spacing: 0.3px;
}

.btn-ripple {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.primary-btn {
    background: var(--gradient-primary);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

/* Shine sweep on primary button */
.primary-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.primary-btn:hover::after {
    left: 100%;
}

.primary-btn:hover {
    box-shadow: 0 8px 35px rgba(201, 168, 76, 0.45);
    transform: translateY(-3px);
}

.secondary-btn {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(5px);
}

.secondary-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 8px 35px rgba(201, 168, 76, 0.15);
    transform: translateY(-3px);
}

/* ════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════ */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 2rem;
    overflow: hidden;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201, 168, 76, 0.03), transparent 70%);
}

#globe-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-globe-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(201, 168, 76, 0.08) 0%,
        rgba(212, 175, 55, 0.06) 25%,
        rgba(201, 168, 76, 0.03) 50%,
        transparent 70%
    );
    filter: blur(50px);
    animation: globeGlowPulse 6s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.hero-globe-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    height: 65%;
    border-radius: 50%;
    background: transparent;
    box-shadow:
        0 0 80px 20px rgba(201, 168, 76, 0.06),
        0 0 120px 40px rgba(212, 175, 55, 0.03);
    animation: globeGlowPulse 6s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes globeGlowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.75; }
    50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    z-index: 2;
    text-align: center;
}

.hero-text {
    max-width: 800px;
}

/* Hero Greeting */
.hero-greeting {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--accent-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.hero-heading {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 0;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 40%, #C9A84C 70%, #D4AF37 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
    text-shadow: none;
    filter: drop-shadow(0 4px 20px rgba(201, 168, 76, 0.15));
}

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

/* Staggered fade-in system */
.hero-stagger {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(8px);
    animation: heroLineFadeIn 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    will-change: opacity, transform, filter;
}

.stagger-1 { animation-delay: 0.4s; }
.stagger-2 { animation-delay: 0.75s; }
.stagger-3 { animation-delay: 1.1s; }
.stagger-4 { animation-delay: 1.5s; }

@keyframes heroLineFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-subheading {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 1.2rem;
    letter-spacing: 0.5px;
    min-height: 2rem;
}

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

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-top: 1.5rem;
    line-height: 1.7;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1rem 1.8rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: var(--transition);
}

.stat-badge:hover {
    border-color: rgba(201, 168, 76, 0.3);
    background: rgba(201, 168, 76, 0.06);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.15);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Glow utilities */
.glow-cyan {
    color: var(--accent-secondary);
    text-shadow:
        0 0 10px rgba(212, 175, 55, 0.6),
        0 0 30px rgba(212, 175, 55, 0.3),
        0 0 60px rgba(212, 175, 55, 0.15);
    animation: glowCyanPulse 3s ease-in-out infinite;
}

@keyframes glowCyanPulse {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(212, 175, 55, 0.6),
            0 0 30px rgba(212, 175, 55, 0.3),
            0 0 60px rgba(212, 175, 55, 0.15);
    }
    50% {
        text-shadow:
            0 0 15px rgba(212, 175, 55, 0.8),
            0 0 40px rgba(212, 175, 55, 0.45),
            0 0 80px rgba(212, 175, 55, 0.25);
    }
}

.glow-gold {
    color: var(--accent-tertiary);
    font-weight: 500;
    text-shadow:
        0 0 10px rgba(245, 158, 11, 0.6),
        0 0 30px rgba(245, 158, 11, 0.3),
        0 0 60px rgba(245, 158, 11, 0.15);
    animation: glowGoldPulse 3.5s ease-in-out infinite;
}

@keyframes glowGoldPulse {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(245, 158, 11, 0.6),
            0 0 30px rgba(245, 158, 11, 0.3),
            0 0 60px rgba(245, 158, 11, 0.15);
    }
    50% {
        text-shadow:
            0 0 15px rgba(245, 158, 11, 0.8),
            0 0 40px rgba(245, 158, 11, 0.45),
            0 0 80px rgba(245, 158, 11, 0.25);
    }
}

/* Hero Badges */
.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.3rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}

.hero-badge i {
    color: var(--accent-primary);
    font-size: 1rem;
}

.hero-badge strong {
    color: #ffffff;
    font-weight: 600;
}

.hero-badge:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.15);
}

.badge-accent {
    background: rgba(201, 168, 76, 0.08);
    border-color: rgba(201, 168, 76, 0.2);
}

.badge-accent:hover {
    background: rgba(201, 168, 76, 0.15);
    border-color: rgba(201, 168, 76, 0.4);
}

/* Social Icons — Circular */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    background: transparent;
}

.social-icon-link:hover {
    color: #ffffff;
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(201, 168, 76, 0.3);
}

.social-icon-link:hover i {
    animation: iconBounce 0.4s ease;
}

@keyframes iconBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Scroll Down CTA */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    transition: var(--transition);
    opacity: 0;
    animation: scrollCtaFadeIn 1s ease 1.8s forwards;
}

@keyframes scrollCtaFadeIn {
    to { opacity: 1; }
}

.scroll-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.3s ease;
}

.scroll-down:hover .scroll-label {
    color: var(--accent-primary);
}

.scroll-chevrons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    line-height: 1;
}

.scroll-chevrons i {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.25);
    animation: chevronBounce 2s ease-in-out infinite;
}

.chevron-1 {
    animation-delay: 0s !important;
}

.chevron-2 {
    animation-delay: 0.15s !important;
    margin-top: -4px;
}

.scroll-down:hover .scroll-chevrons i {
    color: var(--accent-primary);
}

@keyframes chevronBounce {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* ════════════════════════════════════════════
   ABOUT SECTION
   ════════════════════════════════════════════ */
.about-content {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
}

.about-image-wrapper {
    flex-shrink: 0;
}

.profile-image-container {
    position: relative;
    width: 150px;
    height: 150px;
}

.profile-glow-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(201, 168, 76, 0.3);
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.2), inset 0 0 15px rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    animation: profileRingPulse 3s ease-in-out infinite;
}

.profile-image-container:hover .profile-glow-ring {
    border-color: rgba(201, 168, 76, 0.6);
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.4), inset 0 0 30px rgba(212, 175, 55, 0.2);
}

@keyframes profileRingPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(201, 168, 76, 0.2), inset 0 0 15px rgba(212, 175, 55, 0.1); }
    50% { box-shadow: 0 0 30px rgba(201, 168, 76, 0.4), inset 0 0 30px rgba(212, 175, 55, 0.2); }
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-secondary);
    overflow: hidden;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
}

.about-highlights li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    padding: 0.5rem 0;
    cursor: default;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(201, 168, 76, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.about-highlights li:hover .highlight-icon {
    background: rgba(201, 168, 76, 0.15);
    color: var(--accent-secondary);
    transform: scale(1.15);
}

/* About Services */
.about-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(212, 175, 55, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent-primary);
    transition: var(--transition);
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(212, 175, 55, 0.15));
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.2);
}

.service-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    font-weight: 600;
}

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

/* ════════════════════════════════════════════
   EDUCATION TIMELINE
   ════════════════════════════════════════════ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-primary), rgba(212, 175, 55, 0.2));
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.5);
    overflow: hidden;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: var(--font-mono);
}

.dot-pulse {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.3);
    animation: dotGlowPulse 2.5s ease-in-out infinite;
}

@keyframes dotGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; box-shadow: 0 0 5px rgba(201, 168, 76, 0.3); }
    50% { transform: scale(1.4); opacity: 0; box-shadow: 0 0 20px rgba(201, 168, 76, 0.6); }
}

/* ════════════════════════════════════════════
   SKILLS SECTION
   ════════════════════════════════════════════ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skill-category h3 {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--accent-primary);
}

.category-title-text {
    transition: var(--transition);
}

.skill-category:hover .category-title-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.skill-tag {
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.35s var(--spring);
    cursor: default;
    position: relative;
}

.skill-tag:hover {
    background: rgba(201, 168, 76, 0.12);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.15);
}

/* ════════════════════════════════════════════
   PROJECTS SECTION
   ════════════════════════════════════════════ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.03), rgba(0, 0, 0, 0.2));
    border-radius: 20px;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-card:hover .project-overlay {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.06), rgba(0, 0, 0, 0.1));
}

.project-content {
    position: relative;
    z-index: 1;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.project-icon {
    color: var(--accent-primary);
    font-size: 1.4rem;
    opacity: 0.6;
}

.project-number {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-secondary);
    opacity: 0.5;
    font-weight: 600;
}

.project-header h3 {
    font-size: 1.3rem;
    flex-grow: 1;
}

.project-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.project-status {
    font-size: 0.7rem;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-completed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.project-links a {
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: var(--transition);
}

.project-links a:hover {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    color: var(--accent-tertiary);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 50px;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-badge i {
    font-size: 0.65rem;
}

.project-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.7;
    transition: var(--transition);
}

.project-card:hover .project-desc {
    transform: translateY(-2px);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-secondary);
    padding: 0.3rem 0.8rem;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 6px;
    transition: var(--transition);
}

.tech-tag:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.3);
}

.project-card:hover {
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(201, 168, 76, 0.05);
}

/* ════════════════════════════════════════════
   CERTIFICATIONS
   ════════════════════════════════════════════ */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cert-icon {
    font-size: 3rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.cert-icon-gold {
    color: var(--accent-primary);
    text-shadow: 0 0 15px rgba(201, 168, 76, 0.3);
}

.cert-icon-blue {
    color: var(--accent-secondary);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.cert-card:hover .cert-icon-gold {
    text-shadow: 0 0 25px rgba(201, 168, 76, 0.5);
    transform: scale(1.1);
}

.cert-card:hover .cert-icon-blue {
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    transform: scale(1.1);
}

.cert-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.cert-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.cert-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cert-year {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    font-family: var(--font-mono);
}

/* ════════════════════════════════════════════
   CONTACT SECTION
   ════════════════════════════════════════════ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-content {
    display: flex;
    flex-direction: column;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    width: 100%;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: default;
}

.contact-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(201, 168, 76, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon-wrap {
    background: rgba(201, 168, 76, 0.12);
    color: var(--accent-secondary);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
}

.contact-item h4 {
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item a,
.contact-item p {
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-item:hover a,
.contact-item:hover p {
    color: var(--accent-primary);
}

.contact-socials {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    z-index: 1;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.social-btn:hover::before {
    transform: scale(1);
}

.social-btn:hover {
    color: #ffffff;
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

/* Contact Form */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

.form-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: transparent;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    transform: scaleX(1);
}

.form-submit {
    align-self: flex-start;
    margin-top: 0.5rem;
    border: none;
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials .social-btn {
    width: 42px;
    height: 42px;
    font-size: 1rem;
}

footer p {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

footer:hover p {
    opacity: 1;
}

.back-to-top {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.back-to-top:hover {
    background: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(201, 168, 76, 0.3);
}

/* ════════════════════════════════════════════
   ANIMATIONS — Premium
   ════════════════════════════════════════════ */

/* Scroll-triggered fade-in-up */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for children */
.fade-in-up.visible:nth-child(1) { transition-delay: 0ms; }
.fade-in-up.visible:nth-child(2) { transition-delay: 100ms; }
.fade-in-up.visible:nth-child(3) { transition-delay: 200ms; }
.fade-in-up.visible:nth-child(4) { transition-delay: 300ms; }
.fade-in-up.visible:nth-child(5) { transition-delay: 400ms; }

/* Button ripple animation */
@keyframes rippleAnim {
    0% { transform: scale(0); opacity: 0.5; }
    100% { transform: scale(1); opacity: 0; }
}

/* Shine sweep for buttons */
@keyframes shineSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Border glow animation */
@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(201, 168, 76, 0.2);
        box-shadow: 0 0 10px rgba(201, 168, 76, 0.1);
    }
    50% {
        border-color: rgba(212, 175, 55, 0.3);
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
    }
}

/* Float animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Cert card stagger */
.cert-card.fade-in-up.visible:nth-child(1) { transition-delay: 0ms; }
.cert-card.fade-in-up.visible:nth-child(2) { transition-delay: 150ms; }
.cert-card.fade-in-up.visible:nth-child(3) { transition-delay: 300ms; }
.cert-card.fade-in-up.visible:nth-child(4) { transition-delay: 450ms; }

/* Smooth transitions for all interactive elements */
.project-desc,
.contact-item a,
.contact-item p,
.cert-info,
.about-highlights li {
    transition: var(--transition);
}

/* ════════════════════════════════════════════
   RESPONSIVE — Mobile
   ════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Nav: slide-down with backdrop blur */
    .nav-links {
    position: absolute;
    left: 0;
    top: -500%;
    flex-direction: column;
    background: rgba(6, 11, 20, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: top 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    z-index: 999;
}

    .nav-links.active {
        top: 60px;
    }

    .hamburger {
        display: block;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--accent-primary);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--accent-primary);
    }

    /* Hero */
    .hero-inner {
        justify-content: center;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-heading {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-subheading {
        font-size: 1.05rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin: 1.5rem auto 0;
    }

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

    .hero-stats {
        gap: 1rem;
    }

    .stat-badge {
        padding: 0.8rem 1.2rem;
    }

    .hero-globe-glow {
        width: 280px;
        height: 280px;
    }

    .scroll-label {
        font-size: 0.65rem;
    }

    /* Reduce background on mobile */
    .blob {
        animation-duration: 60s;
        opacity: 0.04;
    }

    /* Smaller section titles */
    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 70px 0;
    }

    /* Touch-friendly buttons */
    .btn {
        padding: 0.9rem 2rem;
        min-height: 48px;
        font-size: 0.95rem;
    }

    .social-icon-link,
    .social-btn {
        width: 48px;
        height: 48px;
    }

    /* About */
    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-image-wrapper {
        margin-bottom: 1.5rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        text-align: left;
    }

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

    /* Timeline */
    .timeline::before {
        left: 10px;
    }

    .timeline-dot {
        left: 1px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Skills */
    .skills-grid {
        grid-template-columns: 1fr;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-socials {
        justify-content: center;
    }

    .contact-content {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }

    /* Hide cursor glow on mobile */
    .cursor-glow {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-heading {
        font-size: 2rem;
    }

    .hero-greeting {
        font-size: 0.9rem;
    }

    .container {
        padding: 0 1rem;
    }

    .glass-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .hero-globe-glow {
        width: 200px;
        height: 200px;
    }

    .stat-badge {
        padding: 0.6rem 1rem;
    }

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

    .hero-stats {
        gap: 0.6rem;
    }
}

/* ── Scroll Animations (Fade + Slide In) ── */
.fade-slide-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: opacity, transform;
}

.fade-slide-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-slide-in.delay-1 { transition-delay: 0.1s; }
.fade-slide-in.delay-2 { transition-delay: 0.2s; }
.fade-slide-in.delay-3 { transition-delay: 0.3s; }
.fade-slide-in.delay-4 { transition-delay: 0.4s; }
.fade-slide-in.delay-5 { transition-delay: 0.5s; }

/* ── Staggered Card Animation ── */
.stagger-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: opacity, transform;
}

.stagger-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-card:nth-child(1) { transition-delay: 0ms; }
.stagger-card:nth-child(2) { transition-delay: 100ms; }
.stagger-card:nth-child(3) { transition-delay: 200ms; }
.stagger-card:nth-child(4) { transition-delay: 300ms; }
.stagger-card:nth-child(5) { transition-delay: 400ms; }
.stagger-card:nth-child(6) { transition-delay: 500ms; }

/* ── Reduced motion preference ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-stagger {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
    }

    .scroll-down {
        opacity: 1;
        animation: none;
    }
}
