﻿/* CSS Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --background: 0 0% 4%;
            --foreground: 0 0% 100%;
            --card: 0 0% 6%;
            --card-foreground: 0 0% 100%;
            --popover: 0 0% 6%;
            --popover-foreground: 0 0% 100%;
            --primary: 12 100% 50%;
            --primary-foreground: 0 0% 100%;
            --secondary: 0 0% 12%;
            --secondary-foreground: 0 0% 100%;
            --muted: 0 0% 10%;
            --muted-foreground: 0 0% 65%;
            --accent: 12 100% 50%;
            --accent-foreground: 0 0% 100%;
            --destructive: 0 84.2% 60.2%;
            --destructive-foreground: 0 0% 100%;
            --border: 0 0% 18%;
            --input: 0 0% 10%;
            --ring: 12 100% 50%;
            --radius: 0.5rem;
            --racing-red: 12 100% 50%;
            --carbon-black: 0 0% 4%;
            --steel-gray: 0 0% 25%;
            --pure-white: 0 0% 100%;
            --luxury-silver: 0 0% 75%;
            --gradient-hero: linear-gradient(135deg, hsl(12 100% 50% / 0.4), hsl(0 0% 4% / 0.95));
            --gradient-card: linear-gradient(180deg, hsl(0 0% 6%), hsl(0 0% 8%));
            --shadow-dramatic: 0 20px 60px -10px hsl(12 100% 50% / 0.2);
            --shadow-card: 0 4px 20px hsl(0 0% 0% / 0.4);
            --shadow-glow: 0 0 40px hsl(12 100% 50% / 0.3);
            --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: hsl(var(--background));
            color: hsl(var(--foreground));
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
            padding-top: 0; /* Hero section handles its own spacing */
        }

        /* Subtle text shadows for better readability */
        p, .text-base, .text-lg, .text-sm {
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        }

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

        /* Header Styles */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 50;
            background-color: hsl(var(--secondary) / 0.95);
            backdrop-filter: blur(8px);
            border-bottom: none; /* Remove border to eliminate gap */
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            /* Performance optimizations */
            will-change: transform;
            transform: translateZ(0);
        }
        
        /* Reduce backdrop-filter on low-end devices for better performance */
        @media (max-width: 768px), (prefers-reduced-motion: reduce) {
            .header {
                backdrop-filter: blur(4px);
            }
        }
        
        .header.hidden {
            transform: translateY(-100%);
        }

        .nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 0;
        }

        .logo-container {
            padding-left: 1rem;
        }

        .logo {
            height: 2.5rem;
            width: auto;
            cursor: pointer;
            transition: var(--transition-smooth);
        }

        .logo:hover {
            opacity: 0.8;
        }

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

        .nav-link {
            color: hsl(var(--secondary-foreground));
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition-smooth);
        }

        .nav-link:hover {
            color: hsl(var(--primary));
        }

        /* Navigation Dropdown */
        .nav-dropdown {
            position: relative;
        }

        .nav-dropdown-toggle {
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .nav-dropdown-toggle::after {
            content: '▼';
            font-size: 0.6rem;
            transition: transform 0.3s ease;
            margin-left: 0.25rem;
        }

        .nav-dropdown:hover .nav-dropdown-toggle::after,
        .nav-dropdown.active .nav-dropdown-toggle::after {
            transform: rotate(180deg);
        }

        .nav-dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: hsl(var(--card));
            border-radius: 0.5rem;
            padding: 0.5rem 0;
            min-width: 200px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
            border: 1px solid hsl(var(--border) / 0.3);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 100;
            margin-top: 0.5rem;
        }

        .nav-dropdown:hover .nav-dropdown-menu,
        .nav-dropdown.active .nav-dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .nav-dropdown-item {
            display: block;
            padding: 0.75rem 1.5rem;
            color: hsl(var(--foreground));
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition-smooth);
            white-space: nowrap;
        }

        .nav-dropdown-item:hover {
            background: hsl(var(--primary) / 0.1);
            color: hsl(var(--primary));
        }

        /* Language Switcher */
        .language-switcher {
            position: relative;
            margin-left: 1rem;
        }

        .language-switcher-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background: hsl(var(--card));
            border: 1px solid hsl(var(--border) / 0.3);
            border-radius: 0.5rem;
            color: hsl(var(--foreground));
            font-weight: 600;
            font-size: 0.875rem;
            cursor: pointer;
            transition: var(--transition-smooth);
            white-space: nowrap;
        }

        .language-switcher-btn:hover {
            background: hsl(var(--primary) / 0.1);
            border-color: hsl(var(--primary) / 0.5);
            color: hsl(var(--primary));
        }

        .language-switcher-btn:focus {
            outline: none;
            box-shadow: 0 0 0 3px hsl(var(--ring) / 0.15), 0 0 0 1px hsl(var(--primary));
        }

        .language-switcher-current {
            font-weight: 600;
        }

        .language-switcher-arrow {
            font-size: 0.6rem;
            transition: transform 0.3s ease;
            opacity: 0.7;
        }

        .language-switcher-btn[aria-expanded="true"] .language-switcher-arrow {
            transform: rotate(180deg);
        }

        .language-switcher-menu {
            position: absolute;
            top: calc(100% + 0.5rem);
            right: 0;
            background: hsl(var(--card));
            border-radius: 0.5rem;
            padding: 0.5rem 0;
            min-width: 150px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
            border: 1px solid hsl(var(--border) / 0.3);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 100;
        }

        .language-switcher-menu.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .language-switcher-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1.25rem;
            color: hsl(var(--foreground));
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition-smooth);
            white-space: nowrap;
        }

        .language-switcher-item:hover {
            background: hsl(var(--primary) / 0.1);
            color: hsl(var(--primary));
        }

        .language-flag {
            font-size: 1.25rem;
            line-height: 1;
        }

        .language-name {
            font-size: 0.875rem;
        }

        @media (max-width: 968px) {
            .language-switcher {
                margin-left: 0.5rem;
            }

            .language-switcher-btn {
                padding: 0.5rem 0.75rem;
                font-size: 0.8125rem;
            }
        }

        /* Mobile Menu Dropdown */
        .mobile-menu-dropdown {
            position: relative;
        }

        .mobile-menu-dropdown-toggle {
            position: relative;
        }

        .mobile-menu-dropdown-toggle::after {
            content: '▼';
            font-size: 0.6rem;
            transition: transform 0.3s ease;
            margin-left: 0.5rem;
            display: inline-block;
        }

        .mobile-menu-dropdown.active .mobile-menu-dropdown-toggle::after {
            transform: rotate(180deg);
        }

        .mobile-menu-dropdown-menu {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: hsl(var(--card) / 0.5);
        }

        .mobile-menu-dropdown.active .mobile-menu-dropdown-menu {
            max-height: 500px;
        }

        .mobile-menu-dropdown-menu .mobile-menu-link {
            padding-left: 3rem;
            font-size: 0.9rem;
        }

        .sound-toggle {
            background: none;
            border: none;
            color: hsl(var(--secondary-foreground));
            font-size: 1.2rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 0.5rem;
            transition: var(--transition-smooth);
        }

        .sound-toggle:hover {
            background: hsl(var(--primary) / 0.1);
            color: hsl(var(--primary));
        }

        .sound-toggle.muted {
            opacity: 0.5;
        }

        .mobile-menu-btn {
            display: none !important;
            flex-direction: column;
            justify-content: space-around;
            width: 2rem;
            height: 2rem;
            min-width: 44px;
            min-height: 44px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0.25rem;
            z-index: 60;
            position: relative;
            align-items: center;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            user-select: none;
            -webkit-user-select: none;
        }

        .hamburger-line {
            width: 1.5rem;
            height: 0.1875rem;
            background-color: hsl(var(--secondary-foreground));
            border-radius: 0.125rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            transform-origin: center;
            display: block;
            margin: 0.125rem 0;
        }

        .mobile-menu-btn.active .hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(0.5rem, 0.5rem);
        }

        .mobile-menu-btn.active .hamburger-line:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-btn.active .hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(0.5rem, -0.5rem);
        }

        /* Mobile Menu Overlay */
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(4px);
            z-index: 55;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: none !important; /* Hidden on desktop by default */
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: 0;
            width: 85%;
            max-width: 320px;
            height: 100vh;
            background: var(--gradient-card);
            box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
            z-index: 60;
            transform: translateX(100%);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: none !important; /* Hidden on desktop by default */
            flex-direction: column;
            overflow-y: auto;
        }

        .mobile-menu.active {
            transform: translateX(0);
        }

        .mobile-menu-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.5rem;
            border-bottom: 1px solid hsl(var(--border) / 0.3);
        }

        .mobile-menu-logo {
            height: 2rem;
            width: auto;
        }

        .mobile-menu-close {
            background: none;
            border: none;
            color: hsl(var(--foreground));
            font-size: 2rem;
            cursor: pointer;
            padding: 0;
            width: 2rem;
            height: 2rem;
            min-width: 44px;
            min-height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition-smooth);
            border-radius: 0.5rem;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            user-select: none;
            -webkit-user-select: none;
        }

        .mobile-menu-close:hover {
            background-color: hsl(var(--primary) / 0.1);
            color: hsl(var(--primary));
        }

        .close-icon {
            line-height: 1;
            font-weight: 300;
        }

        .mobile-menu-nav {
            display: flex;
            flex-direction: column;
            padding: 1rem 0;
        }

        .mobile-menu-link {
            color: hsl(var(--foreground));
            text-decoration: none;
            padding: 1rem 1.5rem;
            font-weight: 500;
            font-size: 1rem;
            transition: var(--transition-smooth);
            border-bottom: 1px solid hsl(var(--border) / 0.1);
            display: flex;
            align-items: center;
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
            touch-action: manipulation;
            cursor: pointer;
        }

        .mobile-menu-link:hover {
            background-color: hsl(var(--primary) / 0.1);
            color: hsl(var(--primary));
            padding-left: 2rem;
        }

        .mobile-menu-link:active {
            background-color: hsl(var(--primary) / 0.2);
        }

        /* Prevent body scroll when menu is open */
        body.menu-open {
            overflow: hidden;
        }

        /* Hero Section */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            margin-top: -80px; /* Pull hero up to stick to header */
            padding-top: 80px; /* Account for fixed header height */
        }

        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 0;
            transform: translateZ(0);
            will-change: transform;
            /* GPU acceleration hints */
            backface-visibility: hidden;
            perspective: 1000px;
        }

        .hero-bg img,
        .hero-bg video,
        .hero-fallback-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero-bg video {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
        }

        .hero-fallback-image {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
        }

        .hero-gradient {
            position: absolute;
            inset: 0;
            background: var(--gradient-hero);
        }

        .hero-content {
            position: relative;
            z-index: 10;
            text-align: center;
            max-width: 4xl;
            margin: 0 auto;
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 700;
            color: hsl(var(--secondary-foreground));
            margin-bottom: 1.5rem;
            line-height: 1.1;
            text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .hero-title .primary {
            background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary) / 0.8));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: none;
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: hsl(var(--secondary-foreground) / 0.9);
            margin-bottom: 2rem;
            max-width: 32rem;
            margin-left: auto;
            margin-right: auto;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .hero-buttons {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            justify-content: center;
            align-items: center;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius);
            font-size: 1rem;
            font-weight: 600;
            transition: var(--transition-smooth);
            cursor: pointer;
            border: none;
            text-decoration: none;
        }

        .btn-hero {
            background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary) / 0.8));
            color: hsl(var(--primary-foreground));
            padding: 1.5rem 2rem;
            font-size: 1.125rem;
            box-shadow: var(--shadow-dramatic);
            position: relative;
            overflow: hidden;
        }

        .btn-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .btn-hero:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: var(--shadow-glow);
        }

        /* Add subtle hover sound effect */
        .btn-hero,
        .btn-outline {
            position: relative;
        }

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

        .btn-outline {
            background: hsl(var(--secondary-foreground) / 0.1);
            border: 1px solid hsl(var(--secondary-foreground));
            color: hsl(var(--secondary-foreground));
            padding: 1.5rem 2rem;
            font-size: 1.125rem;
            backdrop-filter: blur(4px);
        }

        .btn-outline:hover {
            background: hsl(var(--secondary-foreground));
            color: hsl(var(--secondary));
        }

        /* Enhanced Animations */
        @keyframes fade-in {
            0% { 
                opacity: 0; 
                transform: translateY(20px) scale(0.98); 
            }
            100% { 
                opacity: 1; 
                transform: translateY(0) scale(1); 
            }
        }

        @keyframes fade-in-up {
            0% { 
                opacity: 0; 
                transform: translateY(25px) scale(0.98); 
            }
            100% { 
                opacity: 1; 
                transform: translateY(0) scale(1); 
            }
        }

        @keyframes fade-in-left {
            0% { 
                opacity: 0; 
                transform: translateX(-30px) scale(0.98); 
            }
            100% { 
                opacity: 1; 
                transform: translateX(0) scale(1); 
            }
        }

        @keyframes fade-in-right {
            0% { 
                opacity: 0; 
                transform: translateX(30px) scale(0.98); 
            }
            100% { 
                opacity: 1; 
                transform: translateX(0) scale(1); 
            }
        }

        @keyframes scale-in {
            0% { 
                transform: scale(0.8) rotate(-2deg); 
                opacity: 0; 
            }
            100% { 
                transform: scale(1) rotate(0deg); 
                opacity: 1; 
            }
        }

        @keyframes slide-up {
            0% { 
                opacity: 0; 
                transform: translateY(35px) scale(0.98); 
            }
            100% { 
                opacity: 1; 
                transform: translateY(0) scale(1); 
            }
        }

        @keyframes fade-in-down {
            0% { 
                opacity: 0; 
                transform: translateY(-20px) scale(0.98); 
            }
            100% { 
                opacity: 1; 
                transform: translateY(0) scale(1); 
            }
        }

        /* Animation Classes - Simplified and Reliable */
        .animate-fade-in,
        .animate-fade-in-up,
        .animate-fade-in-left,
        .animate-fade-in-right,
        .animate-scale-in,
        .animate-slide-up,
        .animate-fade-in-down {
            opacity: 0;
            transform: translateY(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);
            /* GPU acceleration */
            will-change: opacity, transform;
        }
        
        /* Reduce animations on low-end devices */
        @media (prefers-reduced-motion: reduce) {
            .animate-fade-in,
            .animate-fade-in-up,
            .animate-fade-in-left,
            .animate-fade-in-right,
            .animate-scale-in,
            .animate-slide-up,
            .animate-fade-in-down {
                opacity: 1;
                transform: none;
                transition: none;
            }
        }

        /* Active animation state */
        .animate-active {
            opacity: 1 !important;
            transform: translateY(0) scale(1) !important;
        }

        /* Additional Interactive Animations */
        .benefit-item {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .benefit-item:hover {
            transform: translateX(10px);
        }

        .benefit-item:hover .benefit-icon {
            transform: scale(1.1);
            background-color: hsl(var(--primary) / 0.2);
        }

        .benefit-icon {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Enhanced smooth scroll behavior */
        html {
            scroll-behavior: smooth;
            scroll-padding-top: 80px; /* Account for fixed header */
        }
        
        /* First section after hero doesn't need extra top padding */
        .hero + .section {
            padding-top: 5rem; /* Standard padding, scroll-padding handles anchor offset */
        }
        
        /* Disable smooth scroll on low-end devices for better performance */
        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto;
            }
        }

        /* Loading animation for images */
        img {
            transition: opacity 0.3s ease-in-out;
        }

        img[src] {
            opacity: 1;
        }

        /* Responsive Design */
        @media (min-width: 640px) {
            .hero-buttons {
                flex-direction: row;
            }
        }

        @media (min-width: 769px) {
            /* Hide mobile menu elements on desktop */
            .mobile-menu-btn,
            .mobile-menu-overlay,
            .mobile-menu {
                display: none !important;
            }
            
            .hero-title {
                font-size: 4.5rem;
            }
            .hero-subtitle {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            .mobile-menu-btn {
                display: flex !important;
                pointer-events: auto !important;
                -webkit-touch-callout: none;
            }
            .mobile-menu-overlay {
                display: block !important; /* Show overlay on mobile */
                pointer-events: auto !important;
            }
            .mobile-menu {
                display: flex !important; /* Show menu on mobile */
                pointer-events: auto !important;
            }
            .logo-container {
                padding-left: 1rem;
                display: flex;
                justify-content: flex-start;
                width: auto;
            }
            
            /* Header adjustments */
            .header {
                padding: 0.75rem 0;
            }
            
            .nav {
                padding: 0 1.5rem;
                justify-content: space-between;
            }
            
            .logo {
                height: 2.5rem;
            }
        }

        /* Section Styles */
        .section {
            padding: 5rem 0;
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .section.animate-active {
            opacity: 1 !important;
            transform: translateY(0) !important;
        }

        /* Page section with header offset - for standalone pages */
        .page-section {
            padding-top: 8rem;
            padding-bottom: 3rem;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: hsl(var(--foreground));
            text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
        }

        .section-title .primary {
            color: hsl(var(--primary));
            background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary) / 0.8));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-subtitle {
            font-size: 1.25rem;
            color: hsl(var(--muted-foreground));
            max-width: 42rem;
            margin: 0 auto;
        }

        .section-text {
            font-size: 1.125rem;
            color: hsl(var(--muted-foreground));
            margin-bottom: 1.5rem;
        }

        .section-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .section-grid.reverse {
            direction: rtl;
        }

        .section-grid.reverse > * {
            direction: ltr;
        }

        .bg-muted {
            background-color: hsl(var(--muted) / 0.5);
        }

        .bg-secondary {
            background-color: hsl(var(--secondary));
            color: hsl(var(--secondary-foreground));
        }

        /* About Section with Background Image */
        #about {
            position: relative;
            background-image: url('../images/about.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }
        
        /* Performance: Use scroll instead of fixed on mobile and low-end devices */
        @media (max-width: 768px), (prefers-reduced-motion: reduce) {
            #about,
            #service-hero,
            #sale-cta,
            #rental-cta {
                background-attachment: scroll;
            }
        }

        #about::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.6));
            z-index: 0;
        }

        #about .container {
            position: relative;
            z-index: 1;
        }

        /* Service Hero Section with Background Image */
        #service-hero {
            position: relative;
            background-image: url('../images/service_header.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }

        #service-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.6));
            z-index: 0;
        }

        #service-hero .container {
            position: relative;
            z-index: 1;
        }

        #service-hero .section-title {
            color: hsl(var(--foreground));
        }

        #service-hero .section-subtitle {
            color: hsl(var(--foreground) / 0.9);
        }

        /* Sale CTA Section with Background Image */
        #sale-cta {
            position: relative;
            background-image: url('../images/sale_bg.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }

        #sale-cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.6));
            z-index: 0;
        }

        #sale-cta .container {
            position: relative;
            z-index: 1;
        }

        #sale-cta .section-title {
            color: hsl(var(--foreground));
        }

        #sale-cta .section-subtitle {
            color: hsl(var(--foreground) / 0.9);
        }

        /* Rental CTA Section with Background Image */
        #rental-cta {
            position: relative;
            background-image: url('../images/rental_bg.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }

        #rental-cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.6));
            z-index: 0;
        }

        #rental-cta .container {
            position: relative;
            z-index: 1;
        }

        #rental-cta .section-title {
            color: hsl(var(--foreground));
        }

        #rental-cta .section-subtitle {
            color: hsl(var(--foreground) / 0.9);
        }

        /* Benefits */
        .benefits {
            margin-top: 2rem;
        }

        .benefits-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: hsl(var(--foreground));
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .benefit-item {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }

        .benefit-icon {
            background-color: hsl(var(--primary) / 0.1);
            color: hsl(var(--primary));
            width: 1.5rem;
            height: 1.5rem;
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            flex-shrink: 0;
        }

        /* Enhanced Cards */
        .card {
            background: var(--gradient-card);
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: var(--shadow-card);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                        border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid hsl(var(--border) / 0.1);
            /* GPU acceleration */
            will-change: transform;
            transform: translateZ(0);
        }

        .card:hover {
            box-shadow: var(--shadow-dramatic);
            transform: translate3d(0, -8px, 0) scale(1.02);
            border-color: hsl(var(--primary) / 0.3);
        }

        .card-image {
            position: relative;
            aspect-ratio: 16/9;
            overflow: hidden;
        }

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

        .card-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.2);
        }

        .card-content {
            padding: 1.5rem;
        }

        .card-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: hsl(var(--foreground));
        }

        .card-text {
            color: hsl(var(--muted-foreground));
            line-height: 1.6;
        }

        /* Features Grid */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .feature-card {
            background: hsl(var(--secondary-foreground) / 0.05);
            border: 1px solid hsl(var(--secondary-foreground) / 0.1);
            border-radius: 1rem;
            padding: 2rem 1.5rem;
            text-align: center;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                        border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(8px);
            position: relative;
            overflow: hidden;
            /* GPU acceleration */
            will-change: transform;
            transform: translateZ(0);
        }
        
        /* Reduce backdrop-filter on mobile for better performance */
        @media (max-width: 768px) {
            .feature-card {
                backdrop-filter: blur(4px);
            }
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--primary) / 0.5));
            transform: scaleX(0);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .feature-card:hover {
            border-color: hsl(var(--primary) / 0.5);
            box-shadow: var(--shadow-dramatic);
            transform: translate3d(0, -5px, 0);
        }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

        .feature-icon {
            background-color: hsl(var(--primary) / 0.1);
            color: hsl(var(--primary));
            width: 3.5rem;
            height: 3.5rem;
            border-radius: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.75rem;
            margin: 0 auto 1rem;
            text-align: center;
            padding: 0;
            line-height: 1;
        }

        /* Visually center the target icon by adding padding to the left */
        .feature-icon-target {
            padding-left: 3px;
        }

        .feature-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: hsl(var(--secondary-foreground));
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .feature-text {
            color: hsl(var(--secondary-foreground) / 0.8);
        }

        /* Process Steps Grid */
        .process-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            margin-top: 3rem;
        }

        .process-step {
            background: hsl(var(--secondary-foreground) / 0.05);
            border: 1px solid hsl(var(--secondary-foreground) / 0.1);
            border-radius: 1rem;
            padding: 2rem 1.5rem;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(8px);
            position: relative;
            overflow: hidden;
        }

        .process-step::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--primary) / 0.5));
            transform: scaleX(0);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .process-step:hover {
            border-color: hsl(var(--primary) / 0.5);
            box-shadow: var(--shadow-dramatic);
            transform: translateY(-5px);
        }

        .process-step:hover::before {
            transform: scaleX(1);
        }

        .process-step-number {
            background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary) / 0.8));
            color: hsl(var(--primary-foreground));
            width: 3.5rem;
            height: 3.5rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0 auto 1.5rem;
            box-shadow: 0 4px 12px hsl(var(--primary) / 0.3);
        }

        .process-step-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: hsl(var(--foreground));
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .process-step-text {
            color: hsl(var(--muted-foreground));
            line-height: 1.6;
            font-size: 0.9375rem;
        }

        /* Services Summary Grid */
        .services-summary-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            margin-top: 3rem;
        }

        .service-summary-card {
            position: relative;
            border-radius: 1rem;
            padding: 0;
            text-align: center;
            transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                        box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                        border 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: var(--shadow-card);
            border: none;
            outline: none;
            display: block;
            cursor: pointer;
            color: inherit;
            min-height: 300px;
            overflow: hidden;
            /* GPU acceleration */
            will-change: transform;
            transform: translateZ(0);
        }

        /* Background image layer using ::after */
        .service-summary-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            border-radius: 1rem;
            z-index: 0;
            transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            transform: scale(1);
        }

        /* Overlay layer using ::before */
        .service-summary-card::before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.7));
            border-radius: calc(1rem + 10px);
            z-index: 1;
            transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .service-summary-card:hover::before {
            opacity: 0.9;
        }

        .service-summary-card:hover::after {
            transform: scale(1.1);
        }

        .service-summary-title {
            position: absolute;
            bottom: 5.5rem;
            left: 0;
            right: 0;
            z-index: 2;
            padding: 0 2rem;
            margin: 0;
        }

        .service-summary-text {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 2;
            padding: 0 2rem 1.5rem 2rem;
            margin: 0;
            line-height: 1.6;
        }

        .service-summary-card:hover {
            box-shadow: var(--shadow-dramatic);
            transform: translate3d(0, -8px, 0);
            border: 2px solid hsl(var(--primary) / 0.5);
            outline: none;
        }

        /* Background images for each service */
        .service-sales::after {
            background-image: url('../images/sales.jpeg');
        }

        .service-rental::after {
            background-image: url('../images/rental.jpeg');
        }

        .service-catalogue::after {
            background-image: url('../images/catalogue.jpeg');
        }

        .service-auctions::after {
            background-image: url('../images/eu_auctions.jpeg');
        }

        .service-summary-icon {
            display: none;
        }

        .service-summary-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: hsl(var(--foreground));
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.6);
        }

        .service-summary-text {
            color: hsl(var(--foreground) / 0.95);
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 0;
            text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6);
        }

        .service-summary-link {
            margin-top: auto;
            width: 100%;
            text-align: center;
        }

        /* Contact Section */
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
        }

        .contact-card {
            background: var(--gradient-card);
            border-radius: 1rem;
            padding: 1.5rem;
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                        border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: var(--shadow-card);
            border: 1px solid hsl(var(--border) / 0.1);
            /* GPU acceleration */
            will-change: transform;
            transform: translateZ(0);
        }

        .contact-card:hover {
            box-shadow: var(--shadow-dramatic);
            transform: translate3d(0, -5px, 0);
            border-color: hsl(var(--primary) / 0.3);
        }

        .contact-icon {
            background-color: hsl(var(--primary) / 0.1);
            color: hsl(var(--primary));
            width: 3rem;
            height: 3rem;
            border-radius: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .contact-title {
            font-size: 1.125rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
            color: hsl(var(--foreground));
        }

        .contact-text {
            color: hsl(var(--muted-foreground));
            margin-bottom: 0.25rem;
        }

        /* Phone number in contact section - red color */
        .contact-phone {
            color: hsl(var(--primary)) !important;
        }

        .contact-text a,
        .contact-text[href^="tel:"] {
            color: hsl(var(--primary));
            text-decoration: none;
        }

        .contact-text a:hover,
        .contact-text[href^="tel:"]:hover {
            color: hsl(var(--primary) / 0.8);
        }

        .contact-subtext {
            font-size: 0.875rem;
            color: hsl(var(--muted-foreground) / 0.7);
        }

        /* Form Styles */
        .form {
            padding: 2rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            font-size: 0.875rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: hsl(var(--foreground));
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
        }

        .form-input,
        .form-textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid hsl(var(--border));
            border-radius: var(--radius);
            background-color: hsl(var(--input));
            color: hsl(var(--foreground));
            font-size: 1rem;
            transition: var(--transition-smooth);
        }

        .form-input:focus,
        .form-textarea:focus {
            outline: none;
            border-color: hsl(var(--ring));
            box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
        }

        .form-textarea {
            resize: vertical;
            min-height: 6rem;
        }

        /* Universal Select Dropdown Styles - Cross-browser compatible */
        select,
        .form-input[type="select"],
        select.form-input {
            /* Remove default browser styling */
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            
            /* Custom arrow using background image */
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 0.875rem center;
            background-size: 0.75rem;
            padding-right: 2.5rem; /* Space for arrow */
            
            /* Ensure consistent styling */
            cursor: pointer;
            min-height: 44px; /* Touch-friendly on mobile */
        }
        
        /* Firefox specific - remove arrow */
        select::-moz-focus-inner {
            border: 0;
        }
        
        @-moz-document url-prefix() {
            select {
                text-indent: 0.01px;
                text-overflow: '';
            }
        }
        
        /* IE/Edge specific */
        select::-ms-expand {
            display: none;
        }
        
        /* Focus state for selects */
        select:focus {
            outline: none;
            border-color: hsl(var(--ring));
            box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
        }
        
        /* Disabled state */
        select:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999999' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
        }

        /* Number Input Spinner Controls - Permanently removed (except year inputs) */
        /* Remove spinner controls (Webkit browsers: Chrome, Safari, Edge) */
        input[type="number"]:not([id*="year"]):not([id*="Year"]):not(.year-input)::-webkit-inner-spin-button,
        input[type="number"]:not([id*="year"]):not([id*="Year"]):not(.year-input)::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        /* Remove spinner controls (Firefox) */
        input[type="number"]:not([id*="year"]):not([id*="Year"]):not(.year-input) {
            -moz-appearance: textfield;
        }

        /* Year Input Spinner Controls - Show only on focus, styled and positioned */
        /* Hide spinner controls by default (Webkit browsers) */
        input[type="number"][id*="year"]::-webkit-inner-spin-button,
        input[type="number"][id*="Year"]::-webkit-inner-spin-button,
        input[type="number"].year-input::-webkit-inner-spin-button,
        input[type="number"][id*="year"]::-webkit-outer-spin-button,
        input[type="number"][id*="Year"]::-webkit-outer-spin-button,
        input[type="number"].year-input::-webkit-outer-spin-button {
            opacity: 0 !important;
            cursor: pointer;
            transition: opacity 0.2s ease;
            margin-left: -1.5rem; /* Move spinner to the left, closer to the input */
        }

        /* Show spinner controls only on focus */
        input[type="number"][id*="year"]:focus::-webkit-inner-spin-button,
        input[type="number"][id*="Year"]:focus::-webkit-inner-spin-button,
        input[type="number"].year-input:focus::-webkit-inner-spin-button,
        input[type="number"][id*="year"]:focus::-webkit-outer-spin-button,
        input[type="number"][id*="Year"]:focus::-webkit-outer-spin-button,
        input[type="number"].year-input:focus::-webkit-outer-spin-button {
            opacity: 1 !important;
        }

        .w-full {
            width: 100%;
        }

        /* Alert/Notification Styles */
        .alert {
            padding: 1rem 1.25rem;
            border-radius: 0.75rem;
            margin-bottom: 1.5rem;
            font-size: 0.9375rem;
            font-weight: 500;
            display: none;
            animation: slideDown 0.3s ease-out;
            position: relative;
        }

        .alert.show {
            display: block;
        }

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

        .alert-success {
            background-color: rgba(34, 197, 94, 0.15);
            color: rgb(34, 197, 94);
            border: 1px solid rgba(34, 197, 94, 0.3);
        }

        .alert-error {
            background-color: rgba(239, 68, 68, 0.15);
            color: rgb(239, 68, 68);
            border: 1px solid rgba(239, 68, 68, 0.3);
        }

        .alert-info {
            background-color: rgba(59, 130, 246, 0.15);
            color: rgb(59, 130, 246);
            border: 1px solid rgba(59, 130, 246, 0.3);
        }

        .alert-close {
            position: absolute;
            top: 0.5rem;
            right: 0.75rem;
            background: none;
            border: none;
            color: inherit;
            font-size: 1.25rem;
            cursor: pointer;
            opacity: 0.7;
            transition: opacity 0.2s;
            line-height: 1;
            padding: 0;
            width: 1.5rem;
            height: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .alert-close:hover {
            opacity: 1;
        }

        /* Footer Styles */
        .footer {
            background-color: hsl(var(--background));
            color: hsl(var(--foreground));
            padding: 4rem 0 2rem;
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .footer.animate-active {
            opacity: 1;
            transform: translateY(0);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr;
            gap: 4rem;
            margin-bottom: 3rem;
            align-items: start;
        }

        .footer-logo {
            margin-bottom: 1rem;
        }

        .footer-logo img {
            max-width: 180px;
        }

        .footer-description {
            color: hsl(var(--muted-foreground));
            margin-bottom: 1.5rem;
            font-size: 0.875rem;
            line-height: 1.6;
            max-width: 400px;
        }

        .footer-description br {
            display: block;
        }

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

        .social-link {
            background-color: hsl(var(--foreground) / 0.1);
            color: hsl(var(--foreground));
            padding: 0.625rem;
            border-radius: 0.5rem;
            transition: var(--transition-smooth);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .social-link:hover {
            background-color: hsl(var(--primary) / 0.2);
            transform: translateY(-2px);
        }

        .footer-nav {
            display: flex;
            flex-direction: column;
            gap: 0;
        }

        .footer-title {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: hsl(var(--foreground));
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

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

        .footer-links {
            list-style: none;
            flex: 1;
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-link {
            color: hsl(var(--muted-foreground));
            text-decoration: none;
            font-size: 0.875rem;
            transition: var(--transition-smooth);
        }

        .footer-link:hover {
            color: hsl(var(--primary));
        }

        .footer-section {
            width: 100%;
        }

        .footer-newsletter-text {
            color: hsl(var(--muted-foreground));
            font-size: 0.75rem;
            margin-bottom: 0.75rem;
        }

        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .newsletter-input {
            padding: 0.5rem;
            border: 1px solid hsl(var(--secondary-foreground) / 0.2);
            border-radius: var(--radius);
            background-color: hsl(var(--secondary-foreground) / 0.1);
            color: hsl(var(--secondary-foreground));
            font-size: 0.875rem;
        }

        .newsletter-btn {
            padding: 0.5rem;
            font-size: 0.875rem;
        }

        .footer-bottom {
            border-top: 1px solid hsl(var(--foreground) / 0.1);
            padding-top: 2rem;
            text-align: center;
        }

        .footer-copyright {
            color: hsl(var(--muted-foreground));
            font-size: 0.875rem;
        }

        .footer-copyright-links {
            color: hsl(var(--muted-foreground));
            font-size: 0.875rem;
            text-align: center;
            margin-top: 0;
            display: inline;
        }

        .footer-bottom {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
        }

        .footer-legal-link {
            color: hsl(var(--muted-foreground));
            text-decoration: none;
            transition: var(--transition-smooth);
        }

        .footer-legal-link:hover {
            color: hsl(var(--primary));
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            /* Container and spacing adjustments */
            .container {
                padding: 0 1.5rem;
            }
            
            .section {
                padding: 3rem 0;
            }
            
            .page-section {
                padding-top: 6rem;
                padding-bottom: 2rem;
            }
            
            /* Typography adjustments */
            .hero-title {
                font-size: 2.25rem;
                line-height: 1.2;
                margin-bottom: 1rem;
            }
            
            .hero-subtitle {
                font-size: 1.125rem;
                margin-bottom: 1.5rem;
            }
            
            .section-title {
                font-size: 2rem;
                margin-bottom: 0.75rem;
            }
            
            .section-subtitle {
                font-size: 1.125rem;
            }
            
            .section-text {
                font-size: 1rem;
                margin-bottom: 1.25rem;
            }
            
            /* About section mobile improvements - already handled above with media query */
            
            .about-content {
                margin-top: 1.5rem;
            }
            
            .about-content .section-text {
                margin-bottom: 0;
            }
            
            .section-header .section-text {
                margin-bottom: 1rem;
            }
            
            /* Button adjustments */
            .btn-hero {
                padding: 1.25rem 1.5rem;
                font-size: 1rem;
            }
            
            .btn-outline {
                padding: 1rem 1.5rem;
                font-size: 0.95rem;
            }
            
            /* Grid layouts */
            .section-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .section-content {
                text-align: center;
            }
            
            .section-content .btn,
            .section-content .btn-outline {
                display: inline-block;
            }
            
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .process-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }
            
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            /* Increase footer container padding on mobile */
            .footer .container {
                padding: 0 1.5rem;
            }
            
            .footer-nav {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .footer-links-container {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 1.5rem;
            }
            
            .features-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .services-summary-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .service-summary-card {
                padding: 0;
                min-height: 280px;
            }
            
            .service-summary-icon {
                display: none;
            }
            
            .service-summary-title {
                font-size: 1.25rem;
                bottom: 5rem;
                padding: 0 1.5rem;
            }
            
            .service-summary-text {
                font-size: 0.9375rem;
                padding: 0 1.5rem 1.5rem 1.5rem;
                line-height: 1.5;
            }
            
            /* Card adjustments */
            .card {
                border-radius: 0.75rem;
            }
            
            .card-content {
                padding: 1.25rem;
            }
            
            .card-title {
                font-size: 1.25rem;
                margin-bottom: 0.75rem;
            }
            
            .card-text {
                font-size: 0.9375rem;
                line-height: 1.6;
            }
            
            .feature-card {
                padding: 1.5rem 1rem;
            }
            
            .contact-card {
                padding: 1.25rem;
            }
            
            /* Form adjustments */
            .form-input,
            .form-textarea {
                padding: 0.875rem;
                font-size: 1rem;
            }
            
            /* Image and video adjustments */
            .hero-bg img,
            .hero-bg video {
                object-position: center 30%;
            }
            
            /* Default: Disable video on mobile for better performance */
            /* Note: JavaScript can override this if ALLOW_MOBILE_VIDEO is enabled */
            .hero-bg video {
                display: none;
            }
            
            .hero-bg .hero-fallback-image {
                display: block;
            }
            
            /* Ensure video doesn't preload on mobile by default */
            .hero-bg video[preload] {
                preload: none;
            }
            
            /* Feature icons */
            .feature-icon {
                width: 3rem;
                height: 3rem;
                font-size: 1.25rem;
            }
            
            /* Benefits section */
            .benefit-item {
                margin-bottom: 1.25rem;
            }
            
            .benefit-icon {
                width: 2rem;
                height: 2rem;
                font-size: 0.875rem;
            }
        }
        
        /* Extra small devices */
        @media (max-width: 480px) {
            .container {
                padding: 0 1.5rem;
            }

            /* Increase footer container padding on extra small devices */
            .footer .container {
                padding: 0 1.5rem;
            }
            
            .section {
                padding: 2.5rem 0;
            }
            
            .hero-title {
                font-size: 1.875rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
            }
            
            .section-title {
                font-size: 1.75rem;
            }
            
            .section-text {
                font-size: 0.9375rem;
                margin-bottom: 1rem;
            }
            
            /* About section mobile improvements */
            .about-content {
                margin-top: 1.25rem;
            }
            
            .about-content .section-text {
                margin-bottom: 0;
            }
            
            .section-header .section-text {
                margin-bottom: 0.875rem;
            }
            
            .btn-hero {
                padding: 1rem 1.25rem;
                font-size: 0.95rem;
            }
            
            .btn-outline {
                padding: 0.875rem 1.25rem;
                font-size: 0.9rem;
            }
            
            .card-content {
                padding: 1rem;
            }
            
            .card-title {
                font-size: 1.125rem;
                margin-bottom: 0.5rem;
            }
            
            .card-text {
                font-size: 0.875rem;
            }
            
            .feature-card,
            .contact-card {
                padding: 1.25rem;
            }
            
            .process-grid {
                grid-template-columns: 1fr;
                gap: 1.25rem;
            }
            
            .process-step {
                padding: 1.5rem 1.25rem;
            }
            
            .process-step-number {
                width: 3rem;
                height: 3rem;
                font-size: 1.25rem;
                margin-bottom: 1rem;
            }
            
            .process-step-title {
                font-size: 1.125rem;
                margin-bottom: 0.75rem;
            }
            
            .process-step-text {
                font-size: 0.875rem;
            }
            
            .service-summary-card {
                min-height: 260px;
            }
            
            .service-summary-title {
                font-size: 1.125rem;
                bottom: 4.5rem;
                padding: 0 1.25rem;
            }
            
            .service-summary-text {
                font-size: 0.875rem;
                padding: 0 1.25rem 1.25rem 1.25rem;
            }
            
            .form-input,
            .form-textarea {
                padding: 0.75rem;
            }
            
            /* Touch-friendly adjustments */
            .btn {
                min-height: 44px; /* iOS recommended touch target */
            }
            
            .nav-link {
                min-height: 44px;
                display: flex;
                align-items: center;
            }
        }
        
        /* Touch and interaction improvements */
        @media (max-width: 768px) {
            /* Ensure touch targets are large enough */
            .btn,
            .nav-link,
            .mobile-menu-btn {
                min-height: 44px;
                min-width: 44px;
            }
            
            /* Improve touch feedback */
            .btn:active {
                transform: scale(0.98);
            }
            
            /* Better spacing for touch */
            .hero-buttons {
                gap: 1.25rem;
            }
            
            /* Prevent zoom on form inputs */
            .form-input,
            .form-textarea {
                font-size: 16px;
            }
            
            /* Mobile footer layout improvements */
            .footer-bottom {
                flex-direction: column;
                gap: 0.5rem;
            }

            .footer-copyright {
                text-align: center;
                line-height: 1.8;
                font-size: 0.875rem;
                margin: 0;
            }

            .footer-copyright-links {
                text-align: center;
                margin: 0;
            }
            
            .footer-copyright-links a {
                font-size: 0.875rem;
                display: inline;
                margin: 0;
            }

            .footer-description {
                white-space: normal;
            }

            .footer-description br {
                display: none;
            }
        }

        /* Ensure mobile menu is hidden on desktop - final override */
        @media (min-width: 769px) {
            .mobile-menu-btn,
            .mobile-menu-overlay,
            .mobile-menu {
                display: none !important;
                visibility: hidden !important;
                opacity: 0 !important;
            }

            /* Desktop footer improvements */
            .footer-grid {
                grid-template-columns: 1.5fr 1fr;
                gap: 5rem;
            }

            .footer-brand {
                max-width: 500px;
            }

            .footer-nav {
                justify-content: flex-start;
            }

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

            .footer-links {
                display: block;
                flex: 1;
            }
        }

        /* Large desktop improvements */
        @media (min-width: 1200px) {
            .footer-grid {
                grid-template-columns: 2fr 1fr;
                gap: 6rem;
            }

            .footer-description {
                max-width: 450px;
            }
        }