/* Import de la police Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap'); 

/* Styles généraux */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: white;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 600;
    color: #00666d;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

/* Boutons et liens */
.cta-button, .read-more-button, .all-sectors-button {
    display: inline-block;
    background-color: #e65c00 ; 
    color: #FAF6EC; 
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover, .read-more-button:hover, .all-sectors-button:hover {
    background-color: #ff6600; 
    color: #FAF6EC; 
}

/* En-tête (Header) */
.header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 2px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #00666d;
    text-decoration: none;
}

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

.nav li {
    margin-left: 25px;
}

.nav a {
    color: #333;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #00666d;
}

@media (max-width: 768px) {
    .site-title {
        font-size: 35px;   /* plus petit sur mobile */
        line-height: 1.2;
        margin: 0;
    }
}

/* Bannière principale (Hero Banner) */
.hero-banner {
    background-image: url('../asset/image/banniere.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 60px 0;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* L'overlay pour assombrir l'image de fond et améliorer le contraste du texte */
.hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1; 
}

/* Styles pour le conteneur du contenu (texte et bouton) */
.hero-banner .container {
    position: relative;
    z-index: 2;
}

/* Styles pour le titre */
.hero-banner h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Styles pour le paragraphe */
.hero-banner p {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 25px; 
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Styles pour le bouton d'appel à l'action */
.hero-banner .cta-button {
    display: inline-block;
    background-color: #e65c00 ;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hero-banner .cta-button:hover {
    background-color: #ff6600;
}

/* Sections */
.about-us, .sectors-preview {
    padding: 80px 0;
    text-align: center;
}

.about-us {
    background-color: #f9f9f9;
}

.sectors-preview {
    background-color: #f0f0f0;
}

.sectors-grid {
    display: flex; 
    justify-content: center; 
    align-items: stretch; 
    gap: 30px; 
    flex-wrap: nowrap; 
    overflow-x: auto; 
    padding-bottom: 20px; 
}

.sector-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    width: 100%;
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.sector-card h3 {
    color: #00666d;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Style pour le pied de page */
.footer {
    background-color: #00666d;
    color: #fff;
    padding: 40px 0;
    font-size: 14px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-content {
    display: flex;
    justify-content: flex-start; 
    gap: 50px;
    margin-bottom: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section p, .footer-section a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.footer-section p i, .footer-section a i {
    margin-right: 8px;
}

.footer-section a:hover {
    color: #e0e0e0;
}

.social-media a {
    display: inline-block;
    font-size: 24px;
    margin-right: 15px;
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    .nav ul {
        flex-direction: column;
        margin-top: 15px;
    }
    .nav li {
        margin: 5px 0;
    }
    .hero-banner h1 {
        font-size: 32px;
    }
    .hero-banner p {
        font-size: 16px;
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}
/* Logo image */
.logo img {
    height: 100px; 
    width: auto;
    display: block;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin-left: 0px;
}

/* --- Media Queries pour la réactivité --- */

/* Pour les tablettes et les grands téléphones (jusqu'à 768px de large) */
@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .hero-banner h1 {
        font-size: 36px;
    }
    .sectors-grid {
        flex-direction: column; 
    }
    .sector-card {
        width: 100%; 
        margin-bottom: 20px;
    }
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Pour les petits téléphones (jusqu'à 480px de large) */
@media (max-width: 480px) {
    .hero-banner h1 {
        font-size: 28px;
    }
    .about-us, .sectors-preview {
        padding: 40px 0;
    }
    .cta-button {
        padding: 10px 20px;
    }
}

/* Styles pour le bouton de menu "hamburger" (caché par défaut) */
.menu-toggle {
    display: none; 
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #00666d;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Styles spécifiques pour le menu et le bouton "hamburger" sur les écrans de moins de 768px */
@media (max-width: 768px) {
     .nav {
        position: fixed;
        top: 0;
        right: 0; 
        width: 280px; 
        height: 100%;
        background-color: white; 
        padding-top: 60px;
        transition: transform 0.3s ease, box-shadow 0.3s ease; 
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
    }
    .nav.active {
        transform: translateX(0); 
    }

    .nav ul {
        flex-direction: column;
        padding: 20px;
    }

    .nav li {
        margin: 15px 0;
    }
    
    .nav a {
        display: block;
        font-size: 18px;
        color: #00666d;
        text-align: left;
        padding: 10px 15px;
        border-radius: 5px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .nav a:hover {
        background-color: rgba(15, 94, 44, 0.1);
        color: #00666d;
    }
    
    .menu-toggle {
        display: block; 
        z-index: 1001;
    }

    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .mission-vision .container {
        flex-direction: column;
    }

    .team-grid {
        flex-direction: column;
        align-items: center;
    }

    .values-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .value-card {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Styles pour la section Mission et Vision dans à prpos*/
.mission-vision {
    background-color: #f0f0f0;
    padding: 60px 0;
}

.mission-vision .container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.card-mission, .card-vision {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card-mission h3, .card-vision h3 {
    color: #00666d;
    margin-bottom: 15px;
}

/* Styles pour la section Équipe dans à propos*/
.team {
    padding: 80px 0;
    text-align: center;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.team-member-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 250px;
    margin: 10px;
}

.team-member-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #00666d;
}

.team-member-card h4 {
    margin: 0;
    font-size: 18px;
    color: #00666d;
}

.team-member-card p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #555;
}

/* Styles pour la sécion Nos Objectifs Stratégiques dans à propos */
.objectives {
    padding: 80px 0;
    text-align: center;
}

.objective-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.objective-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.objective-card:hover {
    transform: translateY(-5px);
}

.objective-card h3 {
    font-size: 20px;
    color: #00666d;
}

.objective-card p {
    font-size: 16px;
    color: #333;
}

/* Styles pour la section Nos Valeurs Fondamentales */
.values {
    background-color: #f0f0f0;
    padding: 80px 0;
    text-align: center;
}

.values-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.value-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: calc(50% - 15px);
    box-sizing: border-box; 
}

.value-card h3 {
    color: #00666d;
    font-size: 18px;
}

/* Styles pour la section Projets */
.projects-list {
    padding: 80px 0;
    text-align: center;
}

.projects-list h2 {
    margin-bottom: 40px;
}

.projects-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.project-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: calc(50% - 15px); 
    box-sizing: border-box; 
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.project-card h3 {
    font-size: 20px;
    color: #00666d;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* Styles pour la page de détail d'un projet */
.project-details {
    padding: 80px 0;
}

.project-details h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #00666d;
}

.project-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

.project-summary {
    font-size: 18px;
    font-style: italic;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
}

.project-info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    background-color: #f0f0f0;
    padding: 20px;
    border-left: 4px solid #00666d;
    border-radius: 5px;
    flex: 1;
    min-width: 220px;
}

.info-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #00666d;
}

.info-card p {
    margin: 0;
    font-size: 14px;
}

.project-section {
    margin-bottom: 40px;
}

.project-section h3 {
    border-bottom: 2px solid #00666d;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.project-section ul {
    list-style-type: disc;
    padding-left: 20px;
}

.project-section li {
    margin-bottom: 10px;
}

.back-to-projects {
    text-align: center;
    margin-top: 50px;
}

/* Styles pour la page des domaines d'action */
.domains-list {
    padding: 80px 0;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.1em;
    color: #555;
}

.domain-section {
    background-color: #f9f9f9;
    padding: 30px;
    border-left: 5px solid #00666d;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.domain-section h3 {
    color: #00666d;
    font-size: 24px;
    margin-bottom: 15px;
}

.domain-section p {
    font-style: italic;
    color: #777;
    margin-bottom: 20px;
}

.domain-section ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.domain-section li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2300666d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.88"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.domains-list h2{
    text-align: center;
}

/* Réactivité */
@media (max-width: 768px) {
    .domains-list {
        padding: 40px 0;
    }
    .domain-section {
        padding: 20px;
    }
    .domain-section h3 {
        font-size: 20px;
    }
}

/* Styles pour la page Contact */
.contact-section {
    padding: 80px 0;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.1em;
    color: #555;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.contact-info, .contact-form-container {
    flex: 1;
    min-width: 300px;
}

.container h2 {
   text-align: center;
}

/* Styles pour les informations de contact */
.contact-info {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    color: #00666d;
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h4 {
    font-size: 16px;
    color: #00666d;
    margin: 0;
}

.info-item p {
    font-size: 14px;
    color: #555;
    margin: 5px 0 0;
}

.info-item a {
    font-size: 14px;
    color: #555;
    margin: 5px 0 0;
}

/* Style pour le bouton de changement de langue */
.lang-switcher {
    color: #00666d;
    text-decoration: none;
    font-weight: 600;
    margin-left: 20px;
    padding: 8px 12px;
    border: 1px solid #00666d;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.lang-switcher:hover {
    background-color: #fff;
    color: #00666d;
}

/* Positionnement du bouton */
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    .lang-switcher {
        margin-top: 10px;
        margin-left: 0;
    }
}

/* PARTENARIATS.HTML STYLES */

.partnerships-intro .intro-text {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 40px;
    border-left: 5px solid #00666d;
    padding-left: 20px;
}

.partnerships-details {
    padding-top: 40px;
    margin-bottom: 50px;
}

.partner-card {
    background-color: #f9f9f9;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.partner-card h3 {
    color: #00666d;
    margin-top: 10px;
    margin-bottom: 15px;
    border-bottom: 2px dotted #ccc;
    padding-bottom: 10px;
}

.partner-logo {
    max-width: 150px; 
    height: auto;
    float: right;
    margin: 0 0 15px 20px;
}

.partner-card p {
    line-height: 1.5;
    text-align: justify;
}

.cta-partner {
    text-align: center;
    padding: 30px;
    background-color: #e6f7f8; 
    border-radius: 8px;
    margin-top: 40px;
    border: 1px solid #00666d;
}

.cta-partner h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.cta-partner a {
    color: #00666d;
    font-weight: 600;
    text-decoration: underline;
}

/* Clearfix pour les logos flottants */
.partner-card::after {
    content: "";
    display: table;
    clear: both;
}
