/* Variables */
        :root {
            --primary: #2c3e50;
            --secondary: #3498db;
            --accent: #e74c3c;
            --light: #ecf0f1;
            --dark: #2c3e50;
            --text: #333;
            --shadow: 0 2px 4px rgba(0,0,0,0.1);
            --transition: all 0.3s ease;
        }

        /* Base styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 70px;
        }

        body {
            color: var(--text);
            line-height: 1.6;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        section {
            padding: 60px 0;
        }

        h1, h2, h3 {
            margin-bottom: 20px;
            color: var(--primary);
        }

        h2 {
            font-size: 1.8rem;
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }

        h2:after {
            content: '';
            position: absolute;
            width: 60px;
            height: 3px;
            background: var(--accent);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }

        p {
            margin-bottom: 15px;
        }

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

        a:hover {
            color: var(--accent);
        }

        .btn {
            display: inline-block;
            padding: 10px 20px;
            background: var(--secondary);
            color: white;
            border-radius: 4px;
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            box-shadow: var(--shadow);
        }

        .btn:hover {
            background: var(--accent);
            color: white;
            transform: translateY(-2px);
        }

        .btn-accent {
            background: var(--accent);
        }

        .text-center {
            text-align: center;
        }

        /* Header */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            box-shadow: var(--shadow);
            z-index: 1000;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        .logo {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--primary);
        }

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

        .nav-links {
            display: flex;
            list-style: none;
        }

        .nav-links li {
            margin-left: 20px;
        }

        .nav-links a {
            color: var(--dark);
            font-weight: 600;
        }

        .hamburger {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 1001;
        }

        /* Hero section */
		/*
		#hero {
			position: relative;
			height: 100vh;
			display: flex;
			align-items: center;
			background: url('/cecure-hero.webp') no-repeat center center/cover;
			color: white;
			text-align: center;
		}*/
		
		#hero {
			position: relative;
			height: 100vh;
			display: flex;
			align-items: center;
			color: white;
			text-align: center;
			overflow: hidden; /* Empêche le flou de déborder */
		}

		/* Nouvel élément pour l'image de fond avec flou */
		#hero::after {
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: url('/cecure-hero.webp') no-repeat center center/cover;
			filter: blur(5px); /* Ajout de l'effet de flou */
			z-index: 0; /* Sous le film alpha */
			transform: scale(1.1); /* Évite les bords blancs causés par le flou */
		}

		#hero::before {
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background-color: rgba(22, 50, 79, 0.45); /* Film noir */
			z-index: 1; /* Pour s'assurer que le film est entre l'arrière-plan et le contenu */
		}

		.hero-content {
			max-width: 800px;
			margin: 0 auto;
			position: relative;
			z-index: 2; /* Pour placer le contenu au-dessus du film */
		}

        .hero-content h1 {
            font-size: 2.5rem;
            color: white;
            margin-bottom: .4rem;
			text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
        }

        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }

        /* Services section */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .service-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .service-image {
            height: 180px;
            overflow: hidden;
        }

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

        .service-content {
            padding: 20px;
        }

        .service-icon {
            color: var(--accent);
            font-size: 2rem;
            margin-bottom: 15px;
        }

        .service-features {
            list-style: none;
            margin: 15px 0;
        }

        .service-features li {
            padding: 5px 0;
            display: flex;
            align-items: center;
        }

        .service-features li i {
            color: #2ecc71;
            margin-right: 10px;
            font-size: 0.9rem;
        }

        /* Coverage section */
        #coverage {
            background: var(--light);
        }

        .cities-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-top: 30px;
        }

        .city-item {
            background: white;
            padding: 8px 15px;
            border-radius: 20px;
            box-shadow: var(--shadow);
            font-weight: 600;
            transition: var(--transition);
        }

        .city-item:hover {
            background: var(--accent);
            color: white;
        }

        /* Why us section */
        #why-us {
            background: var(--primary);
            color: white;
        }

        #why-us h2 {
            color: white;
        }

        #why-us h2:after {
            background: white;
        }

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

        .benefit-item {
            text-align: center;
            padding: 25px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            transition: var(--transition);
        }

        .benefit-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: var(--accent);
        }

        .benefit-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: white;
        }

        /* CTA section */
        #cta {
            background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/api/placeholder/1920/1080') no-repeat center center/cover;
            text-align: center;
            color: white;
        }

        #cta h2 {
            color: white;
        }

        .cta-content {
            max-width: 700px;
            margin: 0 auto;
        }

        /* Clients slider */
        #clients {
            padding: 50px 0;
            background: white;
        }
        
        .clients-slider-container {
            position: relative;
            max-width: 100%;
            margin: 0 auto;
            overflow: hidden;
        }
        
        .clients-slider {
            width: 100%;
            overflow: hidden;
            position: relative;
            margin: 30px 0;
            padding: 0 10px;
        }
        
        .clients-track {
            display: flex;
            animation: scroll 25s linear infinite;
            width: calc(200px * 12); /* Width of each logo * number of logos */
        }
        
        .clients-track:hover,
        .clients-slider-container:hover .clients-track {
            animation-play-state: paused;
        }
        
        .client-item {
            flex: 0 0 auto;
            width: 200px;
            height: 80px;
            padding: 0 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
        }
        
        .client-item:hover {
            transform: scale(1.1);
        }
        
        .client-item img {
            max-width: 100%;
            max-height: 100%;
            filter: grayscale(100%);
            opacity: 0.7;
            transition: all 0.3s ease;
        }
        
        .client-item:hover img {
            filter: grayscale(0);
            opacity: 1;
        }
        
        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(calc(-200px * 8)); /* Half of the total width (for seamless loop) */
            }
        }
        
        .slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 16px;
            cursor: pointer;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            transition: background 0.3s ease;
        }
        
        .slider-arrow:hover {
            background: var(--accent);
        }
        
        .prev-arrow {
            left: 10px;
        }
        
        .next-arrow {
            right: 10px;
        }
        
        @media (max-width: 768px) {
            .slider-arrow {
                width: 35px;
                height: 35px;
                font-size: 14px;
            }
        }

        /* Contact section */
        #contact {
            background: var(--light);
        }

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

        .contact-info-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .contact-icon {
            width: 40px;
            height: 40px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
        }

        .contact-hours {
            background: white;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            box-shadow: var(--shadow);
        }

        .hours-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 10px;
        }

        .day-hours {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px dashed #ddd;
        }

        .day {
            font-weight: 600;
        }

        .contact-form {
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: var(--shadow);
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .form-control {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1rem;
        }

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

        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: 40px 0 20px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }

        .footer-logo {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--accent);
            margin-bottom: 15px;
        }

        .footer-links h4 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.2rem;
        }

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

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: #bbb;
        }

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

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            color: #aaa;
        }

        /* Responsive styles */
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }

            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 80%;
                max-width: 300px;
                height: 100%;
                background: white;
                flex-direction: column;
                align-items: flex-start;
                padding: 80px 30px 30px;
                transition: var(--transition);
                z-index: 999;
                box-shadow: -2px 0 10px rgba(0,0,0,0.1);
            }

            .nav-links.active {
                right: 0;
            }

            .nav-links li {
                margin: 0 0 15px 0;
                width: 100%;
                border-bottom: 1px solid rgba(0,0,0,0.1);
            }
            
            .nav-links a {
                display: block;
                padding: 10px 0;
            }

            .hero-content h1 {
                font-size: 1.8rem;
            }

            .hero-buttons {
                flex-direction: column;
                gap: 15px;
            }
        }

        @media (max-width: 576px) {
            section {
                padding: 40px 0;
            }

            h2 {
                font-size: 1.5rem;
            }

            .service-card, .benefit-item {
                padding: 15px;
            }
        }
		
.hero-content h1 {
    line-height: 1.4;
}

.typing-container {
    display: block;
    text-align: center;
    margin: 0 0 1em 0;
    min-height: 50px; /* Hauteur minimale pour éviter les sauts de mise en page */
    position: relative;
}

.typing-text {
    position: relative;
    display: inline-block;
    text-align: center;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.text-options {
    position: relative;
    display: inline-block;
}

.text-option {
    display: none;
    opacity: 0;
    animation: fadeInOut 4s ease-in-out forwards;
    color: var(--accent);
    font-weight: 700;
    font-size: 2.2rem; /* Taille légèrement plus grande pour mettre en valeur */
}

.text-option.active {
    display: inline-block;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(10px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

@media (max-width: 768px) {
	.text-option {
		font-size: 1.7rem;
	}
	.hero-content h1 {
		line-height: 1.3;
	}
}
