  /* General Styles */
        * {
            padding: 0;
            margin: 0;
            box-sizing: border-box;
            
        }
        
  body {
    width: 100vw;
    overflow-x: hidden; 
    font-family: Arial, sans-serif;
}
        
        :root {
            --main-color: #34489f;
            --secondary1: #4a76c1;
            --secondary2: #8c9f36;
            --secondary3: #636972;
        }
        
        /* Preloader */
    /* =================================== */
/* Preloader optimisé avec dégradé     */
/* =================================== */

/* =================================== */
/* Preloader optimisé avec couleur claire */
/* =================================== */

.ctn-preloader {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9000;
    flex-direction: column;
    /* Nouveau fond clair et professionnel */
    background: #f8f9fa; 
}

/* --- Rétablissement des couleurs foncées pour le texte --- */

/* Couleur de base des lettres animées */
.txt-loading .letters-loading {
    color: rgba(52, 72, 159, 0.2); /* Bleu très transparent */
}

/* Couleur des lettres pendant l'animation (votre couleur principale) */
.txt-loading .letters-loading:before {
    color: var(--main-color);
}

/* Couleur du texte sous le logo */
.text-anni {
    color: #333333; /* Noir doux */
    border-right-color: #555555; /* Curseur qui clignote en gris foncé */
}
        
        .animation-preloader { text-align: center; }
        
        .logo img {
            width: 200px;
            height: auto;
            margin-bottom: 20px;
        }
        
        /* Animation pour le logo du preloader */
.ctn-preloader .logo img {
    animation: zoomIn 0.8s ease-out forwards;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
        .txt-loading {
            font: bold 4em "Poppins", sans-serif;
            text-align: center;
            user-select: none;
        }
        
        .txt-loading .letters-loading {
            color: rgba(0,0,0, 0.7);
            position: relative;
            display: inline-block;
        }
        
        .txt-loading .letters-loading:before {
            animation: letters-loading 4s infinite;
            color: #343c9e;
            content: attr(data-text-preloader);
            left: 0;
            opacity: 0;
            position: absolute;
            top: -3px;
            transform: rotateY(-90deg);
        }
        
        .txt-loading .letters-loading:nth-child(2):before { animation-delay: 0.2s; }
        .txt-loading .letters-loading:nth-child(3):before { animation-delay: 0.4s; }
        .txt-loading .letters-loading:nth-child(4):before { animation-delay: 0.6s; }
        .txt-loading .letters-loading:nth-child(5):before { animation-delay: 0.8s; }
        
        @keyframes letters-loading {
            0%, 75%, 100% { opacity: 0; transform: rotateY(-90deg); }
            25%, 50% { opacity: 1; transform: rotateY(0deg); }
        }
        
        .text-anni {
            text-align: center;
            color: #000;
            font-size: 24px;
            border-right: 2px solid #0f0;
            white-space: nowrap;
            overflow: hidden;
            width: 0;
            animation: typing 4s steps(40, end) forwards, blink 0.7s infinite;
        }
        
        @keyframes typing {
            from { width: 0 }
            to { width: 100% }
        }
        
        @keyframes blink { 50% { border-color: transparent } }
        
        .ctn-preloader.hide {
            opacity: 0;
            visibility: hidden;
            transition: all 0.8s ease;
        }
        
        /* Hide content initially for preloader */
        #content { display: none; }

        /* Top bar */
        .top-bar {
            background: linear-gradient(to right, var(--main-color), var(--secondary1));
            color: white;
            font-size: 14px;
            padding: 10px 15px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
        }
        
        .top-bar i { margin-right: 5px; }
        
        .social-icons a {
            color: white;
            margin-left: 10px;
            transition: color 0.3s;
        }
        
        .social-icons a:hover { color: var(--secondary2); }
        
        /* Header main */
        .header-main {
            padding: 15px;
            background: #fff;
            border-bottom: 1px solid #ddd;
        }
                
        /* Navigation */
        .navbar {
            padding: 10px 20px;
            background: var(--main-color);
        }
        
        .navbar-nav { gap: 20px; }
        
        .navbar-nav .nav-link {
            color: white;
            font-weight: 600;
            text-decoration: none;
            padding: 15px 10px;
            font-size: 14px;
            text-align: center;
        }
        
        .navbar-nav .nav-link:hover { color: var(--secondary2); }
        
        .navbar-toggler { border: none; }
        
        .navbar-toggler-icon {
            background-image: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        
        .navbar-toggler-icon::before {
            font-family: "Font Awesome 6 Free";
            content: "\f0c9";
            font-weight: 900;
            color: white;
            font-size: 22px;
        }
        
        /* Main Banner */
        .hero {
            background: url('../images/back1.webp') no-repeat center center/cover;
            min-height: 600px;
            display: flex;
            align-items: center;
            text-align: center;
            color: white;
            position: relative;
            padding: 60px 20px;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.6);
        }
        
        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .hero h3 {
            font-size: 2rem;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        
        .hero p {
            font-size: 1.1rem;
            margin-bottom: 30px;
        }
        
        .btn {
            display: inline-block;
            background: var(--secondary2);
            color: white;
            padding: 12px 30px;
            text-decoration: none;
            border-radius: 5px;
            font-weight: 600;
            transition: background 0.3s;
        }
        
        .btn:hover { background: var(--secondary1); }
        
        /* About section */
        .about {
            padding: 60px 20px;
            background: #f9f9f9;
            color: #333;
        }
        
        .about .container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .about .left, .about .right { flex: 1 1 45%; }
        
        .about .main-title {
            font-size: 32px;
            font-weight: bold;
            color: var(--main-color);
            margin-bottom: 30px;
        }
        
        .about h3 {
            font-size: 22px;
            margin-bottom: 10px;
            color: #444;
        }
        
        .about p {
            font-size: 16px;
            line-height: 1.7;
            margin-bottom: 20px;
            text-align: justify;
        }
        
        .about .services ul {
            list-style: none;
            padding: 0;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px 40px;
        }
        
        .about .services li {
            font-size: 16px;
            display: flex;
            align-items: center;
        }

        .about .right.services li i {
            font-size: 28px;
            color: #E67E22;
            margin-right: 15px; /* Corrected from 125px */
        }
        
        /* Services section */
        .services-section { padding: 60px 20px; }
        
        .section-title  {
            text-align: center;
            font-size: 32px;
            font-weight: bold;
            color: var(--main-color);
            margin-bottom: 10px;
        }
        
      .services-section .subtitle {
    text-align: center;
    font-size: 16px;          /* Un peu plus grand pour une meilleure lecture */
    color: #555;              /* Un gris légèrement plus foncé pour le contraste */
    line-height: 1.6;         /* Améliore l'espacement entre les lignes */
    max-width: 750px;         /* Empêche le texte d'être trop large sur de grands écrans */
    margin: 0 auto 40px auto; /* Centre le paragraphe et conserve la marge du bas */
}
        .services-content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
        }
        
       .services-col li {
    font-size: 18px;          /* Augmenté pour un texte plus grand */
    margin-bottom: 25px;      /* Un peu plus d'espace entre les lignes */
    display: flex;
    align-items: center;
    color: #333;
}

.services-col i {
    font-size: 32px;          /* Augmenté pour une icône plus visible */
    color: var(--secondary2);
    margin-right: 15px;       /* Plus d'espace entre l'icône et le texte */
}
        
        .services-img {
            flex: 1 1 40%;
            text-align: center;
        }
        
        .services-img img {
            max-width: 100%;
            border-radius: 10px;
        }
        
        /* Contact section */
        /* =================================== */
/* Contact Section - Style Pro      */
/* =================================== */

.contact {
    padding: 80px 20px;
    background: #ffffff; /* Fond subtil pour faire ressortir la carte */
}

.contact h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 15px;
}

.contact .intro {
    text-align: center;
    font-size: 16px;
    margin-bottom: 50px;
    color: #666;
    max-width: 600px; /* Limite la largeur du texte d'intro */
    margin-left: auto;
    margin-right: auto;
}

.contact-container {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); /* Effet d'ombre professionnel */
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

/* --- Colonne d'infos --- */
.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--main-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary2);
    display: inline-block;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    color: #555;
}

.contact-info .info-item i {
    font-size: 20px;
    color: var(--secondary2);
    margin-right: 20px;
    margin-top: 8px;
    width: 20px;
    text-align: center;
}

.contact-info .info-item strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.contact-info .info-item p {
    margin: 0;
    line-height: 1.6;
}

.contact-info .info-item a {
    color: var(--secondary1);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info .info-item a:hover {
    color: var(--main-color);
}

/* --- Formulaire de contact --- */
.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: #fdfdfd;
    transition: all 0.3s ease;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 4px rgba(52, 72, 159, 0.1);
}

.btn-contact {
    width: 100%;
    display: inline-block;
    background: var(--secondary2);
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--main-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
/* =================================== */
/* Correction pour les smartphones    */
/* =================================== */
@media (max-width: 768px) {
    /* Réduire l'espacement de la section contact sur mobile */
    .contact {
        padding: 30px 5px;
    }

    /* Réduire l'espacement à l'intérieur de la carte de contact */
    .contact-container {
        padding: 15px;
    }
}
        /* Footer */
        footer {
            background: var(--main-color);
            color: white;
            padding: 50px 20px 20px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .footer-column h3 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color:#ffffff;
        }
        
        .footer-column p, .footer-column a {
            color: #ccc;
            margin-bottom: 10px;
            display: block;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-column a:hover { color: var(--secondary2); }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }
        
        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px; height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: all 0.3s;
        }
        
        .social-links a:hover {
            background: var(--secondary2);
            color: white;
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #ccc;
            font-size: 0.9rem;
        }

        .phone-icon { transform: scaleX(-1); }

        /* Appointment Popup Styles */
        .btn-rdv {
            background: var(--secondary2);
            color: white;
            padding: 12px 25px;
            border: none;
            border-radius: 5px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-right: 10px;
        }
        
        .btn-rdv:hover {
            background: var(--main-color);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px white;
            color: white;
        }
        
        .popup-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .popup-content {
            background: #fff;
            padding: 20px 30px;
            border-radius: 12px;
            width: 90%;
            max-width: 400px;
            position: relative;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }
        
        .close-btn {
            position: absolute;
            top: 10px; right: 15px;
            font-size: 24px;
            cursor: pointer;
        }
        
        #rdvForm {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        #rdvForm input {
            padding: 8px 10px;
            border: 1px solid #ccc;
            border-radius: 6px;
        }
        
        .btn-rdv-submit {
            background: var(--main-color);
            color: #fff;
            padding: 10px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 16px;
            transition: background 0.3s;
        }
        
        .btn-rdv-submit:hover { background: var(--secondary1); }
        
        /* Media Queries */
        @media (max-width: 992px) {
            .hero { padding: 40px 20px; }
            .hero h3 { font-size: 1.8rem; }
        }
        
        @media (max-width: 768px) {
            .top-bar {
                flex-direction: column;
                text-align: center;
            }
            .top-bar > div { margin: 5px 0; }
            .social-icons { margin-top: 10px; }
            
            .navbar-nav .nav-link {
                padding: 10px 5px;
                font-size: 13px;
            }
            .hero {
                padding: 30px 15px;
                min-height: 350px;
            }
            .hero h3 { font-size: 1.5rem; }
            .hero p { font-size: 1rem; }
            
            .about { padding: 40px 15px; }
            .about .container { flex-direction: column; }
            .about .left, .about .right { flex: 1 1 100%; }
            .about .services ul {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .services-section { padding: 40px 15px; }
            .services-section .section-title { font-size: 24px; }
            .services-content { flex-direction: column; }
            .services-col {
                flex: 1 1 100%;
                margin-bottom: 30px;
            }
            .services-col ul {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 15px;
            }
            
            .contact { padding: 40px 15px; }
            .contact h2 { font-size: 22px; }
            
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            .social-links { justify-content: center; }
            
            .txt-loading { font-size: 2.5em; }
            .text-anni { font-size: 16px; }
            .logo img { width: 150px; }
        }
        
        @media (max-width: 576px) {
            .services-col ul { grid-template-columns: 1fr; }
        }
        
        @media (max-width: 480px) {
            .top-bar { font-size: 12px; }
            .navbar-nav .nav-link {
                font-size: 12px;
                padding: 10px 3px;
            }
        }
        
        @media (max-width: 360px) {
            .header-main .logo img { max-height: 60px; }
            .hero h3 { font-size: 1.3rem; }
            .btn {
                padding: 10px 20px;
                font-size: 14px;
            }
        }

        /*pourquoui*/
        /* Section Pourquoi Nous Choisir */
.why-choose-us-section {
    padding: 60px 20px;
    background-color: #f9f9f9; /* Un fond légèrement gris pour alterner */
}

.why-choose-us-section .section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--main-color);
}

.feature-item .icon-container {
    font-size: 38px;
    color: var(--secondary2); /* Utilise la couleur verte de votre charte */
    line-height: 1;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}