/* =======================
   🎯 HERO SECTION (EXPERTISES)
   ======================= */

   .expertise-hero-section {
    padding: 100px 0;
    background-color: #0c8e36; /* Vert AKNOVA */
    color: white; /* Texte en blanc pour contraster */
    position: relative;
    overflow: hidden;
}

.expertise-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 40px; /* Espacement entre le texte et l'image */
}

.expertise-hero-content {
    flex: 1;
    animation: fadeInLeft 1s ease-out; /* Animation du texte */
}

.expertise-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.expertise-hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.expertise-hero-cta {
    display: inline-block;
    padding: 15px 30px;
    background-color: white;
    color: #0c8e36; /* Vert AKNOVA */
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.expertise-hero-cta:hover {
    background-color: #f0f0f0;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.expertise-hero-media {
    flex: 1;
    animation: fadeInRight 1s ease-out; /* Animation de l'image */
}

.expertise-hero-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .expertise-hero-container {
        flex-direction: column;
        text-align: center;
    }

    .expertise-hero-title {
        font-size: 2.5rem;
    }

    .expertise-hero-description {
        font-size: 1rem;
    }

    .expertise-hero-cta {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .expertise-hero-media {
        width: 100%;
    }
}

/* =======================
   🎯 SECTION NOTRE APPROCHE
   ======================= */

   .approach-section {
    padding: 100px 0;
    background-color: white; /* Fond blanc */
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0c8e36; /* Vert AKNOVA */
    text-align: center;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
}

.approach-cards {
    display: flex;
    justify-content: center;
    gap: 40px; /* Espacement entre les cartes */
    flex-wrap: wrap;
}

.approach-card {
    background-color: #f9f9f9; /* Fond clair */
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    max-width: 350px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.approach-icon {
    font-size: 3rem;
    color: #0c8e36; /* Vert AKNOVA */
    margin-bottom: 20px;
}

.approach-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0c8e36; /* Vert AKNOVA */
    margin-bottom: 15px;
}

.approach-card-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .approach-cards {
        flex-direction: column;
        align-items: center;
    }

    .approach-card {
        max-width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }
}
/* =======================
   🎯 SECTION DOMAINES D'EXPERTISE
   ======================= */

   .expertise-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0c8e36 10%, #94c120 90%); /* Dégradé vert AKNOVA */
    color: white;
    position: relative;
    overflow: hidden;/* Texte en blanc pour contraster */
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;

}

.section-titl {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: #f0f0f0 !important;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 60px;
    color: #f0f0f0 !important;
}

.expertise-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.expertise-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    width: 300px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #94c120; /* Vert clair AKNOVA */
    transition: height 0.3s ease;
}

.expertise-card:hover::before {
    height: 100%;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.expertise-icon {
    font-size: 3rem;
    color: #0c8e36; /* Icônes en blanc */
    margin-bottom: 20px;
    position: relative;
    z-index: 2; /* Garde l'icône au-dessus du fond */
}

.expertise-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2; /* Garde le titre au-dessus du fond */
}

.expertise-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 2; /* Garde la description au-dessus du fond */
}

.expertise-link {
    font-size: 1rem;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
    position: relative;
    color: #0c8e36;
    z-index: 2; /* Garde le lien au-dessus du fond */
}

.expertise-link:hover {
    color: #ffffff !important; /* Vert clair AKNOVA */
}

/* Responsive */
@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .expertise-card {
        padding: 30px 15px;
    }

    .expertise-icon {
        font-size: 2.5rem;
    }

    .expertise-title {
        font-size: 1.3rem;
    }

    .expertise-description {
        font-size: 0.9rem;
    }

    .expertise-link {
        font-size: 0.9rem;
    }
}

/* =======================
   🎯 MODAL STYLES
   ======================= */

   .modal {
    display: none; /* Caché par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 15px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideIn 0.5s ease-out; /* Animation d'entrée */
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #0c8e36; /* Vert AKNOVA */
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0c8e36; /* Vert AKNOVA */
    margin-bottom: 20px;
}

.modal-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.modal-section {
    margin-bottom: 30px;
}

.modal-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0c8e36; /* Vert AKNOVA */
    margin-bottom: 15px;
}

.modal-section p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-list li {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

/* Bouton Fermer en bas */
.modal-footer {
    text-align: center;
    margin-top: 30px;
}

.close-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0c8e36; /* Vert AKNOVA */
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-button:hover {
    background-color: #94c120; /* Vert clair AKNOVA */
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 20% auto;
        padding: 20px;
    }

    .modal-content h2 {
        font-size: 1.8rem;
    }

    .modal-subtitle {
        font-size: 1rem;
    }

    .modal-section-title {
        font-size: 1.3rem;
    }

    .modal-section p, .modal-list li {
        font-size: 0.9rem;
    }

    .close-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Section Projets Phares */
.projects-section {
    padding: 100px 0;
    background-color: #f9f9f9; /* Fond léger pour contraster */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: #0c8e36; /* Couleur verte AKNOVA */
}

.section-subtitl {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 60px;
    color: #000000 !important;
}

/* Grille des projets */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; /* Espacement entre les cartes */
    padding: 0 20px;
}

/* Carte de projet */
.project-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background-color: #f0f8f0; /* Fond vert très clair */
}

/* Image du projet */

.project-image {
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Assure que l'image couvre bien la zone */
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

/* Contenu de la carte */
.project-content {
    padding: 20px;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0c8e36 !important; /* Couleur verte AKNOVA */
}

.project-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #000000 !important;
    margin-bottom: 20px;
}

/* Lien "En savoir plus" */
.project-link {
    font-size: 1rem;
    font-weight: 600;
    color: #94c120; /* Couleur verte claire AKNOVA */
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #0c8e36; /* Couleur verte foncée AKNOVA */
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .project-title {
        font-size: 1.3rem;
    }

    .project-description {
        font-size: 0.9rem;
    }
}
