
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     font-family: Arial, sans-serif;
}


/* body {
   padding-top: 100px;
   
} */

/* Header modifié */
/* header {
    background: white;
} */

/* .header-top {
    background-color: #0047AB;
    
    color: white;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
} */

.logo {
    max-width: 150px;
}

.contact-info {
    text-align: right;
}

.contact-info p:first-child {
    color: #666;
    margin-bottom: 5px;
}

.contact-info p:nth-child(2) {
    color: #4E8B71;
    margin-bottom: 5px;
}

.contact-info p:last-child {
    color: #666;
}

nav {
    background: beige;
    border-bottom: 1px solid #ddd;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: start;
    gap: 2rem;
    padding: 15px 20px;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: normal;
    font-size: 14px;
}

nav a:hover {
    color: #4E8B71;
}

/* Reste des styles inchangés */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #0047AB;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.carousel {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.carousel-inner {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}

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

.carousel-text {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    padding: 1rem;
    background: rgba(0,0,0,0.3);
}
/* 
footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: white;
    text-decoration: none;
} */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.login-menu {
    display: flex;
    align-items: center;
}

.login-menu a {
    color: white;
    text-decoration: none;
    padding: 0 10px;
    font-size: 14px;
}

.login-menu a:hover {
    color: #fff;
    /*color: #4E8B71;*/
}


 .container {
    text-align: center;
    padding: 20px;
    color: black;
    animation: fadeIn 1.5s ease-in-out;
}

.container h1 {
    font-size: 3rem;
    font-weight: bold;
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);*/
    margin-bottom: 20px;
    animation: zoomIn 1s ease-in-out;
    color:#0047AB;
}

.container p {
    font-size: 1.2rem;
    line-height: 1.6;
    /*text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4*/
    animation: fadeInText 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
    }
    to {
        transform: scale(1);
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 .two-column {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    margin-top: 20px;
}

.two-column img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.two-column .text {
    max-width: 45%;
    font-size: 1rem;
    line-height: 1.5;
}

.five-section {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 20px;
    margin-top: 20px;
    height: 200px;
    background-image: url('image/imgdiv1.jpg'); /* Remplacez par le chemin de votre image */
    background-size: cover;
    background-position: center;
}

.five-section div {
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
 .separator {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 20px 0;
    padding: 10px 0;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    color: #0047AB;
    /*color: black;*/
}
.two-column {
    display: flex;
    align-items: center; /* Aligne verticalement l'image et le texte */
    justify-content: center; /* Centre le contenu horizontalement */
    gap: 20px; /* Espacement entre l'image et le texte */
    padding: 20px;
}

.image-container {
    flex: 0 0 40%; /* L'image occupe 30% de la largeur */
    max-width: 40%;
}

.image-container img {
    width: 100%; /* L'image occupe 100% de son conteneur */
    height: auto; /* Conserve les proportions */
    border-radius: 50%; /* Rendre l'image circulaire (si possible) */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Ombre légère pour un effet esthétique */
}

.text {
    max-width: 600px; /* Limite la largeur du texte */
    text-align: justify; /* Justifie le texte pour un meilleur aspect */
    font-size: 1rem;
    line-height: 1.6;
    color: #000; /* Texte en noir */
}

div {
    margin-bottom: 4px; /* Espace entre les div */
}
.services-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Divise en 5 colonnes égales */
    gap: 20px; /* Espacement entre les sections */
    padding: 20px;
    background-image: url('path_to_your_background_image.jpg'); /* Image en fond */
    background-size: cover;
    background-position: center;
    color: white; /* Texte en blanc pour contraster avec l'image */
}

.service {
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6); /* Fond semi-transparent pour lisibilité */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.service h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    /*color: #ffcc00;*/
    /* Couleur des titres */
     /* Couleur des titres */
    color: #0047AB;
   
}

.service p {
    font-size: 1rem;
    line-height: 1.5;
    color: #fff; /* Couleur du texte */
}
.news-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
    gap: 20px; /* Espacement entre les sections */
    padding: 20px;
    background-color: #f9f9f9; /* Fond clair pour démarquer */
}

.news-item {
    text-align: center;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre légère */
}

.news-item img {
    max-width: 100%; /* L'image s'adapte à la largeur de son conteneur */
    height: auto; /* Conserve les proportions */
    border-radius: 8px; /* Angles arrondis */
    margin-bottom: 10px; /* Espace entre l'image et le texte */
}

.news-item p {
    font-size: 1rem;
    line-height: 1.5;
    color: #333; /* Texte sombre */
}

.logo {
    max-width: 150px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: normal;
    font-size: 14px;
}

.nav-menu a:hover {
    color: #4E8B71;
}

.contact-info {
    text-align: right;
}


.section-title {
    position: relative;
    margin-bottom: 40px;
    text-align: center;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 3px;
    background-color: #0047AB;
    /*background-color: #0d6efd;*/
    transform: translateX(-50%);
}

.section-title p {
    font-size: 18px;
    margin-bottom: 0;
    color: #666;
}

.section {
    padding: 80px 0;
}
/* Styles pour les slides */
.slick-slide {
    margin: 0 15px;
}

.slick-list {
    margin: 0 -15px;
}

.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background-color: #0d6efd;
    border-radius: 50%;
    z-index: 1;
}

.slick-prev:before, .slick-next:before {
    font-size: 20px;
}

.slick-prev {
    left: -10px;
}

.slick-next {
    right: -10px;
}

/* Styles pour les partenaires */
.partner-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.partner-item img {
    max-width: 100%;
    max-height: 120px;
    margin: 0 auto;
}

/* Styles pour les témoignages */
.testimonial-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    /*height: 320px;*/
    overflow: hidden;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid #0d6efd;
}

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

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

.testimonial-content h4 {
    margin-bottom: 10px;
    font-weight: 600;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
}

.testimonial-content .quote {
    color: #0d6efd;
    font-size: 24px;
    margin-bottom: 10px;
}

/* Styles pour le header */
.hero-section {
    background: linear-gradient(to right, #0062E6, #33AEFF);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 18px;
    margin-bottom: 30px;
}
 /* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Responsive */
@media (max-width: 767px) {
    .section-title h2 {
        font-size: 28px;
    }
    
    .section-title p {
        font-size: 16px;
    }
    
    .hero-section h1 {
        font-size: 36px;
    }
    
    .hero-section p {
        font-size: 16px;
    }
}
/* Styles supplémentaires pour assurer le bon fonctionnement des sliders */
.partners-slider, .testimonials-slider {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.partners-slider.slick-initialized, .testimonials-slider.slick-initialized {
    opacity: 1;
    visibility: visible;
}

/* Ajustement des flèches de navigation */
.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background-color: #0d6efd;
    border-radius: 50%;
    z-index: 2;
}

.slick-prev {
    left: -20px;
}

.slick-next {
    right: -20px;
}

.slick-prev:before, .slick-next:before {
    font-size: 20px;
    color: white;
}

/* Ajustement des espaces entre les slides */
.slick-slide {
    margin: 10px;
}

/* Styles partenaires */
#partenaires {
    padding: 40px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 30px;
}
.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color:#0047AB;
}
.partners-slider {
    margin: 0 auto;
    width: 100%;
}
.partner-item {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    margin: 0 10px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.partner-item img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
}

/* Styles témoignages */
#temoignages {
    background-color: #f8f9fa;
    padding: 40px 0;
}
.testimonial-item {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 0 10px;
    display: flex;
    align-items: flex-start;
}
.testimonial-image {
    flex: 0 0 80px;
    margin-right: 15px;
}
.testimonial-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-content {
    flex: 1;
}
.quote {
    font-size: 24px;
    color: #007bff;
    margin-bottom: 10px;
}

/* Styles footer */
footer {
    background-color: #333;
    color: white;
    padding: 40px 20px;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer-section {
    flex: 0 0 30%;
    margin-bottom: 20px;
}
.footer-section h3 {
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    color:#0047AB;
}
.footer-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #0047AB;
    /*background-color: #007bff;*/
}
.footer-section ul {
    padding-left: 0;
    list-style: none;
}
.footer-section ul li {
    margin-bottom: 8px;
}
.footer-section a {
    color: #ccc;
    text-decoration: none;
}
.footer-section a:hover {
    color: #fff;
}

/* Styles slick spécifiques */
.slick-prev, .slick-next {
    background-color: #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    z-index: 10;
}
.slick-prev:before, .slick-next:before {
    font-size: 20px;
    opacity: 1;
}
.slick-dots li button:before {
    font-size: 12px;
}

/* Corrections responsives */
@media (max-width: 992px) {
    .service {
        flex: 0 0 calc(33.33% - 20px);
    }
}
@media (max-width: 768px) {
    .header-main {
        flex-direction: column;
        text-align: center;
    }
    .nav-menu ul {
        justify-content: center;
        margin-top: 15px;
    }
    .service {
        flex: 0 0 calc(50% - 20px);
    }
    .news-container {
        flex-direction: column;
    }
    .news-item {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
    .footer-section {
        flex: 0 0 100%;
    }
}
