/*
Theme Name: PTAC Companies Theme
Theme URI: https://ptaccompanies.com
Author: Southern View Media
Author URI: https://southernviewmedia.com
Description: Custom theme for PTAC Companies
Version: 1.0
License: GPL v2 or later
Text Domain: ptac-theme
*/

/* ============================================
   CORE STYLES
   ============================================ */

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        /* Mobile-only utility class */
        .mobile-only {
            display: none !important;
        }
        
        @media (max-width: 768px) {
            .mobile-only {
                display: flex !important;
            }
        }
        
        /* Focus styles for accessibility - only for keyboard navigation */
        *:focus-visible {
            outline: 2px solid #189168;
            outline-offset: 2px;
        }
        
        /* Remove outline for mouse/touch */
        *:focus:not(:focus-visible) {
            outline: none;
        }
        
        /* Better focus for interactive elements */
        a:focus,
        button:focus {
            outline: 3px solid #189168;
            outline-offset: 4px;
        }

        html {
            height: 100%;
            overflow: hidden;
        }
        
        body {
            height: 100%;
            overflow: hidden;
        }
        
        
        /* ScrollSmoother wrapper styles - simplified */
        #smooth-wrapper {
            overflow: visible;
            width: 100%;
        }
        
        #smooth-content {
            overflow: visible;
            width: 100%;
        }

        /* Merge body styles */
        body {
            font-family: 'Montserrat', sans-serif;
            background: #0e213e;
            position: relative;
        }
        
        /* Prevent body scroll when menu is open */
        body.menu-open {
            overflow: hidden !important;
        }
        
        /* Hide mobile menu button when menu is open */
        body.menu-open .mobile-menu-btn {
            display: none !important;
        }

        /* Scroll Indicator */
        .scroll-indicator {
            position: fixed;
            left: 1.5rem;
            top: 5rem;
            z-index: 100;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            opacity: 0;
            animation: fadeIn 1s ease-out 1s forwards;
            transition: opacity 0.3s ease;
        }
        
        /* Hide scroll indicator when menu is open */
        body.menu-open .scroll-indicator {
            opacity: 0 !important;
            pointer-events: none;
        }

        .scroll-dot {
            position: relative;
            width: 12px;
            height: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .scroll-dot::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 12px;
            height: 12px;
            background: rgba(14, 33, 62, 0.8);
            border: 2px solid rgba(24, 145, 104, 0.3);
            border-radius: 50%;
            transition: all 0.4s ease;
        }

        .scroll-dot::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 6px;
            height: 6px;
            background: rgba(24, 145, 104, 0.5);
            border-radius: 50%;
            opacity: 0;
            transition: all 0.4s ease;
        }

        .scroll-dot.active::before {
            background: rgba(14, 33, 62, 0.9);
            border-color: #189168;
            box-shadow: 0 0 20px rgba(24, 145, 104, 0.4);
            transform: translate(-50%, -50%) scale(1.2);
        }

        .scroll-dot.active::after {
            opacity: 1;
            background: #189168;
            box-shadow: 0 0 10px rgba(24, 145, 104, 0.8);
        }

        .scroll-dot:hover::before {
            border-color: rgba(24, 145, 104, 0.6);
            transform: translate(-50%, -50%) scale(1.1);
        }

        /* Section label on hover */
        .scroll-dot .section-label {
            position: absolute;
            left: 30px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(14, 33, 62, 0.95);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(24, 145, 104, 0.2);
            padding: 0.4rem 0.8rem;
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.8);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s ease;
        }

        .scroll-dot:hover .section-label {
            opacity: 1;
            left: 25px;
        }

        /* Hide on mobile */
        @media (max-width: 768px) {
            .scroll-indicator {
                display: none;
            }
        }

        /* Mobile Menu Button */
        .mobile-menu-btn {
            position: fixed;
            top: 2rem;
            right: 2rem;
            width: 50px;
            height: 50px;
            background: rgba(14, 33, 62, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(24, 145, 104, 0.1);
            cursor: pointer;
            z-index: 1000; /* Lower than menu overlay */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 5px;
            transition: all 0.3s ease;
        }

        .mobile-menu-btn::before {
            content: '';
            position: absolute;
            inset: -1px;
            background: linear-gradient(45deg, transparent, #189168, transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .mobile-menu-btn:hover::before {
            opacity: 0.3;
        }


        .mobile-menu-btn:hover {
            background: rgba(24, 145, 104, 0.05);
            transform: scale(1.05);
        }

        .menu-line {
            width: 24px;
            height: 2px;
            background: #189168;
            transition: all 0.3s ease;
            position: relative;
        }

        .menu-line::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: rgba(24, 145, 104, 0.5);
            filter: blur(4px);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .mobile-menu-btn:hover .menu-line::after {
            opacity: 1;
        }
        
        /* Active state for menu button */
        .mobile-menu-btn.active .menu-line:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }
        
        .mobile-menu-btn.active .menu-line:nth-child(2) {
            opacity: 0;
        }
        
        .mobile-menu-btn.active .menu-line:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }
        
        /* Fullscreen Menu Overlay */
        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(8, 18, 35, 0.98);
            z-index: 1001;
            visibility: hidden;
            opacity: 0;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            overflow: hidden;
        }
        
        /* Firefox-specific optimizations */
        @-moz-document url-prefix() {
            /* Optimize video container for Firefox */
            .hero-video-container {
                transform: translateZ(0);
                will-change: transform;
                -moz-transform: translateZ(0);
            }
            
            .hero-video {
                transform: translateZ(0);
                -moz-transform: translateZ(0);
                backface-visibility: hidden;
                -moz-backface-visibility: hidden;
                perspective: 1000px;
                -moz-perspective: 1000px;
            }
            
            /* Reduce backdrop filters for performance */
            .menu-overlay,
            .mobile-menu-btn,
            .menu-close {
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
                background: rgba(8, 18, 35, 0.98) !important;
            }
            
            /* Optimize dissolve animation for Firefox */
            .dissolve-cell {
                transform: translateZ(0);
                -moz-transform: translateZ(0);
                will-change: auto;
            }
            
            /* Fix menu button transitions */
            .menu-line {
                transition: all 0.3s ease;
                -moz-transition: all 0.3s ease;
                transform-origin: center;
                -moz-transform-origin: center;
            }
            
            /* Optimize animations for Firefox */
            * {
                -moz-animation-fill-mode: both;
                -moz-animation-timing-function: ease-out;
            }
        }
        
        /* Firefox mobile-specific optimizations */
        @media screen and (max-width: 768px) {
            @-moz-document url-prefix() {
                /* Disable complex animations on Firefox mobile */
                .dissolve-cell,
                .dissolve-grid-container {
                    display: none !important;
                }
                
                /* Simplify video rendering */
                .hero-video {
                    will-change: auto;
                    transform: none;
                    -moz-transform: none;
                }
                
                /* Reduce animation complexity */
                .scroll-dot,
                .timeline-dot,
                .menu-line {
                    transition-duration: 0.2s !important;
                    -moz-transition-duration: 0.2s !important;
                }
                
                /* Force hardware acceleration on mobile */
                .hero-section,
                .hero-video-container {
                    transform: translate3d(0, 0, 0);
                    -moz-transform: translate3d(0, 0, 0);
                }
            }
        }
        
        .menu-overlay.active {
            visibility: visible;
            opacity: 1;
        }
        
        .menu-container {
            width: 100%;
            height: 100%;
            padding: 4rem;
            overflow-y: auto;
            overflow-x: hidden;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
        }
        
        /* Custom scrollbar for menu */
        .menu-container::-webkit-scrollbar {
            width: 8px;
        }
        
        .menu-container::-webkit-scrollbar-track {
            background: transparent;
        }
        
        .menu-container::-webkit-scrollbar-thumb {
            background: rgba(24, 145, 104, 0.3);
            border-radius: 4px;
        }
        
        .menu-container::-webkit-scrollbar-thumb:hover {
            background: rgba(24, 145, 104, 0.5);
        }
        
        /* Close Button */
        /* Hide close button by default */
        .menu-close {
            display: none;
        }
        
        /* Show close button when menu is active */
        .menu-overlay.active .menu-close {
            position: fixed;
            top: 2rem;
            right: 2rem;
            width: 50px;
            height: 50px;
            cursor: pointer;
            z-index: 10002;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(14, 33, 62, 0.95);
            border: 1px solid rgba(24, 145, 104, 0.1);
            transition: all 0.3s ease;
            pointer-events: auto;
            opacity: 1;
            visibility: visible;
        }
        
        .menu-close span {
            position: absolute;
            width: 30px;
            height: 2px;
            background: #189168;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            pointer-events: none !important;
        }
        
        .menu-close span:first-child {
            transform: rotate(45deg);
        }
        
        .menu-close span:last-child {
            transform: rotate(-45deg);
        }
        
        .menu-close:hover {
            background: rgba(24, 145, 104, 0.1);
            transform: scale(1.05);
        }
        
        .menu-close:hover span {
            background: #1fa776;
        }
        
        /* Menu Content */
        .menu-content {
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 1;
        }
        
        /* Navigation Links */
        .menu-nav {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            padding-right: 4rem;
            border-right: 1px solid rgba(24, 145, 104, 0.1);
        }
        
        .menu-nav-link {
            font-size: 2rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.95);
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            transition: color 0.3s ease;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }
        
        
        .menu-nav-link:hover {
            color: #189168;
        }
        
        /* Menu Footer Content */
        .menu-footer-content {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 4rem;
        }
        
        .menu-column h3 {
            font-size: 1rem;
            font-weight: 400;
            color: #189168;
            margin-bottom: 1.5rem;
            letter-spacing: 0.2em;
        }
        
        .menu-phone {
            font-size: 1.5rem;
            color: #fff;
            text-decoration: none;
            display: block;
            margin-bottom: 1rem;
            transition: color 0.3s ease;
        }
        
        .menu-phone:hover {
            color: #189168;
        }
        
        .menu-social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .menu-office-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .menu-office-item {
            color: rgba(255, 255, 255, 0.7);
        }
        
        .menu-office-item strong {
            display: block;
            color: #fff;
            font-weight: 500;
            margin-bottom: 0.25rem;
        }
        
        .menu-company-links {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
        
        .menu-footer-link {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
        }
        
        .menu-footer-link:hover {
            color: #189168;
        }
        
        /* Privacy Policy Popup */
        .privacy-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(8, 18, 35, 0.9);
            backdrop-filter: blur(10px);
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        
        .privacy-popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .privacy-popup {
            width: 80%;
            max-width: 800px;
            max-height: 90vh;
            background: rgba(8, 18, 35, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(24, 145, 104, 0.2);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }
        
        .privacy-popup-overlay.active .privacy-popup {
            transform: translateY(0);
        }
        
        .privacy-popup-header {
            padding: 2rem;
            border-bottom: 1px solid rgba(24, 145, 104, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .privacy-popup-header h2 {
            font-size: 1.8rem;
            font-weight: 300;
            color: #189168;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin: 0;
        }
        
        .privacy-popup-close {
            width: 40px;
            height: 40px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            transition: transform 0.3s ease;
            z-index: 10;
        }
        
        .privacy-popup-close:hover {
            transform: rotate(90deg);
        }
        
        .privacy-popup-close span {
            position: absolute;
            width: 24px;
            height: 2px;
            background: rgba(24, 145, 104, 0.7);
            transition: background 0.3s ease;
        }
        
        .privacy-popup-close:hover span {
            background: #189168;
        }
        
        .privacy-popup-close span:first-child {
            transform: rotate(45deg);
        }
        
        .privacy-popup-close span:last-child {
            transform: rotate(-45deg);
        }
        
        .privacy-popup-content {
            padding: 2rem;
            overflow-y: auto;
            flex: 1;
        }
        
        .privacy-popup-content p {
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.8;
            font-size: 0.95rem;
            font-weight: 300;
            margin-bottom: 1.5rem;
        }
        
        .privacy-popup-content p:last-child {
            margin-bottom: 0;
        }
        
        /* Privacy Popup Mobile Styles */
        @media (max-width: 768px) {
            .privacy-popup {
                width: 95%;
                max-height: 85vh;
            }
            
            .privacy-popup-header {
                padding: 1.5rem;
            }
            
            .privacy-popup-header h2 {
                font-size: 1.4rem;
            }
            
            .privacy-popup-content {
                padding: 1.5rem;
            }
            
            .privacy-popup-content p {
                font-size: 0.9rem;
            }
        }
        
        /* Accessibility Policy Popup - Same styles as privacy */
        .accessibility-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(8, 18, 35, 0.9);
            backdrop-filter: blur(10px);
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        
        .accessibility-popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .accessibility-popup {
            width: 80%;
            max-width: 800px;
            max-height: 90vh;
            background: rgba(8, 18, 35, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(24, 145, 104, 0.2);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }
        
        .accessibility-popup-overlay.active .accessibility-popup {
            transform: translateY(0);
        }
        
        .accessibility-popup-header {
            padding: 2rem;
            border-bottom: 1px solid rgba(24, 145, 104, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .accessibility-popup-header h2 {
            font-size: 1.8rem;
            font-weight: 300;
            color: #189168;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin: 0;
        }
        
        .accessibility-popup-close {
            width: 40px;
            height: 40px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            transition: transform 0.3s ease;
            z-index: 10;
        }
        
        .accessibility-popup-close:hover {
            transform: rotate(90deg);
        }
        
        .accessibility-popup-close span {
            position: absolute;
            width: 24px;
            height: 2px;
            background: rgba(24, 145, 104, 0.7);
            transition: background 0.3s ease;
        }
        
        .accessibility-popup-close:hover span {
            background: #189168;
        }
        
        .accessibility-popup-close span:first-child {
            transform: rotate(45deg);
        }
        
        .accessibility-popup-close span:last-child {
            transform: rotate(-45deg);
        }
        
        .accessibility-popup-content {
            padding: 2rem;
            overflow-y: auto;
            flex: 1;
        }
        
        .accessibility-popup-content p {
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.8;
            font-size: 0.95rem;
            font-weight: 300;
            margin-bottom: 1.5rem;
        }
        
        .accessibility-popup-content p:last-child {
            margin-bottom: 0;
        }
        
        /* Style all content elements in both popups */
        .privacy-popup-content h1,
        .privacy-popup-content h2,
        .privacy-popup-content h3,
        .privacy-popup-content h4,
        .accessibility-popup-content h1,
        .accessibility-popup-content h2,
        .accessibility-popup-content h3,
        .accessibility-popup-content h4 {
            color: #189168;
            font-weight: 300;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        
        .privacy-popup-content ul,
        .privacy-popup-content ol,
        .accessibility-popup-content ul,
        .accessibility-popup-content ol {
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.8;
            font-size: 0.95rem;
            font-weight: 300;
            margin-bottom: 1.5rem;
            padding-left: 2rem;
        }
        
        .privacy-popup-content li,
        .accessibility-popup-content li {
            margin-bottom: 0.5rem;
        }
        
        .privacy-popup-content strong,
        .accessibility-popup-content strong {
            color: rgba(255, 255, 255, 0.95);
            font-weight: 400;
        }
        
        .accessibility-popup-content p:last-child {
            margin-bottom: 0;
        }
        
        /* Accessibility Popup Mobile Styles */
        @media (max-width: 768px) {
            .accessibility-popup {
                width: 95%;
                max-height: 85vh;
            }
            
            .accessibility-popup-header {
                padding: 1.5rem;
            }
            
            .accessibility-popup-header h2 {
                font-size: 1.4rem;
            }
            
            .accessibility-popup-content {
                padding: 1.5rem;
            }
            
            .accessibility-popup-content p {
                font-size: 0.9rem;
            }
        }
        
        /* Mobile Menu Styles */
        @media (max-width: 1024px) {
            .menu-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                padding: 2rem;
            }
            
            .menu-nav {
                border-right: none;
                border-bottom: 1px solid rgba(24, 145, 104, 0.1);
                padding-right: 0;
                padding-bottom: 2rem;
            }
        }
        
        @media (max-width: 768px) {
            .menu-container {
                padding: 2rem;
            }
            
            .menu-nav-link {
                font-size: 1.2rem;
            }
            
            .menu-footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .menu-phone {
                font-size: 1rem;
            }
        }

        /* Common section styles */
        .section {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 5rem 2rem;
        }

        /* Grid background for all sections */
        .grid-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(24, 145, 104, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(24, 145, 104, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            pointer-events: none;
        }

        /* Floating orbs for depth */
        .orb {
            position: absolute;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, rgba(24, 145, 104, 0.15), transparent);
            filter: blur(40px);
            pointer-events: none;
        }

        .orb1 {
            width: 400px;
            height: 400px;
            top: 10%;
            left: -10%;
            animation: float1 20s ease-in-out infinite;
        }

        .orb2 {
            width: 300px;
            height: 300px;
            bottom: 10%;
            right: -10%;
            animation: float2 25s ease-in-out infinite;
        }

        @keyframes float1 {
            0%, 100% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(100px, -100px) scale(1.2); }
        }

        @keyframes float2 {
            0%, 100% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(-100px, 100px) scale(0.8); }
        }

        /* Consistent Section Headers */
        .section-header {
            margin-bottom: 5rem;
            position: relative;
            text-align: left;
        }

        .section-header h2 {
            font-size: clamp(1.25rem, 2vw, 1.5rem);
            font-weight: 100;
            color: rgba(255, 255, 255, 0.9);
            letter-spacing: 0.3em;
            text-transform: uppercase;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }

        .header-line {
            width: 300px;
            height: 1px;
            background: linear-gradient(to right, #189168 0%, rgba(24, 145, 104, 0.3) 60%, transparent 100%);
            position: relative;
            overflow: hidden;
        }

        .header-line::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            animation: shimmer 3s ease-in-out infinite;
        }

        @keyframes shimmer {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        /* Section base styles */
        section, footer {
            position: relative;
        }
        
        /* HERO SECTION */
        .hero-section {
            height: 100vh;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            isolation: isolate;
            /* z-index removed - let sections stack naturally */
        }
        
        /* Dissolve Grid Styles */
        .dissolve-grid-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 3;
            pointer-events: none;
            will-change: contents;
        }

        .dissolve-cell {
            position: absolute;
            overflow: hidden;
            will-change: transform, opacity;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
            transform-origin: center center;
        }
        
        /* Ensure gradient overlay stays visible during dissolve */
        .dissolve-gradient-overlay {
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
            opacity: 1 !important;
            visibility: visible !important;
            z-index: 10 !important;
            pointer-events: none !important;
        }

        /* Video Background Container */
        .hero-video-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .hero-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* Permanent gradient overlay for video */
        .video-gradient-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, rgba(24, 55, 104, 0.00) 0%, #0E213E 100%);
            z-index: 1;
            pointer-events: none;
        }

        /* Image Overlay Container */
        .hero-image-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
            /* Background image is set dynamically via inline styles */
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0; /* Hidden - dissolve grid shows instead */
            pointer-events: none; /* Allow clicks through but keep visible for grid */
        }

        /* Gradient Overlay */
        .hero-gradient {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, 
                rgba(14, 33, 62, 0.3) 0%, 
                rgba(14, 33, 62, 0.5) 50%, 
                rgba(14, 33, 62, 0.9) 100%);
            z-index: 10; /* Keep gradient on top of everything */
            pointer-events: none;
            will-change: opacity;
        }

        /* Grid overlay for dissolve effect */
        .dissolve-grid-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 3;
            pointer-events: none;
            will-change: contents;
        }

        .dissolve-cell {
            position: absolute;
            overflow: hidden;
            will-change: transform, opacity;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
            transform-origin: center center;
        }

        /* Content Container */
        .hero-container {
            position: relative;
            z-index: 11; /* Higher than gradient (10) */
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            width: auto;
            height: auto;
        }
        
        .hero-logo {
            width: 100%;
            max-width: 400px;
            height: auto;
            filter: brightness(0) invert(1);
            opacity: 0.9;
        }


        /* ABOUT SECTION WITH STATS */
        .about-section {
            background: rgba(14, 33, 62, 0.75); /* Original opacity */
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            padding: 8rem 2rem;
            position: relative;
            min-height: 100vh;
            z-index: 10; /* Ensure it's above the fixed video background */
        }

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

        .about-text {
            text-align: center;
            margin-bottom: 6rem;
            opacity: 1; /* Start visible to prevent jump */
            /* Removed fadeInUp animation that was causing jump */
        }

        .about-text p {
            font-size: clamp(1.3rem, 2vw, 1.8rem);
            line-height: 1.4;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 100;
            max-width: 1000px;
            margin: 0 auto;
        }

        /* Stats Grid */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            margin-top: 5rem;
            gap: 3rem;
        }

        .stat-card {
            background: rgba(8, 18, 35, 0.5);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(24, 145, 104, 0.1);
            padding: 3rem;
            text-align: center;
            position: relative;
            overflow: hidden;
            opacity: 0;
            transform: translateY(30px);
            animation: slideUpFade 0.8s ease-out forwards;
            animation-delay: calc(var(--index) * 0.2s);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .stat-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(24, 145, 104, 0.08) 0%, 
                        transparent 60%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

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

        .stat-card:hover {
            transform: scale(1.02);
            background: rgba(8, 18, 35, 0.7);
            border-color: rgba(24, 145, 104, 0.2);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                        0 0 60px rgba(24, 145, 104, 0.03);
        }

        .stat-number {
            font-size: clamp(3rem, 6vw, 5rem);
            font-weight: 100;
            color: #189168;
            line-height: 1;
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
            text-shadow: 0 0 30px rgba(24, 145, 104, 0.5);
        }

        .stat-number::after {
            content: attr(data-suffix);
            font-size: 0.5em;
            position: absolute;
            top: 0;
            right: -0.5em;
            color: #189168;
        }

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

        @keyframes slideUpFade {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Mobile styles for companies section */
        @media (max-width: 768px) {
            .companies-wrapper {
                padding: 0 1rem;
                gap: 1.5rem;
            }
            
            .company-card {
                flex: 0 0 85vw;
                height: 450px;
            }
            
            .card-top {
                padding: 1.5rem;
            }
            
            .company-logo {
                height: 40px !important;
                margin-bottom: 1rem;
            }
            
            .company-logo img {
                max-height: 40px !important;
                width: auto !important;
            }
            
            .company-name {
                font-size: 1.3rem;
            }
            
            .company-description {
                font-size: 0.9rem;
            }
        }

        /* SERVICE AREAS SECTION - New Layout */
        .service-section {
            padding: 8rem 0;
            min-height: 100vh;
            position: relative;
            background: #0e213e;
        }

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

        .service-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            position: relative;
        }

        /* Service boxes in corners */
        .service-box {
            background: rgba(8, 18, 35, 0.5);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(24, 145, 104, 0.1);
            padding: 3rem;
            position: relative;
            transition: all 0.4s ease;
            overflow: hidden;
            /* Opacity handled by GSAP */
        }
        
        /* Shine effect on load - simple fade in only */
        @keyframes serviceBoxShine {
            0% {
                transform: scale(1);
                box-shadow: 0 0 0 rgba(0, 0, 0, 0),
                           0 0 0 rgba(24, 145, 104, 0);
            }
            50% {
                transform: scale(1.02);
                box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                           0 0 100px rgba(24, 145, 104, 0.1);
            }
            100% {
                transform: scale(1);
                box-shadow: 0 0 0 rgba(0, 0, 0, 0),
                           0 0 0 rgba(24, 145, 104, 0);
            }
        }
        
        .service-box.animating {
            animation: serviceBoxShine 0.8s ease-out;
        }

        .service-box::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, transparent, #189168, transparent);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }

        .service-box:hover::after {
            transform: translateX(0);
        }

        /* Animation delays removed - will be controlled by GSAP */

        .service-box:hover {
            transform: scale(1.02) !important;
            background: rgba(8, 18, 35, 0.7);
            border-color: rgba(24, 145, 104, 0.2);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                        inset 0 0 20px rgba(24, 145, 104, 0.03);
        }

        .service-box h3 {
            font-size: 1.3rem;
            font-weight: 300;
            color: #189168;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            position: relative;
        }

        .service-box h3::before {
            content: '';
            position: absolute;
            left: 0;
            bottom: -5px;
            width: 0;
            height: 1px;
            background: #189168;
            transition: width 0.3s ease;
        }

        .service-box:hover h3::before {
            width: 50px;
        }
        
        /* Right-aligned boxes need right-aligned underline */
        .service-box[style*="text-align: right"] h3::before {
            left: auto;
            right: 0;
        }

        .service-box p {
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.7;
            font-size: 0.95rem;
            font-weight: 300;
        }

        /* Center building */
        .building-center {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: grid;
            place-items: center;
            z-index: 1;
            pointer-events: none;
            padding: 2rem;
        }
        
        /* Building container with proper constraints */
        .building-center > * {
            width: min(600px, 50vw);
            height: min(400px, 40vh);
            margin-top: 2rem; /* Slight offset from perfect center for visual balance */
        }

        .building-3d {
            width: 100%;
            height: 100%;
            position: relative;
            opacity: 1;
        }

        /* Building layers for animation */
        .building-layer {
            width: min(400px, 80%);  /* Responsive width */
            height: auto;
            display: block;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            object-fit: contain; /* Ensure image maintains aspect ratio */
            /* Opacity handled by GSAP */
        }
        
        /* Ensure layers stack properly */
        .building-layer[data-layer="1"] { z-index: 1; }
        .building-layer[data-layer="2"] { z-index: 2; }
        .building-layer[data-layer="3"] { z-index: 3; }
        .building-layer[data-layer="4"] { z-index: 4; }


        /* COMPANIES SECTION - Horizontal Scroll with Focus */
        .companies-section {
            min-height: 100vh;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            background: #0e213e;
        }
        
        /* Add subtle green gradient accent to companies section */
        .companies-section::before {
            content: '';
            position: absolute;
            top: -20%;
            right: -15%;
            width: 50%;
            height: 50%;
            background: radial-gradient(circle at center, rgba(24, 145, 104, 0.15) 0%, transparent 65%);
            pointer-events: none;
            filter: blur(60px);
            z-index: 0;
        }

        .companies-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            position: relative;
            width: 100%;
            padding: 5rem 2rem 3rem;
            z-index: 1; /* Ensure content is above gradient */
        }

        .companies-header {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            width: 100%;
        }

        .companies-wrapper {
            flex: 1;
            display: flex;
            align-items: center;
            gap: clamp(2rem, 4vw, 4rem);
            padding: 0 clamp(2rem, 10vw, calc(50vw - 300px));
            min-height: 0;
            /* Added for GSAP positioning */
            position: relative; 
        }

        .company-card {
            flex: 0 0 clamp(350px, 80vw, 600px);
            height: clamp(400px, 60vh, 480px);
            background: rgba(8, 18, 35, 0.3);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(24, 145, 104, 0.1);
            display: flex;
            flex-direction: column;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            transform-origin: center center;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
                        0 0 40px rgba(24, 145, 104, 0.02);
        }

        .company-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(24, 145, 104, 0.05), transparent);
            transition: left 0.8s ease;
        }

        .company-card:hover::before {
            left: 100%;
        }

        .company-card:hover {
            transform: scale(1.02) translateY(-5px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                        0 0 100px rgba(24, 145, 104, 0.08),
                        0 0 60px rgba(24, 145, 104, 0.05);
            border-color: rgba(24, 145, 104, 0.2);
        }
        
        /* Focus visible state */
        .company-card:focus-visible {
            outline: none;
        }
        
        /* Remove ALL focus outlines from cards */
        .company-card:focus,
        .company-card:focus-visible,
        .value-card:focus,
        .value-card:focus-visible,
        .leader-card:focus,
        .leader-card:focus-visible,
        .timeline-card:focus,
        .timeline-card:focus-visible {
            outline: none;
        }
        
        /* Accessibility Features */
        .skip-link {
            position: absolute;
            left: -9999px;
            top: 20px;
            z-index: 9999;
            padding: 1rem 2rem;
            background: #189168;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 500;
        }
        
        .skip-link:focus {
            left: 20px;
        }
        
        /* Screen reader only content */
        .sr-only {
            position: absolute !important;
            width: 1px !important;
            height: 1px !important;
            padding: 0 !important;
            margin: -1px !important;
            overflow: hidden !important;
            clip: rect(0, 0, 0, 0) !important;
            white-space: nowrap !important;
            border: 0 !important;
        }
        
        /* Enhanced focus for keyboard navigation */
        body.keyboard-nav *:focus {
            outline: 2px solid #189168 !important;
            outline-offset: 4px !important;
        }
        
        body.keyboard-nav .scroll-dot:focus,
        body.keyboard-nav .mobile-menu-btn:focus {
            outline: 2px solid #189168 !important;
            outline-offset: 2px !important;
        }
        
        /* Make inactive card links unfocusable but still visible */
        .company-card[aria-selected="false"] a,
        .timeline-card[aria-selected="false"] a,
        .leader-card[aria-selected="false"] * {
            pointer-events: none;
        }

        .card-top {
            flex: 1;
            padding: 2.5rem;
            position: relative;
        }

        .card-bottom {
            height: 80px;
            background: rgba(255, 255, 255, 0.02);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding: 0 1.8rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
        }

        .company-logo {
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            margin-bottom: 1.5rem;
            position: relative;
            overflow: visible;
        }
        
        .company-logo img {
            height: 100%;
            width: auto;
            max-width: 400px;
            object-fit: contain;
            filter: brightness(0) invert(1);
            opacity: 0.7;
            transition: opacity 0.3s ease, filter 0.3s ease;
        }
        
        .company-card:hover .company-logo img {
            opacity: 0.9;
            filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(24, 145, 104, 0.5));
        }


        .company-name {
            font-size: 1.5rem;
            font-weight: 200;
            color: #ffffff;
            margin-bottom: 1rem;
        }

        .company-description {
            color: rgba(255, 255, 255, 0.5);
            line-height: 1.6;
            font-size: 0.95rem;
        }

        .meta-info {
            font-size: 0.8rem;
            color: rgba(24, 145, 104, 0.6);
            letter-spacing: 0.1em;
            text-transform: uppercase;
            font-weight: 500;
        }

        .company-cta {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: 0.9rem;
            padding: 0.6rem 1.2rem;
            border: 1px solid rgba(24, 145, 104, 0.3);
            transition: all 0.4s ease;
            display: inline-block;
            position: relative;
            overflow: hidden;
        }

        .company-cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(24, 145, 104, 0.1);
            transition: left 0.4s ease;
        }

        .company-cta:hover::before {
            left: 0;
        }

        .company-cta:hover {
            color: #189168;
            border-color: #189168;
            transform: translateX(5px);
        }


        /* MISSION SECTION */
        .mission-section {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            background: #0e213e;
            overflow: hidden;
        }

        .mission-container {
            max-width: 1400px;
            margin: 0 auto;
            z-index: 2;
            padding: 5rem 2rem;
            width: 100%;
        }

        .mission-container .section-header {
            margin-bottom: 3rem;
            text-align: left;
        }

        .mission-text-wrapper {
            display: flex;
            justify-content: center;
            width: 100%;
        }

        .mission-text {
            font-size: clamp(1.5rem, 3vw, 2rem);
            font-weight: 100;
            line-height: 1.4;
            color: #ffffff;
            letter-spacing: -0.02em;
            opacity: 0;
            animation: fadeInUp 1s ease-out 0.3s forwards;
            max-width: 900px;
            text-align: center;
        }
        
        .mission-text strong {
            font-weight: 300;
        }

        .mission-highlight {
            color: #189168;
            position: relative;
            text-shadow: 0 0 20px rgba(24, 145, 104, 0.5);
        }

        /* Project Gallery */
        .project-gallery-container {
            width: 100%;
            margin-top: 5rem;
            position: relative;
            overflow: hidden;
        }

        .project-gallery {
            position: relative;
            width: 100%;
            height: 250px;
            overflow: hidden;
            mask-image: linear-gradient(to right, 
                transparent 0%, 
                black 2%, 
                black 98%, 
                transparent 100%);
            -webkit-mask-image: linear-gradient(to right, 
                transparent 0%, 
                black 2%, 
                black 98%, 
                transparent 100%);
        }

        .gallery-track {
            display: flex;
            gap: 1rem;
            height: 100%;
            animation: scrollGallery 30s linear infinite;
            will-change: transform;
        }

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

        .gallery-image {
            flex-shrink: 0;
            height: 100%;
            min-width: 350px;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(24, 145, 104, 0.1);
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .gallery-image::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, 
                transparent 0%, 
                transparent 70%, 
                rgba(14, 33, 62, 0.3) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: 1;
        }

        .gallery-image:hover::before {
            opacity: 1;
        }

        .gallery-image img {
            height: 100%;
            width: auto;
            object-fit: cover;
            filter: brightness(0.9);
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .gallery-image:hover {
            transform: scale(1.05);
            border-color: rgba(24, 145, 104, 0.3);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                        0 0 60px rgba(24, 145, 104, 0.05);
        }

        .gallery-image:hover img {
            filter: brightness(1.1);
        }

        /* Pause animation on hover */
        .project-gallery:hover .gallery-track {
            animation-play-state: paused;
        }

        /* CORE VALUES SECTION - Horizontal Scroll */
        .values-section {
            height: 100vh;
            position: relative;
            overflow: hidden;
            background: #0e213e;
        }
        
        .values-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 30% 50%, rgba(24, 145, 104, 0.03) 0%, transparent 50%),
                        radial-gradient(circle at 70% 50%, rgba(24, 145, 104, 0.02) 0%, transparent 50%);
            pointer-events: none;
        }

        .values-container {
            height: 100%;
            position: relative;
            max-width: 1400px;
            margin: 0 auto;
            padding: 5rem 2rem 0;
        }

        .values-wrapper {
            display: flex;
            height: calc(100% - 120px);
            align-items: center;
            gap: clamp(2rem, 4vw, 4rem);
            padding: 0 clamp(2rem, 10vw, calc(50vw - 300px));
            margin-top: 20px;
            position: relative;
        }

        .value-card {
            flex: 0 0 clamp(350px, 80vw, 600px);
            height: clamp(400px, 60vh, 480px);
            background: rgba(8, 18, 35, 0.4);
            backdrop-filter: blur(30px);
            border: 1px solid rgba(24, 145, 104, 0.15);
            padding: clamp(2rem, 3vw, 3rem);
            position: relative;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            transform-origin: center center;
            opacity: 0.5;
            transform: scale(0.9);
        }
        
        /* Inactive cards are smaller and faded */
        .value-card:not(.focused) {
            opacity: 0.5;
            transform: scale(0.9);
        }

        .value-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(24, 145, 104, 0.08), transparent);
            transition: left 0.8s ease;
        }
        
        .value-card::after {
            content: '';
            position: absolute;
            inset: -1px;
            background: linear-gradient(45deg, transparent, rgba(24, 145, 104, 0.3), transparent);
            opacity: 0;
            transition: opacity 0.5s ease;
            z-index: -1;
        }

        .value-card:hover::before {
            left: 100%;
        }
        
        .value-card.focused {
            transform: scale(1.05) !important;
            opacity: 1 !important;
            background: rgba(8, 18, 35, 0.6);
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5),
                        0 0 120px rgba(24, 145, 104, 0.15),
                        inset 0 0 60px rgba(24, 145, 104, 0.05);
            animation: pulseGlow 4s ease-in-out infinite alternate;
        }
        
        @keyframes pulseGlow {
            0% {
                box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5),
                            0 0 120px rgba(24, 145, 104, 0.15),
                            inset 0 0 60px rgba(24, 145, 104, 0.05);
            }
            100% {
                box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6),
                            0 0 140px rgba(24, 145, 104, 0.25),
                            inset 0 0 80px rgba(24, 145, 104, 0.08);
            }
        }
        
        .value-card.focused::after {
            opacity: 0.3;
        }

        .value-card:hover,
        .value-card.active,
        .value-card.focused {
            transform: scale(1.02);
            background: rgba(8, 18, 35, 0.5);
        }
        
        /* Focus visible state - only for keyboard */
        .value-card:focus-visible {
            outline: none;
        }

        .value-number {
            position: absolute;
            bottom: 85%;
            right: 5%;
            transform: translateY(-50%);
            font-size: clamp(6rem, 10vw, 10rem);
            font-weight: 900;
            color: rgba(24, 145, 104, 0.03);
            font-family: 'Montserrat', sans-serif;
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            opacity: 0.3;
        }

        .value-card:hover .value-number {
            color: rgba(24, 145, 104, 0.1);
            opacity: 0.5;
        }
        
        .value-card.focused .value-number {
            color: rgba(24, 145, 104, 0.2);
            transform: translateY(-50%) scale(1.1);
            opacity: 1;
            filter: drop-shadow(0 0 30px rgba(24, 145, 104, 0.3));
        }

        .value-index {
            font-size: 0.9rem;
            color: rgba(24, 145, 104, 0.5);
            letter-spacing: 0.2em;
            margin-bottom: 2rem;
            font-weight: 300;
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        
        .value-card.focused .value-index {
            color: #189168;
            text-shadow: 0 0 10px rgba(24, 145, 104, 0.3);
        }

        .value-accent {
            position: absolute;
            bottom: 3rem;
            left: 3rem;
            width: 40px;
            height: 2px;
            background: linear-gradient(90deg, rgba(24, 145, 104, 0.3), transparent);
            transform-origin: left;
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .value-card:hover .value-accent {
            width: 60px;
            background: linear-gradient(90deg, rgba(24, 145, 104, 0.5), transparent);
        }
        
        .value-card.focused .value-accent {
            width: 120px;
            height: 3px;
            background: linear-gradient(90deg, #189168, #189168, transparent);
            box-shadow: 0 0 20px rgba(24, 145, 104, 0.5);
        }

        .value-card h3 {
            font-size: clamp(2.5rem, 4vw, 4rem);
            font-weight: 100;
            letter-spacing: 0.1em;
            margin-bottom: 1.5rem;
            color: rgba(255, 255, 255, 0.85); /* More visible */
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
        }

        .value-card:hover h3 {
            color: rgba(255, 255, 255, 0.85);
        }
        
        .value-card.focused h3 {
            color: #ffffff;
            text-shadow: 0 0 20px rgba(24, 145, 104, 0.5);
        }

        .value-card p {
            color: rgba(255, 255, 255, 0.75); /* More visible */
            line-height: 1.8;
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            font-size: clamp(0.9rem, 1.5vw, 0.95rem);
        }
        
        .value-card.focused p {
            color: rgba(255, 255, 255, 0.8);
        }

        /* LEADERSHIP SECTION - Horizontal Accordion */
        .leadership-section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            background: #0e213e;
            overflow: hidden;
            padding: 4rem 0;
        }
        
        /* Fix leadership container alignment */
        .leadership-container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }
        
        /* Add subtle green gradient accent to leadership section */
        .leadership-section::before {
            content: '';
            position: absolute;
            top: -30%;
            right: -20%;
            width: 60%;
            height: 60%;
            background: radial-gradient(circle at center, rgba(24, 145, 104, 0.1) 0%, transparent 70%);
            pointer-events: none;
            filter: blur(80px);
        }

        .leadership-container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .leadership-grid {
            display: flex;
            gap: 2rem;
            justify-content: center;
            margin-top: 4rem;
            padding: 0 20px;
            align-items: center;
        }

        .leader-card {
            min-height: 350px;
            background: rgba(255, 255, 255, 0.02);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.05);
            position: relative;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
        }

        /* Only FIRST active leader card gets the radius that matches the image */
        .leader-card:first-child.active {
            border-radius: 175px 0 0 175px;
            overflow: visible !important;
        }
        
        /* All other active cards are rectangular */
        .leader-card.active:not(:first-child) {
            border-radius: 0;
        }
        
        /* Special case for first card's image positioning */
        .leader-card:first-child.active .leader-image-section {
            position: absolute;
            left: 25px;
            top: 0;
            margin-left: 0;
            margin-right: 0;
        }

        /* Collapsed cards - first card has rounded corners when collapsed */
        .leader-card:first-child:not(.active) {
            border-radius: 100px 0 0 100px;
        }
        
        /* All other collapsed cards have NO border radius */
        .leader-card:not(.active):not(:first-child) {
            border-radius: 0;
        }


        .leader-card.active {
            flex: 0 0 auto;
            width: min(700px, 50vw);
            min-width: 500px;
            display: flex;
            align-items: center;
            box-shadow: 0 0 60px rgba(24, 145, 104, 0.05),
                        0 0 120px rgba(24, 145, 104, 0.02);
            z-index: 10;
            overflow: visible; /* Allow image to overlap border */
        }
        
        /* Add subtle gradient glow to active card */
        .leader-card.active::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, transparent 30%, rgba(24, 145, 104, 0.1) 50%, transparent 70%);
            border-radius: inherit;
            opacity: 0.5;
            z-index: -1;
            filter: blur(10px);
        }

        .leader-card:not(.active) {
            flex: 0 0 120px;
            min-width: 120px;
            max-width: 120px;
            height: 350px;
            cursor: pointer;
            display: flex;
            align-items: stretch;
        }

        .leader-card:not(.active):hover {
            background: rgba(255, 255, 255, 0.04);
            transform: scale(1.02);
            border-color: rgba(24, 145, 104, 0.2);
        }

        .leader-image-section {
            width: 200px;
            height: 100%;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            flex-shrink: 0;
            margin-left: 2rem;
            margin-right: 2rem;
        }

        .leader-card.active .leader-image-section {
            opacity: 1;
            transition-delay: 0.1s;
        }

        .leader-image {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background-size: 106%;
            background-position: center;
            background-repeat: no-repeat;
            border: 2px solid rgba(24, 145, 104, 0.2);
            box-shadow: 0 0 40px rgba(24, 145, 104, 0.1);
            position: relative;
            z-index: 2;
        }

        .leader-content {
            flex: 1;
            padding: 1rem 3rem 1rem 2rem;
            opacity: 0;
            transform: translateX(30px);
            transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        /* First card needs extra left padding for the image */
        .leader-card:first-child.active .leader-content {
            padding-left: 240px;
        }

        .leader-card.active .leader-content {
            opacity: 1;
            transform: translateX(0);
            transition-delay: 0.15s; /* Faster to avoid overlap */
        }
        
        .leader-card:not(.active) .leader-content {
            display: none;
        }
        

        .leader-name {
            font-size: 2rem;
            font-weight: 200;
            color: #ffffff;
            margin-bottom: 0.3rem;
        }

        .leader-title {
            font-size: 1.2rem;
            color: #189168;
            letter-spacing: 0.1em;
            margin-bottom: 1rem;
        }

        .leader-bio {
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.6;
            font-size: 0.95rem;
        }
        
        /* No mobile-specific elements needed anymore */

        .collapsed-content {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 2rem 0.5rem 2rem;
            transition: opacity 0.15s ease, visibility 0.15s ease;
            overflow: visible;
        }

        .leader-card:not(.active) .collapsed-content {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transition-delay: 0.3s;
        }

        .leader-card.active .collapsed-content {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            position: absolute;
            transition: opacity 0s, visibility 0s;
        }

        .leader-card:not(.active) .leader-image-section {
            display: none;
        }

        .collapsed-text {
            writing-mode: vertical-rl;
            text-orientation: mixed;
            text-align: center;
            transform: rotate(180deg);
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding-bottom: 1rem;
        }

        .collapsed-name {
            font-size: 1rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 0.5rem;
            transition: all 0.3s ease;
        }

        .leader-card:not(.active):hover .collapsed-name {
            color: #189168;
            transform: translateY(-5px);
        }

        .collapsed-title {
            font-size: 0.9rem;
            color: rgba(24, 145, 104, 0.6);
            transition: all 0.3s ease;
        }

        .leader-card:not(.active):hover .collapsed-title {
            color: #189168;
        }

        .collapsed-image {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            border: 2px solid rgba(24, 145, 104, 0.2);
            transition: all 0.3s ease;
            z-index: 10;
        }

        .leader-card:not(.active):hover .collapsed-image {
            transform: translateX(-50%) scale(1.1);
            box-shadow: 0 0 20px rgba(24, 145, 104, 0.2);
        }
        
        /* First collapsed card needs more bottom padding for border radius */
        .leader-card:first-child:not(.active) .collapsed-image {
            bottom: 25px;
        }
        
        /* First collapsed card needs adjusted padding */
        .leader-card:first-child:not(.active) .collapsed-content {
            padding-bottom: 100px;
        }

        /* Responsive leadership cards for narrower screens */
        @media (max-width: 1400px) {
            .leader-card.active {
                width: min(700px, 50vw);
                min-width: 500px;
            }
            
            .leader-card:not(.active) {
                flex: 0 0 100px;
                min-width: 100px;
                max-width: 100px;
                height: 350px;
            }
        }
        
        /* Mobile styles for leadership */
        @media (max-width: 768px) {
            .leadership-grid {
                flex-direction: column;
                gap: 0.5rem;
                padding: 0 1rem;
            }
            
            .leader-card {
                min-height: auto;
                width: 100% !important;
                max-width: 100% !important;
                min-width: 100% !important;
                flex: none !important;
            }
            
            .leader-card:first-child.active {
                border-radius: 20px;
                min-height: 350px;
            }
            
            .leader-card.active:not(:first-child) {
                border-radius: 20px;
                min-height: 350px;
            }
            
            .leader-card:first-child:not(.active) {
                border-radius: 20px;
                height: 80px;
                min-height: 80px;
                max-height: 80px;
            }
            
            .leader-card:not(.active):not(:first-child) {
                border-radius: 20px;
                height: 80px;
                min-height: 80px;
                max-height: 80px;
            }
            
            /* Fix first card's active state on mobile */
            .leader-card:first-child.active .leader-image-section {
                position: relative;
                left: auto;
                top: auto;
            }
            
            /* Fix first card's content padding on mobile */
            .leader-card:first-child.active .leader-content {
                padding-left: 1.5rem;
            }
            
            .leader-image-section {
                position: relative;
                width: 100%;
                height: 200px;
                padding: 2rem;
                margin-left: 0;
                margin-right: 0;
            }
            
            .leader-image {
                width: 150px;
                height: 150px;
            }
            
            .leader-content {
                padding: 1.5rem;
                transform: none;
            }
            
            .collapsed-content {
                padding: 0 1rem;
                height: 100%;
                flex-direction: row;
                align-items: center;
                justify-content: flex-start;
            }
            
            .collapsed-image {
                width: 50px;
                height: 50px;
                border-radius: 50%;
                flex-shrink: 0;
                margin-left: 0;
            }
            
            
            .collapsed-name {
                font-size: 1.1rem;
                margin-bottom: 0.2rem;
            }
            
            .collapsed-title {
                font-size: 0.8rem;
            }
            
            /* Disable hover effects on mobile to prevent layout shifts */
            .leader-card:not(.active):hover {
                transform: none;
            }
            
            .leader-card:not(.active):hover .collapsed-name {
                transform: none;
            }
            
            .leader-card:not(.active):hover .collapsed-image {
                transform: none;
            }
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Fix initial logo visibility */
        .hero-container {
            /* Removed fadeInUp animation - logo should appear immediately */
        }

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

        /* TIMELINE SECTION */
        .timeline-section {
            height: 100vh;
            position: relative;
            overflow: hidden;
            background: #0e213e;
        }

        .timeline-container {
            height: 100%;
            position: relative;
            max-width: 1400px;
            margin: 0 auto;
            padding: 5rem 2rem 0; /* Add horizontal padding to match other sections */
        }

        .timeline-wrapper {
            display: flex;
            height: calc(100% - 8rem);
            align-items: center;
            gap: 3rem; /* Add gap between cards */
            /* Changed padding to be managed by JS */
            padding-bottom: 80px; /* Space for progress line and dots */
            position: relative;
            width: max-content; /* Let it be as wide as its content */
        }

        /* Timeline Card Styles */
        .timeline-card {
            width: 400px;
            height: auto;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(24, 145, 104, 0.2);
            padding: 2rem;
            position: relative;
            opacity: 0.7;
            transition: all 0.3s ease;
            flex-shrink: 0; /* Prevent cards from shrinking */
        }
        
        .timeline-card:hover,
        .timeline-card.active {
            opacity: 1;
            transform: scale(1.05);
            border-color: rgba(24, 145, 104, 0.5);
            background: rgba(255, 255, 255, 0.06);
        }
        
        .timeline-card-inner {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        /* Card Thumbnail */
        .timeline-card-thumbnail {
            width: 100%;
            height: 200px;
            border-radius: 12px;
            overflow: hidden;
            background: #ffffff;  /* White background as placeholder */
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .timeline-card-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center center;
        }
        
        /* Card Content */
        .timeline-card-content {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
        
        .timeline-card-year {
            font-size: 1.125rem;
            font-weight: 600;
            color: #189168;
            letter-spacing: 0.05em;
        }
        
        .timeline-card-title {
            font-size: 1.5rem;
            font-weight: 100; /* Ultra-light weight */
            color: #FFFFFF;
            line-height: 1.3;
            margin: 0;
            letter-spacing: 0.02em;
        }
        
        /* Connecting line between dots - Removed to avoid duplication with progress line */
        
        /* Line before first item - Removed, progress bar handles it */

        /* Old timeline styles - commented out for new card design */
        /*
        .timeline-year {
            font-size: clamp(6rem, 10vw, 8rem);
            font-weight: 900;
            line-height: 0.8;
            color: transparent;
            -webkit-text-stroke: 1px rgba(24, 145, 104, 0.3);
            text-stroke: 1px rgba(24, 145, 104, 0.3);
            margin-bottom: 3rem;
            position: relative;
            transition: all 0.6s ease;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            background: none;
            background-color: transparent;
        }
        */
        
        /* Decorative element behind year */
        .timeline-year::after {
            content: attr(data-year);
            position: absolute;
            top: 10px;
            left: 10px;
            color: transparent;
            -webkit-text-stroke: 1px rgba(24, 145, 104, 0.05);
            z-index: -1;
            opacity: 0;
            transition: opacity 0.6s ease;
        }
        
        .timeline-item.active .timeline-year::after,
        .timeline-item:hover .timeline-year::after {
            opacity: 1;
        }
        
        .timeline-item.active .timeline-year,
        .timeline-item:hover .timeline-year {
            -webkit-text-stroke: 1px rgba(24, 145, 104, 0.7);
            text-stroke: 1px rgba(24, 145, 104, 0.7);
        }
        
        .timeline-year::before {
            content: attr(data-year);
            position: absolute;
            top: 0;
            left: 0;
            color: rgba(24, 145, 104, 0.8);
            background: none;
            background-color: transparent;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
            transition: clip-path 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .timeline-item.active .timeline-year::before,
        .timeline-item:hover .timeline-year::before {
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        }


        /* Event Title - commented out for new card design */
        /*
        .timeline-title {
            font-size: 1.8rem;
            font-weight: 300;
            color: #ffffff;
            margin-bottom: 1rem;
            letter-spacing: 0.05em;
            opacity: 1;
        }
        */

        /* Event Description */
        .timeline-description {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.6);
            line-height: 1.6;
            max-width: 450px;
            opacity: 1;
        }

        /* Timeline Progress Line */
        .timeline-progress-container {
            position: absolute;
            bottom: 40px;  /* Position below cards */
            left: 10vw;
            right: 10vw;
            width: auto;
            height: 2px;
            z-index: 0;  /* Behind cards */
        }
        
        .timeline-progress {
            width: 100%;
            height: 2px;
            background: rgba(24, 145, 104, 0.2);
            position: relative;
        }


        /* Timeline Dots Container */
        .timeline-dots-container {
            position: absolute;
            top: -6px; /* Center on the progress line */
            left: 0;
            width: 100%;
            height: 14px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            pointer-events: none;
        }
        
        /* Timeline Dots */
        .timeline-dot {
            position: relative;
            width: 16px;
            height: 16px;
            background: #0E213E;
            border: 2px solid rgba(24, 145, 104, 0.3);
            border-radius: 50%;
            z-index: 2;
            transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
            pointer-events: auto;
            cursor: pointer;
        }
        
        /* Active timeline dot */
        .timeline-dot.active {
            background: #189168;
            border-color: #189168;
            box-shadow: 0 0 20px rgba(24, 145, 104, 0.6);
        }

        .timeline-dot::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 8px;
            height: 8px;
            background: rgba(24, 145, 104, 0.5);
            border-radius: 50%;
            transition: all 0.4s ease;
        }

        .timeline-dot::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 40px;
            height: 40px;
            border: 1px solid rgba(24, 145, 104, 0.2);
            border-radius: 50%;
            opacity: 0;
            transition: all 0.4s ease;
        }

        .timeline-item.active .timeline-dot,
        .timeline-item:hover .timeline-dot {
            background: rgba(14, 33, 62, 0.9);
            border-color: #189168;
            box-shadow: 0 0 30px rgba(24, 145, 104, 0.4);
            transform: translateX(-50%) scale(1.2);
        }
        
        .timeline-item.active .timeline-dot::before,
        .timeline-item:hover .timeline-dot::before {
            width: 12px;
            height: 12px;
            background: #189168;
            box-shadow: 0 0 10px rgba(24, 145, 104, 0.8);
        }

        .timeline-item.active .timeline-dot::after,
        .timeline-item:hover .timeline-dot::after {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1.2);
        }

        /* FOOTER SECTION */
        .footer-section {
            background: #081223;
            padding: 5rem 0 2rem;
            position: relative;
            border-top: 1px solid rgba(24, 145, 104, 0.1);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

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

        .footer-content {
            display: grid;
            grid-template-columns: 1fr 2fr 1.5fr;
            gap: 4rem;
            margin-bottom: 4rem;
        }

        .footer-column h3 {
            font-size: 0.9rem;
            font-weight: 300;
            letter-spacing: 0.2em;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2rem;
            text-transform: uppercase;
        }

        .footer-phone {
            display: block;
            font-size: 1.2rem;
            color: #189168;
            text-decoration: none;
            margin-bottom: 1.5rem;
            transition: color 0.3s ease;
        }

        .footer-phone:hover {
            color: rgba(24, 145, 104, 0.8);
        }

        .social-links {
            display: flex;
            gap: 1rem;
        }

        .social-link {
            width: 40px;
            height: 40px;
            border: 1px solid rgba(24, 145, 104, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.6);
            transition: all 0.3s ease;
        }

        .social-link:hover {
            border-color: #189168;
            color: #189168;
            background: rgba(24, 145, 104, 0.1);
        }

        .office-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .office-item {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
        }

        .office-item strong {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 400;
            letter-spacing: 0.1em;
        }

        .office-item span {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.5);
            font-weight: 300;
        }

        .company-links {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

        .footer-link {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 300;
            transition: color 0.3s ease;
            position: relative;
        }

        .footer-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1px;
            background: #189168;
            transition: width 0.3s ease;
        }

        .footer-link:hover {
            color: #189168;
        }

        .footer-link:hover::after {
            width: 100%;
        }

        .footer-bottom {
            padding-top: 3rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
        }

        .footer-logo {
            width: 150px;
            height: auto;
            filter: brightness(0) invert(1);
            opacity: 0.5;
        }

        .footer-legal {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.5rem;
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.4);
            text-align: center;
        }

        .footer-legal .separator {
            color: rgba(255, 255, 255, 0.2);
        }

        .legal-link {
            color: rgba(255, 255, 255, 0.4);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .legal-link:hover {
            color: rgba(255, 255, 255, 0.6);
        }

        /* Short screen height handling - for laptops with limited vertical space */
        @media (max-height: 800px) and (min-width: 1025px) {
            .service-section {
                min-height: 100vh; /* Keep full height */
                padding: 4rem 0;
            }
            
            .service-container {
                height: 100%;
                display: flex;
                flex-direction: column;
            }
            
            .service-layout {
                gap: 2rem;
            }
            
            .service-box {
                padding: 2rem;
            }
            
            .service-box h3 {
                font-size: 1.1rem;
                margin-bottom: 0.8rem;
            }
            
            .service-box p {
                font-size: 0.9rem;
                line-height: 1.5;
            }
            
            .building-center {
                height: 350px; /* Slightly smaller */
            }
            
            .building-3d {
                transform: scale(0.85);
            }
            
            .section-header {
                margin-bottom: 2rem;
            }
            
            .section-header h2 {
                font-size: 2rem;
            }
        }
        
        /* Very short screens (some laptops have 720px or less) */
        @media (max-height: 720px) and (min-width: 1025px) {
            .service-section {
                min-height: 100vh; /* Keep full height */
                padding: 3rem 0;
            }
            
            .service-layout {
                gap: 1.5rem;
            }
            
            .service-box {
                padding: 1.5rem;
            }
            
            .building-center {
                height: 300px;
            }
            
            .building-3d {
                transform: scale(0.75);
            }
        }
        
        /* Ultra-short screens - switch to horizontal scroll */
        @media (max-height: 650px) and (min-width: 1025px) {
            .service-section {
                min-height: 100vh; /* Keep full height */
                overflow: hidden;
            }
            
            .service-container {
                height: 100%;
                display: flex;
                flex-direction: column;
            }
            
            /* Alternative: make service boxes scrollable */
            .service-layout {
                max-height: calc(100vh - 200px);
                overflow-y: auto;
                padding-right: 1rem;
            }
            
            /* Custom scrollbar for service section */
            .service-layout::-webkit-scrollbar {
                width: 6px;
            }
            
            .service-layout::-webkit-scrollbar-track {
                background: rgba(24, 145, 104, 0.1);
                border-radius: 3px;
            }
            
            .service-layout::-webkit-scrollbar-thumb {
                background: rgba(24, 145, 104, 0.3);
                border-radius: 3px;
            }
            
            .service-layout::-webkit-scrollbar-thumb:hover {
                background: rgba(24, 145, 104, 0.5);
            }
        }
        
        /* JavaScript-based classes for more precise control */
        body.short-screen .service-section {
            min-height: 100vh; /* Always full height */
            padding: 4rem 0;
        }
        
        body.short-screen .service-container {
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        body.short-screen .service-box {
            padding: 2rem;
        }
        
        body.short-screen .building-3d {
            transform: scale(0.85);
        }
        
        body.very-short-screen .service-section {
            min-height: 100vh; /* Always full height */
            padding: 3rem 0;
        }
        
        body.very-short-screen .service-container {
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        body.very-short-screen .service-box {
            padding: 1.5rem;
        }
        
        body.very-short-screen .service-box h3 {
            font-size: 1.1rem;
        }
        
        body.very-short-screen .building-3d {
            transform: scale(0.75);
        }
        
        body.ultra-short-screen .service-section {
            min-height: 100vh; /* Always full height */
            padding: 2rem 0;
        }
        
        body.ultra-short-screen .service-container {
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        body.ultra-short-screen .service-layout {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 1rem;
        }
        
        body.ultra-short-screen .service-box {
            flex: 0 0 calc(50% - 0.5rem);
            padding: 1.2rem;
        }
        
        body.ultra-short-screen .building-center {
            display: none; /* Hide building on ultra-short screens to save space */
        }
        
        body.ultra-short-screen .section-header {
            margin-bottom: 1.5rem;
        }
        
        body.ultra-short-screen .section-header h2 {
            font-size: 1.8rem;
        }
        
        /* Responsive */
        @media (max-width: 1024px) {
            .service-layout {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .building-center {
                position: relative;
                width: 100%;
                height: 300px;
                margin: 3rem 0;
            }
            
            .building-layer {
                width: 100%;
            }
        }

        /* Mobile Menu Styles */
        @media (max-width: 768px) {
            /* Menu overlay mobile */
            .menu-container {
                padding: 2rem 1.5rem;
                align-items: flex-start;
            }
            
            .menu-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                padding-top: 4rem;
            }
            
            .menu-nav {
                border-right: none;
                padding-right: 0;
                gap: 1.2rem;
            }
            
            .menu-nav-link {
                font-size: 1.5rem;
                font-weight: 400;
            }
            
            /* Hide entire footer content on mobile - just show nav */
            .menu-footer-content {
                display: none;
            }
            
            .menu-column h3 {
                font-size: 0.8rem;
                margin-bottom: 1rem;
            }
            
            .menu-phone {
                font-size: 1.1rem;
            }
            
            .menu-social-links {
                margin-top: 1rem;
            }
            
            .menu-office-list {
                gap: 1rem;
            }
            
            .menu-office-item {
                gap: 0.2rem;
            }
            
            .menu-close {
                top: 1rem;
                right: 1rem;
                width: 40px;
                height: 40px;
            }
            
            .menu-close span {
                width: 24px;
            }
        }
        
        /* Comprehensive Mobile Styles */
        @media (max-width: 768px) {
            /* Fix mobile scrolling */
            html, body {
                overflow-x: hidden;
                overflow-y: auto !important;
                height: auto !important;
            }
            
            #smooth-wrapper,
            #smooth-content {
                height: auto !important;
                overflow: visible !important;
            }
            
            /* General */
            .section {
                padding: 3rem 1rem;
                min-height: auto;
            }
            
            /* Typography */
            h1 { font-size: 2rem; }
            h2 { font-size: 1.5rem; }
            h3 { font-size: 1.2rem; }
            p { font-size: 0.9rem; }
            
            /* Hero Section */
            .hero-section {
                min-height: 100vh;
            }
            
            .hero-logo {
                max-width: 200px;
            }
            
            .hero-title {
                font-size: 2rem;
            }
            
            /* About Section */
            .about-content {
                flex-direction: column;
                gap: 2rem;
            }
            
            .about-text,
            .about-stats {
                width: 100%;
            }
            
            .stats-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .stat-card {
                padding: 2rem;
            }
            
            /* Services Section */
            .service-layout {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .service-box {
                padding: 1.5rem;
                margin-bottom: 0;
            }
            
            .building-center {
                position: relative;
                width: 100%;
                height: 180px;
                margin: 1rem 0;
                order: -1; /* Move to top on mobile */
            }
            
            .building-3d {
                transform: scale(0.7);
            }
            
            .building-layer {
                width: 150px;
            }
            
            /* Horizontal Scroll Sections - Desktop styles (mobile handled in JS) */
        @media (min-width: 769px) {
            #companiesWrapper,
            #valuesWrapper,
            #timelineWrapper {
                display: flex;
                overflow: visible;
                gap: 5vw;
                padding: 0 10vw;
            }
        }
        
        /* Horizontal Scroll Sections - Native scroll on mobile */
        @media (max-width: 768px) {
            #companiesWrapper,
            #valuesWrapper,
            #timelineWrapper {
                display: flex;
                overflow-x: auto;
                overflow-y: hidden;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
                padding: 1rem;
                gap: 1rem;
                /* Hide scrollbar */
                scrollbar-width: none;
                -ms-overflow-style: none;
            }
            
            #companiesWrapper::-webkit-scrollbar,
            #valuesWrapper::-webkit-scrollbar,
            #timelineWrapper::-webkit-scrollbar {
                display: none;
            }
        }
            
            .company-card {
                min-width: 85vw;
                max-width: 85vw;
                height: 400px;
                flex-shrink: 0;
            }
            
            .value-card {
                min-width: 85vw;
                max-width: 85vw;
                height: 320px;
                flex-shrink: 0;
                padding: 1.5rem;
            }
            
            .timeline-card {
                min-width: 85vw;
                max-width: 85vw;
                flex-shrink: 0;
            }
            
            /* Remove GSAP transforms on mobile */
            .companies-section,
            .values-section,
            .timeline-section {
                overflow: visible;
            }
            
            .timeline-year {
                font-size: 4rem;
            }
            
            .timeline-title {
                font-size: 1.1rem;
            }
            
            /* Mission Section */
            .mission-content {
                flex-direction: column;
                gap: 2rem;
            }
            
            .mission-text,
            .mission-image {
                width: 100%;
            }
            
            /* Leadership Section */
            .leadership-grid {
                flex-direction: column;
                gap: 0.75rem;
                width: 100%;
                padding: 0 1rem;
            }
            
            .leader-card {
                width: 100%;
                height: auto;
                min-height: 70px;
                max-height: none;
                flex-direction: row;
                border-radius: 8px;
            }
            
            .leader-card.active {
                min-width: 100%;
                min-height: auto;
                flex-direction: column;
                padding: 1.5rem;
            }
            
            .leader-card:not(.active) .leader-content,
            .leader-card:not(.active) .leader-image-section {
                display: none;
            }
            
            .leader-card:not(.active) .collapsed-content {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                padding: 1rem 1.5rem;
                width: 100%;
            }
            
            
            .collapsed-name {
                font-size: 1rem;
                margin-bottom: 0.25rem;
            }
            
            .collapsed-title {
                font-size: 0.875rem;
                opacity: 0.7;
            }
            
            /* Removed duplicate collapsed-image styles - see line 3611 for active styles */
            
            .leader-card.active .leader-image {
                height: 200px;
                margin-bottom: 1rem;
                margin-left: auto;
            }
            
            .leader-card.active .leader-bio {
                font-size: 0.9rem;
                line-height: 1.5;
            }
            
            /* Project Gallery */
            .project-gallery {
                height: 200px;
            }
            
            .gallery-track {
                gap: 0.5rem;
                animation-duration: 90s !important; /* Slow down gallery on mobile */
            }
            
            .gallery-image {
                min-width: 150px;
            }
            
            /* Timeline Cards Mobile */
            .timeline-card {
                width: 300px;
                padding: 1.5rem;
            }
            
            .timeline-card-thumbnail {
                height: 150px;
            }
            
            .timeline-card-title {
                font-size: 1.25rem;
            }
            
            .timeline-card-year {
                font-size: 1rem;
            }
            
            /* Footer */
            .footer-section {
                min-height: auto;
                padding: 3rem 1rem 2rem;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                gap: 2.5rem;
                text-align: left;
            }
            
            .footer-column {
                text-align: left;
            }
            
            .footer-column h3 {
                font-size: 0.8rem;
                margin-bottom: 1rem;
            }
            
            .social-links {
                justify-content: start;
                margin-top: 1rem;
            }
            
            .office-list {
                gap: 1rem;
                align-items: left;
            }
            
            .company-links {
                align-items: left;
                gap: 0.6rem;
            }
            
            .footer-bottom {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
                padding-top: 2rem;
            }
            
            .footer-legal {
                font-size: 0.7rem;
                /* Keep horizontal layout on mobile */
                flex-direction: row;
                gap: 0.25rem;
            }
            
            .separator {
                /* Keep pipes visible on mobile */
                display: inline;
                margin: 0 0.25rem;
            }
            
            /* Mobile Menu Button - Ensure it's visible */
            .mobile-menu-btn {
                display: flex;
            }
            
            /* Touch-friendly buttons */
            button,
            .btn {
                min-height: 44px;
                min-width: 44px;
            }
            
            /* Disable complex animations on mobile */
            * {
                animation: none !important;
                transition: opacity 0.3s ease !important;
            }
            
            /* Remove GPU-intensive elements */
            .orb,
            .grid-bg::before,
            .grid-bg::after,
            .dissolve-grid {
                display: none !important;
            }
            
            /* Building layers - allow animation to control opacity */
            .building-layer {
                display: block !important;
            }
            
            /* Disable blur effects */
            .orb,
            .hero-gradient,
            .video-gradient-overlay {
                filter: none !important;
                backdrop-filter: none !important;
            }
            
            /* Remove will-change properties */
            * {
                will-change: auto !important;
            }
            
            .stat-number,
            .stat-card {
                opacity: 1 !important;
                transform: none !important;
            }
            
            /* Disable parallax and 3D transforms */
            [data-speed] {
                transform: none !important;
            }
            
            .building-3d {
                transform: none !important;
                filter: none !important;
            }
        }
        
        /* Tablet Styles */
        @media (min-width: 769px) and (max-width: 1024px) {
            /* General section adjustments */
            section:not(.hero-section) {
                min-height: auto !important;
                padding: 6rem 2rem !important;
            }
            
            /* Services */
            .service-section {
                opacity: 1 !important;
                visibility: visible !important;
            }
            
            .service-layout {
                gap: 3rem !important;
            }
            
            .service-box {
                padding: 2.5rem;
                opacity: 1 !important;
                transform: none !important;
                visibility: visible !important;
            }
            
            .building-center {
                position: relative !important;
            }
            
            .building-3d,
            .building-layer {
                opacity: 1 !important;
                visibility: visible !important;
            }
            
            /* Horizontal scroll sections */
            .companies-wrapper,
            .values-wrapper,
            .timeline-wrapper {
                overflow-x: auto !important;
                scroll-snap-type: x mandatory !important;
                -webkit-overflow-scrolling: touch !important;
            }
            
            .company-card {
                flex: 0 0 400px !important;
                height: auto !important;
                min-height: 450px !important;
            }
            
            .value-card {
                flex: 0 0 350px !important;
                opacity: 1 !important;
                transform: none !important;
            }
            
            /* Leadership */
            .leaders-grid {
                overflow-x: auto !important;
                scroll-snap-type: x mandatory !important;
                display: flex !important;
                gap: 1.5rem !important;
            }
            
            .leader-card {
                flex: 0 0 350px !important;
            }
            
            .leader-card.active {
                flex: 0 0 700px !important;
                border-top-left-radius: 1rem !important;
                border-top-right-radius: 1rem !important;
                display: flex !important;
                flex-direction: column !important;
                align-items: stretch !important;
            }
            
            /* Timeline */
            .timeline-card {
                flex: 0 0 400px !important;
            }
        }
        
        /* Footer legal text - keep horizontal on all screens */
        .footer-legal {
            font-size: 0.7rem;
            white-space: nowrap; /* Prevent wrapping on small screens */
            overflow-x: auto; /* Allow horizontal scroll if needed */
        }
        
        .footer-legal .separator {
            display: inline;
            margin: 0 0.25rem;
        }
        
        .footer-legal span,
        .footer-legal a {
            display: inline; /* Keep inline for horizontal layout */
            width: auto;
        }
        
        /* ============================================
           MOBILE SCROLLING FIX & COMPREHENSIVE MOBILE STYLES
           ============================================ */
        @media (max-width: 768px) {
            html, body {
                height: auto !important;
                overflow: auto !important;
                overflow-x: hidden !important;
            }
            
            /* Change all font-weight 100 to 200 for better readability */
            .section-header h2,
            .about-text p,
            .stat-number,
            .mission-text,
            .value-card h3,
            .timeline-card-title {
                font-weight: 200 !important;
            }
            
            #smooth-wrapper,
            #smooth-content {
                height: auto !important;
                overflow: visible !important;
                transform: none !important;
                position: static !important;
            }
            
            /* Disable snap scrolling on mobile */
            section {
                scroll-snap-align: none !important;
            }
            
            /* Reset section heights for natural flow */
            section:not(.hero-section) {
                height: auto !important;
                min-height: auto !important;
                padding: 4rem 0 !important;
            }
            
            /* Ensure all section headers have consistent padding */
            .section-header {
                padding: 0 1rem !important;
                margin-bottom: 2rem !important;
            }
            
            /* Hero section stays full height */
            .hero-section {
                min-height: 100vh;
            }
            
            /* SERVICE SECTION - Make visible on mobile */
            .service-section {
                opacity: 1 !important;
                visibility: visible !important;
                padding: 4rem 0 !important;
            }
            
            .service-container {
                padding: 0 1rem !important;
            }
            
            .service-layout {
                display: flex !important;
                flex-direction: column !important;
                gap: 2rem !important;
            }
            
            .service-box {
                opacity: 1 !important;
                transform: none !important;
                visibility: visible !important;
                padding: 2rem !important;
                margin-bottom: 1.5rem;
                text-align: left !important;
            }
            
            .building-center {
                position: relative !important;
                margin: 0 !important;
                height: 250px !important;
                display: block !important;
                order: 10 !important; /* Place after service boxes */
                grid-column: 1 / -1 !important; /* Span full width */
            }
            
            .building-3d {
                opacity: 1 !important;
                visibility: visible !important;
                position: relative !important;
                height: 100% !important;
                width: 100% !important;
            }
            
            .building-layer {
                opacity: 0;
                transform: translate(-50%, -50%) scale(1.5) !important; /* Make bigger */
                visibility: visible !important;
                position: absolute !important;
                max-width: 100% !important;
                width: 70% !important;
                height: auto !important;
                display: block !important;
            }
            
            .building-layer[data-layer="1"] { z-index: 1 !important; }
            .building-layer[data-layer="2"] { z-index: 2 !important; }
            .building-layer[data-layer="3"] { z-index: 3 !important; }
            .building-layer[data-layer="4"] { z-index: 4 !important; }
            
            /* Remove forced opacity so animation can work */
            .building-3d img {
                display: block !important;
            }
            
            /* COMPANIES SECTION - Fix card layout */
            .companies-section {
                padding: 4rem 0 !important;
            }
            
            .companies-container {
                padding: 0 !important;
            }
            
            .companies-header {
                padding: 0 1rem !important;
                margin-bottom: 1rem !important; /* Reduce top padding */
            }
            
            /* Fix company card touch state logo issue */
            .company-card:active .company-logo img {
                filter: brightness(0) invert(1) !important; /* Keep white on touch */
            }
            
            .companies-wrapper {
                padding: 0 !important;
                overflow-x: auto !important;
                scroll-snap-type: x mandatory !important;
                -webkit-overflow-scrolling: touch !important;
                display: flex !important;
                gap: 1rem !important;
                padding-bottom: 1rem !important;
            }
            
            .companies-wrapper::-webkit-scrollbar {
                height: 4px;
            }
            
            .companies-wrapper::-webkit-scrollbar-track {
                background: rgba(255, 255, 255, 0.1);
            }
            
            .companies-wrapper::-webkit-scrollbar-thumb {
                background: #189168;
                border-radius: 2px;
            }
            
            .company-card {
                flex: 0 0 85vw !important;
                height: auto !important;
                min-height: 400px !important;
                scroll-snap-align: center !important;
                margin: 0 0.5rem !important;
            }
            
            .company-card:first-child {
                margin-left: 1rem !important;
            }
            
            .company-card:last-child {
                margin-right: 1rem !important;
            }
            
            .card-bottom {
                position: relative !important;
                height: auto !important;
                padding: 1.5rem !important;
            }
            
            /* LEADERSHIP SECTION - Tab layout for mobile */
            .leadership-section {
                padding: 4rem 0 !important;
            }
            
            .leadership-container {
                padding: 0 1rem !important;
            }
            
            .leadership-grid {
                display: block !important;
                overflow: visible !important;
                padding: 0 !important;
                margin: 0 !important;
            }
            
            .leader-card {
                width: 100% !important;
                margin-bottom: 1rem !important;
                border-radius: 1rem !important;
                cursor: pointer !important;
                min-height: auto !important;
                height: auto !important;
                position: relative !important;
                pointer-events: auto !important;
                -webkit-tap-highlight-color: transparent !important;
            }
            
            .leader-card:not(.active) {
                height: 70px !important;
                overflow: hidden !important;
                background: rgba(8, 18, 35, 0.5) !important;
                border: 1px solid rgba(24, 145, 104, 0.1) !important;
                display: flex !important;
                align-items: center !important;
            }
            
            .leader-card:not(.active) .leader-content,
            .leader-card:not(.active) .leader-image-section {
                display: none !important;
            }
            
            .leader-card:not(.active) .collapsed-content {
                display: flex !important;
                align-items: center !important;
                justify-content: space-between !important;
                padding: 1rem !important;
                height: 70px !important;
                width: 100% !important;
                flex-direction: row !important;
                position: relative !important;
            }
            
            .collapsed-content {
                width: 100% !important;
                display: none !important; /* Hidden by default */
            }
            
            .leader-card:not(.active) .collapsed-content {
                display: flex !important; /* Show only when not active */
            }
            
            .collapsed-text {
                flex: 1 1 auto !important;
                text-align: left !important;
                display: flex !important;
                flex-direction: column !important;
                justify-content: center !important;
                gap: 0.25rem !important;
                writing-mode: initial !important;
                transform: none !important;
                padding-right: 0 !important;
                padding-bottom: 0 !important;
            }
            
            .collapsed-name {
                font-size: 1rem !important;
                margin: 0 !important;
                font-weight: 300 !important;
                color: #ffffff !important;
                line-height: 1.3 !important;
            }
            
            .collapsed-title {
                font-size: 0.8rem !important;
                color: #189168 !important;
                font-weight: 400 !important;
                text-transform: uppercase !important;
                letter-spacing: 0.05em !important;
                margin: 0 !important;
                line-height: 1.2 !important;
            }
            
            .collapsed-image {
                width: 45px !important;
                height: 45px !important;
                border-radius: 50% !important;
                margin-left: auto !important;
                margin-right: 0 !important;
                flex-shrink: 0 !important;
                background-size: cover !important;
                background-position: center !important;
                background-repeat: no-repeat !important;
                border: 1px solid rgba(24, 145, 104, 0.2) !important;
                position: static !important; /* Override absolute positioning */
                display: block !important;
                opacity: 1 !important;
                visibility: visible !important;
                bottom: auto !important;
                left: auto !important;
                transform: none !important;
                z-index: auto !important;
            }
            
            .leader-card.active {
                border-top-left-radius: 1rem !important;
                border-top-right-radius: 1rem !important;
                border-bottom-left-radius: 0 !important;
                border-bottom-right-radius: 0 !important;
                margin-bottom: 1rem !important;
                padding: 1.5rem !important;
                height: auto !important;
            }
            
            .leader-card.active .collapsed-content {
                display: none !important;
            }
            
            .leader-card.active .leader-content {
                display: block !important;
            }
            
            /* Desktop image section handled in active card layout */
            
            /* No need for duplicate mobile elements */
            
            /* Active card layout already defined above */
            
            /* Bio and content styles handled in active card layout above */
            
            /* Active card mobile layout - vertical with image on top */
            .leader-card.active {
                display: flex !important;
                flex-direction: column !important;
                align-items: flex-start !important;
                padding: 1.5rem !important;
                height: auto !important;
            }
            
            .leader-card.active .leader-image-section {
                order: 1 !important;
                display: block !important;
                opacity: 1 !important;
                margin-bottom: 1.5rem !important;
                width: 100% !important;
                text-align: center !important;
            }
            
            .leader-card.active .leader-content {
                order: 2 !important;
                width: 100% !important;
                padding: 0 !important;
            }
            
            .leader-card.active .leader-image {
                width: 120px !important;
                height: 120px !important;
                margin: 0 auto !important;
            }
            
            .leader-card.active .leader-name {
                font-size: 1.5rem !important;
                margin-bottom: 0.5rem !important;
                text-align: left !important;
            }
            
            .leader-card.active .leader-title {
                font-size: 1rem !important;
                margin-bottom: 1rem !important;
                text-align: left !important;
            }
            
            .leader-card.active .leader-bio {
                text-align: left !important;
                padding: 0 !important;
                max-height: none !important;
                overflow: visible !important;
            }
            
            /* Image section styles handled in active card layout above */
            
            /* Remove swipe indicator for leadership */
            #leadership + .swipe-indicator {
                display: none !important;
            }
            
            /* Fix leadership grid styling */
            .leadership-grid {
                grid-template-columns: 1fr !important;
            }
            
            /* VALUES SECTION - Mobile scroll */
            .values-section {
                padding: 4rem 0 !important;
            }
            
            .values-container {
                padding: 0 !important;
            }
            
            .values-container .section-header {
                padding: 0 1rem !important;
            }
            
            .values-wrapper {
                overflow-x: auto !important;
                scroll-snap-type: x mandatory !important;
                -webkit-overflow-scrolling: touch !important;
                padding: 0 !important;
                margin: 0 !important;
            }
            
            .values-wrapper::-webkit-scrollbar {
                height: 4px;
            }
            
            .values-wrapper::-webkit-scrollbar-track {
                background: rgba(255, 255, 255, 0.1);
            }
            
            .values-wrapper::-webkit-scrollbar-thumb {
                background: #189168;
                border-radius: 2px;
            }
            
            .value-card {
                flex: 0 0 85vw !important;
                scroll-snap-align: center !important;
                height: auto !important;
                min-height: 400px !important;
                opacity: 1 !important;
                transform: none !important;
            }
            
            .value-card:first-child {
                margin-left: 1rem !important;
            }
            
            .value-card:last-child {
                margin-right: 1rem !important;
            }
            
            .value-card h3 {
                font-size: 2rem !important;
            }
            
            /* TIMELINE SECTION - Mobile layout */
            .timeline-section {
                padding: 4rem 0 !important;
                overflow: hidden !important;
            }
            
            .timeline-container {
                overflow: visible !important;
                padding: 0 !important;
            }
            
            .timeline-container .section-header {
                padding: 0 1rem !important;
            }
            
            .timeline-wrapper {
                overflow-x: scroll !important;
                overflow-y: hidden !important;
                scroll-snap-type: x mandatory !important;
                -webkit-overflow-scrolling: touch !important;
                padding: 0 !important;
                margin: 0 !important;
                display: flex !important;
                gap: 1rem !important;
                padding-bottom: 1rem !important;
                position: relative !important;
                width: 100vw !important;
                transform: none !important;
            }
            
            .timeline-wrapper::-webkit-scrollbar {
                height: 4px;
            }
            
            .timeline-wrapper::-webkit-scrollbar-track {
                background: rgba(255, 255, 255, 0.1);
            }
            
            .timeline-wrapper::-webkit-scrollbar-thumb {
                background: #189168;
                border-radius: 2px;
            }
            
            .timeline-card {
                flex: 0 0 85vw !important;
                scroll-snap-align: center !important;
                margin: 0 0.5rem !important;
                position: relative !important;
                z-index: 2 !important;
            }
            
            .timeline-card:first-child {
                margin-left: 1rem !important;
            }
            
            .timeline-card:last-child {
                margin-right: 1rem !important;
            }
            
            .timeline-progress-container,
            .timeline-progress,
            .timeline-dots-container {
                display: none !important;
            }
            
            /* About section */
            .about-section {
                padding: 4rem 0 !important;
            }
            
            .about-container {
                padding: 0 1rem !important;
            }
            
            .stats-grid {
                gap: 1.5rem !important;
                margin-top: 3rem !important;
            }
            
            .stat-card {
                padding: 2rem !important;
            }
            
            /* Mission section */
            .mission-section {
                padding: 4rem 0 !important;
                height: auto !important;
            }
            
            .mission-container {
                padding: 0 1rem !important;
            }
            
            .mission-text {
                font-size: 1.5rem !important;
                opacity: 1 !important;
                animation: none !important;
            }
            
            .mission-text-wrapper {
                padding: 2rem 0 !important;
            }
            
            /* Footer */
            footer {
                padding: 2rem 1rem !important;
            }
            
            .footer-section {
                padding: 2rem 1rem !important;
                min-height: auto !important;
            }
            
            /* Add swipe indicators */
            .swipe-indicator {
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 1rem 0;
                margin: 0 1rem;
                color: rgba(255, 255, 255, 0.5);
                font-size: 0.875rem;
                gap: 0.5rem;
            }
            
            .swipe-indicator::before,
			.swipe-indicator::after {
    			content: '\2192'; /* right arrow */
    			color: #189168;
    			animation: swipeArrow 2s ease-in-out infinite;
			}

			.swipe-indicator::before {
    			content: '\2190'; /* left arrow */
    			animation-direction: reverse;
			}
            
            @keyframes swipeArrow {
                0%, 100% { transform: translateX(0); opacity: 0.5; }
                50% { transform: translateX(5px); opacity: 1; }
            }
        }

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

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

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

.back-to-top svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}


/* Timeline Dots - Make clickable */
.timeline-dot {
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-dot:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.8);
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0e213e; /* Dark blue background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    max-width: 250px; /* Adjust as needed */
    height: auto;
    filter: brightness(0) invert(1); /* Ensure white logo on dark background */
}

.loading-indicator {
    display: flex;
    gap: 8px;
}

.loading-line {
    width: 10px;
    height: 30px;
    background-color: #189168; /* Green color */
    border-radius: 2px;
    animation: loading-animation 1.2s infinite ease-in-out;
}

.loading-line:nth-child(1) {
    animation-delay: 0s;
}

.loading-line:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-line:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loading-animation {
    0%, 100% {
        transform: scaleY(1);
        opacity: 1;
    }
    50% {
        transform: scaleY(0.4);
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .preloader-logo {
        max-width: 180px;
    }

    .loading-line {
        width: 8px;
        height: 25px;
    }
}

/* Solution 7: Scroll Hero Logo Styles */
.scroll-hero-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    text-align: center;
}

.scroll-hero-logo img {
    max-width: 600px;
    width: 80%;
    height: auto;
}

/* Ensure all other sections have proper backgrounds to cover the video */
section:not(.hero-section) {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .scroll-hero-logo img {
        max-width: 400px;
        width: 70%;
    }
}
