        html {
            scroll-behavior: smooth;
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
        }

        body {
            font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            margin: 0;
            padding: 0;
            width: 100%;
            min-height: 100vh;
            overflow-x: hidden;
        }

        .font-roboto-thin {
            font-family: 'Roboto', sans-serif;
            font-weight: 100;
        }

        .font-roboto-light {
            font-family: 'Roboto', sans-serif;
            font-weight: 300;
        }

        .font-roboto-regular {
            font-family: 'Roboto', sans-serif;
            font-weight: 400;
        }

        .font-roboto-medium {
            font-family: 'Roboto', sans-serif;
            font-weight: 500;
        }

        .font-roboto-bold {
            font-family: 'Roboto', sans-serif;
            font-weight: 700;
        }

        .font-roboto-black {
            font-family: 'Roboto', sans-serif;
            font-weight: 900;
        }

        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f5f9;
        }

        ::-webkit-scrollbar-thumb {
            background: #01acb6;
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #01acb6;
        }

        /* Hero section full screen - Fixed positioning */
        .hero-section {
            position: relative !important;
            width: 100% !important;
            height: 100vh !important;
            height: 100dvh !important;
            z-index: 1 !important;
            margin: 0 !important;
            padding: 0 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            overflow: hidden;
        }

        /* Enhanced fixed background for carousel slides */
        .carousel-slide .absolute.inset-0[style*="background-image"] {
            background-attachment: fixed !important;
            background-position: center center !important;
            background-repeat: no-repeat !important;
            background-size: cover !important;
        }

        /* Centrage parfait du contenu principal */
        .hero-content-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-height: 80vh;
            text-align: center;
            z-index: 10;
        }

        /* Media Queries - Mobile First Approach */

        /* Tablettes et petits écrans (768px et moins) */
        @media (max-width: 768px) {

            /* Prevent horizontal scroll on mobile */
            body {
                overflow-x: hidden !important;
            }

            /* Header responsive */
            #header {
                padding: 0.5rem 0 !important;
            }

            #header .max-w-7xl {
                padding: 0 1rem !important;
            }

            /* Hero section mobile */
            .hero-section {
                min-height: 100vh !important;
                height: 100vh !important;
                padding: 0 !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }

            .hero-section .absolute {
                position: absolute !important;
                left: 0 !important;
                right: 0 !important;
                width: 100% !important;
                height: 100% !important;
            }

            .hero-section .relative {
                position: relative !important;
                z-index: 10 !important;
                padding: 1rem !important;
                width: 100% !important;
                max-width: 100% !important;
            }

            /* Centrage parfait du contenu */
            .hero-section .text-center {
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                justify-content: center !important;
                min-height: 80vh !important;
            }

            /* Titre responsive */
            .hero-title {
                font-size: 0.5rem !important;
                line-height: 1.1 !important;
                margin-bottom: 1.5rem !important;
            }

            .hero-subtitle {
                font-size: 1rem !important;
                margin-bottom: 2rem !important;
                padding: 0 1rem !important;
                line-height: 1.4 !important;
            }

            /* Boutons responsive */
            .hero-cta {
                flex-direction: column !important;
                gap: 1rem !important;
                width: 100% !important;
                max-width: 300px !important;
            }

            .hero-cta button {
                width: 100% !important;
                padding: 0.8rem 1rem !important;
                font-size: 0.9rem !important;
            }
        }

        /* Petits mobiles (480px et moins) */
        @media (max-width: 480px) {

            /* Header plus compact */
            #header .max-w-7xl {
                padding: 0 0.5rem !important;
            }

            /* Hero title plus petit */
            .hero-title {
                font-size: 2rem !important;
                line-height: 1.1 !important;
                margin-bottom: 1rem !important;
            }

            .hero-title .block:first-child {
                font-size: 1.8rem !important;
                margin-bottom: 0.5rem !important;
            }

            .hero-subtitle {
                font-size: 0.9rem !important;
                margin-bottom: 1.5rem !important;
                padding: 0 0.5rem !important;
            }

            /* Boutons plus compacts */
            .hero-cta button {
                padding: 0.7rem 1rem !important;
                font-size: 0.85rem !important;
            }

            /* Services badges responsive - Mobile specific */
            .services-badges-container {
                grid-template-columns: repeat(1, 1fr) !important;
                gap: 0.75rem !important;
            }

            .services-badges-container>div {
                min-height: 70px !important;
                padding: 0.75rem !important;
            }

            .services-badges-container .text-sm {
                font-size: 0.8rem !important;
            }

            .services-badges-container .text-xs {
                font-size: 0.7rem !important;
            }

            /* Éléments d'arrière-plan réduits */
            .hero-section .animate-float,
            .hero-section .w-96,
            .hero-section .w-80,
            .hero-section .w-72 {
                width: 150px !important;
                height: 150px !important;
                opacity: 0.3 !important;
            }

            /* Corrections spécifiques pour très petits écrans */
            .hero-cta button {
                min-height: 48px !important;
                /* Touch target minimum */
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }

            /* Correction espacement hero */
            .hero-section .text-center {
                min-height: calc(100vh - 120px) !important;
                padding: 0.5rem !important;
            }

            /* Prevent horizontal scroll */
            body {
                overflow-x: hidden !important;
            }

            /* Mobile menu positioning */
            #mobile-menu {
                position: relative !important;
                z-index: 60 !important;
            }

            /* Contact info card - extra small screens */
            .contact-info .bg-solid {
                padding: 0.75rem !important;
                /* Even smaller padding on very small screens */
                border-radius: 1rem !important;
                /* Smaller border radius */
            }

            .contact-info .flex.items-center {
                padding: 0.5rem !important;
                /* Minimal padding on contact items */
                flex-direction: column !important;
                /* Stack vertically on very small screens */
                text-align: center !important;
                gap: 0.5rem !important;
            }

            .contact-info .mr-4 {
                margin-right: 0 !important;
                /* Remove right margin when stacked */
                margin-bottom: 0.5rem !important;
                /* Add bottom margin instead */
            }

            .contact-info h3 {
                font-size: 1.125rem !important;
                /* Even smaller title */
                margin-bottom: 0.75rem !important;
            }

            /* Fix contact item text on very small screens */
            .contact-info .font-semibold {
                font-size: 0.875rem !important;
            }

            .contact-info .text-slate-600 {
                font-size: 0.8125rem !important;
                word-break: break-word !important;
                /* Prevent text overflow */
            }
        }

        /* Tablettes (769px - 1024px) */
        @media (min-width: 769px) and (max-width: 1024px) {
            .hero-section {
                min-height: 100vh !important;
                height: 100vh !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }

            .hero-title {
                font-size: 3.5rem !important;
                line-height: 1.1 !important;
            }

            .hero-subtitle {
                font-size: 1.1rem !important;
                max-width: 600px !important;
                margin: 0 auto 2rem auto !important;
            }

            .hero-cta {
                gap: 1.5rem !important;
                flex-direction: row !important;
            }

            .hero-cta button {
                padding: 0.8rem 1.5rem !important;
                font-size: 1rem !important;
            }

            /* Services badges for tablets */
            .services-badges-container {
                grid-template-columns: repeat(3, 1fr) !important;
            }

            .services-badges-container>div {
                min-height: 85px !important;
            }
        }

        /* Très petits écrans (320px et moins) */
        @media (max-width: 320px) {
            .hero-title {
                font-size: 1.8rem !important;
            }

            .hero-title .block:first-child {
                font-size: 1.6rem !important;
            }

            .hero-subtitle {
                font-size: 0.8rem !important;
                padding: 0 0.25rem !important;
            }

            .hero-section .px-6 {
                padding-left: 0.25rem !important;
                padding-right: 0.25rem !important;
            }

            .hero-cta button {
                padding: 0.6rem 0.8rem !important;
                font-size: 0.8rem !important;
            }
        }

        /* Ensure background covers full screen */
        .hero-section .absolute.inset-0 {
            width: 100vw !important;
            height: 100vh !important;
            height: 100dvh !important;
            left: 0 !important;
            top: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            position: absolute !important;
        }

        /* Reset any container constraints */
        .hero-section * {
            box-sizing: border-box;
        }

        /* Fix scroll behavior */
        html,
        body {
            scroll-behavior: smooth;
            overflow-x: hidden;
        }

        /* Header with smooth hide/show transitions */
        #header {
            z-index: 9999 !important;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            will-change: transform, background-color, backdrop-filter;
            backdrop-filter: blur(25px);
            background: #1b2638be;
            border-bottom: 1px solid #1b263862;
            box-shadow: 0 8px 32px #1b2638d8;
            position: fixed !important;
            top: 0;
            left: 0;
            right: 0;
        }

        /* Enhanced smooth transitions for all header elements */
        #header * {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Modern scrolled state with glassmorphism */
        #header.scrolled {
            background: rgba(0, 0, 0, 0.9) !important;
            backdrop-filter: blur(30px) !important;
            border-bottom: 1px solid rgba(1, 172, 182, 0.3);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(1, 172, 182, 0.2) !important;
        }

        /* Enhanced navigation links with advanced animations */
        .nav-link {
            position: relative;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 0.75rem;
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            overflow: hidden;
        }

        .nav-link::before {
            content: '';
            position: absolute;
            z top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(1, 172, 182, 0.12);
            transform: scale(0) rotate(45deg);
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            border-radius: 0.75rem;
            z-index: -1;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(1, 172, 182, 0.3);
            transform: translate(-50%, -50%);
            transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
            border-radius: 50%;
            z-index: -1;
        }

        .nav-link:hover::before {
            transform: scale(1.1) rotate(0deg);
        }

        .nav-link:hover::after {
            width: 100px;
            height: 100px;
        }

        .nav-link:hover {
            /* color: #EF234B !important; */
            transform: translateY(-3px) scale(1.02);
            text-shadow: 0 0 20px rgba(1, 172, 182, 0.5);
            box-shadow: 0 8px 25px rgba(1, 172, 182, 0.2);
        }

        .nav-link:hover i {
            transform: scale(1.15) rotate(10deg);
            filter: drop-shadow(0 0 8px rgba(1, 172, 182, 0.4));
        }

        /* Active state for current page */
        .nav-link.active {
            background: rgba(1, 172, 182, 0.15);
            color: #01acb6 !important;
            font-weight: 600;
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(1, 172, 182, 0.25);
        }

        .nav-link i {
            transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
            display: inline-block;
        }

        /* Header entrance animation */
        @keyframes headerSlideDown {
            from {
                transform: translateY(-100%);
                opacity: 0;
            }

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

        #header {
            animation: headerSlideDown 0.8s cubic-bezier(0.23, 1, 0.32, 1);
        }

        /* Enhanced logo with hover effects */
        #header img {
            transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
            filter: drop-shadow(0 0 10px rgba(1, 172, 182, 0.2));
        }

        #header img:hover {
            transform: scale(1.08) rotate(5deg);
            filter: drop-shadow(0 0 25px rgba(1, 172, 182, 0.6));
        }

        .cta-button,
        a[class*="bg-solid"] {
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .cta-button::before,
        a[class*="bg-solid"]::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.3);
            transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .cta-button:hover::before,
        a[class*="bg-solid"]:hover::before {
            left: 100%;
        }

        .cta-button:hover,
        a[class*="bg-solid"]:hover {
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 15px 40px rgba(1, 172, 182, 0.4);
        }

        #header.scrolled img {
            filter: brightness(1.1) drop-shadow(0 0 15px rgba(1, 172, 182, 0.4));
        }

        /* Modern mobile menu button */
        #mobile-menu-btn {
            position: relative;
            padding: 0.75rem;
            border-radius: 0.75rem;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #mobile-menu-btn:hover {
            background: rgba(1, 172, 182, 0.2);
            border-color: rgba(1, 172, 182, 0.4);
            transform: scale(1.05);
        }

        #header.scrolled #mobile-menu-btn {
            background: rgba(1, 172, 182, 0.1);
            border-color: rgba(1, 172, 182, 0.3);
        }

        /* Enhanced mobile menu */
        #mobile-menu {
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(1, 172, 182, 0.2);
            border-radius: 1rem;
            margin-top: 1rem;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            transform: translateY(-10px);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #mobile-menu:not(.hidden) {
            transform: translateY(0);
            opacity: 1;
        }

        #mobile-menu .nav-link {
            display: block;
            margin: 0.25rem 0;
            padding: 0.75rem 1rem;
            border-radius: 0.5rem;
            transition: all 0.3s ease;
        }

        #mobile-menu .nav-link:hover {
            background: rgba(255, 47, 40, 0.1);
            transform: translateX(10px);
        }

        /* Header visible state */
        #header.header-visible {
            transform: translateY(0);
        }

        /* Header hidden state */
        #header.header-hidden {
            transform: translateY(-100%);
        }

        /* Services badges consistent height fix */
        .services-badges-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        .services-badges-container>div {
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-height: 80px;
            height: auto;
            padding: 1rem;
        }

        @media (min-width: 768px) {
            .services-badges-container {
                grid-template-columns: repeat(5, 1fr);
            }

            .services-badges-container>div {
                min-height: 90px;
            }
        }

        /* Services badges floating animation */
        .services-badges-container>div {
            animation: floatBadge 6s ease-in-out infinite;
        }

        .services-badges-container>div:nth-child(1) {
            animation-delay: 0s;
        }

        .services-badges-container>div:nth-child(2) {
            animation-delay: 1.2s;
        }

        .services-badges-container>div:nth-child(3) {
            animation-delay: 2.4s;
        }

        .services-badges-container>div:nth-child(4) {
            animation-delay: 3.6s;
        }

        .services-badges-container>div:nth-child(5) {
            animation-delay: 4.8s;
        }

        @keyframes floatBadge {

            0%,
            100% {
                transform: translateY(0px) translateX(0px);
            }

            25% {
                transform: translateY(-8px) translateX(3px);
            }

            50% {
                transform: translateY(-4px) translateX(-2px);
            }

            75% {
                transform: translateY(-12px) translateX(1px);
            }
        }

        /* Pause animation on hover to avoid interference */
        .services-badges-container>div:hover {
            animation-play-state: paused;
        }

        /* Media queries pour les sections générales */
        @media (max-width: 768px) {

            /* Sections padding */
            section {
                padding: 3rem 0 !important;
            }

            /* Titres des sections - Fix visibility on mobile */
            .about-title,
            .services-title,
            .projects-title,
            .contact-title,
            .text-4xl,
            .text-5xl {
                font-size: 1.875rem !important;
                /* 30px - clearly visible on mobile */
                line-height: 1.2 !important;
                text-align: center !important;
                padding: 0 1rem !important;
                /* Prevent edge cutoff */
                margin-bottom: 1.5rem !important;
            }

            .text-3xl {
                font-size: 1.5rem !important;
                line-height: 1.3 !important;
                text-align: center !important;
                padding: 0 0.5rem !important;
            }

            /* Grilles responsive */
            .grid-cols-2 {
                grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
            }

            .grid-cols-3 {
                grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
            }

            .md\\:grid-cols-2 {
                grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
            }

            .md\\:grid-cols-3 {
                grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
            }
        }

        @media (max-width: 480px) {

            /* Sections plus compactes */
            section {
                padding: 2rem 0 !important;
            }

            /* Container padding */
            .px-6 {
                padding-left: 1rem !important;
                padding-right: 1rem !important;
            }

            /* Boutons responsive */
            .px-8 {
                padding-left: 1rem !important;
                padding-right: 1rem !important;
            }

            .py-3 {
                padding-top: 0.7rem !important;
                padding-bottom: 0.7rem !important;
            }

            .contact-info .bg-solid {
                padding: 1rem !important;
                /* Reduce from p-8 to p-4 on mobile */
                margin: 0 !important;
            }

            .contact-info .space-y-6>* {
                margin-bottom: 1rem !important;
            }

            .contact-info .flex.items-center {
                padding: 0.75rem !important;
                /* Reduce padding on contact items */
                flex-direction: row !important;
                align-items: center !important;
            }

            .contact-info .mr-4 {
                margin-right: 0.75rem !important;
                /* Reduce margin on mobile */
            }

            .contact-info h3 {
                font-size: 1.25rem !important;
                /* Smaller title on mobile */
                margin-bottom: 1rem !important;
                text-align: center !important;
            }

            /* Fix social links in contact section on mobile */
            .contact-info .flex.space-x-4 {
                justify-content: center !important;
                /* Center social icons */
                flex-wrap: wrap !important;
                /* Allow wrapping if needed */
                gap: 0.75rem !important;
                /* Consistent spacing */
            }

            .contact-info .flex.space-x-4 a {
                flex-shrink: 0 !important;
                /* Prevent shrinking */
            }

            iframe[src*="google.com/maps"] {
                pointer-events: auto !important;
                touch-action: manipulation !important;
            }

            .about-title,
            .services-title,
            .projects-title,
            .contact-title,
            .text-4xl,
            .text-5xl {
                font-size: 1.5rem !important;
                /* 24px - optimized for tiny screens */
                line-height: 1.1 !important;
                padding: 0 0.75rem !important;
                margin-bottom: 1rem !important;
            }

            .text-3xl {
                font-size: 1.25rem !important;
                /* 20px */
                line-height: 1.2 !important;
                padding: 0 0.5rem !important;
            }

            .text-2xl {
                font-size: 1.125rem !important;
                /* 18px */
                line-height: 1.3 !important;
            }
        }

        /* Header visible state */
        #header.header-visible {
            transform: translateY(0);
        }

        /* Header hidden state */
        #header.header-hidden {
            transform: translateY(-100%);
        }

        /* Modern glassmorphism effects */
        .glass-effect {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        /* Timeline Section Styles */
        .timeline-item {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .timeline-item.animate-in {
            opacity: 1;
            transform: translateY(0);
        }

        .timeline-content {
            position: relative;
            overflow: hidden;
        }

        .timeline-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.4);
            transition: left 0.8s ease;
        }

        .timeline-content.animate-sweep::before {
            left: 100%;
        }

        .timeline-progress {
            transition: height 0.3s ease;
        }

        /* Mobile Timeline Adjustments */
        @media (max-width: 768px) {
            .timeline-item {
                flex-direction: column;
            }

            .timeline-item .w-1\/2 {
                width: 100% !important;
                padding: 0 !important;
                margin-bottom: 2rem;
            }

            .timeline-item .absolute {
                position: relative !important;
                left: auto !important;
                transform: none !important;
                margin: 1rem auto;
            }

            .timeline-item:nth-child(even) .timeline-content,
            .timeline-item:nth-child(odd) .timeline-content {
                text-align: center;
            }
        }

        /* Process Timeline Styles */
        .process-step {
            opacity: 1;
            transform: translateY(0);
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .process-step.animate-in {
            opacity: 1;
            transform: translateY(0);
        }

        .process-content {
            position: relative;
            overflow: hidden;
        }

        .process-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.6);
            transition: left 0.8s ease;
        }

        .process-content:hover::before {
            left: 100%;
        }

        .process-timeline-progress {
            transition: height 0.5s ease;
        }

        .process-step-number {
            animation: pulse-number 1.5s ease-in-out infinite;
        }

        @keyframes pulse-number {

            0%,
            100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(1, 172, 182, 0.3);
            }

            50% {
                transform: scale(1.03);
                box-shadow: 0 0 0 8px rgba(1, 172, 182, 0);
            }
        }

        .process-icon {
            transition: all 0.3s ease;
        }

        .process-timer {
            animation: timer-pulse 2s ease-in-out infinite;
        }

        @keyframes timer-pulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.8;
            }
        }

        /* Mobile Process Adjustments */
        @media (max-width: 768px) {

            /* Mobile timeline container */
            #timeline .relative {
                padding-left: 3rem;
            }

            /* Timeline line positioning for mobile */
            .absolute.left-1\/2.w-1.h-full {
                left: 1rem !important;
                transform: translateX(0) !important;
            }

            .timeline-progress {
                left: 1rem !important;
                transform: translateX(0) !important;
            }

            .process-step {
                flex-direction: column;
                align-items: flex-start;
                margin-left: 2rem;
                position: relative;
            }

            .process-step .w-1\/2 {
                width: 100% !important;
                padding: 0 !important;
                margin-bottom: 1.5rem;
            }

            /* Show timeline dots on mobile - target the correct classes */
            .process-step .absolute.hidden.md\\:flex {
                display: flex !important;
                position: absolute !important;
                left: -2rem !important;
                transform: none !important;
                top: 1rem;
                margin: 0;
                z-index: 10;
            }

            /* Ensure all timeline dots are visible and properly positioned */
            .process-step>div.absolute[class*="hidden"] {
                display: flex !important;
                position: absolute !important;
                left: -2rem !important;
                transform: none !important;
                top: 1rem;
                margin: 0;
                z-index: 10;
            }

            .process-step:nth-child(even) .process-content,
            .process-step:nth-child(odd) .process-content {
                text-align: left;
            }

            /* Hide complex animations on mobile for performance */
            .process-step .process-content {
                transform: none !important;
                transition: none !important;
            }

            .process-step .process-icon {
                transform: none !important;
                transition: transform 0.2s ease;
            }

            /* Fix spacing between timeline items */
            .process-step+.process-step {
                margin-top: 2rem;
            }
        }

        /* Creative Card Enhancements */
        .about-cards .group img {
            filter: grayscale(20%) contrast(1.1);
            transition: all 0.5s ease;
        }

        .about-cards .group:hover img {
            transform: scale(1.15) rotate(5deg);
            filter: grayscale(0%) contrast(1.2) brightness(1.1);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }

        .about-cards .group {
            position: relative;
        }

        .about-cards .group::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: rgba(1, 172, 182, 0.1);
            border-radius: 1.75rem;
            opacity: 0;
            transition: opacity 0.5s ease;
            z-index: -1;
        }

        .about-cards .group:hover::before {
            opacity: 1;
        }

        /* Floating animation for decorative elements */
        @keyframes float-gentle {

            0%,
            100% {
                transform: translateY(0px) rotate(0deg);
            }

            50% {
                transform: translateY(-10px) rotate(180deg);
            }
        }

        .about-cards .group:hover .w-20,
        .about-cards .group:hover .w-16,
        .about-cards .group:hover .w-12 {
            animation: float-gentle 3s ease-in-out infinite;
        }

        /* Advanced animations */
        .solid-animation {
            background: #06b6d4;
            background-size: 400% 400%;
        }

        /* Text shimmer effect */
        .text-shimmer {
            background: rgba(255, 255, 255, 0.4);
            background-size: 200% 100%;
            animation: text-shimmer 3s ease-in-out infinite;
        }

        /* Modern shadows */
        .modern-shadow {
            box-shadow:
                0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -1px rgba(0, 0, 0, 0.06),
                0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        /* Hover glow effects */
        .hover-glow:hover {
            box-shadow:
                0 0 20px rgba(6, 182, 212, 0.3),
                0 0 40px rgba(6, 182, 212, 0.2),
                0 0 60px rgba(6, 182, 212, 0.1);
        }

        /* Canvas background elements */
        #particleCanvas,
        #geometryCanvas,
        #flowCanvas {
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
            pointer-events: none;
            opacity: 0.8;
            mix-blend-mode: screen;
            transition: opacity 0.5s ease;
        }

        #particleCanvas {
            opacity: 0.7;
            mix-blend-mode: normal;
        }

        #geometryCanvas {
            opacity: 0.3;
            mix-blend-mode: overlay;
        }

        #flowCanvas {
            opacity: 0.4;
            mix-blend-mode: soft-light;
        }

        /* Network Animations for Hero Carousel */
        .network-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }

        .carousel-slide.active .network-background {
            opacity: 1;
        }

        /* Network Nodes */
        .network-node {
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.8);
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
            animation: networkPulse 3s ease-in-out infinite;
            z-index: 2;
        }

        /* Network Connections SVG */
        .network-connections {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        /* Network Lines */
        .network-line {
            stroke-width: 1;
            opacity: 0.6;
            animation: networkFlow 4s ease-in-out infinite;
        }

        /* Innovation Network - Blue Theme */
        .innovation-network .network-node {
            background: rgba(1, 172, 182, 0.9);
            box-shadow: 0 0 20px rgba(1, 172, 182, 0.6);
        }

        .innovation-network .network-line {
            stroke: rgba(1, 172, 182, 0.7);
        }

        /* Development Network - Red Theme */
        .development-network .network-node {
            background: rgba(239, 35, 75, 0.9);
            box-shadow: 0 0 20px rgba(239, 35, 75, 0.6);
        }

        .development-network .development-line {
            stroke: rgba(239, 35, 75, 0.7);
        }

        /* Design Network - Purple Theme */
        .design-network .network-node {
            background: rgba(147, 51, 234, 0.9);
            box-shadow: 0 0 20px rgba(147, 51, 234, 0.6);
        }

        .design-network .design-line {
            stroke: rgba(147, 51, 234, 0.7);
        }

        /* Network Animation Keyframes */
        @keyframes networkPulse {

            0%,
            100% {
                transform: scale(1);
                opacity: 0.8;
                box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
            }

            50% {
                transform: scale(1.5);
                opacity: 1;
                box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
            }
        }

        @keyframes networkFlow {
            0% {
                stroke-dasharray: 0 100;
                stroke-dashoffset: 0;
            }

            50% {
                stroke-dasharray: 50 50;
                stroke-dashoffset: -25;
            }

            100% {
                stroke-dasharray: 100 0;
                stroke-dashoffset: -100;
            }
        }

        @keyframes networkSparkle {

            0%,
            100% {
                opacity: 0.4;
                transform: scale(0.8);
            }

            50% {
                opacity: 1;
                transform: scale(1.2);
            }
        }

        /* Network Responsive Adjustments */
        @media (max-width: 768px) {
            .network-node {
                width: 6px;
                height: 6px;
                box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
            }

            .network-line {
                stroke-width: 0.8;
                opacity: 0.5;
            }
        }

        @media (max-width: 480px) {
            .network-node {
                width: 4px;
                height: 4px;
                box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
            }

            .network-line {
                stroke-width: 0.6;
                opacity: 0.4;
            }

            .network-background {
                animation-duration: 6s;
                /* Slower on mobile for better performance */
            }
        }

        @keyframes pulseRing {

            0%,
            100% {
                transform: scale(1) rotate(0deg);
                opacity: 0.3;
            }

            50% {
                transform: scale(1.2) rotate(180deg);
                opacity: 0.6;
            }
        }

        /* Floating geometric shapes */
        .floating-shape {
            position: absolute;
            pointer-events: none;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }

        .carousel-slide.active .floating-shape {
            opacity: 1;
        }

        .shape-triangle {
            width: 0;
            height: 0;
            border-left: 25px solid transparent;
            border-right: 25px solid transparent;
            animation: floatUpDown 8s ease-in-out infinite;
        }

        .shape-square {
            width: 40px;
            height: 40px;
            animation: rotateFloat 10s linear infinite;
        }

        .shape-circle {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            animation: bounceFloat 6s ease-in-out infinite;
        }

        @keyframes floatUpDown {

            0%,
            100% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-30px) rotate(180deg);
            }
        }

        @keyframes rotateFloat {
            0% {
                transform: rotate(0deg) translateX(20px) rotate(0deg);
            }

            100% {
                transform: rotate(360deg) translateX(20px) rotate(-360deg);
            }
        }

        @keyframes bounceFloat {

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

            25% {
                transform: translateY(-15px) scale(1.1);
            }

            75% {
                transform: translateY(-5px) scale(0.95);
            }
        }

        /* Responsive adjustments for geometric animations */
        @media (max-width: 768px) {
            .geometric-background {
                opacity: 0.6;
            }

            .carousel-slide.active .geometric-background {
                opacity: 0.8;
            }

            .innovation-geo::before,
            .innovation-geo::after {
                width: 120px;
                height: 120px;
            }

            .design-geo::before {
                width: 200px;
                height: 200px;
            }

            .design-geo::after {
                width: 150px;
                height: 150px;
            }

            .floating-shape {
                opacity: 0.7;
            }

            .shape-triangle {
                border-left-width: 15px;
                border-right-width: 15px;
            }

            .shape-square {
                width: 25px;
                height: 25px;
            }

            .shape-circle {
                width: 20px;
                height: 20px;
            }
        }

        @media (max-width: 480px) {
            .geometric-background {
                opacity: 0.4;
            }

            .carousel-slide.active .geometric-background {
                opacity: 0.6;
            }

            .innovation-geo::before,
            .innovation-geo::after {
                width: 80px;
                height: 80px;
            }

            .design-geo::before {
                width: 150px;
                height: 150px;
            }

            .design-geo::after {
                width: 100px;
                height: 100px;
            }

            .floating-shape {
                opacity: 0.5;
            }

            .shape-triangle {
                border-left-width: 10px;
                border-right-width: 10px;
            }

            .shape-square {
                width: 20px;
                height: 20px;
            }

            .shape-circle {
                width: 15px;
                height: 15px;
            }

            /* Reduce animation complexity on very small screens */
            .innovation-geo,
            .development-geo,
            .design-geo {
                animation-duration: 30s;
                /* Slower animations */
            }

            .shape-triangle,
            .shape-square,
            .shape-circle {
                animation-duration: 12s;
                /* Slower animations */
            }
        }

        /* Responsive canvas adjustments */
        @media (max-width: 768px) {

            #particleCanvas,
            #geometryCanvas,
            #flowCanvas {
                opacity: 0.5;
            }

            #particleCanvas {
                opacity: 0.4;
            }

            #geometryCanvas {
                opacity: 0.2;
            }

            #flowCanvas {
                opacity: 0.3;
            }
        }

        @media (max-width: 480px) {

            #particleCanvas,
            #geometryCanvas,
            #flowCanvas {
                opacity: 0.3;
            }

            #particleCanvas {
                opacity: 0.3;
            }

            #geometryCanvas {
                opacity: 0.15;
            }

            #flowCanvas {
                opacity: 0.2;
            }
        }

        /* Smooth transitions for all elements */
        * {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Custom scrollbar for modern look */
        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(15, 23, 42, 0.1);
        }

        ::-webkit-scrollbar-thumb {
            background: #06b6d4;
            border-radius: 3px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #0891b2;
        }

        /* AI Assistant Styles */
        .ai-assistant {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
            font-family: 'Roboto', sans-serif;
        }

        /* Chat Toggle Button */
        .chat-toggle {
            position: relative;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: #01acb6;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(1, 172, 182, 0.3);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            overflow: hidden;
        }

        .chat-toggle:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 25px rgba(1, 172, 182, 0.4);
        }

        .chat-toggle:active {
            transform: scale(0.95);
        }

        .chat-pulse {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: #01acb6;
            opacity: 0.7;
            animation: pulse-ring 2s infinite;
        }

        @keyframes pulse-ring {
            0% {
                transform: scale(1);
                opacity: 0.7;
            }

            50% {
                transform: scale(1.2);
                opacity: 0.3;
            }

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

        .chat-icon,
        .chat-close-icon {
            position: relative;
            z-index: 2;
            transition: all 0.3s ease;
        }

        .chat-toggle.active .chat-icon {
            transform: rotate(180deg);
            opacity: 0;
        }

        .chat-toggle.active .chat-close-icon {
            transform: rotate(0deg);
            opacity: 1;
        }

        /* Chat Window */
        .chat-window {
            position: absolute;
            bottom: 80px;
            right: 0;
            width: 30vw;
            height: 60vh;
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            transform: translateY(20px) scale(0.95);
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(1, 172, 182, 0.1);
        }

        .chat-window.show {
            transform: translateY(0) scale(1);
            opacity: 1;
        }

        /* Chat Header */
        .chat-header {
            background: #01acb6;
            padding: 20px;
            color: white;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .chat-header-content {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .assistant-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 6px;
        }

        .assistant-name {
            font-size: 16px;
            font-weight: 600;
            margin: 0;
        }

        .assistant-status {
            font-size: 12px;
            margin: 0;
            opacity: 0.9;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #4ade80;
            animation: pulse-dot 2s infinite;
        }

        @keyframes pulse-dot {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.5;
            }
        }

        .chat-minimize {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            border-radius: 8px;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .chat-minimize:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        /* Chat Messages */
        .chat-messages {
            height: 280px;
            overflow-y: auto;
            padding: 20px;
            background: #f8fafc;
            scroll-behavior: smooth;
        }

        .chat-messages::-webkit-scrollbar {
            width: 4px;
        }

        .chat-messages::-webkit-scrollbar-track {
            background: transparent;
        }

        .chat-messages::-webkit-scrollbar-thumb {
            background: rgba(1, 172, 182, 0.3);
            border-radius: 2px;
        }

        .message {
            display: flex;
            gap: 10px;
            margin-bottom: 16px;
            animation: messageSlideIn 0.3s ease-out;
        }

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

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

        .message-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #01acb6;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            padding: 4px;
        }

        .user-message {
            flex-direction: row-reverse;
        }

        .user-message .message-avatar {
            background: #EF234B;
        }

        .message-content {
            max-width: 250px;
            background: white;
            padding: 12px 16px;
            border-radius: 18px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            position: relative;
        }

        .user-message .message-content {
            background: #01acb6;
            color: white;
        }

        .message-content p {
            margin: 0;
            font-size: 14px;
            line-height: 1.4;
        }

        .message-time {
            font-size: 11px;
            color: #64748b;
            margin-top: 4px;
            display: block;
        }

        .user-message .message-time {
            color: rgba(255, 255, 255, 0.8);
        }

        /* Quick Actions */
        .quick-actions {
            padding: 16px 20px;
            background: white;
            border-top: 1px solid #e2e8f0;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .quick-action {
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 10px 12px;
            font-size: 12px;
            font-weight: 500;
            color: #475569;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .quick-action:hover {
            background: #01acb6;
            color: white;
            border-color: #01acb6;
            transform: translateY(-1px);
        }

        /* Chat Input */
        .chat-input-container {
            background: white;
            border-top: 1px solid #e2e8f0;
        }

        .chat-input-wrapper {
            padding: 16px 20px;
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .chat-input {
            flex: 1;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 10px 16px;
            font-size: 14px;
            outline: none;
            transition: border-color 0.2s ease;
            background: #f8fafc;
        }

        .chat-input:focus {
            border-color: #01acb6;
            background: white;
        }

        .chat-send {
            background: #01acb6;
            border: none;
            border-radius: 12px;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .chat-send:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(1, 172, 182, 0.3);
        }

        .chat-send:disabled {
            opacity: 0.5;
            /* cursor: not-allowed; */
            transform: none;
        }

        .chat-input-footer {
            padding: 8px 20px 16px;
            text-align: center;
        }

        .powered-by {
            font-size: 11px;
            color: #94a3b8;
        }

        /* Typing Indicator */
        .typing-indicator {
            display: flex;
            gap: 10px;
            align-items: center;
            padding: 12px 16px;
            background: white;
            border-radius: 18px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            max-width: 250px;
        }

        .typing-dots {
            display: flex;
            gap: 4px;
        }

        .typing-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #94a3b8;
            animation: typingDot 1.4s infinite;
        }

        .typing-dot:nth-child(2) {
            animation-delay: 0.2s;
        }

        .typing-dot:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes typingDot {

            0%,
            60%,
            100% {
                transform: translateY(0);
                opacity: 0.4;
            }

            30% {
                transform: translateY(-10px);
                opacity: 1;
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .ai-assistant {
                bottom: 15px;
                right: 15px;
            }

            .chat-toggle {
                width: 55px;
                height: 55px;
            }

            .chat-window {
                width: calc(100vw - 30px);
                height: 70vh;
                max-height: 500px;
                bottom: 75px;
                right: -15px;
            }

            .chat-messages {
                height: calc(70vh - 220px);
                min-height: 200px;
            }

            .quick-actions {
                grid-template-columns: 1fr;
                gap: 6px;
            }

            .quick-action {
                padding: 12px;
                font-size: 13px;
            }
        }

        @media (max-width: 480px) {
            .chat-window {
                width: calc(100vw - 20px);
                height: 75vh;
                bottom: 70px;
                right: -10px;
                border-radius: 16px;
            }

            .chat-header {
                padding: 16px;
            }

            .assistant-name {
                font-size: 15px;
            }

            .chat-messages {
                padding: 16px;
                height: calc(75vh - 200px);
            }

            .message-content {
                max-width: 200px;
            }
        }

        /* Hidden class */
        .hidden {
            display: none !important;
        }

        /* Enhanced Animations */
        @keyframes chatBounceIn {
            0% {
                opacity: 0;
                transform: scale(0.3) translateY(20px);
            }

            50% {
                opacity: 1;
                transform: scale(1.05) translateY(-5px);
            }

            70% {
                transform: scale(0.95) translateY(0);
            }

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

        @keyframes chatSlideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

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

        @keyframes chatGlow {

            0%,
            100% {
                box-shadow: 0 4px 20px rgba(1, 172, 182, 0.3);
            }

            50% {
                box-shadow: 0 6px 30px rgba(1, 172, 182, 0.5);
            }
        }

        /* Enhanced chat window animation */
        .chat-window.show {
            animation: chatBounceIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Enhanced message animations */
        .message {
            animation: chatSlideUp 0.3s ease-out;
        }

        /* Glow effect for chat toggle */
        .chat-toggle:hover {
            animation: chatGlow 2s infinite;
        }

        /* Smooth hover effects for quick actions */
        .quick-action {
            position: relative;
            overflow: hidden;
        }

        .quick-action::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(1, 172, 182, 0.2);
            transition: left 0.5s ease;
        }

        .quick-action:hover::before {
            left: 100%;
        }

        /* Enhanced typing indicator */
        .typing-indicator {
            animation: chatSlideUp 0.3s ease-out;
        }

        /* Notification styles */
        .ai-notification {
            font-family: 'Roboto', sans-serif;
            backdrop-filter: blur(10px);
        }

        /* Message button hover effects */
        .message-button {
            position: relative;
            overflow: hidden;
        }

        .message-button::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(1, 172, 182, 0.3);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.3s ease, height 0.3s ease;
        }

        .message-button:hover::after {
            width: 100px;
            height: 100px;
        }

        /* Accessibility improvements */
        .chat-toggle:focus,
        .chat-send:focus,
        .chat-input:focus,
        .quick-action:focus {
            outline: 2px solid #01acb6;
            outline-offset: 2px;
        }

        /* Dark mode support (optional) */
        @media (prefers-color-scheme: dark) {
            .chat-messages {
                background: #1e293b;
            }

            .message-content {
                background: #334155;
                color: #f1f5f9;
            }

            .chat-input {
                background: #334155;
                color: #f1f5f9;
                border-color: #475569;
            }

            .quick-action {
                background: #334155;
                color: #f1f5f9;
                border-color: #475569;
            }
        }

        /* Performance optimizations */
        .ai-assistant * {
            will-change: transform, opacity;
        }

        .chat-toggle {
            will-change: transform, box-shadow;
        }

        .chat-window {
            will-change: transform, opacity;
        }

        /* Hero Carousel Styles */
        .carousel-container {
            overflow: hidden;
        }

        .carousel-slide {
            transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .carousel-slide:not(.active) {
            opacity: 0;
            transform: scale(1.05);
        }

        .carousel-slide.active {
            opacity: 1;
            transform: scale(1);
        }

        /* Simple Dot Pagination Styles */
        /* Replace the existing carousel pagination styles with this: */
        .carousel-pagination {
            backdrop-filter: blur(10px);
            background: rgba(0, 0, 0, 0.3);
            border-radius: 25px;
            padding: 8px 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .carousel-dot {
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.4);
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
        }

        /* Active dot styles */
        .carousel-dot.active {
            background: #ffffff;
            transform: scale(1.3);
            box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
        }

        /* Hover effects */
        .carousel-dot:hover:not(.active) {
            background: rgba(255, 255, 255, 0.6);
            transform: scale(1.1);
        }

        /* Responsive dot styles */
        @media (max-width: 768px) {
            .carousel-pagination {
                padding: 6px 12px;
                bottom: 15px !important;
            }

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

        @media (max-width: 480px) {
            .carousel-pagination {
                padding: 4px 10px;
            }

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

        /* Marquee logos */
        .marquee-wrapper {
            overflow: hidden;
            width: 100%;
        }

        .marquee-track {
            display: flex;
            gap: 6vw;
            width: max-content;
            animation: marquee-scroll 30s linear infinite;
            align-items: center;
        }

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

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

        .marquee-logo {
            height: 6vh;
            width: auto;
            max-height: 72vh;
            opacity: 0.9;
            transition: opacity 0.2s ease, transform 0.2s ease;
            filter: none;
        }

        .marquee-logo:hover {
            opacity: 1;
            transform: scale(1.05);
        }

        @media (max-width: 768px) {
            .marquee-track {
                gap: 10vw;
                animation-duration: 24s;
            }

            .marquee-logo {
                height: 5.5vh;
            }
        }

        @media (max-width: 480px) {
            .marquee-track {
                gap: 12vw;
                animation-duration: 20s;
            }

            .marquee-logo {
                height: 5vh;
            }
        }


        /* Design Train Animation */
        .design-train-container {
            width: 100%;
            height: 400px;
            mask: none;
            -webkit-mask: none;
        }

        .design-train {
            animation: none;
            transform: translateX(0);
            will-change: auto;
        }

        /* Cards Grid Styles */
        .design-cards-grid {
            gap: 2rem;
        }

        .design-card {
            transition: all 0.3s ease;
            will-change: transform;
        }

        .design-card:hover {
            transform: scale(1.05);
        }

        .design-card img {
            transition: all 0.5s ease;
        }

        /* Alternating hover effects */
        .design-card:nth-child(odd) img {
            transform-origin: left center;
        }

        .design-card:nth-child(even) img {
            transform-origin: right center;
        }

        /* Design Carousel Styles */
        .design-carousel-container {
            position: relative;
        }

        .design-carousel-track {
            overflow: hidden;
        }

        .design-carousel-slides {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        .design-carousel-slide {
            flex: 0 0 100%;
            max-width: 100%;
        }

        .design-carousel-prev,
        .design-carousel-next {
            opacity: 0;
            transform: translateY(-50%) scale(0.9);
            transition: all 0.3s ease;
        }

        .design-carousel-container:hover .design-carousel-prev,
        .design-carousel-container:hover .design-carousel-next {
            opacity: 1;
            transform: translateY(-50%) scale(1);
        }

        .design-carousel-dot.active {
            background-color: #01acb6 !important;
            transform: scale(1.3);
            box-shadow: 0 0 8px rgba(1, 172, 182, 0.5);
        }

        /* Responsive design carousel */
        @media (max-width: 768px) {
            .design-cards-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .design-carousel-slide .grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                padding: 0 1rem;
            }

            .design-card {
                max-width: 400px;
                margin: 0 auto;
            }

            .design-card:hover {
                transform: scale(1.02);
            }

            .design-carousel-prev,
            .design-carousel-next {
                width: 10px;
                height: 10px;
            }

            .design-carousel-prev {
                left: 8px;
            }

            .design-carousel-next {
                right: 8px;
            }

            .design-carousel-prev i,
            .design-carousel-next i {
                width: 4px;
                height: 4px;
            }
        }

        @media (max-width: 1024px) and (min-width: 769px) {
            .design-carousel-slide .grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .design-cards-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .design-card {
                max-width: 320px;
            }

            .design-card .relative.h-80 {
                height: 250px;
            }

            .design-card:hover {
                transform: none;
            }

            .design-card img:hover {
                transform: scale(1.05);
            }

            /* Désactiver les effets coûteux sur mobile */
            #design-content .blur-xl {
                display: none !important;
            }

            #design-content [class*="backdrop-blur"] {
                backdrop-filter: none !important;
                background: rgba(0, 0, 0, 0.2) !important;
            }

            /* / */

            .design-cards-grid {
                padding: 2rem;
                background: #667eea;
                min-height: 100vh;
            }

            .modal-overlay {
                backdrop-filter: blur(10px);
                background: rgba(0, 0, 0, 0.8);
            }

            .modal-content {
                animation: modalFadeIn 0.3s ease-out;
            }

            @keyframes modalFadeIn {
                from {
                    opacity: 0;
                    transform: scale(0.9) translateY(-20px);
                }

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

            .modal-image {
                max-height: 80vh;
                max-width: 90vw;
                width: auto;
                height: auto;
                object-fit: contain;
            }

            .close-btn:hover {
                transform: rotate(90deg);
            }
        }

        /* Advanced Carousel Styles */
        .advanced-carousel-container {
            position: relative;
            width: 100%;
            max-width: 1200px;
            overflow: hidden;
            margin: 0 auto;
        }

        .advanced-carousel-wrapper {
            overflow: hidden;
            width: 100%;
        }

        .advanced-carousel {
            display: flex;
            gap: 20px;
            transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            padding: 20px 0;
        }

        .advanced-carousel-card {
            border-radius: 16px;
            width: 350px;
            height: 250px;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            flex-shrink: 0;
        }

        .advanced-carousel-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            position: relative;
            z-index: 2;
        }

        .advanced-carousel-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        }

        .advanced-carousel-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 1;
        }

        .advanced-carousel-card:hover::before {
            opacity: 1;
        }

        .advanced-carousel-card .link-icon {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
            opacity: 0;
            transform: translateY(-10px);
        }

        .advanced-carousel-card:hover .link-icon {
            opacity: 1;
            transform: translateY(0);
        }

        .advanced-carousel-card .link-icon:hover {
            background: white;
            transform: scale(1.1);
        }

        .advanced-carousel-card .link-icon svg {
            width: 20px;
            height: 20px;
            stroke: #333;
            stroke-width: 2;
        }

        /* Hover overlay styles */
        .carousel-hover-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 3;
            pointer-events: none;
        }

        .carousel-overlay-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .advanced-carousel-card:hover .carousel-overlay-bg {
            opacity: 1;
        }

        /* Content overlay styles */
        .carousel-content-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 24px;
            z-index: 4;
            transform: translateY(20px);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .advanced-carousel-card:hover .carousel-content-overlay {
            transform: translateY(0);
            opacity: 1;
        }

        .carousel-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: white;
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .carousel-description {
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.4;
            margin: 0;
        }

        .advanced-nav-btn {
            background: rgba(1, 172, 182, 0.2);
            border: 2px solid rgba(1, 172, 182, 0.3);
            color: #01acb6;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 5;
        }

        .advanced-nav-btn:hover:not(:disabled) {
            background: rgba(1, 172, 182, 0.4);
            border-color: rgba(1, 172, 182, 0.6);
            color: white;
        }

        .advanced-nav-btn.prev {
            left: -70px;
        }

        .advanced-nav-btn.next {
            right: -70px;
        }

        .advanced-nav-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .advanced-dots {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 30px;
        }

        .advanced-dot {
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.25);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .advanced-dot.center {
            width: 10px;
            height: 10px;
            background: #01acb6;
        }

        .advanced-dot.adjacent {
            width: 8px;
            height: 8px;
            background: rgba(1, 172, 182, 0.6);
        }

        .advanced-dot.outer {
            width: 6px;
            height: 6px;
            background: rgba(255, 255, 255, 0.25);
        }

        .advanced-loading-placeholder {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
            z-index: 1;
        }

        @keyframes loading {
            0% {
                background-position: 200% 0;
            }

            100% {
                background-position: -200% 0;
            }
        }

        @media (max-width: 768px) {
            .advanced-carousel {
                gap: 15px;
                padding: 20px;
            }

            .advanced-carousel-card {
                width: 300px;
            }

            .advanced-nav-btn.prev {
                left: 10px;
            }

            .advanced-nav-btn.next {
                right: 10px;
            }
        }

         
        @media (max-width: 768px) {
            .hero-section {
                min-height: 80vh;
                padding-top: 100px;
                padding-bottom: 50px;
            }

            .hero-section h1 {
                font-size: 2.5rem;
                margin-bottom: 1.5rem;
            }

            .hero-section p {
                font-size: 1.1rem;
                margin-bottom: 2rem;
            }

            .hero-buttons {
                flex-direction: column;
                gap: 1rem;
            }

            .hero-buttons button {
                width: 100%;
                max-width: 300px;
            }

            .topic-badges {
                gap: 0.5rem;
                margin-bottom: 2rem;
            }

            .topic-badges span {
                font-size: 0.8rem;
                padding: 0.5rem 1rem;
            }

            /* Category filters */
            .category-filters {
                overflow-x: auto;
                padding-bottom: 0.5rem;
            }

            .category-filters .flex {
                flex-wrap: nowrap;
                width: max-content;
            }

            /* Main content area */
            .main-content-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }

            .search-sort-container {
                width: 100%;
                flex-direction: column;
                gap: 1rem;
            }

            .search-sort-container .flex {
                width: 100%;
                justify-content: space-between;
            }

            #search-input {
                width: 100%;
                max-width: 200px;
            }

            /* Articles grid */
            #posts.grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .card {
                margin-bottom: 1rem;
            }

            /* Sidebar */
            .sidebar {
                order: -1;
            }

            .sidebar .space-y-8 {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }

            .sidebar>div {
                margin-bottom: 0;
            }

            /* Pagination */
            .pagination-container nav {
                flex-wrap: wrap;
                justify-content: center;
            }

            .pagination-container a {
                margin: 0.25rem;
            }
        }
        