/* ===== RESET ET STYLES DE BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

:root {
    --primary-color: #F08C00;
    --secondary-color: #333;
    --white: #fff;
    --gray-light: #f8f9fa;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s ease;
}

body {
    color: #333;
    line-height: 1.6;
}

/* Container responsive pour tous les éléments */
.container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* ===== TOP HEADER (BARRE D'INFO) ===== */
/* Styles pour le top menu */
.top-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #9cc3e9;
    padding: 5px 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: auto;
}

.contact-item {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    /*background-color: red;*/
    padding: 0 20px 0 20px;
    
}

.contact-item i {
    margin-right: 15px;
    color: #ff0000;
    font-size: 1,5rem;
    
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 50px !important;
}

.social-icon {
    color: #ff0000c5;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #d7b94b ;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-menu {
        flex-direction: column;
        padding: 10px;
    }
    
    .contact-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .contact-item {
        margin: 5px;
    }
}
/* ===== MENU PRINCIPAL ===== */
.main-header {
    background-color: #8bfda4;
    box-shadow: 0 2px 10px rgba(17, 17, 17, 0.1);
    padding: 1px 0;
    position: sticky;
    top: 0;
    border-bottom: 1px solid red;
    z-index: 1000;
    transition: all 0.3s ease;

}

/* Classe ajoutée via JS quand le header est sticky */
.sticky {
    padding: 10px 0;
    
    background-color: rgb(194, 177, 191);
    border-radius: 0px 0px 20px 20px;
    border-bottom: 1px solid red;
    box-shadow: 0 2px 10px rgba(248, 8, 8, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.logo img {
    width: 70px;
    height: 50px;
    margin-right: 10px;
    border-radius: 15%;
}

.logo span {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: #ee0505;
}

/* Navigation principale */
.main-nav ul {
    display: flex;
}

.main-nav li {
    margin: 0 10px;
    
    
}

.main-nav a {
    font-family: 'Roboto', sans-serif;
    font-size: 1.15rem;
    text-transform: capitalize;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    color: #000000;
    
}

.main-nav a:hover, .main-nav a.active {
    color: #3707b9;
    
}
.main-nav a.active {
    color: #f70707;
    
}

/* Effet de soulignement au survol et pour l'élément actif */
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: #d5ec07;
    transition: width 0.3s ease;
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

/* Icônes d'action */
.action-icons {
    display: flex;
}

.icon-link {
    margin-left: 15px;
    font-size: 18px;
    color:  #3498db;
    position: relative;
}

.icon-link:hover {
    color: #f10606;
}

/* Bouton hamburger pour mobile */
.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #2c3e50;
}

/* ===== POPUP DE CONTACT ===== */
.contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    /* Ajouté pour l'animation */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Quand le popup est actif */
.contact-popup.active {
    display: block;
    opacity: 1;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.popup-container {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-height: 90vh;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #7f8c8d;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #e74c3c;
}

/* Container pour le slider de formulaires */
.form-slider {
    position: relative;
    width: 200%;
    display: flex;
    transition: transform 0.5s ease;
    /* Hauteur adaptative */
    min-height: 300px;
    overflow-y: auto;
    max-height: 80vh;
}

/* Position initiale: formulaire de connexion */
.form-slider.show-register {
    transform: translateX(-50%);
}

.form-container {
    width: 50%;
    padding: 30px;
}

/* Style général des formulaires */
.form-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.form-group.half {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    border-color: #3498db;
    outline: none;
}

/* Checkbox spécifique */
.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

/* Bouton de soumission */
.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #2980b9;
}

/* Pied de formulaire */
.form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.form-footer a {
    color: #3498db;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* ===== SECTIONS PRINCIPALES ===== */
.section {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
}

.section h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

.section-1 {
    background-color: white;
    width: 100%;
    max-width: 1250px;
    height: 500px;
}







/* ===== FOOTER ===== */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo, .footer-links, .footer-contact, .footer-social {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 10px;
}

.footer-logo h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
    color: #3498db;
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-contact i {
    margin-right: 10px;
    color: #3498db;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #3498db;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 992px) {
    .info-bar {
        justify-content: center;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav li {
        margin: 10px 0;
    }

    .mobile-toggle {
        display: block;
    }

    /* CORRECTION: Afficher les icônes sur les petits écrans */
    .action-icons {
        display: flex;
        position: absolute;
        right: 50px; /* Positionner à droite du bouton hamburger */
    }
    
    .action-icons .icon-link {
        margin-left: 10px; /* Réduire l'espacement entre les icônes sur mobile */
    }
    
    /* Optionnel: Cacher certaines icônes moins importantes si l'espace est limité */
    .action-icons .icon-link:not(.contact-trigger) {
        display: flex;
    }
    
    /* Afficher seulement l'icône de contact sur mobile */
    .action-icons .contact-trigger {
        display: block;
    }

    .popup-container {
        width: 95%;
    }

    .logo span {
        display: none;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logo, .footer-links, .footer-contact, .footer-social {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .social-icons {
        justify-content: center;
    }

    .info-item {
        justify-content: center;
        margin-right: 10px;
        margin-left: 10px;
    }
    .logo span {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo span {
        font-size: 16px;
    }

    .logo img {
        height: 30px;
    }

    .popup-container {
        padding: 10px;
    }

    .form-container {
        padding: 20px 15px;
    }
    
    /* CORRECTION: Ajustement supplémentaire pour les très petits écrans */
    .action-icons {
        right: 50px;
    }
    .logo span {
        display: none;
    }
}





/* ===== SLIDER ===== */

/* Slider Container */
    .slider-container {
        width: 100%;
        max-width: 1250px;
        height: 400px;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
    }
    
    /* Slider Wrapper */
    .slider-wrapper {
        height: 100%;
        display: flex;
        position: relative;
        /* La largeur sera définie en JS pour inclure les slides clonés */
    }
    
    /* Individual Slides */
    .slide {
        height: 100%;
        /* La largeur sera définie en JS pour inclure les slides clonés */
    }
    
    /* Slide Content Layout */
    .slide-content {
        display: flex;
        height: 100%;
        width: 100%;
    }
    
    /* Text Side */
    .slide-text {
        width: 50%;
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .slide-text h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .slide-text p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    /* CTA Buttons */
    .cta-buttons {
        display: flex;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 25px;
        border-radius: 5px;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .btn-primary {
        background-color: #3498db;
        color: white;
    }
    
    .btn-primary:hover {
        background-color: #2980b9;
    }
    
    .btn-secondary {
        background-color: transparent;
        border: 2px solid #3498db;
        color: #3498db;
    }
    
    .btn-secondary:hover {
        background-color: #f8f9fa;
    }
    
    /* Image Side */
    .slide-image {
        width: 50%;
        overflow: hidden;
        position: relative;
    }
    
    .slide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Navigation Buttons */
    .slider-navigation {
        position: absolute;
        bottom: 20px;
        right: 20px;
        display: flex;
        gap: 10px;
        z-index: 10;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.7);
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .nav-btn:hover {
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    /* Responsive Adjustments */
    @media (max-width: 992px) {
        .slide-text h2 {
        font-size: 2rem;
        }
        
        .slide-text p {
        font-size: 1rem;
        }
    }
    
    @media (max-width: 768px) {
        .slide-content {
        flex-direction: column;
        }
        
        .slide-text, .slide-image {
        width: 100%;
        }
        
        .slide-text {
        order: 2;
        padding: 30px;
        }
        
        .slide-image {
        order: 1;
        height: 50%;
        }
        
        .slider-navigation {
        bottom: 50%;
        right: 0;
        width: 100%;
        justify-content: space-between;
        padding: 0 10px;
        }
    }
    
    @media (max-width: 576px) {
        .slide-text h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        }
        
        .slide-text p {
        font-size: 0.9rem;
        margin-bottom: 20px;
        }
        
        .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        }
        
        .slide-text {
        padding: 20px;
        }
    }









/* ===== A propos ===== */

    /* CSS section a propos */
  
    .presentation-section {
        padding: 10px 10px;
        width: 100%;
        position: relative;
        font-family: Arial, sans-serif;
    }
    
    .section-container {
        max-width: 1250px;
        margin: 0 auto;
        position: relative;
        display: flex;
        flex-direction: column;
    }
    
    /*.green-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 400px;
        height: 100%;
        background-color: #00BF9A;
        z-index: -1;
        clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    }*/
    
    .content-wrapper {
        display: flex;
        padding: 20px;
        position: relative;
        /*background-color: red;*/
        
    }
    
    .left-content {
        display: flex;
        justify-content: center;
        text-align: center;
        flex: 0 0 30%;
        /*padding: 20px;*/
        position: relative;
        z-index: 1;
    }
    
    .image-container {
       padding-top: 20px;
       
    }
    
    .profile-image {
        width: 100%;
        max-width: 400px;
        height: 400px;       
        border-radius: 5px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .middle-content {
        flex: 0 0 40%;
        height: auto;
        margin-left: 10px;
        padding: 20px 20px 0px 20px;
        background-color: #fff;
        border-radius: 8px;
        
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .section-title-apropos {
        color: #000;
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 20px;
        line-height: 1.2;
        font-family: 'Roboto';
        text-align: left;
    }
    
    .section-description {
        color: #666;
        margin-bottom: 10px;
        font-family: 'Roboto';
        line-height: 1.6;
    }
    
    .feature-list {
        list-style-type: none;
        margin-bottom: 30px;
    }
    
    .feature-list li {
        margin-bottom: 15px;
        display: flex;
        align-items: flex-start;
        color: #666;
    }
    
    .check-icon {
        color: #00BF9A;
        margin-right: 10px;
        font-weight: bold;
    }
    
    .cta-button {
        display: inline-block;
        background-color: #00BF9A;
        color: white;
        padding: 12px 30px;
        text-decoration: none;
        border-radius: 5px;
        font-weight: 600;
        transition: background-color 0.3s;
    }
    
    .cta-button:hover {
        background-color: #00A789;
    }
    
    .right-content {
        flex: 0 0 30%;
        padding: 20px;
    }
    
    .stats-container {
        background-color: #f5f5f5;
        border-radius: 8px;
        padding: 20px;
    }
    
    .stats-title {
        color: #333;
        font-size: 24px;
        margin-bottom: 20px;
        font-weight: 600;
    }
    
    .stat-item {
        margin-bottom: 25px;
    }
    
    .stat-value {
        font-size: 32px;
        font-weight: 700;
        color: #666;
        margin-bottom: 5px;
    }
    
    .stat-label {
        font-size: 16px;
        font-weight: 600;
        color: #666;
        margin-bottom: 8px;
    }
    
    .stat-description {
        font-size: 14px;
        color: #888;
        line-height: 1.4;
    }
    
    /* Responsive design */
    @media (max-width: 1024px) {
        .content-wrapper {
        flex-direction: column;
        }
        
        .left-content, .middle-content, .right-content {
        flex: 0 0 100%;
        }
        
        .green-background {
        width: 100%;
        height: 300px;
        clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
        }
    }
    
    @media (max-width: 768px) {
        .section-title {
        font-size: 28px;
        }
        
        .stat-value {
        font-size: 26px;
        }
    }


    .section-3 {
        background-color: #2ecc71;
    }
    
    

    /* ===== SECTION SERVICES ============================================================================================ */

/* Services Section Styles */
.services-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    width: 100%;
  }
  
  .services-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
    .section-title {
        text-align: center;
        margin-bottom: 20px;
        position: relative;
        text-transform: uppercase;
    }
    
    .section-title h2 {
        font-size: 30px;
        color: #333;
        margin: 0;
        padding-bottom: 10px;
        position: relative;
        display: inline-block;
    }
    
    .section-title h2::after {
        content: '';
        position: absolute;
        width: 100px;
        height: 3px;
        background-color: #f78c2a;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
  .services-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .service-card {
    flex: 1;
    min-width: 240px;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }
  
  .service-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(66, 214, 98, 0.678);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
  }
  
  .service-icon i {
    font-size: 40px;
    color: #f7312a;
  }
  
  .service-card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
  }
  
  .service-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
  }
  
  /* Responsive styles */
  @media (max-width: 1024px) {
    .services-grid {
      justify-content: center;
    }
    
    .service-card {
      min-width: 220px;
      max-width: calc(50% - 20px);
    }
  }
  
  @media (max-width: 768px) {
    .service-card {
      max-width: 100%;
      flex-basis: 100%;
    }
  }



/* Styles du carrousel Facebook */

.section-4{
    margin-top: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
   /*  border: 2px solid black;*/
   margin:20px;
}
.partners-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
  }
  
  .partners-title h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 30px;
    color: #333;
    margin: 0;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
  }
  
  .partners-title h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: #f72a2a;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .partners-carousel-container {
    position: relative;
    padding: 0 40px;
    
    
  }
  
  .partners-owl-carousel .owl-stage-outer {
    padding: 20px 0;
  }
  
  .partner-item {
    padding: 10px;
  }
  
  .partner-image-container {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 auto;
    padding: 10px;

  }
  .partner-image-container img{
    border-radius: 25%;
    
    
  }


  
  
  .partner-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  .partner-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
  }
  
  .partner-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-size: 14px;
  }
  
  .partner-image-container:hover .partner-title {
    transform: translateY(0);
  }
  
  /* Custom navigation arrows */
  .partners-nav-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1;
  }
  
  .partners-prev-arrow,
  .partners-next-arrow {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    transition: all 0.3s ease;
  }
  
  .partners-prev-arrow {
    margin-left: -20px;
  }
  
  .partners-next-arrow {
    margin-right: -20px;
  }
  
  .partners-prev-arrow:hover,
  .partners-next-arrow:hover {
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .partners-carousel-container {
      padding: 0 30px;
    }
    
    .partners-prev-arrow,
    .partners-next-arrow {
      width: 30px;
      height: 30px;
    }
    
    .partners-title {
      font-size: 1.5rem;
    }
  }
  
  @media (max-width: 480px) {
    .partners-carousel-container {
      padding: 0 20px;
    }
    
    .partner-image-container {
      width: 120px;
      height: 120px;
    }
    
    .partner-image {
      width: 120px;
      height: 120px;
    }
    
    .partner-title {
      font-size: 12px;
      padding: 5px;
    }
  }




.section-5 {
    background-color: #1d1717;
}


/* Variables CSS */
:root {
    --primary-color: #0080c9;
    --secondary-color: #ffa500;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
    --success-color: #4caf50;
    --transition-time: 0.3s;
}

/* Reset et styles de base */

/* Styles de la section produits */
.produits-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 32px;
    position: relative;
    padding-bottom: 15px;
}


/*.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}*/

.produits-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
}

/* Carte produit */
.produit-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-time), box-shadow var(--transition-time);
    background: white;
    position: relative;
    display: flex;
    flex-direction: column;
}

.produit-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Container d'image avec bordure */
.produit-image-container {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
}

.produit-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-time);
}

.produit-card:hover .produit-image-container img {
    transform: scale(1.05);
}

/* Badge nouveauté */
.nouveaute-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
}

/* Icônes d'action */
.icon-container {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity var(--transition-time), transform var(--transition-time);
}

.produit-card:hover .icon-container {
    opacity: 1;
    transform: translateX(0);
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: white;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color var(--transition-time), color var(--transition-time);
}

.icon-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Titre du produit */
.produit-title {
    /*padding: 15px 15px 10px;*/
    padding-top: 10px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Indicateur de stock */
.produit-stock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 0px;
    font-size: 14px;
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success-color);
}

.stock-text {
    color: var(--success-color);
}

/* Prix */
.produit-price {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    /*margin-bottom: 15px;*/
    color: var(--primary-color);
}

/* Bouton Voir le produit */
.produit-btn {
    display: block;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 4px;
     /*margin: auto 15px 15px;*/
    font-weight: bold;
    transition: background-color var(--transition-time);
}

.produit-btn:hover {
    background-color: #006ca9;
}

/* Media queries pour la responsivité */
@media (max-width: 768px) {
    .produits-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .produit-title {
        font-size: 14px;
    }

    .produit-price {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .produits-container {
        grid-template-columns: 1fr;
    }
}


/*============= Section témoignage ================== */

.section-6 {
    background-color: #55b606;
    height: 200px;

}


/*============= contact   ================== */

.section-7 {
    background-color: #fff;
    height: auto;
    padding: 10px;

}

/* Reset CSS pour la section */
/* .contact-section-unique {
    margin: 0;
    box-sizing: border-box;
    padding: Opx;
}*/

.contact-services-title {
    text-align: start;
    margin-bottom: 1rem;
    margin-left: 10rem;
    color: #2c3e50;
}

.contact-services-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-services-title p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    text-align: start;
    
}

/* Styles principaux de la section contact */
.contact-section-unique {
   /* background-color: #1c1e22;
    padding: 3rem 1rem; */
    font-family: Arial, sans-serif;
    background-image: url("../image/slide3.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    /*background-image:
    linear-gradient(to bottom, rgba(255, 255, 0, 0.5), rgba(0, 0, 255, 0.5)),
    url("../image/slide3.jpg");*/
    
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

/* Style des cartes d'information */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    flex: 1;
    min-width: 250px;
    margin-right: 10px;
    padding-top: 10px;
    border: 1px solid rgb(3, 1, 1);
    border-radius: 5%;
}

.contact-card {
    /*background-color: white;*/
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    border-radius: 25px;

    
}

.contact-icon {
    /*margin-bottom: 0.8rem;*/
    width: 70px;
    height: 70px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    font-size: 30px;
    font-weight: 900;
    text-align: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 3rem;
    color: #8ddd7d;
}

.contact-detail h3 {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background-color: white;
    padding: 5px;
    border-radius: 5%;
}

.contact-detail p {
    font-size: 1rem;
    color: #555;
    line-height: 1.4;
    background-color: white;
    padding: 5px;
    line-height: 1.5;
    border-radius: 5%;
}

.contact-detail a {
    color: #010303;
    text-decoration: none;
}

/* Style du formulaire de contact */
.contact-form-container {
    background-color: #7dd2dd;
    background-color: transparent;
    padding: 2rem;
    flex: 1.5;
    min-width: 350px; 
}

.contact-form-container h2 {
    color: #000;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    
    
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.form-group {
    width: 100%;
    margin-bottom: 1rem;
}

.form-row .form-group {
    flex: 1;
}

input, textarea {
    
    width: 100%;
    padding: 14px;
    border: 1px solid #f7f4f4;;
    
    font-size: 14px;
    border-radius: 25px;
    transition: border-color 0.3s ease;
}
input:focus, select:focus {
    border-color: #3498db;
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background-color: #7dd2dd;;
    border: 1px solid #fff;
    color: #000;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
    min-width: 120px;
}

.submit-btn:hover {
    background-color:transparent;
    color: #7dd2dd;
}

.error-message {
    color: #721c24;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    padding: 0.3rem;
    margin-top: 0.2rem;
    display: none;
    border-radius: 2px;
}

/* Style pour les champs invalides */
input.invalid, textarea.invalid {
    border: 1px solid #721c24;
    background-color: #fff0f0;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-form-container {
        margin-top: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-section-unique {
        padding: 2rem 0.8rem;
    }
    
    .contact-card {
        padding: 1.2rem;
    }
    
    .contact-form-container h2 {
        font-size: 1.5rem;
    }
}





/*=============   Produit ================== */
.espace{
    
    background-color: #fff;
    color: #fff;
    max-width: 1200px;
    height: 30px;
}
.section-8 {
    background-color: #fff;
    height: auto;

}


.product-services-title {
    text-align: start;
    margin-bottom: 1rem;
    margin-left: 10rem;
    color: #2c3e50;
}

.product-services-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}


.contact-services-title p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    text-align: start;
    
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
    
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(248, 19, 19, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgb(184, 182, 182);
    height: 400px;
    

}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.product-image {
    height: 300px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
}

.product-image img {
    width: 270px;
    height: 270px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/*.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

/*.product-price {
    font-size: 16px;
    font-weight: 700;
    color: #444;
    margin-bottom: 10px;
}*/

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    flex-grow: 1;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.btn-cart, .btn-read-more {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.btn-cart {
    background-color: #e0f38c;
    color: rgb(7, 4, 4);
}

.btn-cart:hover {
    background-color: var(--dark-accent);
}

.btn-read-more {
    background-color: #f8f8f8;
    color: #657a06;
    border: 1px solid #ddd;
}

.btn-read-more:hover {
    background-color: #eee;
}

/* Responsive styles */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
}




/*=============   Réalisations ================== */


.chantier-section {
    padding: 10px 10px;
    width: 100%;
    position: relative;
    font-family: Arial, sans-serif;
}

.section-container {
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
}
.roofing-services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: 'Poppins', sans-serif;
}

.roofing-services-title {
    text-align: start;
    margin-bottom: 3rem;
    margin-left: 0.5rem;
    color: #2c3e50;
}

.roofing-services-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
}
/*.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}*/
/*
.roofing-services-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}*/

.roofing-services-title p {
    font-size: 1.1rem;
    color: #7f8c8d;
    /*max-width: 600px;*/
    
    text-align: start;
    margin-left: 1rem;
    
}

.roofing-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem;
}

.roofing-service-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roofing-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.roofing-service-image {
    height: 200px;
    overflow: hidden;
}

.roofing-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.roofing-service-card:hover .roofing-service-image img {
    transform: scale(1.1);
}

.roofing-service-content {
    padding: 1.5rem;
}

.roofing-service-content h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.roofing-service-content p {
    font-size: 0.95rem;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.roofing-service-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.roofing-service-button:hover {
    background-color: #c0392b;
}

@media (max-width: 768px) {
    .roofing-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .roofing-services-grid {
        grid-template-columns: 1fr;
    }
}


/*=============   Réalisations ================== */

.testimonials-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.testimonial {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-10px);
}

.testimonial-header h3 {
    margin-bottom: 10px;
    color: #333;
}

.color-line {
    height: 4px;
    width: 50px;
    margin-bottom: 15px;
}

.green-line { background-color: #4CAF50; }
.blue-line { background-color: #2196F3; }
.yellow-line { background-color: #FFC107; }

.testimonial-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 10%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: bold;
    color: #333;
}

.testimonial-location {
    color: #777;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-container {
        flex-direction: column;
    }
}





