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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #000000;
    color: #fff;
    overflow-x: hidden;
    cursor: none;
    min-height: 100vh;
     --glass-dark: 10, 10, 10; /* RGB values */
    --glass-opacity: 0.8;
    --glass-blur: 12px;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 22px;
    height: 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), 
                width 0.3s, 
                height 0.3s, 
                background 0.3s,
                border-color 0.3s;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(1.8);
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

.custom-cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

        /* Preloader Overlay */
        .overlay {
            position: fixed;
            width: 100vw;
            height: 100vh;
            z-index: 10000;
            display: flex;
            pointer-events: none;
            top: 0;
            left: 0;
        }

        /* Animated Bars */
        .bar {
            width: 10vw;
            height: 105vh;
            background: linear-gradient(180deg, 
                #0a0a0a 0%, 
                #1a1a1a 50%, 
                #0a0a0a 100%);
            position: relative;
            overflow: hidden;
        }

        /* Add shimmer effect to bars */
        .bar::before {
            content: '';
            position: absolute;
            top: -100%;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, 
                transparent 0%, 
                rgba(255, 255, 255, 0.1) 50%, 
                transparent 100%);
            animation: shimmer 2s ease-in-out infinite;
            animation-delay: calc(var(--bar-index) * 0.1s);
        }

        @keyframes shimmer {
            0% { top: -100%; }
            50% { top: 100%; }
            100% { top: 100%; }
        }

        /* Counter Display */
        .counter {
            position: fixed;
            bottom: 5%;
            right: 5%;
            z-index: 10001;
            font-size: clamp(8rem, 20vw, 20rem);
            font-family: "Instrument Serif", serif;
            font-weight: 400;
            line-height: 0.9;
            background: linear-gradient(135deg, 
                #ffffff 0%, 
                #e0e0e0 50%, 
                #ffffff 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 0 80px rgba(255, 255, 255, 0.1);
            pointer-events: none;
        }

        .counter::after {
            content: '%';
            font-size: 0.4em;
            margin-left: 0.1em;
            opacity: 0.6;
        }

        /* Loading Text */
        .loading-text {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 10002;
            font-size: clamp(1rem, 2.5vw, 1.8rem);
            font-weight: 600;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.5);
            pointer-events: none;
            opacity: 0;
            animation: fadeInOut 2s ease-in-out infinite;
        }

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

        /* Progress Bar */
        .progress-container {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: rgba(255, 255, 255, 0.05);
            z-index: 10002;
            overflow: hidden;
        }

        .progress-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, 
                transparent 0%,
                rgba(255, 255, 255, 0.3) 50%,
                rgba(255, 255, 255, 0.8) 100%);
            transition: width 0.3s ease;
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
        }

        /* Brand Logo/Name */
        .brand-container {
            position: fixed;
            top: 8%;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10002;
            text-align: center;
            pointer-events: none;
        }

        .brand-logo {
            font-size: clamp(1.5rem, 4vw, 3rem);
            font-weight: 800;
            letter-spacing: 0.2em;
            color: #fff;
            margin-bottom: 0.5em;
            opacity: 0.9;
            font-family: 'Space Grotesk', sans-serif;
        }

        .brand-tagline {
            font-size: clamp(0.7rem, 1.5vw, 1rem);
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.4);
            font-weight: 500;
        }

        /* Animated Dots */
        .loading-dots {
            display: inline-block;
        }

        .loading-dots::after {
            content: '';
            animation: dots 1.5s steps(4, end) infinite;
        }

        @keyframes dots {
            0%, 20% { content: ''; }
            40% { content: '.'; }
            60% { content: '..'; }
            80%, 100% { content: '...'; }
        }
        /* Responsive Design */
        @media (max-width: 768px) {
            .counter {
                bottom: 8%;
                right: 5%;
                font-size: clamp(6rem, 15vw, 10rem);
            }

            .brand-container {
                top: 5%;
            }

            .loading-text {
                font-size: clamp(0.8rem, 2.5vw, 1.2rem);
                letter-spacing: 0.2em;
            }

            .bar {
                width: 10vw;
            }
        }

        @media (max-width: 480px) {
            .counter {
                font-size: 8rem;
                bottom: 10%;
                right: 5%;
            }

            .brand-logo {
                font-size: 1.5rem;
                letter-spacing: 0.15em;
            }

            .brand-tagline {
                font-size: 0.65rem;
            }
        }

        /* Ensure bars are styled individually */
        .bar:nth-child(1) { --bar-index: 0; }
        .bar:nth-child(2) { --bar-index: 1; }
        .bar:nth-child(3) { --bar-index: 2; }
        .bar:nth-child(4) { --bar-index: 3; }
        .bar:nth-child(5) { --bar-index: 4; }
        .bar:nth-child(6) { --bar-index: 5; }
        .bar:nth-child(7) { --bar-index: 6; }
        .bar:nth-child(8) { --bar-index: 7; }
        .bar:nth-child(9) { --bar-index: 8; }
        .bar:nth-child(10) { --bar-index: 9; }



        /* Navbar Styles */
        .navbar {
            position: fixed;
            top: 30px;
            left: 50%;
            transform: translateX(-50%);
            width: 92%;
            max-width: 1400px;
            padding: 16px 40px;
            background: rgba(10, 10, 10, 0.85);
            backdrop-filter: blur(35px) saturate(180%);
            -webkit-backdrop-filter: blur(35px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 60px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 100;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        .navbar.scrolled {
            top: 20px;
            padding: 14px 35px;
             background: rgba(var(--glass-dark), var(--glass-opacity));
            backdrop-filter: blur(var(--glass-blur));
            -webkit-backdrop-filter: blur(var(--glass-blur));
            border-color: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(40px) saturate(200%);
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 15px;
            z-index: 102;
        }

        .logo-container {
            position: relative;
            width: 70px;
            height: 40px;
            transition: all 0.4s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
        }

        .logo-container img {
            height: 100px;
        }

        .logo-container:hover {
            transform: rotate(5deg) scale(1.05);
        }

        .logo-text {
            font-size: 15px;
            font-weight: 700;
            letter-spacing: 2px;
            color: rgba(255, 255, 255, 0.95);
            position: relative;
            padding-left: 12px;
            text-decoration: none;
        }

        .logo-text::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 2px;
            height: 20px;
            background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5), transparent);
        }

        .nav-menu {
            display: flex;
            gap: 35px;
            margin-left: 50px;
        }

        .nav-link {
            color: rgba(255, 255, 255, 0.65);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            padding: 10px 0;
            position: relative;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .nav-link::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.5) 100%);
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 2px;
        }

        .nav-link:hover {
            color: #fff;
            transform: translateY(-2px);
        }

        .nav-link:hover::before {
            width: 100%;
        }

        .nav-link.active {
            color: #fff;
        }

        .nav-link.active::before {
            width: 100%;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .nav-social {
            width: 46px;
            height: 46px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 20px;
        }

        .nav-social i {
            font-size: 20px;
        }

        .nav-social:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            transform: translateY(-3px) rotate(5deg);
            border-color: rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 20px rgba(255, 255, 255, 0.05);
        }

        /* Hamburger Menu */
        .hamburger {
            display: none;
            flex-direction: column;
            gap: 6px;
            cursor: pointer;
            z-index: 102;
            padding: 10px;
        }

        .hamburger span {
            width: 25px;
            height: 2px;
            background: #fff;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

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

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(8px, -8px);
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.98);
            backdrop-filter: blur(20px);
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 101;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .mobile-menu.active {
            display: flex;
            opacity: 1;
        }

        .mobile-menu-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
            width: 100%;
            padding: 40px;
        }

        .mobile-nav-links {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 25px;
            width: 100%;
        }

        .mobile-nav-link {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 28px;
            font-weight: 600;
            padding: 15px;
            position: relative;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .mobile-nav-link:hover,
        .mobile-nav-link.active {
            color: #fff;
            transform: scale(1.1);
        }

        .mobile-social-links {
            display: flex;
            gap: 30px;
            margin-top: 40px;
        }

        .mobile-social-link {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 24px;
        }

        .mobile-social-link:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            transform: scale(1.1);
            border-color: rgba(255, 255, 255, 0.3);
        }

        /* Responsive Styles */
        @media (max-width: 1200px) {
            .nav-menu {
                margin-left: 30px;
                gap: 30px;
            }
        }

        @media (max-width: 992px) {
            .navbar {
                width: 95%;
                padding: 14px 30px;
            }

            .nav-menu {
                gap: 25px;
            }

            .nav-link {
                font-size: 13px;
            }
        }

        @media (max-width: 768px) {
            .navbar {
                width: 96%;
                padding: 12px 20px;
                top: 20px;
                border-radius: 50px;
            }

            .logo-text {
                font-size: 13px;
            }

            .nav-menu {
                display: none;
            }

            .nav-right .nav-social {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            section {
                font-size: 32px;
            }
        }

        @media (max-width: 576px) {
            .navbar {
                padding: 10px 15px;
            }

            .logo-container {
                width: 50px;
                height: 30px;
            }

            .logo-text {
                font-size: 11px;
                letter-spacing: 1px;
            }

            .mobile-nav-link {
                font-size: 22px;
            }

            .mobile-social-link {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }
        }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-left: 8%;
    padding-right: 8%;
}

/* Spline Background - Full Screen */
.spline-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
    filter: brightness(0.9) contrast(1.1);
}

.spline-background spline-viewer {
    width: 100%;
    height: 100%;
    pointer-events: auto !important;
}

/* Left Content Container */
.content-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 750px;
    margin-right: auto;
    padding: 40px 0;
    pointer-events: none;
}

/* Hero Content */
.greeting-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
    pointer-events: none;
}

.greeting-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.3) 100%);
    border-radius: 2px;
}

.greeting-text {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    pointer-events: none;
}

.greeting-wrapper:hover .greeting-text {
    color: #fff;
    letter-spacing: 5px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 7.5rem;
    font-weight: 800;
    line-height: 0.85;
    margin-bottom: 35px;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
    pointer-events: none;
}

.name-part {
    display: block;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.name-part:hover {
    transform: translateX(10px);
}

/* Wave effect for name */
.name-wave {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.05), 
        transparent);
    transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.name-part:hover .name-wave {
    left: 100%;
}

.role-container {
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
    pointer-events: none;
}

.typing-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.role-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

.typing-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-align: left;
    min-width: 450px;
}

.role-text {
    font-size: 2.2rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    pointer-events: none;
    transition: all 0.3s ease;
    min-height: 50px;
    display: inline-block;
}

.typing-container:hover .role-text {
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 40px;
    background: #fff;
    margin-left: 5px;
    vertical-align: middle;
    animation: blink 1s infinite;
}

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

.hero-description {
    max-width: 680px;
    margin: 0 0 40px 0;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
    pointer-events: none;
}

.description-text {
    font-size: 1.4rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    font-weight: 300;
}

.description-text:hover {
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 25px;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
    pointer-events: auto;
}

.cta-btn {
    position: relative;
    padding: 20px 25px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    backdrop-filter: blur(10px);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-btn:active {
    transform: translateY(-2px) scale(0.98);
    transition: transform 0.1s;
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-btn:hover .btn-icon {
    transform: translateY(-2px) rotate(5deg);
}

.btn-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.5s, height 0.5s;
}

.cta-btn:hover .btn-pulse {
    width: 120%;
    height: 120%;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    right: 40px;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 10;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.4s forwards;
    pointer-events: none;
}

.scroll-line {
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    border-radius: 2px;
    animation: scrollLine 2.5s infinite;
}

@keyframes scrollLine {
    0% { transform: translateY(-20px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(60px); opacity: 0; }
}

.scroll-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 3px;
    text-transform: uppercase;
}


/* Mobile adjustments */
@media (max-width: 768px) {
    .thumbnail-grid {
        grid-template-columns: 1fr;
    }
    .thumb.small { display: none; }
    
    /* Hero Responsive */
    .hero-title {
        font-size: 4.5rem;
    }
    
    .typing-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .role-text {
        font-size: 1.6rem;
        min-height: 40px;
    }
    
    .description-text {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .scroll-indicator {
        right: 20px;
        bottom: 40px;
    }
    
    /* Infinite Project Showcase Mobile */
    .display-panel {
        width: 95vw;
        height: 60vh;
        margin: 50px auto;
    }
    
    .card {
        flex: 0 0 280px;
        height: 180px;
    }
    
    .viewport {
        transform: rotate(-10deg);
        gap: 30px;
    }
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 6.5rem;
    }
    
    .content-container {
        max-width: 650px;
    }
    
    .nav-menu {
        margin-left: 30px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .hero-title {
        font-size: 5.5rem;
    }
    
    .role-text {
        font-size: 1.8rem;
    }
    
    .description-text {
        font-size: 1.2rem;
    }
    
    .navbar {
        width: 95%;
        padding: 14px 30px;
    }
    
    .nav-menu {
        gap: 25px;
    }
    
    /* Infinite Project Showcase Tablet */
    .display-panel {
        width: 92vw;
        height: 70vh;
    }
    
    .card {
        flex: 0 0 300px;
        height: 190px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .hero-title {
        font-size: 3.8rem;
    }
    
    .greeting-text {
        font-size: 14px;
        letter-spacing: 3px;
    }
    
    .greeting-line {
        width: 40px;
    }
    
    .role-text {
        font-size: 1.4rem;
    }
    
    .description-text {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 18px 35px;
        font-size: 1rem;
    }
    
    .navbar {
        width: 96%;
        padding: 10px 20px;
        top: 20px;
    }
    
    .logo-container {
        width: 42px;
        height: 42px;
    }
    
    .logo-mono {
        font-size: 20px;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    .nav-email {
        width: 42px;
        height: 42px;
    }
    
    /* Infinite Project Showcase Mobile Small */
    .display-panel {
        height: 50vh;
        border-radius: 30px;
    }
    
    .card {
        flex: 0 0 250px;
        height: 160px;
    }
    
    .card-overlay h4 {
        font-size: 12px;
    }
    
    .card-overlay p {
        font-size: 10px;
    }
}
#logo{
    visibility: hidden;
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================
   SECTION HEADER STYLES
   ============================================ */
.experience-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 80px;
}

.experience-main-title {
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 800;
    background: linear-gradient(to bottom, #fff 40%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    line-height: 1;
}

.experience-subtitle {
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-top: 10px;
}

/* ============================================
   ABOUT SECTION STYLES
   ============================================ */
.about-section {
    padding: 0 8% 80px;
    background: #000;
    position: relative;
    z-index: 2;
}

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

.about-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: start;
}

/* Video Container - Left Column */
.video-container {
    position: relative;
    overflow: visible;
    height: 400px;
    transform: scale(1.2);
}

.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-top: 40px;
    border-radius: 20px;
}

.video-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* Text Content - Right Column */
.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.about-para {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    text-align: left;
}

/* Highlighted text within paragraphs */
.highlight {
    color: white;
    font-weight: 700;
    background: rgba(255, 107, 107, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* ============================================
   3D CARDS SECTION STYLES
   ============================================ */
.interactive-cards-section {
    position: relative;
    background: #0f0f0f;
    z-index: 2;
}

/* Sticky Container for 3D Cards */
.interactive-cards-section .sticky {
    position: relative;
    width: 100%;
    height: 100vh;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    overflow: hidden;
    z-index: 2;
}

/* Sticky Header */
.interactive-cards-section .sticky-header {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    text-align: center;
}

.interactive-cards-section .sticky-header h1 {
    position: relative;
    text-align: center;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
    font-family: "Instrument Serif", sans-serif;
    will-change: transform, opacity;
    transform: translateY(40px);
    opacity: 0;
    color: #fff;
}

/* Card Container */
.interactive-cards-section .card-container {
    position: relative;
    width: 75%;
    display: flex;
    perspective: 1000px;
    transform: translateY(40px);
    will-change: width;
    z-index: 1;
    gap: 0;
}

/* Individual Cards */
.interactive-cards-section .card {
    position: relative;
    flex: 1;
    aspect-ratio: 5 / 7;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    cursor: pointer;
    overflow: visible;
}

/* Rounded corners only on outer edges */
.interactive-cards-section #card-1 {
    border-radius: 20px 0 0 20px;
}

.interactive-cards-section #card-2 {
    border-radius: 0;
}

.interactive-cards-section #card-3 {
    border-radius: 0 20px 20px 0;
}

/* Card Front & Back Faces */
.interactive-cards-section .card-front,
.interactive-cards-section .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: inherit;
    overflow: hidden;
}

/* Card Front Image */
.interactive-cards-section .card-front img {
    width: 100.5%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* Card Back Styling */
.interactive-cards-section .card-back {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: rotateY(180deg);
    padding: 2rem;
    border-radius: 3.59281% / 2.58621%;
    top: 0;
    left: 0;
    flex-direction: column;
}

.interactive-cards-section .card-back span {
    position: absolute;
    top: 2rem;
    left: 2rem;
    opacity: 0.4;
    font-size: 2rem;
    font-family: "Instrument Serif", sans-serif;
    color: inherit;
}

.interactive-cards-section .card-back p {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
    font-family: "Instrument Serif", sans-serif;
    max-width: 80%;
}

/* Card Back Color Themes */
/* Card 1 - Aged Paper (Light) */
.interactive-cards-section #card-1 .card-back {
    background: linear-gradient(
        165deg,
        rgb(240, 231, 217) 0%,
        rgb(222, 210, 192) 50%,
        rgb(198, 181, 158) 100%
    );
    color: rgb(44, 36, 28);
}

/* Card 2 - Archive Folder (Medium) */
.interactive-cards-section #card-2 .card-back {
    background: linear-gradient(
        165deg,
        rgb(201, 174, 141) 0%,
        rgb(168, 139, 106) 50%,
        rgb(134, 108, 80) 100%
    );
    color: rgb(34, 26, 18);
}

/* Card 3 - Leather Book (Dark) */
.interactive-cards-section #card-3 .card-back {
    background: linear-gradient(
        165deg,
        rgb(120, 102, 82) 0%,
        rgb(88, 72, 56) 50%,
        rgb(56, 44, 34) 100%
    );
    color: rgb(236, 228, 218);
}

/* ============================================
   RESPONSIVE STYLES - TABLETS
   ============================================ */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .video-container {
        height: 400px;
        max-width: 400px;
        margin: 0 auto;
        transform: scale(1);
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-para {
        text-align: left;
    }

    /* 3D Cards Mobile Layout */
    .interactive-cards-section .intro h1,
    .interactive-cards-section .outro h1,
    .interactive-cards-section .sticky-header h1 {
        font-size: 2.5rem;
    }

    .interactive-cards-section .sticky {
        height: auto;
        min-height: 100vh;
        padding: 4rem 2rem;
        flex-direction: column;
        perspective: none;
    }

    .interactive-cards-section .sticky-header {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin-bottom: 4rem;
        text-align: center;
    }

    .interactive-cards-section .sticky-header h1 {
        opacity: 1;
        transform: none !important;
    }

    .interactive-cards-section .card-container {
        width: 100%;
        flex-direction: column;
        gap: 2rem;
        transform: none !important;
    }

    .interactive-cards-section .card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        border-radius: 20px !important;
        transform: none !important;
    }

    .interactive-cards-section .card-back {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        transform: none;
        aspect-ratio: 5 / 7;
        border-radius: 20px;
        padding: 2rem;
        visibility: visible;
        opacity: 1;
        backface-visibility: visible;
        height: 100%;
    }

    .interactive-cards-section .card-back span {
        font-size: 1.5rem;
        position: absolute;
        top: 1.5rem;
        left: 1.5rem;
        opacity: 0.9;
    }

    .interactive-cards-section .card-back p {
        font-size: 1.5rem;
    }

    .interactive-cards-section #card-1,
    .interactive-cards-section #card-2,
    .interactive-cards-section #card-3 {
        border-radius: 20px !important;
        transform: none !important;
    }
}

/* ============================================
   RESPONSIVE STYLES - MOBILE
   ============================================ */
@media (max-width: 768px) {
    .experience-header {
        margin-bottom: 40px;
        padding-top: 60px;
    }
    
    .experience-main-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    .experience-subtitle {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

    .about-section {
        padding: 0 5% 60px;
    }
    
    .about-para {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .video-container {
        height: 350px;
        transform: scale(1);
    }
}

/* ============================================
   RESPONSIVE STYLES - SMALL MOBILE
   ============================================ */
@media (max-width: 480px) {
    .experience-main-title {
        font-size: 2.3rem;
    }
    
    .video-container {
        height: 300px;
    }
    
    .paragraphs {
        gap: 20px;
    }

    .about-para {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */
html {
    scroll-behavior: smooth;
}
/* ============================================
   EXPERIENCE SECTION HEADER
   ============================================ */
.experience-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 80px;
}

.experience-main-title {
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 800;
    background: linear-gradient(to bottom, #fff 40%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.experience-subtitle {
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-top: 10px;
}

/* ============================================
   COMPANY HEADER CARD
   ============================================ */
.company-header {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 50px 60px;
    max-width: 1200px;
    width: calc(100% - 40px);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    margin: 0 auto 40px;
}

/* Hover glow effect */
.company-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 255, 255, 0.06) 0%, 
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.company-header:hover::before {
    opacity: 1;
}

.company-header:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

/* Company Top Section */
.company-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 30px;
}

.company-info h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.company-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

/* Role & Duration Info */
.company-meta {
    text-align: right;
}

.role-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.role-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

.duration-location {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.duration-location i {
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.3);
}

/* Company Summary */
.company-summary {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 900px;
}

/* Badges Row */
.badges-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
    align-items: center;
}

.badge {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ============================================
   VIEW MORE BUTTON
   ============================================ */
.view-more-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 60px;
    padding: 18px 35px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    font-family: 'Space Grotesk', sans-serif;
}

.view-more-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.view-more-btn:active {
    transform: translateY(-1px);
}

.view-more-btn i {
    transition: transform 0.3s ease;
}

.view-more-btn.active i {
    transform: rotate(180deg);
}

/* ============================================
   EXPANDABLE CARDS SECTION
   ============================================ */
.cards-wrapper-container {
    position: relative;
    max-width: 1400px;
    width: calc(100% - 40px);
    margin: 40px auto;
}

.cards-wrapper {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
    align-items: start;
    margin: 0;
}

/* Hidden state for cards */
.cards-wrapper.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

/* Reveal animation */
.cards-wrapper.reveal {
    display: grid;
    animation: revealCards 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes revealCards {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Individual card reveal stagger */
.cards-wrapper.reveal .section-card {
    opacity: 0;
    transform: translateY(30px);
    animation: cardReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.cards-wrapper.reveal .card-large {
    animation-delay: 0.2s;
}

.cards-wrapper.reveal .card-small {
    animation-delay: 0.4s;
}

@keyframes cardReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Card Base Styles */
.section-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    height: 500px;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 255, 255, 0.08) 0%, 
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.section-card:hover::before {
    opacity: 1;
}

.section-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(-10px);
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.card-title {
    font-size: clamp(1.8rem, 2.2vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    flex: 1;
}

/* Card List */
.card-list {
    list-style: none;
}

.card-list li {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
    padding-left: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), transparent);
    transition: all 0.3s ease;
}

.card-list li:hover {
    color: rgba(255, 255, 255, 0.95);
    padding-left: 35px;
}

.card-list li:hover::before {
    width: 20px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1), transparent);
}

/* Large Card - Two Column List */
.card-large {
    position: relative;
}

.card-large .card-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 30px;
}

.card-large .card-list li {
    margin-bottom: 0;
}

/* Small Card */
.card-small {
    position: relative;
}

.card-small .card-list li {
    font-size: 1.1rem;
}

/* Card Number Decoration */
.card-number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    user-select: none;
    transition: all 0.5s ease;
    z-index: 0;
}

.section-card:hover .card-number {
    color: rgba(255, 255, 255, 0.04);
    transform: scale(1.05);
}

/* Connecting Line Between Cards */
.connecting-line {
    position: absolute;
    top: 50%;
    right: -15px;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
    z-index: 5;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card-large:hover .connecting-line {
    opacity: 1;
}

/* ============================================
   FLIP CARD STATISTICS
   ============================================ */
.flip-card-container {
    width: 100%;
    max-width: 1200px;
    height: 300px;
    perspective: 2000px;
    cursor: pointer;
    margin: 40px auto;
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.flip-card-container:hover .flip-card {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 30px;
    padding: 50px 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.flip-card-front {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
}

.flip-card-back {
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 100%
    );
}

/* Hover glow effect */
.flip-card-front::before,
.flip-card-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% 50%, 
        rgba(255, 255, 255, 0.08) 0%, 
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.flip-card-container:hover .flip-card-front::before,
.flip-card-container:hover .flip-card-back::before {
    opacity: 1;
}

/* Statistics Items */
.stat-item {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 1px;
}

/* Separator lines between stats */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(
        to bottom, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%
    );
}

.stat-item:nth-child(3)::after {
    display: none;
}

/* Quote Content on Back */
.quote-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.quote-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    position: relative;
}

.quote-text::before,
.quote-text::after {
    content: '"';
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    font-family: Georgia, serif;
}

.quote-text::before {
    top: -20px;
    left: -30px;
}

.quote-text::after {
    bottom: -40px;
    right: -30px;
}

/* Flip Indicator */
.flip-indicator {
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.flip-indicator::after {
    content: '↻';
    font-size: 1.2rem;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
}

/* ============================================
   TECH STACK CAROUSEL
   ============================================ */

   /* ============================================
   TECH STACK CAROUSEL - SMOOTH ENTRY/EXIT
   ============================================ */
.logo-carousel-wrapper {
    position: relative;
    overflow: hidden;
    flex: 1;
    height: 70px;
    width: 100%;
}

/* Gradient fade masks for smooth entry/exit */
.logo-carousel-wrapper::before,
.logo-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Left fade (entry point) */
.logo-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(
        90deg, 
        #000 0%, 
        transparent 100%
    );
}

/* Right fade (exit point) */
.logo-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(
        -90deg, 
        #000 0%, 
        transparent 100%
    );
}

/* Logo Carousel Track */
.logo-carousel-track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    gap: 40px;
    animation: scroll 30s linear infinite;
    position: relative;
    padding: 0 20px; /* Add padding to prevent items touching edges */
}

/* Infinite scroll animation with smooth loop */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Logo Items with enhanced hover */
.logo-carousel-item {
    flex-shrink: 0;
    height: 50px;
    width: auto;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.2);
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.logo-carousel-item:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.15) translateY(-2px);
}

/* Star separator styling */
.logo-carousel-item[alt*="star"] {
    opacity: 0.3;
    filter: brightness(1.5);
    height: 15px;
    transition: all 0.3s ease;
}

.logo-carousel-item[alt*="star"]:hover {
    opacity: 0.6;
    transform: rotate(15deg);
}



@keyframes subtlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive adjustments for fade masks */
@media (max-width: 768px) {
    .logo-carousel-wrapper::before,
    .logo-carousel-wrapper::after {
        width: 80px;
    }
    
    .logo-carousel-wrapper {
        height: 60px;
    }
    
    .logo-carousel-track {
        gap: 30px;
    }
    
    .logo-carousel-item {
        height: 40px;
        max-height: 40px;
    }
    
    .logo-carousel-item[alt*="star"] {
        height: 12px;
    }
}

@media (max-width: 576px) {
    .logo-carousel-wrapper::before,
    .logo-carousel-wrapper::after {
        width: 60px;
    }
    
    .logo-carousel-wrapper {
        height: 50px;
    }
    
    .logo-carousel-track {
        gap: 25px;
        animation-duration: 25s;
    }
    
    .logo-carousel-item {
        height: 35px;
        max-height: 35px;
    }
    
    .logo-carousel-item[alt*="star"] {
        height: 10px;
    }
}
.experience-section {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    padding: 40px 8%;
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Logo Carousel Wrapper */
.logo-carousel-wrapper {
    flex: 1;
    height: 70px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Logo Carousel Track */
.logo-carousel-track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    gap: 40px;
    animation: scroll 30s linear infinite;
}

/* Logo Items */
.logo-carousel-item {
    flex-shrink: 0;
    height: 50px;
    width: auto;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.2);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-carousel-item:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}



/* Infinite scroll animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Content Block (Clients Served Badge) */
.content-block {
    flex: 0 0 auto;
    max-width: 350px;
}

.content-block-image {
    width: 100%;
    height: 130px;
    display: block;
    object-fit: contain;
}

/* ============================================
   GRADIENT ORBS (Background Effect)
   ============================================ */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(
        circle, 
        rgba(100, 150, 255, 0.4) 0%, 
        transparent 70%
    );
    top: -250px;
    right: -150px;
    animation: float1 12s ease-in-out infinite;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle, 
        rgba(255, 100, 200, 0.3) 0%, 
        transparent 70%
    );
    bottom: -200px;
    left: -150px;
    animation: float2 10s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, 30px) rotate(180deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-30px, -30px) rotate(-180deg);
    }
}

/* ============================================
   RESPONSIVE STYLES - LARGE TABLETS
   ============================================ */
@media (max-width: 1200px) {
    .company-header {
        width: calc(100% - 30px);
        padding: 40px 50px;
    }
    
    .cards-wrapper-container {
        width: calc(100% - 30px);
    }
    
    .cards-wrapper {
        grid-template-columns: 1.4fr 1fr;
        gap: 25px;
    }
    
    .card-large .card-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESPONSIVE STYLES - TABLETS
   ============================================ */
@media (max-width: 992px) {
    .experience-header {
        margin-bottom: 40px;
    }
    
    .company-header {
        width: calc(100% - 20px);
        padding: 35px 40px;
    }
    
    .company-top {
        flex-direction: column;
        gap: 20px;
    }
    
    .company-meta {
        text-align: left;
        width: 100%;
    }
    
    .company-info h2 {
        font-size: 2.8rem;
    }
    
    .cards-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .connecting-line {
        display: none;
    }
    
    .flip-card-container {
        height: 280px;
        max-width: 1000px;
    }
    
    .flip-card-front,
    .flip-card-back {
        padding: 40px 50px;
    }
}

/* ============================================
   RESPONSIVE STYLES - MOBILE
   ============================================ */
@media (max-width: 768px) {
    .experience-header {
        padding-top: 60px;
    }
    
    .experience-main-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }
    
    .experience-subtitle {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }
    
    .company-header {
        width: calc(100% - 16px);
        padding: 30px 25px;
        border-radius: 25px;
    }
    
    .company-info h2 {
        font-size: 2.3rem;
    }
    
    .view-more-btn {
        width: 100%;
        padding: 16px 25px;
        font-size: 0.9rem;
    }
    
    .section-card {
        padding: 35px 30px;
        border-radius: 25px;
        height: auto;
        min-height: 400px;
    }
    
    .card-number {
        font-size: 5rem;
        top: 20px;
        right: 20px;
    }
    
    /* Flip Card Mobile */
    .flip-card-container {
        height: auto;
        min-height: 350px;
        max-width: 95%;
    }
    
    .flip-card-front {
        flex-direction: column;
        padding: 40px 30px;
        gap: 30px;
    }
    
    .flip-card-back {
        padding: 40px 30px;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .quote-text::before,
    .quote-text::after {
        font-size: 3rem;
    }
    
    .quote-text::before {
        top: -15px;
        left: -15px;
    }
    
    .quote-text::after {
        bottom: -30px;
        right: -15px;
    }
    
    /* Tech Carousel Mobile */
    .experience-section {
        flex-direction: column;
        gap: 30px;
        padding: 30px 5%;
    }
    
    .content-block {
        order: 1;
        width: 100%;
        text-align: center;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .content-block-image {
        width: auto;
        max-width: 200px;
        height: auto;
        max-height: 100px;
        margin: 0 auto;
    }
    
    .logo-carousel-wrapper {
        order: 2;
        width: 100%;
        height: 60px;
    }
    
    .logo-carousel-item {
        height: 40px;
        max-height: 40px;
    }
    
    .logo-carousel-track {
        gap: 30px;
    }
}

/* ============================================
   RESPONSIVE STYLES - SMALL MOBILE
   ============================================ */
@media (max-width: 576px) {
    .company-header {
        width: calc(100% - 12px);
        padding: 25px 20px;
        border-radius: 20px;
    }
    
    .company-info h2 {
        font-size: 2rem;
    }
    
    .badge {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .view-more-btn {
        padding: 14px 20px;
        font-size: 0.85rem;
    }
    
    .section-card {
        padding: 25px 20px;
        border-radius: 20px;
        min-height: 350px;
    }
    
    .card-number {
        font-size: 4rem;
    }
    
    .flip-card-container {
        height: 300px;
        min-height: 200px;
    }
    
    .flip-card-front,
    .flip-card-back {
        padding: 25px 30px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .quote-text {
        font-size: 1.1rem;
    }
    
    .content-block-image {
        max-width: 180px;
        max-height: 90px;
    }
    
    .logo-carousel-wrapper {
        height: 50px;
    }
    
    .logo-carousel-item {
        height: 35px;
        max-height: 35px;
    }
    
    .logo-carousel-track {
        gap: 25px;
        animation-duration: 25s;
    }
}

/* Project Section */

 /* Project Section Styles */
        .stack-container {
            position: relative;
            width: 100%;
            padding: 60px 0;
        }

        .project-wrapper {
            position: sticky;
            top: 0;
            height: 100vh;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
        }

        /* Fixed z-index order: each subsequent card has higher z-index */
        .project-wrapper[style*="--index: 1"] {
            z-index: 1;
        }

        .project-wrapper[style*="--index: 2"] {
            z-index: 2;
        }

        .project-wrapper[style*="--index: 3"] {
            z-index: 3;
        }

        .project-wrapper[style*="--index: 4"] {
            z-index: 4;
        }

        .project-card {
            background: black;
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 40px;
            padding: 60px;
            max-width: 1400px;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 40px;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
            box-shadow: 0 -5px 5px -5px #ffffff;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 50%, 
                        rgba(255,255,255,0.05) 0%, 
                        transparent 70%);
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
        }

        .project-card:hover::before {
            opacity: 1;
        }

        .project-card:hover {
            border-color: rgba(255,255,255,0.15);
            transform: translateY(-10px);
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 40px;
            flex-wrap: wrap;
        }

        .header-left {
            flex: 1;
            min-width: 300px;
        }

        .heading {
            font-size: clamp(2.5rem, 4vw, 4.5rem);
            font-weight: 800;
            letter-spacing: -2px;
            line-height: 1;
            margin-bottom: 24px;
            background: linear-gradient(to bottom, #fff 40%, #666 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .project-desc {
            font-size: clamp(1.1rem, 1.5vw, 1.3rem);
            line-height: 1.7;
            color: rgba(255,255,255,0.7);
            max-width: 700px;
        }

        .view-btn {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: 50px;
            padding: 18px 35px;
            color: #fff;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-decoration: none;
        }

        .view-btn:hover {
            background: rgb(255, 255, 255);
            color: rgb(0, 0, 0);
            transform: translateX(5px);
        }

        .view-btn .arrow {
            transition: transform 0.3s ease;
        }

        .view-btn:hover .arrow {
            transform: translateX(5px);
        }

        .thumbnail-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 20px;
            width: 100%;
        }

        .thumb {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.05);
        }

        .thumb.large {
            aspect-ratio: 2/1;
        }

        .thumb.small {
            aspect-ratio: 1/1;
        }

        .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .thumb:hover img {
            transform: scale(1.05);
        }

        /* Client Projects Divider */
        .client-projects-divider {
            text-align: center;
            padding: 80px 20px;
            position: relative;
        }

        .client-projects-divider::before,
        .client-projects-divider::after {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 80%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        }

        .client-projects-divider::before {
            top: 20px;
        }

        .client-projects-divider::after {
            bottom: 20px;
        }

        .client-projects-divider h3 {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 800;
            letter-spacing: 8px;
            color: rgba(255,255,255,0.9);
        }

        /* Infinite Scrolling Belt Styles */
        .display-panel {
            width: 100%;
            overflow: hidden;
            position: relative;
            padding: 60px 0;
            background: #000;
        }

        .viewport {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 40px;
        }

        .belt-container {
            width: 100%;
            overflow: hidden;
            position: relative;
            mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
            -webkit-mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
        }

        .belt {
            display: flex;
            gap: 30px;
            width: max-content;
            will-change: transform;
        }

        .top-belt-container .belt {
            animation: scrollLeft 40s linear infinite;
        }

        .bottom-belt-container .belt {
            animation: scrollRight 40s linear infinite;
        }

        @keyframes scrollLeft {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        @keyframes scrollRight {
            0% {
                transform: translateX(-50%);
            }
            100% {
                transform: translateX(0);
            }
        }

        /* Infinite Scroll Card Styles */
        .project-item {
            min-width: 320px;
            height: 400px;
            background: #111;
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            flex-shrink: 0;
            cursor: pointer;
            display: flex;
            flex-direction: column;
        }

        .project-item:hover {
            transform: translateY(-8px);
            border-color: rgba(255,255,255,0.3);
            background: #151515;
            box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        }

        .project-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 50%, 
                        rgba(255,255,255,0.1) 0%, 
                        transparent 70%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .project-item:hover::before {
            opacity: 0.6;
        }

        .project-thumb {
            width: 100%;
            height: 250px;
            overflow: hidden;
            background: #000;
            position: relative;
        }

        .project-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .project-item:hover .project-thumb img {
            transform: scale(1.1);
        }

        /* Card Content Area */
        .project-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    /* Remove the gap property entirely */
}

        /* Heading for infinite scroll cards */
        .project-heading {
            font-size: 1.8rem;
            font-weight: 700;
            color: #fff;
            line-height: 1.2;
            margin: 0;
        }

        /* VIEW button for infinite scroll cards */
        .project-view-btn {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: 50px;
            padding: 12px 25px;
            color: #fff;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: fit-content;
            margin-top: auto;
            text-decoration: none;
        }

        .project-view-btn:hover {
            background: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.3);
            transform: translateX(5px);
        }

        .project-view-btn .arrow {
            transition: transform 0.3s ease;
        }

        .project-view-btn:hover .arrow {
            transform: translateX(5px);
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .project-card {
                padding: 50px;
            }
        }

        @media (max-width: 992px) {
            .thumbnail-grid {
                grid-template-columns: 1fr;
            }

            .project-card {
                padding: 40px;
            }
        }

        @media (max-width: 768px) {
            .project-wrapper {
                height: auto;
                position: relative;
                margin-bottom: 40px;
            }

            .project-card {
                padding: 30px;
                border-radius: 25px;
                min-height: 500px;
            }

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

            .card-header {
                flex-direction: column;
                gap: 25px;
            }

            .header-left {
                min-width: 100%;
            }

            .view-btn {
                width: 100%;
                text-align: center;
            }

            .client-projects-divider {
                padding: 60px 20px;
            }

            .client-projects-divider h3 {
                letter-spacing: 4px;
            }

            .project-item {
                min-width: 280px;
                height: 380px;
            }

            .project-thumb {
                height: 200px;
            }

            .project-content {
                padding: 20px;
            }

            .project-heading {
                font-size: 1.6rem;
            }
        }

        @media (max-width: 480px) {
            .project-card {
                padding: 25px;
                border-radius: 20px;
            }

            .heading {
                font-size: 2rem;
            }

            .project-desc {
                font-size: 1rem;
            }

            .project-item {
                min-width: 260px;
                height: 360px;
            }

            .project-thumb {
                height: 180px;
            }

            .project-heading {
                font-size: 1.4rem;
            }
        }

/* Review Section */


        .reviews-section {
            width: 100%;
            max-width: 100vw;
            overflow: hidden;
            position: relative;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
            padding: 0 20px;
        }

        .section-title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 700;
            background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 15px;
            letter-spacing: -1px;
        }

        .section-subtitle {
            font-size: clamp(1rem, 1.5vw, 1.2rem);
            color: rgba(255, 255, 255, 0.6);
            font-weight: 400;
        }

        .reviews-container {
            position: relative;
            width: 100%;
            overflow: hidden;
            padding: 20px 0;
            mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
            -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
        }

        .reviews-track {
            display: flex;
            gap: 30px;
            width: max-content;
            animation: scroll 60s linear infinite;
            will-change: transform;
        }

        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        .review-card {
            min-width: 400px;
            max-width: 400px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 35px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
        }

        .review-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 70%);
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
        }

        .review-card:hover {
            transform: translateY(-10px);
            border-color: rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.05);
        }

        .review-card:hover::before {
            opacity: 1;
        }

        .review-header {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .reviewer-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
            color: #fff;
            flex-shrink: 0;
            position: relative;
            overflow: hidden;
        }

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

        .reviewer-info {
            flex: 1;
        }

        .reviewer-name {
            font-size: 1.1rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 5px;
        }

        .reviewer-title {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.5);
        }

        .review-rating {
            display: flex;
            gap: 5px;
            margin-bottom: 15px;
        }

        .star {
            color: #fbbf24;
            font-size: 1.1rem;
        }

        .star.empty {
            color: rgba(255, 255, 255, 0.2);
        }

        .review-text {
            font-size: 1rem;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.8);
            flex: 1;
        }

        .review-date {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.4);
            margin-top: auto;
        }

        .quote-icon {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 3rem;
            color: rgba(255, 255, 255, 0.05);
            pointer-events: none;
        }

        /* Gradient variants for avatars */
        .review-card:nth-child(4n+1) .reviewer-avatar {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .review-card:nth-child(4n+2) .reviewer-avatar {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }

        .review-card:nth-child(4n+3) .reviewer-avatar {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }

        .review-card:nth-child(4n+4) .reviewer-avatar {
            background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
        }

        /* Progress dots */
        .reviews-progress {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 50px;
            padding: 0 20px;
        }

        .progress-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .progress-dot.active {
            background: #fff;
            width: 30px;
            border-radius: 5px;
        }

        .progress-dot:hover {
            background: rgba(255, 255, 255, 0.5);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .section-header {
                margin-bottom: 40px;
            }

            .review-card {
                min-width: 320px;
                max-width: 320px;
                padding: 28px;
            }

            .reviewer-avatar {
                width: 50px;
                height: 50px;
                font-size: 1.3rem;
            }

            .reviewer-name {
                font-size: 1rem;
            }

            .reviewer-title {
                font-size: 0.85rem;
            }

            .review-text {
                font-size: 0.95rem;
            }

            .reviews-track {
                gap: 20px;
            }
        }

        @media (max-width: 480px) {
            .review-card {
                min-width: 280px;
                max-width: 280px;
                padding: 25px;
            }

            .reviews-progress {
                margin-top: 40px;
            }
        }

        /* Loading animation */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .review-card {
            animation: fadeIn 0.6s ease forwards;
        }

        .review-card:nth-child(1) { animation-delay: 0.1s; }
        .review-card:nth-child(2) { animation-delay: 0.2s; }
        .review-card:nth-child(3) { animation-delay: 0.3s; }
        .review-card:nth-child(4) { animation-delay: 0.4s; }
        .review-card:nth-child(5) { animation-delay: 0.5s; }
        .review-card:nth-child(6) { animation-delay: 0.6s; }

                /* ============================================
           EXPERIENCE SECTION HEADER - MATCHING STYLE
           ============================================ */
        .experience-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .experience-main-title {
            font-size: clamp(2.5rem, 7vw, 6rem);
            font-weight: 800;
            background: linear-gradient(to bottom, #fff 40%, #444 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -2px;
        }

        .experience-subtitle {
            letter-spacing: 4px;
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.85rem;
            text-transform: uppercase;
            margin-top: 10px;
        }

        /* ============================================
           CONTACT SECTION TWO-COLUMN LAYOUT
           ============================================ */

        .contact-section {
            padding: 100px 8%;
            background: #000;
            position: relative;
            z-index: 1;
        }

        .contact-grid-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: start;
            max-width: 1400px;
            margin: 0 auto;
        }

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

        .form-vessel {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.9);
            border-radius: 40px;
            padding: 60px;
            width: 100%;
            height: 100%;
        }

        .connection-form {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .input-group {
            margin-bottom: 0;
        }

        .input-group label {
            display: block;
            font-size: 11px;
            letter-spacing: 2px;
            color: #fff;
            margin-bottom: 10px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .input-group input,
        .input-group textarea {
            width: 100%;
            background: transparent;
            border: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            padding: 12px 0;
            color: #fff;
            font-size: 1.1rem;
            font-family: 'Space Grotesk', sans-serif;
            transition: border-color 0.3s ease;
        }

        .input-group input:focus,
        .input-group textarea:focus {
            outline: none;
            border-color: #fff;
        }

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

        .send-btn {
            width: 100%;
            background: #fff;
            color: #000;
            border: none;
            padding: 22px;
            border-radius: 15px;
            font-weight: 800;
            font-size: 1rem;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            margin-top: 20px;
            font-family: 'Space Grotesk', sans-serif;
        }

        .send-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
        }

        .reply-estimate {
            text-align: center;
            font-size: 12px;
            color: #666;
            margin-top: 20px;
        }

        /* Right Column - Identity Info */
        .contact-info-column {
            display: flex;
            flex-direction: column;
        }

        .identity-stack {
            display: flex;
            flex-direction: column;
            gap: 25px;
            width: 100%;
        }

        .massive-image-container {
            width: 100%;
            height: 480px;
            border-radius: 40px;
            overflow: hidden;
            position: relative;
            background: rgba(255, 255, 255, 0.02);
        }

        .massive-image-container spline-viewer {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .id-card-horizontal {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 25px;
            padding: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .id-main-info {
            flex: 1;
        }

        .id-name {
            font-size: 1.6rem;
            font-weight: 800;
            letter-spacing: 1px;
            margin-bottom: 8px;
            color: #fff;
        }

        .id-location {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .id-meta-info {
            text-align: right;
        }

        .id-role {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.5);
            letter-spacing: 1px;
            text-transform: uppercase;
            display: block;
            margin-bottom: 10px;
        }

        .spline-badge {
            background: rgba(255, 255, 255, 0.05);
            padding: 8px 15px;
            border-radius: 50px;
            font-size: 11px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.9);
        }

        .contact-footer-info {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 20px 0;
        }

        .footer-block h4 {
            font-size: 10px;
            color: rgba(255, 255, 255, 0.4);
            letter-spacing: 2px;
            margin-bottom: 10px;
            text-transform: uppercase;
        }

        .footer-block p {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.8);
            margin-top: 5px;
        }

        .social-icons {
            display: flex;
            gap: 20px;
            font-size: 1.8rem;
            margin-top: 5px;
        }

        .social-icons a {
            color: rgba(255, 255, 255, 0.9);
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .social-icons a:hover {
            color: #fff;
            transform: translateY(-3px);
        }

        /* ============================================
           LAST MESSAGE SECTION
           ============================================ */
        .last-message {
            margin-bottom: 90px;
            padding-left: 200px;
            padding-right: 200px;
            text-align: center;
            background: #000;
            position: relative;
            z-index: 1;
        }

        .last-message-container p {
            color: rgba(255, 255, 255, 0.6);
            line-height: 1.8;
            font-size: 1rem;
        }

        /* ============================================
           ANIMATED FOOTER DIVIDER
           ============================================ */
        .animated-footer-divider {
            height: 0.5px;
            width: 100%;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255,255,255,0.1) 2%, 
                rgba(255,255,255,0.8) 50%, 
                rgba(255,255,255,0.1) 80%, 
                transparent 100%);
            background-size: 200% 100%;
            animation: gradientMove 4s linear infinite;
            margin: 40px 0;
        }

        @keyframes gradientMove {
            0% { background-position: 100% 0%; }
            100% { background-position: -100% 0%; }
        }

        /* ============================================
           FOOTER SECTION
           ============================================ */
        .footer {
            padding: 60px 8% 40px;
            background: #000;
            position: relative;
            z-index: 1;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
        }

        .footer-main {
            display: grid;
            grid-template-columns: 1.5fr 2fr;
            gap: 100px;
            margin-bottom: 60px;
        }

        .footer-description .footer-logo {
            font-size: 22px;
            font-weight: 800;
            letter-spacing: 3px;
            margin-bottom: 20px;
            color: #fff;
        }

        .footer-description p {
            color: #888;
            line-height: 1.7;
            margin-bottom: 25px;
            font-size: 14px;
        }

        .system-status {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 12px;
            color: #666;
        }

        .status-indicator {
            width: 6px;
            height: 6px;
            background: #00ff88;
            border-radius: 50%;
            animation: pulse 2s ease-in-out infinite;
        }

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

        .footer-links-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
        }

        .footer-column h4 {
            font-size: 14px;
            margin-bottom: 20px;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .footer-column ul {
            list-style: none;
            padding: 0;
        }

        .footer-column ul li {
            margin-bottom: 12px;
        }

        .footer-column ul li a {
            text-decoration: none;
            color: #888;
            font-size: 14px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .footer-column ul li a:hover {
            color: #fff;
            padding-left: 5px;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 30px;
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #555;
        }

        /* ============================================
           RESPONSIVE DESIGN
           ============================================ */

        @media (max-width: 1200px) {
            .contact-grid-container {
                gap: 60px;
            }
            
            .form-vessel {
                padding: 50px;
            }
            
            .massive-image-container {
                height: 400px;
            }

            .last-message {
                padding-left: 100px;
                padding-right: 100px;
            }
        }

        @media (max-width: 992px) {
            .contact-grid-container {
                grid-template-columns: 1fr;
                gap: 60px;
                max-width: 700px;
            }
            
            .contact-form-column {
                order: 1;
            }
            
            .contact-info-column {
                order: 2;
            }
            
            .massive-image-container {
                height: 350px;
            }
            
            .id-card-horizontal {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            
            .id-meta-info {
                text-align: left;
                width: 100%;
            }
            
            .contact-footer-info {
                flex-direction: column;
                gap: 25px;
            }
            
            .footer-block {
                width: 100%;
            }

            .last-message {
                padding-left: 60px;
                padding-right: 60px;
            }

            .footer-main {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .footer-links-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            .experience-header {
                margin-bottom: 40px;
            }
            
            .experience-main-title {
                font-size: clamp(2rem, 6vw, 3.5rem);
            }

            .contact-section {
                padding: 60px 5%;
            }
            
            .form-vessel {
                padding: 40px 30px;
                border-radius: 30px;
            }
            
            .massive-image-container {
                height: 300px;
                border-radius: 30px;
            }
            
            .id-card-horizontal {
                padding: 25px;
            }
            
            .id-name {
                font-size: 1.4rem;
            }
            
            .social-icons {
                font-size: 1.6rem;
                gap: 15px;
            }

            .last-message {
                padding-left: 30px;
                padding-right: 30px;
                margin-bottom: 60px;
            }

            .footer-links-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }
            .massive-image-container { display: none; }
        }

        @media (max-width: 576px) {
            .form-vessel {
                padding: 30px 25px;
            }
            
            /* Hide the heavy 3D viewer on small/mobile screens */
            .massive-image-container {
                display: none;
            }
            
            .id-card-horizontal {
                padding: 20px;
            }
            
            .contact-footer-info {
                gap: 20px;
            }

            .last-message {
                padding-left: 20px;
                padding-right: 20px;
            }

            .last-message-container p {
                font-size: 0.95rem;
            }
            .massive-image-container { display: none; }
        }

        @media (max-width: 480px) {
            .experience-main-title {
                font-size: 2.3rem;
            }
            
            .experience-subtitle {
                font-size: 0.75rem;
                letter-spacing: 3px;
            }

            .input-group input,
            .input-group textarea {
                font-size: 1rem;
            }

            .send-btn {
                padding: 18px;
                font-size: 0.95rem;
            }
            .massive-image-container { display: none; }
        }

        /* ========================================
   SKILLS SECTION STYLES
   Copy this to the end of style.css
======================================== */

/* Skills Section Container */
.skills-section {
    padding: 120px 20px;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.skills-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Skills Header */
.skills-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skills-main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.skills-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.skills-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-top: 24px;
}

/* Skill Category */
.skill-category {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.skill-category:nth-child(3) {
    animation-delay: 0.3s;
}

.skill-category:nth-child(4) {
    animation-delay: 0.4s;
}

.skill-category:nth-child(5) {
    animation-delay: 0.5s;
}

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

.category-header i {
    font-size: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-header h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.95);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

/* Skill Card */
.skill-card {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.6s ease forwards;
}

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1);
}

.skill-card:hover::before {
    opacity: 1;
}

/* Skill Icon */
.skill-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.skill-icon i {
    font-size: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.4s ease;
}

.skill-card:hover .skill-icon {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.skill-card:hover .skill-icon i {
    transform: scale(1.1);
}

/* Special icon colors for specific skills */
.skill-card[data-skill="html"] .skill-icon i {
    background: linear-gradient(135deg, #e34c26 0%, #f06529 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-card[data-skill="css"] .skill-icon i {
    background: linear-gradient(135deg, #264de4 0%, #2965f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-card[data-skill="javascript"] .skill-icon i,
.skill-card[data-skill="js-lang"] .skill-icon i {
    background: linear-gradient(135deg, #f0db4f 0%, #f7df1e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-card[data-skill="react"] .skill-icon i {
    background: linear-gradient(135deg, #61dafb 0%, #00d8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-card[data-skill="node"] .skill-icon i {
    background: linear-gradient(135deg, #68a063 0%, #8cc84b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-card[data-skill="python"] .skill-icon i {
    background: linear-gradient(135deg, #306998 0%, #ffd43b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-card[data-skill="git"] .skill-icon i {
    background: linear-gradient(135deg, #f34f29 0%, #f05133 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-card[data-skill="figma"] .skill-icon i {
    background: linear-gradient(135deg, #f24e1e 0%, #a259ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Skill Content */
.skill-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.skill-header h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.01em;
}

/* Skill Level Badge */
.skill-level {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.skill-level.expert {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.skill-level.advanced {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.skill-level.intermediate {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.skill-level.beginner {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

/* Skill Description */
.skill-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    letter-spacing: 0.01em;
}

/* Skill Bar Container */
.skill-bar-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.skill-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.skill-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0.3) 100%);
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.skill-card.visible .skill-bar::before {
    width: var(--progress, 0%);
}

.skill-percentage {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    min-width: 45px;
    text-align: right;
}

/* Skills Footer / Stats */
.skills-footer {
    margin-top: 80px;
    padding: 40px;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.skills-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .skill-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .skills-section {
        padding: 80px 16px;
    }

    .skills-header {
        margin-bottom: 60px;
    }

    .skill-category {
        margin-bottom: 60px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .skill-card {
        padding: 20px;
        gap: 16px;
    }

    .skill-icon {
        width: 50px;
        height: 50px;
    }

    .skill-icon i {
        font-size: 1.5rem;
    }

    .category-header {
        margin-bottom: 30px;
    }

    .category-header i {
        font-size: 1.5rem;
    }

    .skills-footer {
        padding: 30px 20px;
        margin-top: 60px;
    }

    .skills-stats {
        gap: 30px;
    }

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

@media (max-width: 480px) {
    .skills-section {
        padding: 60px 12px;
    }

    .skill-card {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .skill-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }

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

    .skill-header {
        flex-direction: column;
        gap: 8px;
    }

    .skill-bar-container {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .skill-percentage {
        text-align: center;
    }

    .skills-stats {
        flex-direction: column;
        gap: 30px;
    }
}

/* Animation delays for staggered effect */
.skills-grid .skill-card:nth-child(1) { animation-delay: 0.1s; }
.skills-grid .skill-card:nth-child(2) { animation-delay: 0.2s; }
.skills-grid .skill-card:nth-child(3) { animation-delay: 0.3s; }
.skills-grid .skill-card:nth-child(4) { animation-delay: 0.4s; }
.skills-grid .skill-card:nth-child(5) { animation-delay: 0.5s; }
.skills-grid .skill-card:nth-child(6) { animation-delay: 0.6s; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .skill-card,
    .skill-category,
    .skills-header,
    .skills-footer {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .skill-bar::before {
        transition: none;
    }
}

/* contact form submission success message  */
/* Add to your existing CSS file */

/* Form loading animation */
.send-btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

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

.fa-spinner.fa-spin {
    animation: spin 1s linear infinite;
}

/* Form input focus effects */
.input-group {
    transition: transform 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #fff !important;
}

/* Success state */
.send-btn.success {
    background: #34d399 !important;
}

/* Error state */
.send-btn.error {
    background: #f87171 !important;
}

/* Hidden bot check field */
.hidden {
    display: none !important;
}