/* Apply the Space Grotesk font family */
body {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

/* ── Spline 3D Background ── */
spline-viewer {
    --spline-watermark-opacity: 0; /* hide watermark */
    background: transparent !important;
}
/* Hide the "Built with Spline" badge */
spline-viewer::part(watermark),
#logo {
    display: none !important;
    opacity: 0 !important;
}


/* ================================================
   CUSTOM CURSOR
   ================================================ */

/* Hide native cursor everywhere */
*, *::before, *::after { cursor: none !important; }

#cursorDot {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #06b6d4;
    box-shadow: 0 0 8px #06b6d4, 0 0 16px rgba(6,182,212,0.6);
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.15s, height 0.15s, background 0.2s, box-shadow 0.2s;
    will-change: transform;
}

#cursorRing {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(6,182,212,0.55);
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.25s, height 0.25s, border-color 0.25s, opacity 0.25s;
    will-change: transform;
}

/* Hover states — applied via JS */
body.cursor-hover #cursorDot {
    width: 10px; height: 10px;
    background: #a78bfa;
    box-shadow: 0 0 12px #a78bfa, 0 0 28px rgba(167,139,250,0.5);
}
body.cursor-hover #cursorRing {
    width: 52px; height: 52px;
    border-color: rgba(167,139,250,0.6);
}
body.cursor-click #cursorDot {
    width: 4px; height: 4px;
    background: #f472b6;
    box-shadow: 0 0 8px #f472b6;
}
body.cursor-click #cursorRing {
    width: 28px; height: 28px;
    border-color: rgba(244,114,182,0.8);
}

/* ================================================
   PREMIUM HEADER
   ================================================ */


.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 10, 20, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

/* Rainbow glow top accent */
.header-glow-line {
    height: 2px;
    background: linear-gradient(90deg, #06b6d4 0%, #6366f1 45%, #f97316 100%);
    opacity: 0.7;
}

/* Main nav row */
.header-nav {
    max-width: 98vw;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* ── Logo ── */
.header-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #06b6d4;
    box-shadow: 0 0 10px #06b6d4, 0 0 20px rgba(6,182,212,0.4);
    animation: logoDotPulse 2.5s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes logoDotPulse {
    0%, 100% { transform: scale(1);   box-shadow: 0 0 10px #06b6d4, 0 0 20px rgba(6,182,212,0.4); }
    50%       { transform: scale(1.3); box-shadow: 0 0 18px #06b6d4, 0 0 36px rgba(6,182,212,0.6); }
}
.logo-text {
    font-size: 1.65rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 30%, #67e8f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
    line-height: 1;
}

/* ── Desktop nav pill ── */
.header-links-pill {
    display: none;
    align-items: center;
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 4px 8px;
    gap: 2px;
    box-shadow: inset 0 0 16px rgba(6,182,212,0.03);
}
@media (min-width: 768px) {
    .header-links-pill { display: flex; }
}

/* Nav link inside pill */
.hl-link {
    font-size: 0.82rem;
    font-weight: 500;
    color: #94a3b8;
    padding: 7px 14px;
    border-radius: 999px;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.hl-link:hover { color: #fff; }
.hl-link.nav-active { color: #fff; font-weight: 600; }

/* ── Right side ── */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Hire Me button */
.hire-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    text-decoration: none;
    box-shadow: 0 0 18px rgba(6,182,212,0.35);
    transition: box-shadow 0.25s, transform 0.2s;
    letter-spacing: 0.02em;
}
.hire-btn:hover {
    box-shadow: 0 0 28px rgba(6,182,212,0.55);
    transform: translateY(-1px);
}
.hire-btn-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    animation: logoDotPulse 1.8s ease-in-out infinite;
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px; height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    height: 2px;
    background: #94a3b8;
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger:hover span { background: #67e8f9; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
    background: rgba(7,10,20,0.97);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 12px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mob-link {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.mob-link:hover { background: rgba(6,182,212,0.08); color: #fff; }
.mob-hire-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding: 11px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    text-decoration: none;
    box-shadow: 0 0 18px rgba(6,182,212,0.3);
}

/* ── KEEP existing underline styles ── */


/* Sliding underline indicator */
#navUnderline {
    position: absolute;
    bottom: 2px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    pointer-events: none;
    width: 0;
    opacity: 0;
    transition: none; /* GSAP handles movement */
    box-shadow: 0 0 8px rgba(6,182,212,0.6);
}

/* Custom utility for text shadow */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Base size for Lucide icons */
[data-lucide] {
    width: 20px;
    height: 20px;
}

/* Smooth scroll behavior + hide scrollbar */
html {
    scroll-behavior: smooth;
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE / Edge legacy */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;                /* Chrome, Safari, Opera */
}

/* ── Color-cycle animation (AI Engineer subtitle) ── */
.color-cycle {
    animation: colorCycle 5s ease-in-out infinite;
}
@keyframes colorCycle {
    0%   { color: #06b6d4; text-shadow: 0 0 24px rgba(6,182,212,0.6);   }
    25%  { color: #818cf8; text-shadow: 0 0 24px rgba(129,140,248,0.6); }
    50%  { color: #a78bfa; text-shadow: 0 0 24px rgba(167,139,250,0.6); }
    75%  { color: #f472b6; text-shadow: 0 0 24px rgba(244,114,182,0.6); }
    100% { color: #06b6d4; text-shadow: 0 0 24px rgba(6,182,212,0.6);   }
}


/* ── Scroll-down hint ── */

.scroll-down-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: rgba(103,232,249,0.7);
    animation: scrollBounce 2s ease-in-out infinite;
    transition: opacity 0.4s;
}
.scroll-down-hint:hover { color: #67e8f9; }
.scroll-hint-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.scroll-hint-chevrons {
    display: flex;
    flex-direction: column;
    align-items: center;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0);   }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* Typewriter cursor blink */

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

/* =============================================
   SKILLS — PREMIUM TABBED SECTION
   ============================================= */

/* Tab bar */
.skills-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.sk-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
    outline: none;
}
.sk-tab:hover {
    color: #cbd5e1;
    border-color: rgba(6,182,212,0.3);
    background: rgba(6,182,212,0.05);
    transform: translateY(-2px);
}
.sk-tab.active {
    color: #fff;
    border-color: rgba(6,182,212,0.5);
    background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(59,130,246,0.15));
    box-shadow: 0 0 18px rgba(6,182,212,0.2);
}

/* Panel wrapper */
.skills-panel-wrap {
    background: linear-gradient(160deg, #0c1220, #0f172a);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 40px;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}
.skills-panel-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #06b6d4, #6366f1, #f97316);
}

/* Individual panel */
.sk-panel { display: none; }
.sk-panel.active { display: block; }

/* Panel header */
.sk-panel-header { margin-bottom: 24px; }
.sk-panel-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.sk-panel-desc {
    font-size: 0.85rem;
    color: #475569;
}

/* Skill pills */
.sk-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sk-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--c, #06b6d4);
    background: color-mix(in srgb, var(--c, #06b6d4) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--c, #06b6d4) 25%, transparent);
    cursor: default;
    transition: transform 0.2s, box-shadow 0.2s;
    /* GSAP start state */
    opacity: 1;
}
.sk-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--c, #06b6d4) 30%, transparent);
}

/* Rocket Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #06b6d4, #3b82f6, #8b5cf6);
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Scale animation */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation for children */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.stagger-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax effect */
.parallax {
    transition: transform 0.1s ease-out;
}

/* Floating animation for hero elements */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Gradient animation */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
}

/* Glow effect on hover */
.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
    transform: translateY(-5px);
}

/* Card hover effect */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.2);
}

/* Typing animation for hero text */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Particle background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.6);
}

/* Skill tag animation */
.skill-tag {
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
}

/* Section heading underline animation */
.section-heading::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    transition: width 0.5s ease;
    margin: 0 auto;
    margin-top: 10px;
}

.section-heading.active::after {
    width: 100px;
}

/* Meteor Effect */
.meteor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #fff, #06b6d4, #3b82f6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow:
        0 0 20px #06b6d4,
        0 0 40px #06b6d4,
        0 0 60px #06b6d4,
        0 0 80px #3b82f6;
    opacity: 0;
}

.meteor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 50%;
    animation: pulse-glow 0.5s ease-in-out infinite;
}

.meteor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.8), transparent);
    transform: translateY(-50%);
    border-radius: 50%;
    opacity: 0.7;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* Meteor Trail Particles */
.meteor-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #06b6d4;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    box-shadow: 0 0 10px #06b6d4;
    opacity: 0;
}

/* Explosion Effect */
.explosion {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
}

.explosion-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #fff, #06b6d4);
    border-radius: 50%;
    box-shadow: 0 0 20px #06b6d4;
}

@keyframes explode {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* Flash Effect */
@keyframes flash {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }

    100% {
        opacity: 0;
        transform: scale(2);
    }
}

.section-flash {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.6), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
}

.section-flash.active {
    animation: flash 1s ease-out;
}

/* Bouncing Comet */
.bouncing-comet {
    position: fixed;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #ffffff, #e0f2fe, #06b6d4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow:
        0 0 30px #ffffff,
        0 0 60px #06b6d4,
        0 0 90px #06b6d4;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bouncing-comet.visible {
    opacity: 1;
}

.bouncing-comet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent);
    border-radius: 50%;
    animation: comet-pulse 1s ease-in-out infinite;
}

.bouncing-comet::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    width: 150px;
    height: 6px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8) 30%, rgba(6, 182, 212, 0.6) 60%, rgba(6, 182, 212, 0.3));
    transform: translateY(-50%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes comet-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.7;
    }
}

/* Comet Sparkles */
.comet-sparkle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    box-shadow: 0 0 10px white, 0 0 20px #06b6d4;
    opacity: 0;
}

@keyframes sparkle-fade {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

/* Cursor Trail Effect */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #06b6d4, transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Floating Icons */
.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    pointer-events: none;
    animation: float-around 20s infinite;
    z-index: 0;
}

@keyframes float-around {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(50px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(0, -60px) rotate(180deg);
    }

    75% {
        transform: translate(-50px, -30px) rotate(270deg);
    }
}

/* Text Glitch Effect on Hover */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text:hover {
    animation: glitch 0.3s infinite;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

/* Ripple Effect on Click */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.6), transparent);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Tilt Effect on Cards */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

/* Spotlight Effect */
.spotlight {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9996;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Typewriter Effect */
.typewriter {
    overflow: hidden;
    border-right: 3px solid #06b6d4;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: #06b6d4;
    }
}

/* Magnetic Button Effect */
.magnetic-btn {
    transition: transform 0.2s ease;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
}

/* Neon Glow */
.neon-text {
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #06b6d4,
        0 0 40px #06b6d4,
        0 0 80px #06b6d4;
    animation: neon-flicker 1.5s infinite alternate;
}

@keyframes neon-flicker {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        text-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px #06b6d4,
            0 0 40px #06b6d4,
            0 0 80px #06b6d4;
    }

    20%,
    24%,
    55% {
        text-shadow: none;
    }
}

/* Shooting Stars */
/* ── Floating Background Icons ── */
.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.18;
    pointer-events: none;
    z-index: 1;
    user-select: none;
    animation: floatDrift 20s ease-in-out infinite;
}
@keyframes floatDrift {
    0%   { transform: translateY(0px) rotate(0deg); }
    25%  { transform: translateY(-18px) rotate(8deg); }
    50%  { transform: translateY(-8px) rotate(-5deg); }
    75%  { transform: translateY(-22px) rotate(4deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.shooting-star {
    position: fixed;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white;
    opacity: 0;
    pointer-events: none;
    z-index: 9995;
}

@keyframes shoot {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-300px, 300px);
        opacity: 0;
    }
}

/* Wave Animation on Scroll */
@keyframes wave {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(5deg);
    }

    75% {
        transform: translateY(-5px) rotate(-5deg);
    }
}

.wave-on-scroll {
    animation: wave 2s ease-in-out infinite;
}

/* Holographic Effect */
.holographic {
    background: linear-gradient(45deg,
            #06b6d4 0%,
            #3b82f6 25%,
            #8b5cf6 50%,
            #ec4899 75%,
            #06b6d4 100%);
    background-size: 300% 300%;
    animation: holographic-shift 5s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes holographic-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* DNA Helix Loading */
.dna-helix {
    position: relative;
    width: 4px;
    height: 40px;
    background: linear-gradient(#06b6d4, #3b82f6);
    animation: dna-rotate 2s linear infinite;
}

@keyframes dna-rotate {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

/* Cyclone Effect */
.cyclone-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.cyclone-overlay.active {
    pointer-events: all;
    opacity: 1;
}

.cyclone-particle {
    position: absolute;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(200, 220, 255, 0.6) 30%,
            rgba(150, 180, 255, 0.3) 60%,
            transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(200, 220, 255, 0.6),
        0 0 60px rgba(150, 180, 255, 0.4);
    filter: blur(2px);
}

/* Spiral motion keyframes */
@keyframes cyclone-spiral {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(0.1) rotate(var(--rotation));
        opacity: 0;
    }
}

/* Dust particles for air effect */
.cyclone-dust {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(3px);
    animation: dust-swirl 2s ease-out forwards;
}

@keyframes dust-swirl {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    100% {
        transform: translate(var(--dx), var(--dy)) rotate(var(--drotation));
        opacity: 0;
    }
}

.cyclone-vortex {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    pointer-events: none;
    z-index: 9999;
}

/* Multiple vortex rings for realistic tornado look */
.vortex-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(200, 220, 255, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.4);
    animation: vortex-expand var(--delay) ease-out forwards;
}

@keyframes vortex-expand {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
        border-width: 8px;
        transform: translate(-50%, -50%) rotate(0deg);
    }

    10% {
        opacity: 1;
    }

    100% {
        width: 2000px;
        height: 2000px;
        opacity: 0;
        border-width: 1px;
        transform: translate(-50%, -50%) rotate(1080deg);
    }
}

/* Funnel cloud effect */
.cyclone-funnel {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 2px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9997;
}

.funnel-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            rgba(255, 255, 255, 0.1) 30deg,
            rgba(255, 255, 255, 0.3) 60deg,
            rgba(255, 255, 255, 0.5) 90deg,
            rgba(255, 255, 255, 0.3) 120deg,
            rgba(255, 255, 255, 0.1) 150deg,
            transparent 180deg,
            transparent 360deg);
    animation: funnel-spin var(--speed) linear infinite;
    filter: blur(4px);
}

@keyframes funnel-spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

/* Contact Form Modal */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.contact-modal.active {
    opacity: 1;
    pointer-events: all;
}

.contact-form-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 2px solid #06b6d4;
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 50px rgba(6, 182, 212, 0.5), 0 0 100px rgba(59, 130, 246, 0.3);
    transform: scale(0) rotate(180deg);
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.contact-modal.active .contact-form-card {
    transform: scale(1) rotate(0deg);
    animation: card-bounce 0.6s ease-out 0.3s;
}

@keyframes card-bounce {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(6, 182, 212, 0.1), transparent);
    animation: card-shimmer 3s infinite;
}

@keyframes card-shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(0deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(360deg);
    }
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: #06b6d4;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
    transform: translateY(-2px);
}

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.6);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid #ef4444;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-modal:hover {
    background: #ef4444;
    transform: rotate(90deg) scale(1.1);
}

.page-content.cyclone-active {
    animation: sink-away 2s ease-in-out forwards;
}

@keyframes sink-away {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    100% {
        opacity: 0;
        transform: scale(0.5) translateY(100vh);
    }
}

/* =============================================
   ABOUT — PREMIUM REDESIGN
   ============================================= */

/* Eyebrow label */
.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #06b6d4;
    background: rgba(6,182,212,0.08);
    border: 1px solid rgba(6,182,212,0.25);
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Two-column layout */
.about-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 72px;
    align-items: start;
    margin-top: 40px;
}
@media (max-width: 900px) {
    .about-layout { grid-template-columns: 1fr; gap: 48px; }
}

/* ── Left column ── */
.about-profile-col { display: flex; flex-direction: column; align-items: center; gap: 28px; }

/* Photo wrapper with glow ring */
.about-photo-wrap {
    position: relative;
    width: 280px;
    height: 280px;
    flex-shrink: 0;
}
.about-photo-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #06b6d4, #3b82f6, #8b5cf6, #06b6d4);
    animation: spin-ring 6s linear infinite;
    z-index: 0;
}
@keyframes spin-ring {
    to { transform: rotate(360deg); }
}
.about-photo {
    position: absolute;
    inset: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0f172a;
    z-index: 1;
}

/* Status badge */
.about-status-badge {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15,23,42,0.92);
    border: 1px solid rgba(52,211,153,0.35);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #34d399;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}
.about-status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #34d399;
    animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.4); }
}

/* Skill tags */
.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.about-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 6px;
    padding: 5px 12px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    cursor: default;
}
.about-tag:hover {
    color: #06b6d4;
    border-color: rgba(6,182,212,0.4);
    background: rgba(6,182,212,0.06);
}

/* ── Right column ── */
.about-content-col { display: flex; flex-direction: column; }

.about-headline {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #f1f5f9;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.about-headline-accent {
    background: linear-gradient(135deg, #06b6d4, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: #94a3b8;
}

/* Stat counters */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 32px 0;
}
@media (max-width: 640px) {
    .about-stats { grid-template-columns: repeat(2, 1fr); }
}
.about-stat {
    background: linear-gradient(160deg, #0f172a, #1e293b);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}
.about-stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #06b6d4, #6366f1);
}
.about-stat:hover { border-color: rgba(6,182,212,0.3); transform: translateY(-3px); }

.about-stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #06b6d4, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}
.about-stat-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #475569;
    line-height: 1.3;
}

/* What I Do grid */
.about-wid-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
@media (max-width: 640px) {
    .about-wid-grid { grid-template-columns: 1fr; }
}
.about-wid-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 16px;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.about-wid-card:hover {
    background: rgba(6,182,212,0.06);
    border-color: rgba(6,182,212,0.25);
    transform: translateY(-2px);
}
.about-wid-card p {
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
}

/* =============================================
   CONTACT — PREMIUM FULL SECTION
   ============================================= */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* Info cards (left) */
.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 18px 20px;
    transition: border-color 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}
.contact-info-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #06b6d4, #3b82f6);
    border-radius: 14px 0 0 14px;
}
.contact-info-card:hover {
    border-color: rgba(6,182,212,0.3);
    transform: translateX(4px);
}

.ci-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(6,182,212,0.1);
    border: 1px solid rgba(6,182,212,0.2);
    display: flex; align-items: center; justify-content: center;
    color: #06b6d4;
    flex-shrink: 0;
}
.ci-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 3px;
}
.ci-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
}
a.ci-value:hover { color: #06b6d4; }

/* Social buttons */
.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
.contact-social-btn {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(6,182,212,0.08);
    border: 1px solid rgba(6,182,212,0.2);
    display: flex; align-items: center; justify-content: center;
    color: #06b6d4;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.contact-social-btn:hover {
    background: rgba(6,182,212,0.18);
    border-color: rgba(6,182,212,0.5);
    transform: translateY(-3px);
}

/* Form wrapper */
.contact-form-wrap {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(6,182,212,0.15);
    border-radius: 20px;
    padding: 36px;
    position: relative;
    overflow: hidden;
}
.contact-form-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #06b6d4, #3b82f6, #8b5cf6);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .cf-row { grid-template-columns: 1fr; } }

.cf-field { display: flex; flex-direction: column; gap: 6px; }

.cf-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.cf-input {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: #e2e8f0;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    width: 100%;
    font-family: inherit;
}
.cf-input::placeholder { color: #475569; }
.cf-input:focus {
    border-color: rgba(6,182,212,0.5);
    background: rgba(6,182,212,0.04);
    box-shadow: 0 0 0 3px rgba(6,182,212,0.1);
}

.cf-textarea { min-height: 130px; resize: vertical; }

/* Submit button */
.cf-submit {
    position: relative;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    width: 100%;
}
.cf-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(6,182,212,0.4);
}
.cf-submit-inner {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.cf-submit-shimmer {
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2.4s infinite;
}
@keyframes shimmer {
    0%   { left: -100%; }
    100% { left: 160%; }
}

/* Status message */
.cf-status {
    font-size: 0.85rem;
    text-align: center;
    color: #34d399;
    min-height: 1.2em;
    font-weight: 600;
}

/* =============================================
   ACHIEVEMENTS & CERTIFICATIONS — PREMIUM
   ============================================= */

/* Sub-section title pill */
.ach-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}
.ach-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(6,182,212,0.3), transparent);
}
.ach-section-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #06b6d4;
    background: rgba(6,182,212,0.1);
    border: 1px solid rgba(6,182,212,0.25);
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Achievement cards — 4-column grid */
.ach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.ach-card {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    padding: 28px 24px 22px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.ach-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(circle at 20% 20%, rgba(6,182,212,0.06), transparent 70%);
    pointer-events: none;
}
.ach-card:hover {
    transform: translateY(-6px);
    border-color: rgba(6,182,212,0.35);
    box-shadow: 0 20px 48px rgba(6,182,212,0.1);
}

/* Large muted number */
.ach-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    letter-spacing: -0.04em;
    pointer-events: none;
}

/* Gradient icon circle */
.ach-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.ach-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.35;
}

.ach-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.6;
    flex: 1;
}

.ach-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid;
    letter-spacing: 0.03em;
    align-self: flex-start;
    margin-top: auto;
}

/* Certification cards — horizontal rows */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 16px 20px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.cert-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #06b6d4, #3b82f6);
    border-radius: 14px 0 0 14px;
}
.cert-card:hover {
    transform: translateX(4px);
    border-color: rgba(6,182,212,0.3);
    box-shadow: 0 8px 24px rgba(6,182,212,0.08);
}

.cert-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(6,182,212,0.1);
    border: 1px solid rgba(6,182,212,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06b6d4;
    flex-shrink: 0;
}

.cert-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cert-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.4;
}

.cert-issuer {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #06b6d4;
    background: rgba(6,182,212,0.1);
    border: 1px solid rgba(6,182,212,0.2);
    padding: 2px 8px;
    border-radius: 999px;
    align-self: flex-start;
}

.cert-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.cert-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.2s, gap 0.2s;
}
.cert-link:hover {
    color: #06b6d4;
    gap: 5px;
}

/* =============================================
   EDUCATION — LEFT / RIGHT ALTERNATING TIMELINE
   ============================================= */

.edu-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Vertical centre line */
.edu-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #06b6d4 15%, #3b82f6 85%, transparent);
    transform: translateX(-50%);
}

/* Each row — left or right */
.edu-item {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 120px;
    padding: 20px 0;
    position: relative;
}

.edu-left {
    flex-direction: row;          /* card | dot */
    justify-content: flex-end;   /* pushes content to the right half */
    padding-right: calc(50% + 28px);
}

.edu-right {
    flex-direction: row;          /* dot | card */
    justify-content: flex-start;  /* pushes content to the left half */
    padding-left: calc(50% + 28px);
}

/* Centre dot */
.edu-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.7);
    flex-shrink: 0;
    z-index: 1;
    border: 2px solid #0f172a;
}

/* Card box */
.edu-card {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(6, 182, 212, 0.18);
    border-radius: 14px;
    padding: 20px 24px;
    width: 100%;
    max-width: 380px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    border-radius: 14px 14px 0 0;
}

.edu-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.45);
    box-shadow: 0 16px 40px rgba(6, 182, 212, 0.12);
}

.edu-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.edu-year {
    font-size: 0.75rem;
    font-weight: 600;
    color: #06b6d4;
    letter-spacing: 0.05em;
}

.edu-degree {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.35;
    margin-bottom: 4px;
}

.edu-institute {
    font-size: 0.85rem;
    color: #64748b;
}

/* Mobile — single column */
@media (max-width: 640px) {
    .edu-timeline::before { left: 16px; }

    .edu-item,
    .edu-left,
    .edu-right {
        flex-direction: row;
        justify-content: flex-start;
        padding-left: 48px;
        padding-right: 0;
    }

    .edu-dot {
        left: 16px;
    }

    .edu-card {
        max-width: 100%;
    }
}

/* =============================================
   PROJECTS GSAP MARQUEE + PROFESSIONAL CARDS
   ============================================= */

/* Full-width outer — hides overflow so cards slide cleanly */
.marquee-outer {
    width: 100%;
    overflow: hidden;
    padding: 12px 0 32px;
    cursor: grab;
    user-select: none;
}
.marquee-outer:active { cursor: grabbing; }

/* The flex row that GSAP moves */
.marquee-track {
    display: flex;
    gap: 28px;
    width: max-content;  /* grows as wide as all cards */
    will-change: transform;
}

/* ── Professional Project Card ── */
.proj-card {
    width: 500px;
    flex-shrink: 0;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(6,182,212,0.15);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
    position: relative;
}
.proj-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(6,182,212,0.5);
    box-shadow: 0 24px 48px rgba(6,182,212,0.15);
}

/* Coloured top accent bar */
.proj-card-accent {
    height: 4px;
    width: 100%;
    flex-shrink: 0;
}

.proj-card-body {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Large muted project number */
.proj-number {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(6,182,212,0.5);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

/* Title + subtitle */
.proj-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.3;
    margin-bottom: 4px;
}
.proj-sub {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #06b6d4;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

/* Date / category */
.proj-date {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 12px;
}

/* Description */
.proj-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

/* Tech tag chips */
.proj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.proj-tags span {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(6,182,212,0.1);
    border: 1px solid rgba(6,182,212,0.25);
    color: #67e8f9;
    letter-spacing: 0.03em;
    transition: background 0.2s, border-color 0.2s;
}
.proj-tags span:hover {
    background: rgba(6,182,212,0.25);
    border-color: #06b6d4;
}

/* Link row */
.proj-links {
    display: flex;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 16px;
    margin-top: auto;
}
.proj-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #38bdf8;
    text-decoration: none;
    transition: color 0.2s, gap 0.2s;
    letter-spacing: 0.02em;
}
.proj-links a:hover {
    color: #06b6d4;
    gap: 8px;
}

@media (max-width: 640px) {
    .proj-card { width: 88vw; }
}

.projects-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* The visible window — clips the overflow */
.carousel-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
}

/* The scrollable track that moves left/right */
.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Each project card inside the carousel */
.carousel-track > div {
    flex: 0 0 calc(50% - 12px);   /* Show 2 cards at a time on desktop */
    min-width: calc(50% - 12px);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .carousel-track > div {
        flex: 0 0 100%;            /* Show 1 card at a time on mobile */
        min-width: 100%;
    }
}

/* Prev / Next Arrow Buttons */
.carousel-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: #06b6d4;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.5), rgba(59, 130, 246, 0.5));
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
    transform: scale(1.1);
    border-color: #06b6d4;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Dot Indicators */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.25);
    border: 1px solid rgba(6, 182, 212, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
    border-color: #06b6d4;
}

.carousel-dot:hover:not(.active) {
    background: rgba(6, 182, 212, 0.5);
    transform: scale(1.1);
}
/* ================================================
   PREMIUM FOOTER
   ================================================ */

.site-footer-premium {
    background: #05080f;
    position: relative;
}

.sfp-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 32px 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
}

@media (max-width: 768px) {
    .sfp-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* Brand col */
.sfp-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 12px;
}
.sfp-logo-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #06b6d4;
    box-shadow: 0 0 8px #06b6d4;
    flex-shrink: 0;
}
.sfp-tagline {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}
/* .sfp-resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg,#06b6d4,#3b82f6);
    text-decoration: none;
    box-shadow: 0 0 14px rgba(6,182,212,0.3);
    transition: box-shadow 0.2s, transform 0.2s;
}
.sfp-resume-btn:hover {
    box-shadow: 0 0 24px rgba(6,182,212,0.5);
    transform: translateY(-1px);
} */

/* Links col */
.sfp-col-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #06b6d4;
    margin-bottom: 16px;
}
.sfp-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sfp-link {
    font-size: 0.88rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}
.sfp-link:hover { color: #e2e8f0; padding-left: 4px; }

/* Socials col */
.sfp-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.sfp-icon-btn {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.sfp-icon-btn:hover {
    background: rgba(6,182,212,0.12);
    color: #67e8f9;
    border-color: rgba(6,182,212,0.35);
    transform: translateY(-2px);
}
.sfp-location {
    font-size: 0.78rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Bottom bar */
.sfp-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
    color: #334155;
}
.sfp-heart { color: #475569; }

/* ================================================
   CONTACT SECTION — PREMIUM REDESIGN
   ================================================ */
.ct-section {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
    background: linear-gradient(160deg, #04060f 0%, #080c1a 50%, #060410 100%);
}
.ct-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.ct-orb-1 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(124,58,237,0.18), transparent 70%);
    top: -80px; left: -80px;
}
.ct-orb-2 {
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(6,182,212,0.12), transparent 70%);
    bottom: -60px; right: -60px;
}
.ct-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.ct-heading {
    text-align: center;
    margin-bottom: 56px;
}
.ct-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(124,58,237,0.15);
    border: 1px solid rgba(124,58,237,0.35);
    color: #a78bfa;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.ct-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
}
.ct-title-accent {
    background: linear-gradient(135deg, #a78bfa, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ct-subtitle {
    color: #64748b;
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}
.ct-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 768px) {
    .ct-layout { grid-template-columns: 1fr; }
}

/* Info cards */
.ct-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 12px;
    transition: border-color 0.2s;
}
.ct-info-card:hover { border-color: rgba(167,139,250,0.25); }
.ct-ic-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ct-ic-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 2px;
}
.ct-ic-value {
    font-size: 0.88rem;
    color: #cbd5e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ct-ic-value:hover { color: #a78bfa; }
.ct-status-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 6px #34d399;
    animation: logoDotPulse 2s ease-in-out infinite;
}
.ct-socials-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #475569;
    margin: 20px 0 10px;
}
.ct-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ct-social {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ct-social:hover {
    color: var(--sc, #a78bfa);
    border-color: var(--sc, rgba(167,139,250,0.4));
    background: rgba(255,255,255,0.07);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* Form card */
.ct-form-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(12px);
}
.ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 500px) { .ct-row { grid-template-columns: 1fr; } }
.ct-field { margin-bottom: 16px; }
.ct-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
}
.ct-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 10px 14px;
    color: #e2e8f0;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: none;
    box-sizing: border-box;
}
.ct-input::placeholder { color: #334155; }
.ct-input:focus {
    border-color: rgba(167,139,250,0.5);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.ct-textarea { min-height: 120px; }
.ct-submit {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 24px rgba(124,58,237,0.35);
    margin-top: 4px;
}
.ct-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(124,58,237,0.5);
}
.ct-submit-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
    animation: shimmerSlide 2.5s ease-in-out infinite;
}
@keyframes shimmerSlide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* Footer social icon fix - replace lucide with SVG already done in HTML */

/* Premium Alternating Backgrounds */
.premium-bg-1 {
    background: linear-gradient(160deg, #04060f 0%, #080c1a 50%, #060410 100%);
}
.premium-bg-2 {
    background:linear-gradient(180deg, #04060f 0%, #090d2b 50%, #060410 100%);
}
