/* =======================
   🌟 HEADER & NAVBAR
   ======================= */

   .header {
    background-color: #0c8e36; /* Vert AKNOVA */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px; /* Hauteur légèrement augmentée pour un look moderne */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Ombre douce et moderne */
    transition: all 0.3s ease; /* Animation fluide */
}

/* Effet de rétrécissement du header au scroll */
.header.scrolled {
    height: 60px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}



/* Logo */
.logo-container img {
    height: 50px; /* Taille optimisée */
    width: auto;
    transition: transform 0.3s ease; /* Animation au survol */
}

.logo-container img:hover {
    transform: scale(1.05); /* Légère animation au survol */
}

/* Menu de navigation */
.navbar-nav {
    display: flex;
    gap: 20px; /* Espacement entre les liens */
    align-items: center;
}

.navbar-light .navbar-nav .nav-link {
    color: #000000 !important; /* Texte blanc */
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease; /* Animation fluide */
    position: relative;
}

.navbar-light .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #94c120; /* Vert clair AKNOVA */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-light .navbar-nav .nav-link:hover::after {
    width: 100%; /* Effet de soulignement au survol */
}

.navbar-light .navbar-nav .nav-link.active {
    color: #94c120 !important; /* Vert clair AKNOVA pour l'élément actif */
}

/* Bouton Call-to-Action (CTA) */
.nav-cta {
    background-color: #94c120; /* Vert clair AKNOVA */
    color: #ffffff !important;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: #0c8e36; /* Vert AKNOVA au survol */
    transform: translateY(-2px); /* Légère élévation */
    box-shadow: 0 4px 15px rgba(12, 142, 54, 0.3); /* Ombre portée */
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    .navbar-nav {
        gap: 10px;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 8px 10px;
    }

    .nav-cta {
        padding: 8px 20px;
    }
}

/* Empêcher le contenu d'être caché sous le header */
body {
    padding-top: 80px;
    font-family: 'Poppins', sans-serif;
}

/* =======================
   🎭 HERO SECTION
   ======================= */

   .hero {
    width: 100vw;
    height: 100vh;
    background: url('/images/ban.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Superposition avec SVG */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay svg {
    width: 100%;
    height: 100%;
}

.hero-overlay circle {
    fill: rgba(11, 142, 54, 0.6); /* Vert AKNOVA avec transparence */
}

/* Contenu de la Hero Section */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out; /* Animation d'apparition */
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: slideInLeft 1s ease-out; /* Animation de texte */
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    animation: slideInRight 1s ease-out; /* Animation de texte */
}

.hero .btn {
    font-size: 1.2rem;
    padding: 15px 40px;
    border-radius: 30px;
    background-color: #94c120; /* Vert clair AKNOVA */
    color: white;
    font-weight: 600;
    border: none !important; /* Supprime toute bordure */
    box-shadow: none !important; /* Supprime l'effet d'ombre */
    text-transform: uppercase;
    transition: all 0.3s ease;
    animation: fadeIn 1.5s ease-out; /* Animation du bouton */
}

.hero .btn:hover {
    background-color: #0c8e36; /* Vert AKNOVA au survol */
    transform: translateY(-5px); /* Légère élévation */
    box-shadow: 0 8px 20px rgba(12, 142, 54, 0.4); /* Ombre portée */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero .btn {
        font-size: 1rem;
        padding: 12px 30px;
    }
}

/* =======================
   🏆 SECTION À PROPOS (IMAGE CENTRÉE)
   ======================= */

   .about-section {
    padding: 100px 0;
    background-color: #f9f9f9; /* Fond clair */
    position: relative;
    overflow: hidden;
}

/* Titre de la section */
.section-header {
    position: relative;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0c8e36; /* Vert AKNOVA */
    margin-bottom: 20px;
    padding-left: 60px; /* Espace pour la ligne asymétrique */
}

.section-header .line {
    display: inline-block;
    width: 50px;
    height: 3px;
    background-color: #0c8e36; /* Vert AKNOVA */
    position: absolute;
    left: 0; /* Position de la ligne */
    top: 50%;
    transform: translateY(-50%);
}

/* Titre principal */
.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #94c120 !important; /* Vert AKNOVA */
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Description */
.description {
    font-size: 1.1rem;
    color: #333; /* Texte plus foncé pour une meilleure lisibilité */
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Colonne Image */
.col-lg-6 img {
    width: 100%;
    max-width: 400px; /* Limite la largeur de l'image */
    border-radius: 15px; /* Bords plus arrondis */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.col-lg-6 img:hover {
    transform: scale(1.02); /* Légère animation au survol */
}

/* Centrer l'image horizontalement et verticalement */
.col-lg-6.d-flex {
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
}

/* Bloc Mission & Vision */
.info-block {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.circle {
    width: 50px;
    height: 50px;
    min-width: 50px !important; /* Empêche le rétrécissement */
    min-height: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 50%;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.circle.bg-success {
    background-color: #0c8e36; /* Vert AKNOVA */
}

.circle.bg-danger {
    background-color: #94c120 !important; /* Vert clair AKNOVA */
}

.info-block:hover .circle {
    transform: scale(1.1);
}

.info-block h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0c8e36; /* Vert AKNOVA */
    margin-bottom: 10px;
}

.info-block p {
    font-size: 1rem;
    color: #333; /* Texte plus foncé pour une meilleure lisibilité */
    line-height: 1.6;
}

/* Alignement des colonnes */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px; /* Compensation des marges internes des colonnes */
}

.col-lg-6 {
    padding: 0 15px; /* Espacement interne des colonnes */
    flex: 0 0 50%; /* Chaque colonne prend 50% de la largeur */
    max-width: 50%; /* Limite la largeur à 50% */
}

/* Responsive */
@media (max-width: 991px) {
    .col-lg-6 {
        flex: 0 0 100%; /* Les colonnes prennent 100% de la largeur sur les petits écrans */
        max-width: 100%;
    }

    .section-header {
        padding-left: 50px; /* Ajustement pour les écrans plus petits */
    }

    .circle {
        width: 40px;
        height: 40px;
        min-width: 40px !important;
        min-height: 40px !important;
        font-size: 1rem; /* Réduction du texte pour l’adapter à la taille */
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .description {
        font-size: 1rem;
    }

    .section-header {
        padding-left: 40px; /* Ajustement pour les mobiles */
    }

    .circle {
        width: 40px;
        height: 40px;
        min-width: 40px !important;
        min-height: 40px !important;
        font-size: 1rem; /* Réduction du texte pour l’adapter à la taille */
    }
}

/* =======================
   💬 SECTION TÉMOIGNAGES (MODERNE ET ATTRAYANTE)
   ======================= */

   .testimonials-section {
    padding: 100px 20px;
    background-color: #f9f9f9; /* Fond clair */
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Titre de la section */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-subtit {
    font-size: 1.2rem;
    color: #000000;
}

/* Conteneur des slides */
.testimonials-slider {
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0;
}

.testimonial-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-icon {
    font-size: 3rem;
    color: #94c120; /* Vert clair AKNOVA */
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    font-size: 1rem;
    color: #666;
}

.testimonial-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0c8e36; /* Vert AKNOVA */
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 0.9rem;
    color: #666;
}

/* Points indicateurs (pagination) */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dots .dot.active {
    background-color: #0c8e36; /* Vert AKNOVA */
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

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

    .testimonial-slide {
        padding: 30px;
    }

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

    .testimonial-text {
        font-size: 1rem;
    }
}

/* =======================
   📞 SECTION CTA POUR CONTACT (AVEC IMAGE)
   ======================= */

.cta-contact-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0c8e36, #94c120); /* Dégradé vert AKNOVA */
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Image */
.cta-image {
    flex: 1;
    max-width: 500px;
}

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

/* Titre, description et bouton */
.cta-content {
    flex: 1;
    max-width: 600px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* Bouton CTA */
.cta-actions .cta-button {
    background-color: white;
    color: #0c8e36; /* Vert AKNOVA */
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-actions .cta-button:hover {
    background-color: #0c8e36; /* Vert AKNOVA */
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

    .cta-image {
        max-width: 100%;
    }

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

    .cta-description {
        font-size: 1rem;
    }

    .cta-actions .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* =======================
   💡 SECTION EXPERTISE
   ======================= */

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

.btn-more {
    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 */
}

/* Texte défilant en arrière-plan */
.background-text {
    position: absolute;
    top: -50px;
    left: 0;
    font-size: 150px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.1); /* Texte très léger */
    transform: rotate(-10deg);
    animation: scroll 10s linear infinite;
    z-index: 0;
}

@keyframes scroll {
    0% {
        transform: rotate(-10deg) translateY(0);
    }
    100% {
        transform: rotate(-10deg) translateY(-50px);
    }
}

/* Titres de la section */
.titles {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 60px;
}

.main-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.main-title-container .line {
    width: 50px;
    height: 3px;
    background-color: #94c120; /* Vert clair AKNOVA */
    margin: 0 15px;
}

.main-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.sub-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-top: 10px;
}

/* Conteneur des cartes */
.expertise-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Carte d'expertise */
.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-card .card-number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0c8e36; /* Vert AKNOVA */
}

.expertise-card .card-background-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    color: rgba(12, 142, 54, 0.1); /* Vert AKNOVA très léger */
    z-index: 0;
}

.expertise-card .card-content {
    position: relative;
    z-index: 1;
}

.expertise-card .card-icon {
    font-size: 2.5rem;
    color: #0c8e36; /* Vert AKNOVA */
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.expertise-card:hover .card-icon {
    color: white;
}

.expertise-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0c8e36; /* Vert AKNOVA */
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.expertise-card:hover h3 {
    color: white;
}

.expertise-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.expertise-card:hover p {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .expertise-card {
        width: 100%;
        max-width: 400px;
    }

    .background-text {
        font-size: 100px;
    }

    .main-title {
        font-size: 1.8rem;
    }

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