* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #A91D3A;
            --secondary-color: #C73659;
            --dark-bg: #151515;
            --light-bg: #EEEEEE;
            --white: #FFFFFF;
            --gray-100: #F8F9FA;
            --gray-200: #E9ECEF;
            --gray-300: #DEE2E6;
            --gray-600: #6C757D;
            --gray-800: #343A40;
            --text-dark: #151515;
            --text-light: #EEEEEE;
        }

        [data-theme="light"] {
            --bg-primary: var(--white);
            --bg-secondary: var(--light-bg);
            --bg-tertiary: var(--gray-100);
            --text-primary: #000000; /* Strong black for primary text */
            --text-secondary: #2d2d2d; /* Dark gray instead of pale gray */
            --border-color: var(--gray-300);
            /* Language switch variables */
            --nav-chip-bg: var(--gray-100);
            --nav-chip-fg: #000000; /* Strong black text */
            --nav-chip-border: var(--gray-300);
            --dd-bg: var(--white);
            --dd-fg: #000000; /* Strong black text */
            --dd-border: var(--gray-300);
            --dd-hover: var(--gray-100);
        }

        [data-theme="dark"] {
            --bg-primary: var(--dark-bg);
            --bg-secondary: #1a1a1a;
            --bg-tertiary: #222222;
            --text-primary: var(--text-light);
            --text-secondary: #B0B0B0;
            --border-color: #333333;
            /* Language switch variables */
            --nav-chip-bg: #222222;
            --nav-chip-fg: var(--text-light);
            --nav-chip-border: #333333;
            --dd-bg: #1a1a1a;
            --dd-fg: var(--text-light);
            --dd-border: #333333;
            --dd-hover: #222222;
        }

        body {
            font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background-color: var(--bg-primary);
            overflow-x: hidden;
            transition: all 0.3s ease;
            margin: 0;
            padding: 0;
            width: 100%;
            min-height: 100vh;
        }

        /* Ensure full width coverage on all devices */
        html {
            width: 100%;
            overflow-x: hidden;
        }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.3s ease;
            border-bottom: 1px solid var(--border-color);
        }

        [data-theme="dark"] .header {
            background: rgba(21, 21, 21, 0.95);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
            position: relative;
            width: 100%;
            min-height: 50px;
        }

        .nav-left {
            flex: 0 0 auto;
            margin-right: auto;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
            align-items: center;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            margin: 0;
            padding: 0;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex: 0 0 auto;
            margin-left: auto;
            flex-shrink: 0;
        }

        .logo {
            height: 50px;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Logo Animation Styles */
        #logo {
            width: 130px;
            height: 50px;
            border-radius: 8px;
            background-color: transparent;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1000;
            opacity: 1;
            transform: translateY(0);
        }

        #logo.is-hidden {
            opacity: 0;
            transform: translateY(-10px);
            pointer-events: none;
        }

        #logo.is-visible {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .nav-menu a {
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-menu a:hover {
            color: var(--primary-color);
        }

        .theme-toggle {
            background: none;
            border: 2px solid var(--border-color);
            border-radius: 50px;
            padding: 0.5rem 1rem;
            cursor: pointer;
            color: var(--text-primary);
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .theme-toggle:hover {
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .cta-button {
            background: var(--primary-color);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .cta-button:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
        }

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-around;
            width: 30px;
            height: 30px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1001;
            position: relative;
            margin-left: auto;
        }

        .mobile-menu-toggle span {
            width: 100%;
            height: 3px;
            background: var(--text-primary);
            border-radius: 2px;
            transition: all 0.3s ease;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
            display: block;
        }

        .mobile-menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
            background: var(--primary-color);
        }

        .mobile-menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(8px, -8px);
            background: var(--primary-color);
        }
        
        /* Show mobile menu toggle on mobile screens */
        @media (max-width: 1100px) {
            .mobile-menu-toggle {
                display: flex !important;
                z-index: 1001;
            }
        }

        /* Navigation Responsive Design */
        @media (min-width: 1101px) {
            .nav-menu {
                gap: 2rem;
            }
            
            .nav-right {
                gap: 1rem;
            }
        }

        @media (max-width: 900px) {
            .nav-menu {
                gap: 1rem;
            }
            
            .nav-menu a {
                font-size: 0.9rem;
            }
            
            .nav-right {
                gap: 0.6rem;
            }
        }

        /* Hide navigation menu on tablets and mobile */
        @media (max-width: 1100px) {
            .nav-menu {
                display: none !important;
            }
            
            .nav-menu.active {
                display: flex !important;
            }
            
            /* Full mobile navigation for all devices under 1100px */
            .nav-container {
                justify-content: space-between;
                padding: 0.8rem 1rem;
                position: relative;
                z-index: 1000;
                gap: 0.5rem;
            }
            
            .nav-left {
                flex: 0 0 auto;
                margin-right: 0;
            }
            
            .nav-menu {
                display: none; /* Hide menu by default on mobile */
                position: fixed;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100vh;
                background: var(--bg-primary);
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 2rem;
                transition: left 0.3s ease;
                z-index: 999;
                padding: 2rem;
                border: 1px solid var(--border-color);
                box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
                transform: none;
                list-style: none;
                margin: 0;
            }
            
            .nav-menu.active {
                display: flex; /* Show as flex when active */
                left: 0;
            }
            
            .nav-menu a {
                font-size: 1.3rem;
                font-weight: 600;
                padding: 1rem 2rem;
                text-align: center;
                width: 100%;
                border-bottom: 1px solid var(--border-color);
                color: var(--text-primary);
                transition: all 0.3s ease;
                border-radius: 10px;
                margin: 0.5rem 0;
            }
            
            .nav-menu a:hover {
                background: var(--primary-color);
                color: var(--white);
                transform: translateY(-2px);
                box-shadow: 0 5px 15px rgba(169, 29, 58, 0.3);
            }
        }

        @media (max-width: 480px) {
            .mobile-menu-toggle {
                width: 25px;
                height: 25px;
            }
            
            .nav-container {
                padding: 0.6rem 0.8rem;
                gap: 0.4rem;
            }
            
            .nav-right {
                gap: 0.4rem;
            }
            
            /* Smaller theme toggle for very small screens */
            .theme-toggle {
                padding: 0.3rem 0.6rem;
                font-size: 0.85rem;
                min-width: 38px;
                height: 38px;
            }
            
            /* Smaller language switcher for very small screens */
            .lang-trigger {
                padding: 0.3rem 0.6rem;
                font-size: 0.75rem;
                height: 38px;
                min-width: 75px;
                gap: 0.2rem;
            }
            
            .lang-trigger svg {
                width: 10px;
                height: 10px;
            }
            
            .lang-menu {
                min-width: 150px;
                font-size: 0.85rem;
            }
            
            .logo {
                height: 40px;
            }
            
            #logo {
                width: 110px;
                height: 40px;
            }
        }
        
        /* Specific styles for very narrow screens (iPhone in landscape, etc.) */
        @media (max-width: 430px) {
            .nav-container {
                padding: 0.7rem 1rem;
                gap: 0.5rem;
            }
            
            .nav-right {
                gap: 0.5rem;
            }
            
            .theme-toggle {
                min-width: 40px;
                height: 40px;
                padding: 0.35rem 0.7rem;
            }
            
            .lang-trigger {
                height: 40px;
                min-width: 80px;
                padding: 0.35rem 0.65rem;
                font-size: 0.8rem;
            }
        }

        /* Hero Section */
        .hero {
            color: var(--text-primary);
            padding: 120px 0 80px;
            position: relative;
            overflow: hidden;
            min-height: 100vh;
            display: flex;
            align-items: center;
            /* Simple white and black background */
            background: linear-gradient(135deg, 
                #ffffff 0%, 
                #f8f9fa 25%, 
                #e9ecef 50%, 
                #dee2e6 100%);
        }

        /* Light mode specific gradient - white tones */
        [data-theme="light"] .hero {
            background: linear-gradient(135deg, 
                #ffffff 0%, 
                #f8f9fa 30%, 
                #e9ecef 70%, 
                #ffffff 100%);
        }

        /* Dark mode specific gradient - black tones */
        [data-theme="dark"] .hero {
            background: linear-gradient(135deg, 
                #000000 0%, 
                #1a1a1a 30%, 
                #2d2d2d 70%, 
                #000000 100%);
        }

        /* Remove 3D background */
        .hero-background {
            display: none; /* Completely remove 3D background */
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(0, 0, 0, 0.03) 0%, transparent 50%);
            z-index: 2;
        }

        /* Light mode overlay - subtle shadows */
        [data-theme="light"] .hero::before {
            background: 
                radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
                linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, transparent 50%);
        }

        /* Dark mode overlay - subtle highlights */
        [data-theme="dark"] .hero::before {
            background: 
                radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
                linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
        }

        .hero-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            width: 100%;
            position: relative;
            z-index: 3;
        }

        .hero-content-centered {
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
        }

        .hero-content-centered h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            text-shadow: none; /* Remove text shadow for clean look */
            color: var(--text-primary); /* Use theme-aware text color */
        }

        .hero-content-centered h2 {
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            text-shadow: none;
            color: var(--text-primary);
        }

        /* Hero logo styles */
        .hero-logo {
            margin-bottom: 2rem;
            text-align: center;
        }

        .hero-logo-img {
            max-width: 600px;
            width: 100%;
            height: auto;
            filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.1));
            transition: transform 0.3s ease;
        }

        .hero-logo-img:hover {
            transform: scale(1.05);
        }

        /* Theme-specific logo adjustments */
        [data-theme="light"] .hero-logo-img {
            filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.15));
        }

        [data-theme="dark"] .hero-logo-img {
            filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.1));
        }

        .hero-content-centered p {
            font-size: 1.25rem;
            margin-bottom: 2.5rem;
            color: var(--text-secondary); /* Use theme-aware text color */
            text-shadow: none; /* Remove text shadow for clean look */
        }

        .hero-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 1.5rem;
            margin: 3rem 0 2.5rem 0;
            padding: 0;
        }

        .hero-stats .stat-item {
            text-align: center;
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(15px);
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.15);
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .hero-stats .stat-item:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(189, 189, 215, 0.4);
            box-shadow: 0 8px 30px rgba(221, 16, 94, 0.2);
        }

        .hero-stats .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, #DD105E 0%, #46466E 70%, #8787A3 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.5rem;
            text-shadow: none; /* Remove text shadow for gradient text */
        }

        .hero-stats .stat-label {
            font-size: 0.95rem;
            color: var(--text-secondary); /* Use theme-aware text color */
            font-weight: 500;
            text-shadow: none; /* Remove text shadow for clean look */
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .btn-primary {
            background: linear-gradient(135deg, #DD105E 0%, #46466E 100%);
            color: white;
            padding: 1rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            border: 1px solid transparent;
            box-shadow: 0 4px 15px rgba(221, 16, 94, 0.3);
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, #FF1B70 0%, #5A5A85 100%);
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 8px 25px rgba(221, 16, 94, 0.5);
            border: 1px solid rgba(255, 27, 112, 0.4);
        }

        .btn-secondary:hover {
            background: var(--primary-color);
            color: white;
        }

        /* Hero Mobile Responsive Styles */
        @media (max-width: 768px) {
            .hero {
                padding: 100px 0 60px;
                min-height: 90vh;
            }
            
            .hero-container {
                padding: 0 1.5rem;
            }
            
            .hero-content-centered h1 {
                font-size: 2.5rem;
                margin-bottom: 1rem;
                line-height: 1.3;
            }
            
            .hero-content-centered p {
                font-size: 1.1rem;
                margin-bottom: 2rem;
            }
            
            .hero-stats {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
                margin: 2rem 0 2rem 0;
            }
            
            .hero-stats .stat-item {
                padding: 1.2rem 1rem;
            }
            
            .hero-stats .stat-number {
                font-size: 2rem;
                margin-bottom: 0.3rem;
            }
            
            .hero-stats .stat-label {
                font-size: 0.85rem;
            }

            /* Hero logo mobile styles */
            .hero-logo-img {
                max-width: 280px;
            }

            .hero-content-centered h2 {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 480px) {
            .hero {
                padding: 80px 0 40px;
                min-height: 85vh;
            }
            
            .hero-container {
                padding: 0 1rem;
            }
            
            .hero-content-centered h1 {
                font-size: 2rem;
                margin-bottom: 0.8rem;
                line-height: 1.4;
            }

            .hero-content-centered h2 {
                font-size: 1.8rem;
                margin-bottom: 0.8rem;
                line-height: 1.4;
            }

            /* Very small mobile logo */
            .hero-logo-img {
                max-width: 220px;
            }
            
            .hero-content-centered p {
                font-size: 1rem;
                margin-bottom: 1.5rem;
                line-height: 1.6;
            }
            
            .hero-stats {
                grid-template-columns: 1fr;
                gap: 0.8rem;
                margin: 1.5rem 0 1.5rem 0;
            }
            
            .hero-stats .stat-item {
                padding: 1rem 0.8rem;
            }
            
            .hero-stats .stat-number {
                font-size: 1.8rem;
            }
            
            .hero-stats .stat-label {
                font-size: 0.8rem;
            }
            
            .btn-primary {
                padding: 0.9rem 1.5rem;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 360px) {
            .hero {
                padding: 70px 0 30px;
            }
            
            .hero-content-centered h1 {
                font-size: 1.8rem;
            }
            
            .hero-content-centered p {
                font-size: 0.95rem;
            }
        }

        /* Stats Section - Hidden since integrated into hero */
        .stats {
            display: none;
        }

        /* About Section */
        .about {
            padding: 6rem 0;
            background: var(--bg-primary);
        }

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

        .about-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .about-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .about-header .highlight {
            background: linear-gradient(135deg, #DD105E 0%, #46466E 50%, #8787A3 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .about-header p {
            font-size: 1.2rem;
            color: var(--text-secondary);
            max-width: 800px;
            margin: 0 auto;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            margin-bottom: 4rem;
        }

        .about-text p {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            color: var(--text-secondary);
        }

        .about-visual img {
            width: 100%;
            border-radius: 20px;
        }

        /* Development Fields Carousel */
        .development-fields-title {
            text-align: center;
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 2rem;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .carousel {
            position: relative;
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            background: var(--bg-secondary);
        }

        .carousel-slide {
            display: none;
            position: relative;
            width: 100%;
            aspect-ratio: 16/10;
        }

        .carousel-slide.active {
            display: block;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .carousel-slide:hover img {
            transform: scale(1.05);
        }

        .carousel-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            color: white;
            padding: 2rem 1.5rem 1.5rem;
            text-align: center;
        }

        .carousel-caption h4 {
            font-size: 1.4rem;
            font-weight: 600;
            margin: 0;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        }

        /* Navigation arrows */
        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(169, 29, 58, 0.8);
            color: white;
            border: none;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-btn:hover {
            background: var(--primary-color);
            transform: translateY(-50%) scale(1.1);
        }

        .carousel-btn.prev {
            left: 15px;
        }

        .carousel-btn.next {
            right: 15px;
        }

        /* Responsive carousel */
        @media (max-width: 768px) {
            .development-fields-title {
                font-size: 1.6rem;
                margin-bottom: 1.5rem;
            }

            .carousel {
                max-width: 100%;
                margin: 0;
            }

            .carousel-btn {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }

            .carousel-btn.prev {
                left: 10px;
            }

            .carousel-btn.next {
                right: 10px;
            }

            .carousel-caption {
                padding: 1.5rem 1rem 1rem;
            }

            .carousel-caption h4 {
                font-size: 1.2rem;
            }
        }

        /* ==========================================
           TIMELINE SECTION
        ========================================== */
        .timeline-section {
            padding: 6rem 0;
            background: var(--bg-primary);
            position: relative;
        }

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

        /* Horizontal Timeline */
        .cd-horizontal-timeline {
            opacity: 0;
            margin: 4rem auto;
            animation: fadeInUp 0.8s ease 0.3s forwards;
        }

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

        .timeline {
            position: relative;
            height: 80px;
            width: 95%;
            max-width: 900px;
            margin: 0 auto;
        }

        .events-wrapper {
            position: relative;
            height: 60px;
            margin: 0 40px;
            overflow: hidden;
        }

        .events {
            position: absolute;
            left: 0;
            top: 49px;
            height: 2px;
            width: 100%;
            background: linear-gradient(to right, var(--gray-300), var(--primary-color), var(--gray-300));
        }

        .filling-line {
            position: absolute;
            z-index: 1;
            left: 0;
            top: 0;
            height: 100%;
            width: 0;
            background: var(--primary-color);
            transition: width 0.4s;
        }

        .events ol {
            position: absolute;
            z-index: 2;
            left: 0;
            top: -49px;
            height: 100px;
            padding: 0;
            margin: 0;
            width: 100%;
            display: flex;
            justify-content: space-between;
            list-style: none;
        }

        .events li {
            position: relative;
            flex: 1;
            text-align: center;
        }

        .events li a {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--bg-secondary);
            border: 3px solid var(--gray-300);
            color: var(--text-secondary);
            font-weight: 700;
            font-size: 1rem;
            text-decoration: none;
            line-height: 54px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .events li a:hover,
        .events li a.selected {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: white;
            transform: scale(1.1);
            box-shadow: 0 5px 15px rgba(169, 29, 58, 0.3);
        }

        /* Events Content */
        .events-content {
            width: 100%;
            margin: 3rem 0;
        }

        .events-content ol {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .events-content li {
            position: absolute;
            z-index: 1;
            width: 100%;
            left: 0;
            top: 0;
            opacity: 0;
            transform: translateX(100px);
            transition: all 0.4s ease;
        }

        .events-content li.selected {
            position: relative;
            z-index: 2;
            opacity: 1;
            transform: translateX(0);
        }

        .timeline-content {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 3rem;
            text-align: center;
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .timeline-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        }

        .timeline-year {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 0.5rem 1.5rem;
            border-radius: 20px;
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
        }

        .timeline-content h3 {
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-primary);
            margin: 1rem 0;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .timeline-content h4 {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--text-secondary);
            margin: 1rem 0 1.5rem;
            font-style: italic;
        }

        .timeline-content p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 2rem;
        }

        .timeline-icon {
            position: absolute;
            top: 2rem;
            right: 2rem;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            opacity: 0.8;
        }

        /* Responsive Timeline */
        @media (max-width: 992px) {
            .timeline {
                width: 95%;
            }

            .events-wrapper {
                margin: 0 20px;
            }

            .events li a {
                width: 50px;
                height: 50px;
                line-height: 44px;
                font-size: 0.9rem;
            }

            .timeline-content {
                padding: 2rem;
            }

            .timeline-content h3 {
                font-size: 1.6rem;
            }

            .timeline-content h4 {
                font-size: 1.1rem;
            }

            .timeline-icon {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
                top: 1.5rem;
                right: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .timeline-section {
                padding: 4rem 0;
            }

            .timeline {
                height: 60px;
            }

            .events-wrapper {
                height: 50px;
                margin: 0 10px;
            }

            .events {
                top: 39px;
            }

            .events ol {
                top: -39px;
                height: 60px;
            }

            .events li a {
                width: 40px;
                height: 40px;
                line-height: 34px;
                font-size: 0.75rem;
            }

            .timeline-content {
                padding: 1.5rem;
                margin: 0 1rem;
            }

            .timeline-content h3 {
                font-size: 1.4rem;
            }

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

            .timeline-content p {
                font-size: 1rem;
            }

            .timeline-icon {
                display: none;
            }
        }

        /* Solutions Grid */
        .solutions-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .solution-card {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 2rem;
            transition: all 0.3s ease;
            text-align: center;
        }

        .solution-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(169, 29, 58, 0.15);
            border-color: var(--primary-color);
        }

        .solution-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
        }

        .solution-icon i {
            font-size: 2rem;
            color: white;
        }

        .solution-card h3 {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .solution-card p {
            color: var(--text-secondary);
            line-height: 1.6;
            font-size: 0.95rem;
        }

        /* Updated services section - Fixed expandable cards */
        .services {
            padding: 100px 0;
            background: var(--bg-secondary);
        }

        .services-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

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

        .section-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .section-header .highlight {
            color: var(--primary-color);
        }

        .section-header p {
            font-size: 1.2rem;
            color: var(--text-secondary);
            max-width: 800px;
            margin: 0 auto;
        }

        /* Complete Services Section CSS - Replace your existing services CSS with this: */

        /* Services Section */
        .services {
            padding: 100px 0;
            background: var(--bg-secondary);
        }

        .services-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

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

        .section-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .section-header .highlight {
            background: linear-gradient(135deg, #DD105E 0%, #46466E 50%, #8787A3 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-header p {
            font-size: 1.2rem;
            color: var(--text-secondary);
            max-width: 800px;
            margin: 0 auto;
        }

        /* Horizontal expandable cards design */
        .services-wrapper {
            width: 100%;
            height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 60px;
        }

        .services-container-cards {
            height: 400px;
            display: flex;
            flex-wrap: nowrap;
            justify-content: center;
            gap: 10px;
        }

        .service-card {
            width: 80px;
            border-radius: 2rem;
            cursor: pointer;
            overflow: hidden;
            margin: 0 5px;
            display: flex;
            align-items: flex-end;
            transition: .6s cubic-bezier(.28, -0.03, 0, .99);
            box-shadow: 0px 10px 30px -5px rgba(0, 0, 0, 0.3);
            position: relative;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        /* Overlay for better text readability */
        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(0, 0, 0, 0.2), 
                rgba(0, 0, 0, 0.35));
            z-index: 1;
        }

        /* Individual card background images with gradient overlays */
        label.service-card[for="industria"] {
            background-image: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%), 
                            url('./assets/Industria 4.0.jpg');
        }

        label.service-card[for="agroindustria"] {
            background-image: linear-gradient(135deg, rgba(240, 147, 251, 0.8) 0%, rgba(245, 87, 108, 0.8) 100%), 
                            url('./assets/Agroindustria.jpg');
        }

        label.service-card[for="medioambiente"] {
            background-image: linear-gradient(135deg, rgba(79, 172, 254, 0.8) 0%, rgba(0, 242, 254, 0.8) 100%), 
                            url('./assets/Medio ambiente.jpg');
        }

        label.service-card[for="blockchain"] {
            background-image: linear-gradient(135deg, rgba(67, 233, 123, 0.8) 0%, rgba(56, 249, 215, 0.8) 100%), 
                            url('./assets/Blockchain.jpg');
        }

        label.service-card[for="biomedicas"] {
            background-image: linear-gradient(135deg, rgba(250, 112, 154, 0.8) 0%, rgba(254, 225, 64, 0.8) 100%), 
                            url('./assets/Biomedicas.jpg');
        }

        label.service-card[for="inteligencia"] {
            background-image: linear-gradient(135deg, rgba(168, 237, 234, 0.8) 0%, rgba(254, 214, 227, 0.8) 100%), 
                            url('./assets/Inteligencia Artificial.jpg');
        }

        /* Service card content layout */
        .service-card > .service-row {
            color: white;
            display: flex;
            flex-wrap: nowrap;
            width: 100%;
            position: relative;
            z-index: 2;
            align-items: flex-end;
            padding-bottom: 20px;
        }

        .service-card > .service-row > .service-icon-circle {
            background: rgba(255, 255, 255, 0.25);
            color: white;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 15px;
            backdrop-filter: blur(15px);
            flex-shrink: 0;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .service-card > .service-row > .service-icon-circle i {
            font-size: 20px;
        }

        .service-card > .service-row > .service-description {
            display: flex;
            justify-content: flex-start;
            flex-direction: column;
            overflow: hidden;
            width: 520px;
            opacity: 0;
            transform: translateY(30px);
            transition: all .4s ease;
            transition-delay: .2s;
            padding: 20px;
            background: rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            margin: 10px;
            box-sizing: border-box;
            max-width: calc(100vw - 40px);
        }

        .service-description h4 {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: white;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            flex-shrink: 0;
        }

        .service-description p {
            color: rgba(255, 255, 255, 0.95);
            font-size: 0.9rem;
            line-height: 1.4;
            margin-bottom: 12px;
            font-weight: 400;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
            flex-shrink: 0;
        }

        .service-features-horizontal {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            align-items: flex-start;
            justify-content: flex-start;
            margin-top: auto;
        }

        .service-features-horizontal li {
            background: rgba(255, 255, 255, 0.3);
            padding: 5px 10px;
            border-radius: 12px;
            font-size: 0.7rem;
            backdrop-filter: blur(5px);
            color: white;
            font-weight: 500;
            border: 1px solid rgba(255, 255, 255, 0.2);
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
            white-space: nowrap;
        }

        .service-radio-input {
            display: none;
        }

        /* Card expansion when selected */
        .service-radio-input:checked + label.service-card {
            width: 680px;
        }

        .service-radio-input:checked + label.service-card .service-description {
            opacity: 1 !important;
            transform: translateY(0) !important;
        }

        /* First card expanded by default */
        #industria:checked + label.service-card .service-description {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive Design */

        /* Large tablets and small desktops */
        @media (max-width: 1200px) {
            .service-radio-input:checked + label.service-card {
                width: 600px;
            }
        }

        /* Medium tablets */
        @media (max-width: 1024px) {
            .services-container-cards {
                gap: 8px;
            }
            
            .service-radio-input:checked + label.service-card {
                width: 520px;
            }

            .service-card > .service-row > .service-description {
                height: 140px;
                padding: 15px;
                width: 450px;
            }
        }

        /* Transition to vertical layout for tablets */
        @media (max-width: 900px) {
            .services-wrapper {
                height: auto;
                padding: 20px 0;
            }

            .services-container-cards {
                flex-direction: column;
                height: auto;
                gap: 15px;
                width: 100%;
                align-items: center;
            }

            .service-card {
                width: 100% !important;
                max-width: 500px;
                height: 120px; /* Increased from 80px */
                flex-direction: row;
                margin: 0;
                background-size: cover !important;
                background-position: center !important;
                overflow: visible; /* Ensure content isn't cut off */
            }

            /* Ensure collapsed cards show title clearly */
            .service-card > .service-row {
                width: 100%;
                align-items: center; /* Center content vertically */
                flex-direction: row;
                padding: 15px;
                min-height: auto;
                height: 100%;
            }

            .service-card:not(.service-radio-input:checked + label) .service-description h4 {
                font-size: 1.2rem;
                margin-bottom: 5px;
                display: block;
                overflow: visible;
            }

            .service-card:not(.service-radio-input:checked + label) .service-description p,
            .service-card:not(.service-radio-input:checked + label) .service-features-horizontal {
                display: none; /* Hide description and features in collapsed state */
            }

            .service-radio-input:checked + label.service-card {
                width: 100% !important;
                max-width: 500px;
                height: 350px; /* Increased even more to ensure content fits */
            }

            /* Ensure expanded card content is properly positioned */
            .service-radio-input:checked + label.service-card > .service-row {
                height: 100%;
                align-items: flex-start;
                padding: 20px; /* Increased padding */
            }

            .service-radio-input:checked + label.service-card > .service-row > .service-description {
                width: calc(100% - 80px);
                height: auto;
                max-height: 180px; /* Set max height to prevent overflow */
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                opacity: 1 !important;
                transform: translateY(0) !important;
                overflow-y: auto; /* Make content scrollable */
                overflow-x: hidden;
            }

            /* Ensure title is always visible in expanded state */
            .service-radio-input:checked + label.service-card .service-description h4 {
                font-size: 1.4rem;
                margin-bottom: 15px;
                font-weight: 700;
                color: var(--white);
                text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
                line-height: 1.2;
            }

            /* Custom scrollbar styling for mobile service descriptions */
            .service-radio-input:checked + label.service-card .service-description::-webkit-scrollbar {
                width: 4px;
            }

            .service-radio-input:checked + label.service-card .service-description::-webkit-scrollbar-track {
                background: rgba(255, 255, 255, 0.1);
                border-radius: 2px;
            }

            .service-radio-input:checked + label.service-card .service-description::-webkit-scrollbar-thumb {
                background: rgba(255, 255, 255, 0.4);
                border-radius: 2px;
            }

            .service-radio-input:checked + label.service-card .service-description::-webkit-scrollbar-thumb:hover {
                background: rgba(255, 255, 255, 0.6);
            }

            .service-card > .service-row > .service-icon-circle {
                width: 50px;
                height: 50px;
                margin: 0 15px 0 0;
                flex-shrink: 0;
                align-self: flex-start;
            }

            .service-card > .service-row > .service-description {
                width: calc(100% - 80px);
                height: auto;
                padding: 0;
                margin: 0;
                background: rgba(0, 0, 0, 0.6);
                backdrop-filter: blur(10px);
                border-radius: 10px;
                padding: 20px; /* Increased padding */
            }

            .service-description h4 {
                font-size: 1.3rem; /* Increased from 1.1rem */
                margin-bottom: 12px; /* Increased margin */
                font-weight: 600;
                color: var(--white);
                text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
                line-height: 1.2;
                min-height: 1.5em; /* Ensure minimum height for title */
            }

            .service-description p {
                font-size: 0.95rem; /* Increased from 0.85rem */
                margin-bottom: 15px; /* Increased margin */
                line-height: 1.4; /* Improved line height */
            }

            .service-features-horizontal {
                gap: 5px;
                margin-top: 8px;
            }

            .service-features-horizontal li {
                font-size: 0.65rem;
                padding: 3px 6px;
            }
        }

        /* Mobile phones */
        @media (max-width: 480px) {
            .services-container {
                padding: 0 15px;
            }

            .services-wrapper {
                height: auto;
                margin-top: 40px;
            }

            .services-container-cards {
                height: auto;
                gap: 15px;
            }

            .service-card {
                max-width: 100% !important;
                border-radius: 15px;
                min-height: 80px;
            }

            .service-radio-input:checked + label.service-card {
                max-width: 100% !important;
                height: 220px;
                transform: translateY(-2px);
                box-shadow: 0px 15px 35px -5px rgba(0, 0, 0, 0.4);
            }

            .service-card > .service-row {
                padding: 15px;
            }

            .service-card > .service-row > .service-icon-circle {
                width: 50px;
                height: 50px;
                margin-right: 15px;
                border: 2px solid rgba(255, 255, 255, 0.4);
            }

            .service-card > .service-row > .service-icon-circle i {
                font-size: 20px;
            }

            .service-card > .service-row > .service-description {
                background: rgba(0, 0, 0, 0.7);
                backdrop-filter: blur(15px);
                border-radius: 12px;
                padding: 18px;
                border: 1px solid rgba(255, 255, 255, 0.1);
                width: calc(100% - 20px);
                max-width: calc(100vw - 60px);
                margin: 0 10px;
                overflow: hidden;
            }

            .service-description h4 {
                font-size: 1.1rem;
                margin-bottom: 10px;
                letter-spacing: 0.5px;
            }

            .service-description p {
                font-size: 0.85rem;
                line-height: 1.4;
                margin-bottom: 12px;
            }

            .service-features-horizontal {
                gap: 6px;
                margin-top: 10px;
            }

            .service-features-horizontal li {
                font-size: 0.65rem;
                padding: 4px 8px;
                border-radius: 8px;
                border: 1px solid rgba(255, 255, 255, 0.25);
            }
        }

        /* Platform Section */
        .platform {
            background: var(--bg-primary);
            padding: 6rem 0;
        }

        .platform-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            text-align: center;
        }

        .platform-visual {
            margin-top: 3rem;
            position: relative;
        }

        .platform-visual img {
            width: 100%;
            max-width: 800px;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        /* Projects Section */
        .projects {
            padding: 5rem 0;
            background: var(--bg-secondary);
        }

        .projects-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .section-header .highlight {
            color: var(--primary-color);
        }

        .section-header p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
        }

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

        /* Modern Video Slider */
        .video-slider-container {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            padding: 2rem 3rem; /* Added horizontal padding for arrows */
        }

        .video-slider {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
        }

        .video-slides {
            display: flex;
            transition: transform 0.5s ease-in-out;
            width: 1400%; /* 14 slides * 100% */
        }

        .video-slide {
            width: 7.142857%; /* 100% / 14 slides */
            flex-shrink: 0;
            opacity: 1; /* Always visible in flex layout */
            display: block; /* Ensure slides are visible */
        }

        .video-slide.active {
            opacity: 1;
        }

        .video-card {
            background: var(--bg-primary);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid var(--border-color);
            margin: 0 15px; /* Increased margin for better spacing */
            width: calc(100% - 30px); /* Account for margins */
        }

        .video-wrapper {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            overflow: hidden;
        }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        .video-info {
            padding: 1.5rem;
            text-align: center;
        }

        .video-info h3 {
            color: var(--text-primary);
            margin-bottom: 0.8rem;
            font-size: 1.3rem;
            font-weight: 700;
            line-height: 1.4;
        }

        .video-info p {
            color: var(--text-secondary);
            line-height: 1.6;
            font-size: 1rem;
        }

        /* Navigation Controls */
        .slider-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(169, 29, 58, 0.9);
            color: white;
            border: none;
            width: 55px;
            height: 55px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 100;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(169, 29, 58, 0.3);
            opacity: 0.85;
            border: 2px solid rgba(255, 255, 255, 0.2);
        }

        .slider-nav:hover {
            background: var(--primary-color);
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 8px 30px rgba(169, 29, 58, 0.4);
            opacity: 1;
            border-color: rgba(255, 255, 255, 0.3);
        }

        .slider-nav.prev {
            left: 20px;
        }

        .slider-nav.next {
            right: 20px;
        }

        /* Dot Indicators */
        .slider-dots {
            text-align: center;
            margin-top: 2.5rem;
            display: flex;
            justify-content: center;
            gap: 0.8rem;
            position: relative;
            z-index: 10;
            flex-wrap: wrap;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 25px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--gray-300);
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-block;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .dot::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .dot:hover {
            background: var(--gray-200);
            transform: scale(1.3);
            border-color: var(--primary-color);
        }

        .dot:hover::before {
            width: 100%;
            height: 100%;
        }

        .dot.active {
            background: var(--primary-color);
            transform: scale(1.4);
            box-shadow: 0 0 20px rgba(169, 29, 58, 0.6);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .dot.active::before {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--secondary-color), #ffffff);
        }

        /* Responsive Video Navigation */
        @media (max-width: 992px) {
            .slider-nav {
                width: 45px;
                height: 45px;
                font-size: 1rem;
            }

            .slider-dots {
                gap: 0.6rem;
                margin-top: 2rem;
                padding: 0.8rem;
            }

            .dot {
                width: 10px;
                height: 10px;
            }
        }

        @media (max-width: 768px) {
            .slider-nav {
                width: 40px;
                height: 40px;
                font-size: 0.9rem;
            }

            .slider-nav.prev {
                left: 10px;
            }

            .slider-nav.next {
                right: 10px;
            }

            .slider-dots {
                gap: 0.5rem;
                margin-top: 1.5rem;
                padding: 0.6rem;
                background: rgba(255, 255, 255, 0.08);
                border-radius: 20px;
            }

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

            .dot:hover {
                transform: scale(1.2);
            }

            .dot.active {
                transform: scale(1.3);
            }
        }

        @media (max-width: 480px) {
            .slider-nav {
                width: 35px;
                height: 35px;
                font-size: 0.8rem;
            }

            .slider-dots {
                gap: 0.4rem;
                padding: 0.5rem;
                margin-top: 1rem;
            }

            .dot {
                width: 6px;
                height: 6px;
            }

            .dot.active {
                transform: scale(1.2);
                box-shadow: 0 0 15px rgba(169, 29, 58, 0.5);
            }
        }

        /* Video Counter */
        .video-counter {
            text-align: center;
            margin-top: 1rem;
            font-size: 0.9rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .video-counter #current-video {
            color: var(--primary-color);
            font-weight: 700;
        }

        /* Auto-play indicator */
        .slider-progress {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 3px;
            background: var(--primary-color);
            border-radius: 0 0 20px 20px;
            transition: width 0.1s linear;
        }

        /* Publications Section - Simple 3-card layout */
        .publications {
            padding: 4rem 0;
            background: var(--bg-primary);
        }
        
        .publications-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* Filter Tabs */
        .publications-filter {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin: 2rem 0 3rem 0;
            padding: 0.5rem;
            background: var(--bg-tertiary);
            border-radius: 12px;
            max-width: 400px;
            margin: 2rem auto 3rem auto;
        }

        .filter-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: var(--bg-tertiary);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--text-primary);
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 0.95rem;
            flex: 1;
            justify-content: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .filter-btn.active {
            background: #DD105E;
            color: white;
            border-color: #DD105E;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(221, 16, 94, 0.3);
        }

        .filter-icon {
            font-size: 1.1rem;
        }

        /* Filter Content */
        .filter-content {
            display: none;
            animation: fadeIn 0.4s ease-out;
        }

        .filter-content.active {
            display: block;
        }

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

        /* Simple Publications Grid (no pagination) */
        .publications-grid-simple {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .publication-card {
            background: var(--bg-tertiary);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 1.5rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            height: fit-content;
            min-height: 350px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
            transform: translateY(0) scale(1);
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
            color: var(--text-primary);
        }

        .publication-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #CF0F47, #FF0B55, #FFDEDE);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .publication-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
            border-color: var(--primary-color);
            background: var(--bg-tertiary);
        }

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

        .publication-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1rem;
            gap: 1rem;
        }

        .publication-header h3 {
            color: var(--text-primary);
            font-size: 1.2rem;
            font-weight: 600;
            margin: 0;
            flex: 1;
            line-height: 1.3;
        }

        .publication-type {
            background: var(--primary-color);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 16px;
            font-size: 0.75rem;
            font-weight: 600;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .publication-meta {
            margin-bottom: 1rem;
            flex-grow: 1;
        }

        .publication-meta p {
            color: var(--text-secondary);
            margin: 0.3rem 0;
            font-size: 0.85rem;
            line-height: 1.4;
        }

        .publication-meta strong {
            color: var(--text-primary);
            font-weight: 600;
        }

        .publication-abstract {
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }

        .publication-abstract p {
            color: var(--text-secondary);
            line-height: 1.5;
            font-size: 0.9rem;
            font-style: italic;
        }

        .publication-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            margin-top: auto;
        }

        .publication-link:hover {
            color: var(--secondary-color);
            transform: translateX(5px);
        }

        .publication-link::after {
            content: '→';
            transition: transform 0.3s ease;
        }

        .publication-link:hover::after {
            transform: translateX(3px);
        }

        /* Researchers Section */
        .researchers-section {
            margin-top: 0;
            padding-top: 0;
        }

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

        .section-header-small h3 {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .section-header-small p {
            font-size: 1rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
        }

        .researchers-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .researcher-card {
            background: var(--bg-tertiary);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 1.5rem;
            transition: all 0.3s ease;
            text-align: center;
            position: relative;
            overflow: hidden;
            color: var(--text-primary);
        }

        .researcher-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #CF0F47, #FF0B55, #FFDEDE);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .researcher-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            border-color: var(--primary-color);
        }

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

        .researcher-info {
            margin-bottom: 1.5rem;
        }

        .researcher-avatar {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            color: white;
            font-size: 2rem;
        }

        .researcher-info h4 {
            color: var(--text-primary);
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .researcher-info p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.4;
            margin-bottom: 1rem;
        }

        .researcher-stats {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .researcher-stats .stat-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            font-size: 0.8rem;
            color: var(--text-secondary);
            background: var(--bg-primary);
            padding: 0.3rem 0.8rem;
            border-radius: 12px;
            border: 1px solid var(--border-color);
        }

        .researcher-stats .stat-item i {
            color: var(--primary-color);
        }

        .researcher-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--primary-color);
            color: white;
            text-decoration: none;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .researcher-link:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(169, 29, 58, 0.3);
        }

        /* Section header improvements */
        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-header h2 {
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .section-header .highlight {
            background: linear-gradient(135deg, #DD105E 0%, #46466E 50%, #8787A3 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-header p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
        }

        /* Remove old show more styles - replaced with pagination */

        /* Responsive Design */
        @media (max-width: 1200px) {
            .publications-grid-simple,
            .researchers-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 1.5rem;
            }
            
            .publication-card {
                min-height: 330px;
            }
        }

        @media (max-width: 1024px) {
            .publications-grid-simple,
            .researchers-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }
            
            .publication-card {
                min-height: 350px;
            }

            .researcher-card {
                padding: 1.2rem;
            }
        }

        @media (max-width: 768px) {
            .publications {
                padding: 3rem 0;
            }

            .publications-filter {
                max-width: 300px;
                gap: 0.5rem;
                padding: 0.3rem;
            }

            .filter-btn {
                padding: 0.6rem 1rem;
                font-size: 0.85rem;
            }

            .filter-icon {
                font-size: 1rem;
            }

            .publications-grid-simple,
            .researchers-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .publication-card {
                min-height: 320px;
                padding: 1.2rem;
            }

            .publications-container {
                padding: 0 1rem;
            }

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

            .section-header {
                margin-bottom: 2rem;
            }

            .section-header-small h3 {
                font-size: 1.5rem;
            }

            .researchers-section {
                margin-top: 2rem;
                padding-top: 2rem;
            }

            .researcher-card {
                padding: 1rem;
            }

            .researcher-avatar {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .publications-container {
                padding: 0 1rem;
            }

            .publications-filter {
                max-width: 250px;
                flex-direction: column;
                gap: 0.3rem;
            }

            .filter-btn {
                padding: 0.5rem 1rem;
                font-size: 0.8rem;
            }
            
            .publication-card {
                padding: 1rem;
                min-height: 300px;
            }

            .publication-header h3 {
                font-size: 1rem;
            }

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

            .section-header p,
            .section-header-small p {
                font-size: 0.9rem;
            }

            .section-header-small h3 {
                font-size: 1.3rem;
            }

            .researcher-stats {
                flex-direction: column;
                gap: 0.5rem;
            }

            .researcher-stats .stat-item {
                font-size: 0.75rem;
                padding: 0.25rem 0.6rem;
            }

            .researcher-link {
                padding: 0.6rem 1.2rem;
                font-size: 0.85rem;
            }
        }

        /* Contact Section */
        .contact {
            background: var(--bg-secondary);
            padding: 6rem 0;
        }

        .contact-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
        }

        .contact-info h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
        }

        .contact-info .highlight {
            background: linear-gradient(135deg, #DD105E 0%, #46466E 50%, #8787A3 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .contact-info p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
        }

        .contact-details {
            list-style: none;
        }

        .contact-details li {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            font-size: 1.1rem;
            color: var(--text-primary);
        }

        .contact-details li i {
            color: var(--primary-color);
            margin-right: 1rem;
            font-size: 1.2rem;
            width: 20px;
        }

        .contact-form {
            background: var(--bg-primary);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 2rem;
        }

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

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--text-primary);
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            background: var(--bg-primary);
            color: var(--text-primary);
            font-family: inherit;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: var(--text-secondary);
        }

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

        /* Radio Button Styles */
        .radio-group {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 0.8rem;
        }

        .radio-option {
            display: flex;
            align-items: center;
            gap: 1rem;
            cursor: pointer;
            padding: 1rem 1.2rem;
            border: 2px solid var(--border-color);
            border-radius: 12px;
            transition: all 0.3s ease;
            background: var(--bg-tertiary);
            min-height: 56px;
        }

        .radio-option:hover {
            border-color: var(--primary-color);
            background: var(--bg-secondary);
            transform: translateY(-2px);
        }

        .radio-option input[type="radio"] {
            display: none;
        }

        .radio-custom {
            width: 22px;
            height: 22px;
            border: 2px solid var(--border-color);
            border-radius: 50%;
            position: relative;
            transition: all 0.3s ease;
            flex-shrink: 0;
            margin-right: 0.5rem;
        }

        .radio-option input[type="radio"]:checked + .radio-custom {
            border-color: var(--primary-color);
            background: var(--primary-color);
        }

        .radio-option input[type="radio"]:checked + .radio-custom::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 10px;
            height: 10px;
            background: white;
            border-radius: 50%;
        }

        .radio-option input[type="radio"]:checked ~ span:last-child {
            color: var(--primary-color);
            font-weight: 600;
        }

        .radio-option span:last-child {
            font-size: 1rem;
            color: var(--text-primary);
            transition: all 0.3s ease;
            line-height: 1.4;
            letter-spacing: 0.01em;
            flex: 1;
        }

        /* Form field transition for company field */
        #company-field {
            transition: all 0.4s ease;
            overflow: hidden;
            margin-top: 0.5rem;
        }

        /* Responsive radio buttons */
        @media (max-width: 768px) {
            .radio-group {
                gap: 0.8rem;
                margin-top: 0.6rem;
            }
            
            .radio-option {
                padding: 0.9rem 1rem;
                gap: 0.8rem;
                min-height: 52px;
            }
            
            .radio-custom {
                width: 20px;
                height: 20px;
                margin-right: 0.3rem;
            }
            
            .radio-option span:last-child {
                font-size: 0.95rem;
            }
        }

        @media (max-width: 480px) {
            .radio-group {
                gap: 0.7rem;
            }
            
            .radio-option {
                padding: 0.8rem 0.9rem;
                gap: 0.7rem;
                min-height: 48px;
            }
            
            .radio-option span:last-child {
                font-size: 0.9rem;
            }
        }

        /* Surface Duo and narrow devices (540px width) */
        @media (max-width: 560px) {
            /* Force mobile navigation on Surface Duo */
            .nav-menu {
                display: none !important;
            }

            .mobile-menu-toggle {
                display: flex !important;
                z-index: 1001;
            }

            /* Adjust nav container for Surface Duo */
            .nav-container {
                padding: 0 1rem;
                justify-content: space-between;
            }

            /* Make sure nav-right doesn't take too much space */
            .nav-right {
                gap: 0.5rem;
                flex-shrink: 0;
                max-width: 120px;
            }

            /* Adjust theme toggle and language switcher */
            .theme-toggle {
                padding: 0.5rem;
                font-size: 0.9rem;
            }

            .lang-switch {
                font-size: 0.85rem;
            }

            .lang-trigger {
                padding: 0.4rem 0.6rem;
                min-width: auto;
            }

            #langCurrent {
                font-size: 0.8rem;
            }

            .hero {
                min-height: 100vh;
                padding: 60px 0 40px;
                /* Ensure full coverage on narrow screens */
                width: 100vw;
                position: relative;
                left: 50%;
                right: 50%;
                margin-left: -50vw;
                margin-right: -50vw;
            }

            /* Fix background coverage for Surface Duo */
            .hero::before {
                width: 100vw;
                left: 50%;
                right: 50%;
                margin-left: -50vw;
                margin-right: -50vw;
            }

            /* Ensure proper background attachment */
            [data-theme="light"] .hero {
                background: linear-gradient(135deg, 
                    #ffffff 0%, 
                    #f8f9fa 30%, 
                    #e9ecef 70%, 
                    #ffffff 100%);
                background-attachment: fixed;
                background-size: cover;
                background-repeat: no-repeat;
            }

            [data-theme="dark"] .hero {
                background: linear-gradient(135deg, 
                    #000000 0%, 
                    #1a1a1a 30%, 
                    #2d2d2d 70%, 
                    #000000 100%);
                background-attachment: fixed;
                background-size: cover;
                background-repeat: no-repeat;
            }

            .contact {
                padding: 3rem 0;
            }

            .contact-container {
                padding: 0 1rem;
                gap: 2rem;
            }

            .contact-info h2 {
                font-size: 2rem;
                margin-bottom: 1rem;
            }

            .contact-info p {
                font-size: 1rem;
                margin-bottom: 1.5rem;
            }

            .contact-form {
                padding: 1.5rem;
                border-radius: 15px;
            }

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

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

            .form-group textarea {
                height: 100px;
            }

            .contact-details {
                gap: 0.8rem;
            }

            .contact-details li {
                font-size: 0.9rem;
                padding: 0.6rem 0;
            }

            .contact-details i {
                min-width: 16px;
                font-size: 0.9rem;
            }
        }

        /* Footer */
        .footer {
            background: var(--dark-bg);
            color: var(--text-light);
            padding: 3rem 0 1rem;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 2rem;
        }

        .footer-brand img {
            height: 60px;
            margin-bottom: 1rem;
        }

        .footer-brand p {
            color: #B0B0B0;
            margin-bottom: 1.5rem;
        }

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

        .social-links a {
            width: 40px;
            height: 40px;
            background: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
        }

        .footer-section h4 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--text-light);
        }

        .footer-section ul {
            list-style: none;
        }

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

        .footer-section ul li a {
            color: #B0B0B0;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-section ul li a:hover {
            color: var(--primary-color);
        }

        /* Footer contact info styles */
        .footer-contact-info {
            list-style: none !important;
        }

        .footer-contact-info li {
            margin-bottom: 0.8rem;
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            color: #ffffff;
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .footer-contact-info li i {
            color: var(--primary-color);
            min-width: 16px;
            margin-top: 2px;
        }

        .footer-bottom {
            border-top: 1px solid #333333;
            margin-top: 2rem;
            padding-top: 1rem;
            text-align: center;
            color: #B0B0B0;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero {
                min-height: 90vh;
                padding: 80px 0 60px;
            }
            
            .hero-background iframe {
                opacity: 0.5;
            }
            
            .hero-content-centered {
                max-width: 100%;
                padding: 0 1rem;
            }
            
            .hero-content-centered h1 {
                font-size: 2.5rem;
            }

            .hero-content-centered p {
                font-size: 1.1rem;
            }
            
            .hero-stats {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
                margin: 2rem 0 2rem 0;
            }
            
            .hero-stats .stat-item {
                padding: 1.2rem;
            }
            
            .hero-stats .stat-number {
                font-size: 2rem;
            }
            
            .hero-stats .stat-label {
                font-size: 0.85rem;
            }
            
            .hero-buttons {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .hero-content-centered h1 {
                font-size: 2rem;
            }
            
            .hero-content-centered p {
                font-size: 1rem;
            }
            
            .hero-stats {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.8rem;
                margin: 1.5rem 0 1.5rem 0;
            }
            
            .hero-stats .stat-item {
                padding: 1rem;
            }
            
            .hero-stats .stat-number {
                font-size: 1.8rem;
            }
            
            .hero-background iframe {
                opacity: 0.3;
            }

            .about-content,
            .contact-container {
                grid-template-columns: 1fr;
            }

            .footer-container {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 1.5rem;
                padding: 0 1rem;
            }

            /* Mobile footer contact styles */
            .footer-contact-info li {
                margin-bottom: 0.6rem;
                font-size: 0.85rem;
                justify-content: center;
                flex-wrap: wrap;
            }

            .footer-contact-info li i {
                margin-top: 0;
                min-width: 18px;
            }

            .footer-section h4 {
                font-size: 1.1rem;
                margin-bottom: 0.8rem;
            }

            .footer-section ul li {
                margin-bottom: 0.4rem;
            }

            .footer-section ul li a {
                font-size: 0.9rem;
            }

            .services-grid,
            .solutions-grid {
                grid-template-columns: 1fr;
            }

            .services-accordion {
                margin-top: 40px;
            }

            .service-header {
                padding: 20px;
            }

            .service-icon {
                width: 50px;
                height: 50px;
                margin-right: 15px;
            }

            .service-icon i {
                font-size: 20px;
            }

            .service-header h3 {
                font-size: 1.2rem;
            }

            .service-radio:checked + .service-label + .service-content {
                padding: 20px;
            }

            .service-features {
                grid-template-columns: 1fr;
            }
        }

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

        .fade-in-up {
            animation: fadeInUp 0.6s ease-out;
        }

        /* Contenedor lang switch*/
      .lang-switch {
        position: relative;
      }

      /* Botón “chip” como los items del nav */
      .lang-trigger {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 0.9rem;
        border-radius: 999px;
        background: var(--nav-chip-bg);
        color: var(--nav-chip-fg);
        border: 1px solid var(--nav-chip-border);
        font-weight: 500;
        line-height: 1;
        cursor: pointer;
        transition: transform 0.15s ease, background-color 0.2s ease,
          border-color 0.2s ease;
      }
      .lang-trigger:hover {
        transform: translateY(-1px);
      }
      .lang-trigger[aria-expanded="true"] {
        transform: translateY(-1px) scale(1.01);
      }

      /* Menú flotante */
      .lang-menu {
        position: absolute;
        right: 0;
        top: calc(100% + 0.5rem);
        min-width: 200px;
        background: var(--dd-bg);
        color: var(--dd-fg);
        border: 1px solid var(--dd-border);
        border-radius: 12px;
        padding: 0.35rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        list-style: none;
        margin: 0;
        display: none; /* toggled by JS */
        z-index: 1050;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
      }

      /* Opción */
      .lang-option {
        padding: 0.6rem 0.8rem;
        border-radius: 10px;
        cursor: pointer;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.95rem;
      }
      .lang-option:hover {
        background: var(--dd-hover);
      }

      /* Opción activa */
      .lang-option[aria-selected="true"] {
        font-weight: 600;
        outline: 2px solid transparent;
      }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }