        :root {
            --white: #FFFFFF;
            --beige-light: #FDFBF7;
            --beige-base: #F5F5DC;
            --beige-dark: #E8E4D0;
            --accent-gold: #C5A059;
            --text-main: #1A1A1A;
            --text-muted: #4A4A4A;
            --glass: rgba(255, 255, 255, 0.6);
            --shadow: 0 20px 40px rgba(197, 160, 89, 0.1);
            --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

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

        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--white);
            color: var(--text-main);
            line-height: 1.7;
            overflow-x: hidden;
            width: 100vw;
            scroll-behavior: smooth;
        }

        h1,
        h2,
        h3,
        h4,
        .logo {
            font-family: 'Sora', sans-serif;
            font-weight: 700;
        }

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

        /* PERSISTENT MOVING CUBE BACKGROUND */
        #bg-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: linear-gradient(180deg, var(--white) 0%, var(--beige-light) 100%);
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 25px;
        }

        section {
            padding: 100px 0;
            position: relative;
        }

        .tagline {
            color: var(--accent-gold);
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 20px;
            display: block;
        }

        /* Navigation */
        /* Updated Navigation - Floating Pill Style */
        /* Navigation - Intelligent Scroll Reveal */
        header {
            position: fixed;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 100%;
            /* Initially full width */
            z-index: 1000;
            padding: 20px 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: transparent;
            /* Reverted to transparent */
            backdrop-filter: blur(0px);
            border: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 0;
            box-shadow: none;
            color: var(--text-main);
            /* Dark Text Initially */
            transition: all 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
            /* 1.5s Smooth transition */
        }

        /* Scrolled State - Floating Pill */
        header.scrolled-nav {
            top: 20px;
            width: 90%;
            max-width: 1100px;
            padding: 15px 40px;
            background: rgba(26, 26, 26, 0.95);
            /* Becomes Black */
            border-radius: 50px;
            /* Transforms to Pill shape */
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #fff;
            /* Becomes White */
            z-index: 1001;
            /* Above mobile menu if needed */
        }

        /* Mobile Toggle Wrapper */
        .mobile-actions {
            display: none;
            gap: 20px;
            align-items: center;
        }

        .mobile-btn {
            background: transparent;
            border: none;
            color: inherit;
            cursor: pointer;
            padding: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .mobile-btn:hover {
            color: var(--accent-gold);
        }

        .mobile-btn svg {
            width: 24px;
            height: 24px;
        }

        /* Mobile Menu Overlay */
        .mobile-nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(26, 26, 26, 0.98);
            backdrop-filter: blur(20px);
            z-index: 2000;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 30px;
            opacity: 0;
            pointer-events: none;
            transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .mobile-nav-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }

        .mobile-nav-overlay a {
            font-size: 1.5rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #fff;
            font-family: 'Sora', sans-serif;
            transition: var(--transition);
        }

        .mobile-nav-overlay a:hover {
            color: var(--accent-gold);
            transform: scale(1.1);
        }

        .close-mobile-menu {
            position: absolute;
            top: 30px;
            right: 40px;
            color: #fff;
            font-size: 2rem;
            cursor: pointer;
        }

        /* Mobile Search Modal */
        #mobile-search-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(26, 26, 26, 0.98);
            backdrop-filter: blur(25px);
            z-index: 3000;
            display: none;
            flex-direction: column;
            padding: 20px;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        #mobile-search-modal.active {
            display: flex;
            opacity: 1;
        }

        .mobile-search-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .mobile-search-header h2 {
            color: var(--accent-gold);
            font-size: 1.5rem;
        }

        .close-search-modal {
            color: #fff;
            font-size: 2rem;
            cursor: pointer;
        }

        .mobile-search-input-wrapper {
            position: relative;
            margin-bottom: 20px;
        }

        .mobile-search-input-wrapper input {
            width: 100%;
            padding: 15px 50px 15px 20px;
            border-radius: 30px;
            border: 2px solid var(--accent-gold);
            background: rgba(255, 255, 255, 0.05);
            color: red;
            font-size: 1.1rem;
            outline: none;
        }

        .mobile-search-results {
            flex: 1;
            overflow-y: auto;
            margin-top: 20px;
        }

        .mobile-search-results .search-result-item {
            background: rgba(255, 255, 255, 0.03);
            margin-bottom: 10px;
            border-radius: 12px;
            padding: 15px;
            border: 1px solid rgba(197, 160, 89, 0.1);
        }

        .logo {
            font-size: 1.4rem;
            letter-spacing: -1px;
            color: var(--text-main);
            /* Dark */
            transition: color 1.5s ease;
        }

        header.scrolled-nav .logo {
            color: #fff;
        }

        .logo span {
            color: var(--accent-gold);
        }

        .nav-links a {
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            margin-left: 30px;
            letter-spacing: 1px;
            color: var(--text-main);
            /* Dark */
            transition: all 1.5s ease;
        }

        header.scrolled-nav .nav-links a {
            color: #ccc;
        }

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

        header.scrolled-nav .nav-links a:hover {
            color: var(--accent-gold);
            text-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
        }

        /* HERO SECTION */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        h1 {
            font-size: clamp(2rem, 5vw, 3.8rem);
            line-height: 1.1;
            margin-bottom: 25px;
            letter-spacing: -2px;
        }

        .hero-sub {
            font-size: 1.2rem;
            color: var(--text-muted);
            margin-bottom: 40px;
            max-width: 800px;
            margin-inline: auto;
        }

        /* CARDS & GRIDS */
        .grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .grid-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .card {
            background: var(--glass);
            border: 1px solid var(--beige-base);
            padding: 40px;
            border-radius: 20px;
            transition: var(--transition);
            backdrop-filter: blur(10px);
        }

        .card:hover {
            transform: translateY(-10px);
            border-color: var(--accent-gold);
            background: var(--white);
            box-shadow: var(--shadow);
        }

        /* 3D CUBE ANIMATION */
        .cube-container {
            width: 220px;
            height: 220px;
            perspective: 1000px;
        }

        .cube {
            width: 100%;
            height: 100%;
            position: relative;
            transform-style: preserve-3d;
            animation: rotateCube 15s infinite linear;
        }

        .face {
            position: absolute;
            width: 220px;
            height: 220px;
            background: rgba(245, 245, 220, 0.9);
            border: 1px solid var(--accent-gold);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: bold;
            color: var(--accent-gold);
            text-align: center;
            padding: 15px;
            backdrop-filter: blur(5px);
        }

        .front {
            transform: translateZ(110px);
        }

        .back {
            transform: rotateY(180deg) translateZ(110px);
        }

        .right {
            transform: rotateY(90deg) translateZ(110px);
        }

        .left {
            transform: rotateY(-90deg) translateZ(110px);
        }

        .top {
            transform: rotateX(90deg) translateZ(110px);
        }

        .bottom {
            transform: rotateX(-90deg) translateZ(110px);
        }

        @keyframes rotateCube {
            from {
                transform: rotateX(0deg) rotateY(0deg);
            }

            to {
                transform: rotateX(360deg) rotateY(360deg);
            }
        }

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

        .section-header h2 {
            font-size: 2.8rem;
            margin-bottom: 20px;
        }

        .discipline-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-top: 60px;
        }

        .discipline-card {
            padding: 40px;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            border: 1px solid var(--beige-base);
            text-align: center;
            transition: var(--transition);
        }

        .discipline-card:hover {
            transform: translateY(-12px);
            border-color: var(--accent-gold);
            background: var(--white);
            box-shadow: var(--shadow);
        }

        .discipline-card i {
            display: block;
            margin-bottom: 20px;
            font-style: normal;
            font-size: 2.5rem;
        }

        .grid-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        /* Force 5 cards in one row for desktops */


        .card {
            background: var(--glass);
            border: 1px solid var(--beige-base);
            padding: 40px;
            border-radius: 20px;
            transition: var(--transition);
            backdrop-filter: blur(10px);
        }

        .card:hover {
            transform: translateY(-10px);
            border-color: var(--accent-gold);
            background: var(--white);
            box-shadow: var(--shadow);
        }

        .card h3 {
            margin-bottom: 15px;
            color: var(--text-main);
            font-size: 1.4rem;
        }

        .card p {
            font-size: 0.95rem;
            color: var(--text-muted);
        }

        /* PROCESS STEPS */
        .process-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 60px;
        }

        .step-card {
            position: relative;
            padding: 30px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 15px;
            border-bottom: 3px solid var(--beige-base);
            transition: var(--transition);
        }

        .step-card:hover {
            border-bottom-color: var(--accent-gold);
            background: var(--white);
        }

        .step-num {
            font-family: 'Sora';
            color: var(--accent-gold);
            font-size: 2rem;
            opacity: 0.3;
            margin-bottom: 10px;
            display: block;
        }

        .step-card h4 {
            font-size: 1.1rem;
            margin-bottom: 10px;
        }

        .step-card p {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        /* REGULATORY PANEL */
        .reg-panel {
            background: var(--text-main);
            color: var(--white);
            padding: 60px;
            border-radius: 30px;
            border-left: 8px solid var(--accent-gold);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
        }

        .reg-panel h2 {
            color: var(--accent-gold);
            margin-bottom: 20px;
        }

        .reg-panel p {
            opacity: 0.8;
            font-size: 1.1rem;
        }

        /* ICON GRID (Why Us) */
        .icon-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            margin-top: 50px;
        }

        .icon-item h3 {
            color: var(--accent-gold);
            margin-bottom: 10px;
            font-size: 1.2rem;
        }

        .icon-item p {
            font-size: 0.95rem;
            color: var(--text-muted);
        }

        /* FOUNDER NOTE */
        .founder-note {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
            padding: 60px 40px;
            background: var(--beige-light);
            border-radius: 40px;
            position: relative;
        }






        #intro-heading {
            position: absolute;
            top: 45%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: rgb(189, 242, 67);
            font-family: 'Lobster Two', cursive, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-weight: 800;
            font-size: clamp(3rem, 10vw, 12rem);
            text-align: center;
            width: 90%;
            max-width: 1200px;
            margin: 0;
            line-height: 1.2;
            letter-spacing: -1px;
            text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .founder-note blockquote {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            line-height: 1.4;
            font-style: italic;
            color: var(--text-main);
            margin-bottom: 25px;
        }

        /* Buttons */
        .btn {
            padding: 16px 35px;
            border-radius: 4px;
            font-family: 'Sora';
            font-weight: 600;
            cursor: pointer;
            display: inline-block;
            border: none;
            font-size: 0.9rem;
        }

        .btn-primary {
            background: var(--text-main);
            color: var(--white);
        }

        .btn-primary:hover {
            background: var(--accent-gold);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
        }

        .btn-secondary {
            background: transparent;
            border: 1px solid var(--beige-dark);
            color: var(--text-main);
        }

        .btn-secondary:hover {
            background: var(--white);
            border-color: var(--text-main);
            transform: translateY(-3px);
        }

        /* Footer */
        footer {
            background: var(--white);
            padding: 80px 0 40px;
            border-top: 1px solid var(--beige-base);
            position: relative;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 60px;
        }

        .footer-col h4 {
            margin-bottom: 20px;
            font-size: 0.9rem;
            text-transform: uppercase;
            color: var(--accent-gold);
        }

        .footer-col li {
            margin-bottom: 10px;
            font-size: 0.85rem;
            color: var(--text-muted);
            list-style: none;
        }

        .footer-disclaimer {
            font-size: 0.7rem;
            color: #999;
            border-top: 1px solid #eee;
            padding-top: 30px;
            text-align: center;
        }

        /* GSAP ANIMATION ZONE */
        #gsap-animation-zone {
            background: #000;
            padding: 120px 0;
            text-align: center;
            overflow: hidden;
            position: relative;
        }

        .gsap-zone-headline {
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            color: #fff;
            margin-bottom: 20px;
            position: relative;
            z-index: 2;
        }

        .gsap-zone-subheadline {
            color: var(--accent-gold);
            font-size: 1.2rem;
            opacity: 0.8;
            max-width: 600px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        /* Floating elements in the hero */
        .hero-shape {
            position: absolute;
            z-index: 0;
            pointer-events: none;
            filter: blur(1px);
        }

        .shape-circle {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            border: 2px solid var(--accent-gold);
            opacity: 0.2;
        }

        .shape-square {
            width: 80px;
            height: 80px;
            border: 2px solid var(--accent-gold);
            opacity: 0.15;
            transform: rotate(45deg);
        }

        .shape-triangle {
            width: 0;
            height: 0;
            border-left: 50px solid transparent;
            border-right: 50px solid transparent;
            border-bottom: 86px solid var(--accent-gold);
            opacity: 0.1;
        }

        /* Hero Text Splitting styles - UPGRADED */
        .hero h1 {
            perspective: 1000px;
        }

        .hero h1 .word-wrap {
            display: inline-block;
            overflow: visible;
            /* Allow glow to spill out */
            vertical-align: bottom;
            margin-right: 0.2em;
        }

        .hero h1 .char {
            display: inline-block;
            will-change: transform, opacity, filter;
            transform-origin: center bottom;
        }

        /* Flashy Glow Sweep Effect */
        .glow-sweep {
            position: relative;
            background: linear-gradient(90deg,
                    transparent,
                    rgba(197, 160, 89, 0.8),
                    rgba(255, 255, 255, 1),
                    rgba(197, 160, 89, 0.8),
                    transparent);
            background-size: 200% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            z-index: 10;
        }

        @media (max-width: 1024px) {

            .grid-2,
            .grid-cards,
            .icon-grid,
            .footer-grid,
            .discipline-grid {
                grid-template-columns: 1fr;
            }

            .hero h1 {
                font-size: 2.2rem;
            }

            header {
                padding: 15px 25px;
            }

            .nav-links {
                display: none;
            }

            .search-container-3d {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                max-width: none;
                margin: 0;
                padding: 10px 25px;
                background: rgba(26, 26, 26, 0.95);
                backdrop-filter: blur(10px);
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .search-container-3d.mobile-active {
                display: block;
                animation: slideDownMobile 0.4s ease forwards;
            }

            .mobile-actions {
                display: flex;
            }

            @keyframes slideDownMobile {
                from {
                    transform: translateY(-10px);
                    opacity: 0;
                }

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

        /* PORTFOLIO SECTION STYLES */
        .portfolio-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 40px;
            margin-top: 40px;
        }

        .portfolio-card {
            background: var(--glass);
            border: 1px solid var(--beige-base);
            padding: 40px;
            border-radius: 20px;
            transition: var(--transition);
            backdrop-filter: blur(10px);

            /* OPTIONAL: To add a background image in the future, uncomment the lines below: */
            /*
            background-image: url('path/to/your-image.jpg');
            background-size: cover;
            background-position: center;
            */

            position: relative;
            overflow: hidden;
            /* Ensures bg image and animations stay within rounded corners */
        }

        /* Cool Sheen Effect on Hover */
        .portfolio-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transform: skewX(-25deg);
            transition: 0.5s;
            pointer-events: none;
            z-index: 1;
        }

        .portfolio-card:hover::before {
            left: 150%;
            transition: 0.7s;
        }

        .portfolio-card:hover {
            transform: translateY(-10px);
            border-color: var(--accent-gold);
            background: var(--white);
            box-shadow: var(--shadow);
        }

        /* Content "Arrival" Animation on Hover */
        .portfolio-card h3,
        .portfolio-card p,
        .portfolio-card .portfolio-lists {
            transition: transform 0.4s ease-out, opacity 0.4s ease-out;
            position: relative;
            z-index: 2;
            /* Keep text above sheen */
        }

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

        .portfolio-card:hover .portfolio-desc {
            transform: translateY(-3px);
            transition-delay: 0.05s;
        }

        .portfolio-card:hover .portfolio-lists {
            transform: translateY(-2px);
            transition-delay: 0.1s;
        }

        .portfolio-header {
            margin-bottom: 20px;
            border-bottom: 1px solid var(--beige-base);
            padding-bottom: 20px;
        }

        .portfolio-category {
            display: inline-block;
            background: rgba(197, 160, 89, 0.1);
            color: var(--accent-gold);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .portfolio-card h3 {
            font-size: 1.6rem;
            color: var(--text-main);
            margin-bottom: 0;
        }

        .portfolio-desc {
            margin-bottom: 25px;
            color: var(--text-muted);
            font-size: 1rem;
        }

        .portfolio-lists {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        .portfolio-list strong {
            display: block;
            margin-bottom: 10px;
            color: var(--text-main);
            font-size: 0.95rem;
        }

        .portfolio-list ul {
            padding-left: 20px;
        }

        .portfolio-list li {
            list-style-type: square;
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-bottom: 5px;
        }

        .portfolio-list li::marker {
            color: var(--accent-gold);
        }

        @media (max-width: 768px) {
            .portfolio-lists {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .portfolio-card {
                padding: 30px;
            }
        }

        /* 3D CAROUSEL STYLES - REFINED STABLE VER */
        .portfolio-grid {
            position: relative;
            height: 750px;
            /* Increased height for full content visibility */
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            perspective: 1000px;
        }

        .carousel-container {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .portfolio-card {
            position: absolute;
            width: 90%;
            max-width: 550px;
            /* Wider for better reading */
            left: 50%;
            top: 50%;
            /* Default 'Hidden' state */
            transform: translate(-50%, -50%) scale(0.8);
            opacity: 0;
            z-index: 1;
            transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
            pointer-events: none;

            /* Ensure readability */
            background: rgba(255, 255, 255, 0.95);
            /* Opaque background */
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--beige-base);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        }

        /* Active Card (Center) */
        .portfolio-card.active {
            opacity: 1;
            z-index: 20;
            pointer-events: auto;
            transform: translate(-50%, -50%) scale(1);
            border-color: var(--accent-gold);
            box-shadow: 0 30px 80px rgba(197, 160, 89, 0.25);
        }

        /* Nav Buttons */
        .carousel-nav {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 20px;
            z-index: 100;
        }

        .nav-btn {
            background: var(--white);
            border: 1px solid var(--accent-gold);
            color: var(--accent-gold);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            font-size: 1.2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .nav-btn:hover {
            background: var(--accent-gold);
            color: var(--white);
            transform: scale(1.1);
        }

        /* Orbiting Particle */
        .carousel-orb {
            position: absolute;
            width: 20px;
            height: 20px;
            background: var(--accent-gold);
            border-radius: 50%;
            pointer-events: none;
            z-index: 30;
            box-shadow: 0 0 20px var(--accent-gold);
            transition: all 0.1s linear;
            /* Smooth linear tracking */
            opacity: 0;
        }

        /* GYROSCOPE ANIMATION */
        .gyro-wrapper {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
            perspective: 1000px;
        }

        .gyro-container {
            width: 120px;
            height: 120px;
            position: relative;
            transform-style: preserve-3d;
        }

        .gyro-ring {
            position: absolute;
            border-radius: 50%;
            border: 2px solid var(--accent-gold);
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
            box-shadow: 0 0 15px rgba(197, 160, 89, 0.2);
        }

        .ring-1 {
            width: 100%;
            height: 100%;
            border-width: 4px;
            border-bottom-color: transparent;
            border-top-color: transparent;
            animation: spin1 8s infinite linear;
        }

        .ring-2 {
            width: 80%;
            height: 80%;
            border-width: 3px;
            border-left-color: transparent;
            border-right-color: transparent;
            animation: spin2 12s infinite linear;
        }

        .ring-3 {
            width: 60%;
            height: 60%;
            border-width: 2px;
            border-bottom-color: transparent;
            animation: spin3 10s infinite linear reverse;
        }

        .gyro-core {
            position: absolute;
            width: 20px;
            height: 20px;
            background: var(--accent-gold);
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            box-shadow: 0 0 20px var(--accent-gold);
            animation: pulse 2s infinite ease-in-out;
        }

        @keyframes spin1 {
            0% {
                transform: rotateX(0deg) rotateY(0deg);
            }

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

        @keyframes spin2 {
            0% {
                transform: rotateX(0deg) rotateY(0deg);
            }

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

        @keyframes spin3 {
            0% {
                transform: rotateX(0deg) rotateY(0deg);
            }

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

        @keyframes pulse {

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

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

        /* ========== PRODUCT CAROUSEL SYSTEM ========== */
        .product-carousel-container {
            position: relative;
            overflow: hidden;
            margin-top: 50px;
        }

        .product-grid-wrapper {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 15px;
            margin-top: 50px;
            transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
        }

        .product-grid-wrapper.fade-out {
            opacity: 0;
            transform: translateY(20px);
        }

        .product-grid-wrapper.fade-in {
            opacity: 1;
            transform: translateY(0);
        }

        .product-card-row {
            background: var(--glass);
            border: 1px solid var(--beige-base);
            border-radius: 15px;
            overflow: hidden;
            transition: var(--transition);
            backdrop-filter: blur(10px);
            display: flex;
            flex-direction: column;
            min-height: 380px;
            position: relative;
        }

        .product-card-row.hidden {
            display: none !important;
        }

        .product-card-row.visible {
            display: flex !important;
        }

        .product-card-row.solution-expanded {
            height: auto;
            min-height: 280px;
            overflow: visible;
        }

        .product-card-row:hover {
            transform: translateY(-8px);
            border-color: var(--accent-gold);
            background: var(--white);
            box-shadow: var(--shadow);
        }

        .product-card-img {
            width: 100%;
            height: 120px;
            position: relative;
            overflow: hidden;
        }

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

        .product-card-row:hover .product-card-img img {
            transform: scale(1.1);
        }

        .product-card-content {
            flex: 1;
            padding: 15px;
            display: flex;
            flex-direction: column;
        }

        .product-card-content h4 {
            font-size: 0.95rem;
            color: var(--accent-gold);
            margin-bottom: 8px;
            font-weight: 700;
            line-height: 1.3;
        }

        .product-card-content p {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-bottom: 10px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Carousel Navigation Dots */
        .product-carousel-nav {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .carousel-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--beige-dark);
            border: 2px solid var(--beige-base);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .carousel-dot:hover {
            background: var(--accent-gold);
            transform: scale(1.1);
        }

        .carousel-dot.active {
            background: var(--accent-gold);
            border-color: var(--accent-gold);
            transform: scale(1.2);
        }

        /* Carousel Progress Bar */
        .carousel-progress-container {
            width: 150px;
            height: 4px;
            background: var(--beige-dark);
            border-radius: 2px;
            overflow: hidden;
            margin: 0 12px;
        }

        .carousel-progress-bar {
            height: 100%;
            background: var(--accent-gold);
            width: 0%;
            transition: width 1s linear;
        }

        .carousel-progress-bar.active {
            width: 100%;
        }

        /* Carousel Pause/Play Button */
        .carousel-control-btn {
            background: var(--white);
            border: 1px solid var(--accent-gold);
            color: var(--accent-gold);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            font-size: 0.8rem;
        }

        .carousel-control-btn:hover {
            background: var(--accent-gold);
            color: var(--white);
        }

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

        .product-card-row:hover .product-card-img img {
            transform: scale(1.1);
        }

        .product-card-content {
            flex: 1;
            padding: 24px 28px 20px 28px;
            display: flex;
            flex-direction: column;
            min-height: 0;
            overflow: visible;
        }

        .product-card-row.solution-expanded .product-card-content {
            overflow: visible;
        }

        .product-card-content h4 {
            font-size: 1.3rem;
            color: var(--accent-gold);
            margin-bottom: 12px;
            font-weight: 700;
            flex-shrink: 0;
            line-height: 1.3;
            min-height: 2.6em;
            /* Force 2 lines space */
            display: flex;
            align-items: center;
        }

        .product-card-content p {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 14px;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex-shrink: 0;
            min-height: 3em;
            /* Force 2 lines space */
        }

        /* ========== PRODUCT SECTION SPECIFIC OVERRIDES ========== */
        #products .container {
            max-width: 95%;
            /* Use more screen width as requested */
            padding: 0 40px;
            /* Add some breathing room on sides */
        }

        /* ACTIONS */
        .product-actions {
            display: flex;
            flex-direction: column;
            /* Stack buttons column-wise */
            gap: 10px;
            margin-top: auto;
            padding-top: 16px;
            padding-bottom: 4px;
            border-top: 1px solid var(--beige-dark);
            flex-shrink: 0;
            width: 100%;
        }

        .btn-sm-primary {
            background: var(--text-main);
            color: var(--white);
            padding: 10px 18px;
            /* Slightly larger touch target */
            font-size: 0.8rem;
            font-weight: 600;
            border-radius: 4px;
            border: 1px solid var(--text-main);
            transition: 0.3s;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            cursor: pointer;
            width: 100%;
            /* Full width */
            text-align: center;
        }

        .btn-sm-primary:hover {
            background: var(--accent-gold);
            border-color: var(--accent-gold);
            box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
        }

        .btn-sm-secondary {
            background: transparent;
            color: var(--text-main);
            padding: 10px 18px;
            font-size: 0.8rem;
            font-weight: 600;
            border-radius: 4px;
            border: 1px solid var(--beige-dark);
            transition: 0.3s;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            cursor: pointer;
            width: 100%;
            /* Full width */
            text-align: center;
        }

        .btn-sm-secondary:hover {
            background: var(--beige-light);
            border-color: var(--text-main);
        }

        /* ========== PRODUCT SEARCH BAR - Animated ========== */
        .product-search-wrapper {
            max-width: 550px;
            margin: 50px auto 60px auto;
            position: relative;
            animation: searchSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
            opacity: 0;
        }

        @keyframes searchSlideIn {
            0% {
                opacity: 0;
                transform: translateY(-30px) scale(0.95);
            }

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

        .product-search-wrapper::before {
            content: '';
            position: absolute;
            top: -3px;
            left: -3px;
            right: -3px;
            bottom: -3px;
            background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.4), transparent);
            border-radius: 55px;
            opacity: 0;
            z-index: -1;
            transition: opacity 0.4s ease;
        }

        .product-search-wrapper:focus-within::before {
            opacity: 1;
            animation: searchGlowPulse 2s ease-in-out infinite;
        }

        @keyframes searchGlowPulse {

            0%,
            100% {
                background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.3), transparent);
            }

            50% {
                background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.6), transparent);
            }
        }

        .product-search-wrapper input {
            width: 100%;
            padding: 18px 60px 18px 28px;
            border-radius: 50px;
            border: 2px solid var(--beige-dark);
            background: var(--white);
            color: red;
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            outline: none;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        .product-search-wrapper input::placeholder {
            color: var(--text-muted);
            transition: all 0.3s ease;
        }

        .product-search-wrapper input:focus {
            border-color: var(--accent-gold);
            box-shadow: 0 8px 35px rgba(197, 160, 89, 0.2),
                0 0 0 4px rgba(197, 160, 89, 0.1);
            transform: scale(1.02);
        }

        .product-search-wrapper input:focus::placeholder {
            opacity: 0.6;
        }

        .product-search-icon {
            position: absolute;
            right: 24px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--accent-gold);
            font-size: 1.3rem;
            transition: all 0.4s ease;
            opacity: 0.8;
        }

        .product-search-wrapper:focus-within .product-search-icon {
            opacity: 1;
            transform: translateY(-50%) scale(1.2) rotate(15deg);
            filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.5));
        }

        /* Search shimmer effect */
        @keyframes searchShimmer {
            0% {
                background-position: -550px 0;
            }

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

        .product-search-wrapper::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 50px;
            background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.08), transparent);
            background-size: 550px 100%;
            animation: searchShimmer 3s ease-in-out infinite;
            pointer-events: none;
        }

        /* No Results Message */
        .no-results-message {
            text-align: center;
            color: var(--text-muted);
            padding: 60px 20px;
            font-size: 1.1rem;
            display: none;
        }

        .no-results-message span {
            color: var(--accent-gold);
            font-weight: 600;
        }

        /* ========== RESPONSIVE MEDIA QUERIES ========== */

        /* Large Desktop (1025px+) - 6 cards */
        @media (min-width: 1025px) {
            .product-grid-wrapper {
                grid-template-columns: repeat(6, 1fr);
                gap: 15px;
            }
        }

        /* Small Desktop / Large Tablet (769px - 1024px) - 3 cards */
        @media (min-width: 769px) and (max-width: 1024px) {
            .product-grid-wrapper {
                grid-template-columns: repeat(3, 1fr);
                gap: 12px;
            }

            .product-card-content h4 {
                font-size: 0.9rem;
            }

            .product-card-content p {
                font-size: 0.7rem;
            }
        }

        /* Tablet (481px - 768px) - 2 cards */
        @media (min-width: 481px) and (max-width: 768px) {
            .product-showcase-grid {
                grid-template-columns: 1fr;
            }

            .product-grid-wrapper {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }

            .product-search-wrapper {
                margin: 40px auto 50px auto;
            }

            .product-search-wrapper input {
                padding: 16px 55px 16px 22px;
                font-size: 0.95rem;
            }

            .product-card-img {
                height: 100px;
            }

            .product-card-content {
                padding: 12px;
            }

            .product-card-content h4 {
                font-size: 0.85rem;
            }

            .product-card-content p {
                font-size: 0.68rem;
            }
        }

        /* Mobile (up to 480px) - 1 card */
        @media (max-width: 480px) {
            .product-grid-wrapper {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .product-card-row {
                flex-direction: column;
                min-height: auto;
            }

            .product-card-img {
                height: 160px;
            }

            .product-card-content {
                padding: 15px;
            }

            .product-card-content h4 {
                font-size: 1rem;
            }

            .product-card-content p {
                font-size: 0.8rem;
                -webkit-line-clamp: 3;
                line-clamp: 3;
            }

            .product-search-wrapper {
                margin: 30px auto 40px auto;
            }

            .product-search-wrapper input {
                padding: 14px 50px 14px 18px;
                font-size: 0.9rem;
            }

            .product-carousel-nav {
                flex-wrap: wrap;
                gap: 6px;
            }

            .carousel-control-btn {
                width: 28px;
                height: 28px;
                font-size: 0.7rem;
            }

            .carousel-dot {
                width: 8px;
                height: 8px;
            }

            .carousel-progress-container {
                width: 100px;
                margin: 0 8px;
            }
        }

        /* Product Background Canvas */
        #product-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            /* Behind content but in section */
            pointer-events: none;
        }

        /* Floating Orbs */
        .orb-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
            pointer-events: none;
        }

        .orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.4;
            animation: orbFloat 20s infinite ease-in-out;
        }

        .orb-1 {
            width: 300px;
            height: 300px;
            background: var(--accent-gold);
            top: -100px;
            left: -100px;
            animation-duration: 25s;
        }

        .orb-2 {
            width: 400px;
            height: 400px;
            background: #E8E4D0;
            bottom: -150px;
            right: -100px;
            animation-duration: 30s;
            animation-delay: -5s;
        }

        @keyframes orbFloat {

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

            50% {
                transform: translate(30px, 50px);
            }
        }

        .row-fast .marquee-content {
            animation-duration: 40s;
        }

        .row-med .marquee-content {
            animation-duration: 45s;
        }

        .row-slow .marquee-content {
            animation-duration: 50s;
        }

        .product-card {
            background: var(--glass);
            border: 1px solid var(--beige-base);
            padding: 25px;
            border-radius: 15px;
            transition: var(--transition);
            backdrop-filter: blur(10px);
            display: flex;
            flex-direction: column;
            height: 100%;
            width: 320px;
            /* Fixed width for scrolling */
            flex-shrink: 0;
        }

        .product-card:hover {
            transform: translateY(-5px) scale(1.02);
            border-color: var(--accent-gold);
            background: var(--white);
            box-shadow: 0 15px 30px rgba(197, 160, 89, 0.15);
        }

        /* Pause on hover */
        .marquee-row:hover .marquee-content {
            animation-play-state: paused;
        }

        .product-card h4 {
            font-size: 1.1rem;
            color: var(--accent-gold);
            margin-bottom: 10px;
            font-weight: 700;
            height: 45px;
            display: flex;
            align-items: center;
        }

        .product-card p {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 15px;
            line-height: 1.5;
            flex-grow: 1;
            white-space: normal;
        }

        .solution-list {
            border-top: 1px solid rgba(197, 160, 89, 0.2);
            padding-top: 12px;
            margin-bottom: 0;
            font-size: 0.75rem;
            color: var(--text-main);
            flex: 0 0 auto;
            display: flex;
            flex-direction: column;
            overflow: visible;
        }

        .solution-list.active {
            flex: 0 0 auto;
            overflow: visible;
        }

        .solution-list-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            user-select: none;
            margin-bottom: 0;
            padding: 4px 0;
            transition: all 0.3s ease;
        }

        .solution-list-header:hover {
            opacity: 0.85;
        }

        .solution-list-header:hover strong {
            color: var(--accent-gold);
        }

        .solution-list strong {
            font-weight: 600;
            flex-shrink: 0;
            font-size: 0.7rem;
            margin: 0;
        }

        .solution-dropdown-icon {
            width: 22px;
            height: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            background: rgba(197, 160, 89, 0.15);
            color: var(--accent-gold);
            font-size: 0.65rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            flex-shrink: 0;
            cursor: pointer;
            border: 1px solid rgba(197, 160, 89, 0.2);
        }

        .solution-dropdown-icon:hover {
            background: rgba(197, 160, 89, 0.25);
            border-color: var(--accent-gold);
            transform: scale(1.1);
        }

        .solution-list.active .solution-dropdown-icon {
            transform: rotate(180deg);
            background: rgba(197, 160, 89, 0.25);
            border-color: var(--accent-gold);
        }

        .solution-list ul {
            list-style: none;
            padding: 0;
            display: none;
            flex-wrap: wrap;
            gap: 6px;
            margin: 10px 0 0 0;
            align-content: flex-start;
            align-items: flex-start;
            animation: slideDown 0.3s ease-out;
            width: 100%;
            max-height: none;
            overflow: visible;
            flex-shrink: 0;
        }

        .solution-list.active ul {
            display: flex;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

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

        .solution-list li {
            background: rgba(245, 245, 220, 0.5);
            padding: 3px 8px;
            border-radius: 4px;
            border: 1px solid var(--beige-base);
            font-size: 0.7rem;
            flex-shrink: 0;
            white-space: nowrap;
        }

        .product-card:hover .solution-list li {
            background: var(--beige-light);
            border-color: var(--accent-gold);
        }

        @keyframes scrollLeft {
            from {
                transform: translateX(0);
            }

            to {
                transform: translateX(-50%);
            }

            /* Move half way so duplicate set replaces first set seamlessly */
        }


        /* ========== MULTI-SOLUTION DETAIL SECTION ========== */
        #solution-detail {
            width: 100%;
            height: 100vh;
            background: transparent;
            display: none;
            opacity: 0;
            transition: opacity 0.8s ease;
            position: relative;
            z-index: 1000;
            border-top: 1px solid var(--beige-base);
            box-sizing: border-box;
            overflow: hidden;
        }

        #solution-detail.visible {
            display: flex;
            flex-direction: column;
            opacity: 1;
            min-height: 100vh;
            height: auto;
            overflow-y: visible;
        }

        .solution-detail-header {
            padding-top: 110px;
            /* Navbar height + buffer */
            text-align: center;
            flex-shrink: 0;
        }

        .solution-detail-header h2 {
            font-size: 2rem !important;
            margin-bottom: 5px !important;
        }

        .solution-detail-header p {
            font-size: 0.9rem !important;
            margin-bottom: 15px !important;
        }

        .detail-scroll-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            flex: 1;
            padding: 0 20px 20px;
            overflow: hidden;
            min-height: 0;
            /* Important for flex-shrink */
        }


        .multi-detail-card {
            width: 100%;
            max-width: 850px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 25px;
            background: var(--glass);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid var(--beige-base);
            border-radius: 20px;
            padding: 25px;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: var(--shadow);
            margin-bottom: 10px;
        }

        .multi-detail-card.reveal-active {
            opacity: 1;
            transform: translateY(0);
        }

        .multi-detail-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent-gold);
            background: var(--white);
            box-shadow: 0 15px 30px rgba(197, 160, 89, 0.15);
        }

        .multi-detail-content h3 {
            font-size: 2.2rem;
            color: var(--text-main);
            margin-bottom: 15px;
            font-family: 'Sora', sans-serif;
        }

        .multi-detail-content .category-tag {
            color: var(--accent-gold);
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 700;
            margin-bottom: 12px;
            display: block;
        }

        .multi-detail-content p {
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 20px;
            font-size: 0.95rem;
        }

        .multi-detail-img {
            width: 100%;
            height: 280px;
            object-fit: cover;
            border-radius: 15px;
            border: 1px solid var(--beige-base);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        @media (max-width: 900px) {
            #solution-detail .multi-detail-card {
                grid-template-columns: 1fr !important;
                flex: 0 0 100% !important;
                max-width: 100% !important;
                height: auto !important;
            }
        }

        @media screen and (max-width: 480px) {
            #solution-detail .multi-detail-card {
                grid-template-columns: 1fr !important;
                padding: 15px !important;
                gap: 15px !important;
                margin-bottom: 25px !important;
                display: flex !important;
                flex-direction: column !important;
            }

            #solution-detail .multi-detail-content h3 {
                font-size: 1.4rem !important;
                margin-bottom: 10px !important;
            }

            #solution-detail .multi-detail-content p {
                font-size: 0.85rem !important;
                line-height: 1.4 !important;
                margin-bottom: 20px !important;
            }

            #solution-detail .multi-detail-img {
                height: 180px !important;
                width: 100% !important;
                order: -1;
                /* Image first on mobile */
                margin-bottom: 15px;
            }

            #solution-detail .solution-detail-actions {
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                gap: 10px !important;
                width: 100% !important;
            }

            #solution-detail .solution-detail-actions .btn {
                padding: 10px 5px !important;
                font-size: 0.75rem !important;
                text-align: center !important;
                width: 100% !important;
                margin: 0 !important;
            }

            #solution-detail .detail-scroll-wrapper {
                overflow: visible !important;
                padding: 0 10px 20px !important;
            }

            #solution-detail .solution-nav-controls {
                display: flex !important;
                justify-content: center !important;
                align-items: center !important;
                gap: 15px !important;
                padding: 15px 0 !important;
                width: 100% !important;
            }

            #solution-detail .sol-nav-btn {
                padding: 10px 18px !important;
                font-size: 0.85rem !important;
                min-width: 90px !important;
            }

            #solution-detail .sol-nav-counter {
                font-size: 0.9rem !important;
            }

            #solution-detail .solution-detail-header {
                padding-top: 80px !important;
            }

            #solution-detail .solution-detail-header h2 {
                font-size: 1.5rem !important;
            }

            #solution-detail .solution-detail-header p {
                font-size: 0.8rem !important;
                padding: 0 10px !important;
            }
        }

        /* Solution Navigation Controls */
        .solution-nav-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 10px;
            padding: 10px 0;
            flex-shrink: 0;
        }

        .sol-nav-btn {
            padding: 12px 28px;
            background: var(--text-main);
            color: var(--white);
            border: none;
            border-radius: 8px;
            font-family: 'Sora', sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: var(--transition);
        }

        .sol-nav-btn:hover:not(:disabled) {
            background: var(--accent-gold);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
        }

        .sol-nav-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

        .sol-nav-counter {
            font-family: 'Sora', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-main);
            min-width: 60px;
            text-align: center;
        }


        /* Make solution list items clickable */
        .solution-list li {
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .solution-list li:hover {
            background: var(--accent-gold) !important;
            color: var(--white) !important;
            border-color: var(--accent-gold) !important;
            transform: translateY(-2px);
        }


        /* TYPEWRITER ANIMATION */
        .typewriter {
            position: relative;
            display: inline-block;
            width: 0;
            white-space: nowrap;
            overflow: hidden;
            border-right: 3px solid var(--accent-gold);
            /* Initial state: paused, waiting for JS trigger */
            animation: typeText 4s steps(40) forwards, blinkCursor 0.75s step-end infinite;
            animation-play-state: paused;
        }

        .typewriter.start-typing {
            animation-play-state: running;
        }

        @keyframes typeText {
            to {
                width: 100%;
            }
        }

        @keyframes blinkCursor {

            from,
            to {
                border-color: transparent;
            }

            50% {
                border-color: var(--accent-gold);
            }
        }





































        #intro-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: 9999;
            /* Highest priority */
            background: #000;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #intro-overlay {
            /* ... keep your other CSS ... */
            opacity: 1;
            /* JS will fade this in */
            will-change: transform, opacity;
            /* Optimizes for "heavy" browser rendering */
        }

        .video-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
        }

        #intro-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* Ensures video covers screen without stretching */
        }

        /* Visual cue to tell the user to scroll */
        .scroll-prompt {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            font-family: sans-serif;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 12px;
            animation: fadePulse 2s infinite;
        }

        @keyframes fadePulse {

            0%,
            100% {
                opacity: 0.3;
            }

            50% {
                opacity: 1;
            }
        }

















        /* 3D SECTION */
        #packages-3d {
            position: relative;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: #050807;
            overflow: hidden;
            padding: 20px 0;
        }

        #packages-3d .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 30px;
            color: var(--white);
            font-family: 'Sora', sans-serif;
        }

        #carousel-viewport {
            width: 100%;
            height: 90vh;
            /* Better fit for cards */
            cursor: grab;
            position: relative;
            touch-action: pan-y;
            user-select: none;
            -webkit-user-select: none;
        }

        /* Scroll Progress Indicator */
        .carousel-progress-container {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            width: 300px;
            height: 4px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 2px;
            z-index: 100;
        }

        .carousel-progress-bar {
            width: 0%;
            height: 100%;
            background: var(--accent-gold);
            border-radius: 2px;
            transition: width 0.1s;
        }

        .carousel-counter {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            color: var(--accent-gold);
            font-family: 'Space Grotesk', sans-serif;
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 2px;
            z-index: 100;
        }

        #carousel-viewport:active {
            cursor: grabbing;
        }

        /* ========== 3D SEARCH BAR ========== */
        .search-container-3d {
            position: relative;
            z-index: 200;
            width: 100%;
            max-width: 400px;
            margin: 0 30px;
            flex: 1;
        }

        .search-box-3d {
            position: relative;
            width: 100%;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(197, 160, 89, 0.3);
            border-radius: 50px;
            padding: 8px 20px;
            display: flex;
            align-items: center;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .search-box-3d:focus-within {
            border-color: var(--accent-gold);
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 10px 40px rgba(197, 160, 89, 0.15);
        }

        .search-box-3d input {
            background: transparent;
            border: none;
            color: red;
            width: 100%;
            font-size: 0.9rem;
            padding-left: 10px;
            outline: none;
            font-family: 'Space Grotesk', sans-serif;
        }

        .search-results-3d {
            position: absolute;
            top: 100%;
            left: 20px;
            right: 20px;
            background: rgba(10, 15, 12, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(197, 160, 89, 0.2);
            border-bottom-left-radius: 20px;
            border-bottom-right-radius: 20px;
            margin-top: 5px;
            max-height: 300px;
            overflow-y: auto;
            display: none;
            z-index: 100;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        }

        .search-result-item {
            padding: 12px 20px;
            color: #eee;
            cursor: pointer;
            transition: all 0.2s;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .search-result-item:hover {
            background: rgba(197, 160, 89, 0.1);
            color: var(--accent-gold);
            padding-left: 25px;
        }

        .search-result-item img {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            object-fit: cover;
        }

        /* 3D PACKAGE CARD */
        .package-3d-card {
            width: 500px;
            height: 700px;
            background: rgba(15, 25, 20, 0.85);
            /* Slightly transparent by default */
            border: 1px solid var(--beige-base);
            border-radius: 20px;
            overflow: hidden;
            pointer-events: auto;
            transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
            transform-style: preserve-3d;
            will-change: transform;
            image-rendering: -webkit-optimize-contrast;
        }

        /* Active highlight for center card */
        .package-3d-card.highlight-card {
            background: #000000 !important;
            border-color: var(--accent-gold);
            box-shadow: 0 0 50px rgba(197, 160, 89, 0.3);
            transform: scale(1.05);
            /* Slight pop out effect */
            z-index: 50;
        }

        .package-3d-card:hover {
            border-color: var(--accent-gold);
            background: rgba(15, 25, 20, 0.95);
        }

        .card-img-wrap {
            position: relative;
            height: 210px;
        }

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

        .badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--accent-gold);
            color: black;
            padding: 5px 15px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.8rem;
        }

        .package-3d-card .card-body h3 {
            margin: 0 0 10px;
            color: white;
            font-size: 1.4rem;
            font-family: 'Sora', sans-serif;
        }

        .destination {
            color: var(--accent-gold);
            font-size: 0.9rem;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .package-details {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
            opacity: 0.8;
            font-size: 0.8rem;
            color: #ccc;
        }

        .price-section {
            border-top: 1px solid var(--beige-base);
            padding-top: 15px;
            margin-bottom: 20px;
        }

        .price {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--accent-gold);
        }

        .btn-package {
            display: inline-block;
            width: 100%;
            padding: 12px;
            background: transparent;
            border: 1px solid var(--accent-gold);
            color: var(--accent-gold);
            border-radius: 10px;
            margin-top: 15px;
            cursor: pointer;
            transition: 0.3s;
            text-decoration: none;
            text-align: center;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .btn-package:hover {
            background: var(--accent-gold);
            color: black;
        }

        .carousel-container {
            min-height: 500px;
            position: relative;
            overflow: hidden;
        }

        /* Mobile optimizations */
        /* ========== TABLET / IPAD MEDIA QUERIES ========== */

        /* Large Tablet / Small Desktop (769px - 1024px) */
        @media (min-width: 769px) and (max-width: 1024px) {

            /* General layout */
            section {
                padding: 70px 0;
            }

            .section-header h2 {
                font-size: 2.2rem;
            }

            .hero h1 {
                font-size: 2.8rem;
            }

            .hero-sub {
                font-size: 1rem;
                max-width: 600px;
            }

            /* Discipline grid: 2 columns instead of 3 */
            .discipline-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }

            .discipline-card {
                padding: 30px;
            }

            /* Grid-2 stays side-by-side but tighter */
            .grid-2 {
                gap: 25px;
            }

            /* Regulatory panel */
            .reg-panel {
                padding: 40px;
            }

            /* Founder note */
            .founder-note blockquote {
                font-size: 1.5rem;
            }

            /* Footer: 2 columns instead of 4 */
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 30px;
            }

            /* 3D Carousel - 20% smaller cards for tablet */
            .package-3d-card {
                width: 400px;
                height: 560px;
            }

            .card-img-wrap {
                height: 170px;
            }

            .orbit-card-content h4 {
                font-size: 1.3rem;
            }

            .orbit-card-content p {
                font-size: 0.85rem;
            }

            /* Solution detail */
            #solution-detail .multi-detail-card {
                max-width: 700px;
                padding: 20px;
                gap: 20px;
            }

            #solution-detail .multi-detail-content h3 {
                font-size: 1.8rem;
            }

            #solution-detail .multi-detail-content p {
                font-size: 0.9rem;
            }

            #solution-detail .multi-detail-img {
                height: 240px;
            }

            /* Search bar */
            .search-container-3d {
                max-width: 300px;
            }

            /* GSAP animation zone */
            .gsap-zone-headline {
                font-size: 3rem;
            }

            /* Navigation pill - slightly less wide */
            header.scrolled-nav {
                width: 95%;
                padding: 12px 30px;
            }

            /* Process grid */
            .process-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 15px;
            }

            .step-card {
                padding: 25px;
            }

            /* Portfolio carousel grid height */
            .portfolio-grid {
                height: 650px;
            }

            .portfolio-card {
                max-width: 480px;
            }
        }

        /* Small Tablet / Large Phone (481px - 768px) */
        @media (min-width: 481px) and (max-width: 768px) {

            /* General layout */
            section {
                padding: 50px 0;
            }

            .section-header h2 {
                font-size: 1.8rem;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .hero-sub {
                font-size: 0.9rem;
                max-width: 500px;
            }

            /* Discipline grid: 2 columns */
            .discipline-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }

            .discipline-card {
                padding: 25px;
            }

            .discipline-card i {
                font-size: 2rem;
            }

            /* Grid-2: stack vertically */
            .grid-2 {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            /* Icon grid: 1 column on smaller tablets */
            .icon-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }

            /* Regulatory panel */
            .reg-panel {
                padding: 30px;
                border-radius: 20px;
            }

            .reg-panel p {
                font-size: 0.95rem;
            }

            /* Founder note */
            .founder-note {
                padding: 40px 25px;
            }

            .founder-note blockquote {
                font-size: 1.3rem;
            }

            /* Footer: 2 columns */
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 25px;
            }

            /* 3D Carousel - 20% smaller cards for small tablet */
            .package-3d-card {
                width: 340px;
                height: 520px;
            }

            .card-img-wrap {
                height: 160px;
            }

            .orbit-card-content {
                padding: 15px;
            }

            .orbit-card-content h4 {
                font-size: 1.2rem;
            }

            .orbit-card-content p {
                font-size: 0.8rem;
                margin-bottom: 10px;
            }

            .orbit-solution-list {
                padding: 8px;
            }

            .orbit-solution-list li {
                font-size: 0.8rem;
            }

            .btn-orbit-primary,
            .btn-orbit-secondary {
                padding: 10px;
                font-size: 0.75rem;
            }

            /* Solution detail - Single column on small tablets */
            #solution-detail .multi-detail-card {
                grid-template-columns: 1fr !important;
                max-width: 100%;
                padding: 20px;
            }

            #solution-detail .multi-detail-content h3 {
                font-size: 1.6rem;
            }

            #solution-detail .multi-detail-img {
                height: 200px;
                width: 100%;
            }

            #solution-detail .solution-nav-controls {
                gap: 15px;
                padding: 12px 0;
            }

            #solution-detail .sol-nav-btn {
                padding: 10px 20px;
                font-size: 0.85rem;
            }

            /* GSAP animation zone */
            .gsap-zone-headline {
                font-size: 2.2rem;
            }

            .gsap-zone-subheadline {
                font-size: 1rem;
            }

            /* Navigation */
            header.scrolled-nav {
                width: 95%;
                padding: 10px 25px;
            }

            /* Process grid */
            .process-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }

            .step-card {
                padding: 20px;
            }

            /* Portfolio section */
            .portfolio-grid {
                height: 600px;
            }

            .portfolio-card {
                max-width: 420px;
                padding: 25px;
            }

            .portfolio-card h3 {
                font-size: 1.3rem;
            }

            .portfolio-desc {
                font-size: 0.85rem;
            }
        }

        /* Mobile (max-width: 768px) for 3D carousel */
        @media (max-width: 768px) {
            #carousel-viewport {
                touch-action: pan-y pinch-zoom;
            }

            .package-3d-card {
                width: 320px;
                /* Smaller width for mobile */
                height: 550px;
            }

            .card-img-wrap {
                height: 180px;
            }

            .package-3d-card .card-body h3 {
                font-size: 1.2rem;
            }
        }


        /* Override buttons z-index to ensure clickability in 3D scene */
        .carousel-btn {
            pointer-events: auto !important;
            position: absolute !important;
            z-index: 1000 !important;
        }

        #carousel-viewport canvas {
            pointer-events: auto;
        }

        .package-3d-card a {
            pointer-events: auto !important;
            position: relative;
            z-index: 10;
        }

        /* Re-injected Orbit Card Styles */
        .orbit-card-content {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .orbit-card-content h4 {
            margin: 0 0 10px;
            color: white;
            font-size: 1.5rem;
            font-family: 'Sora', sans-serif;
        }

        .orbit-card-content p {
            color: #ccc;
            font-size: 0.9rem;
            margin-bottom: 15px;
            flex-grow: 1;
        }

        /* Solution Dropdown */
        .orbit-solution-list {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            padding: 10px;
            margin-bottom: 15px;
        }

        .orbit-list-header {
            display: flex;
            justify-content: space-between;
            cursor: pointer;
            color: var(--accent-gold);
            font-size: 0.9rem;
            font-weight: 600;
        }

        .orbit-solution-list ul {
            display: none;
            list-style: none;
            padding: 10px 0 0;
            margin: 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 8px;
        }

        .orbit-solution-list li {
            color: #bbb;
            font-size: 0.85rem;
            padding: 4px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .orbit-solution-list li:hover {
            color: var(--accent-gold);
            cursor: pointer;
        }

        /* Actions */
        .orbit-actions {
            display: flex;
            gap: 10px;
            margin-top: auto;
        }

        .btn-orbit-primary,
        .btn-orbit-secondary {
            flex: 1;
            padding: 12px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.8rem;
            transition: 0.3s;
            border: 1px solid var(--accent-gold);
        }

        .btn-orbit-primary {
            background: var(--accent-gold);
            color: rgb(199, 19, 19);
        }

        .btn-orbit-primary:hover {
            background: #fff;
            border-color: #fff;
        }

        .btn-orbit-secondary {
            background: transparent;
            color: var(--accent-gold);
        }

        .btn-orbit-secondary:hover {
            background: rgba(255, 215, 0, 0.1);
        }

        .solution-detail-actions {
            display: flex;
            gap: 15px;
        }

        @keyframes bounce {

            0%,
            20%,
            50%,
            80%,
            100% {
                transform: translateY(0);
            }

            40% {
                transform: translateY(-5px);
            }

            60% {
                transform: translateY(-3px);
            }
        }