/* Import des polices Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #e63946;
    /* Rouge AGEDIOM */
    --secondary-color: #457b9d;
    /* Bleu doux */
    --text-dark: #222;
    --text-light: #fff;
    --overlay-dark: #002864c5;
    /* Plus foncé pour le premier slide */
    --font-family-primary: 'Montserrat', sans-serif;
    --font-family-secondary: 'Open Sans', sans-serif;
    --spacing-sm: 15px;
    --spacing-md: 30px;
    --spacing-lg: 60px;
    --border-radius: 8px;
    --transition-speed: 0.4s ease-in-out;
}


body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    /* Fond général */
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
}


/* ===== HEADER GLOBAL ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 6px #00000014;
    z-index: 1000;
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* ===== LOGO ===== */
.logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

/* ===== NAVIGATION ===== */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-item .nav-link {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: #002366;
    transition: all 0.3s ease;
    position: relative;
}

/* ===== ACTIVE LINK ===== */
.nav-item .nav-link.active {
    color: orange;
    font-weight: 600;
}

.nav-item .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: orange;
    border-radius: 2px;
}

/* ===== HOVER EFFECT ===== */
.nav-item .nav-link:hover {
    color: orange;
}

/* ===== ACTIONS ===== */
.actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Selector */
.language-selector select {
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
}

/* Contact Button */
.contact-button a {
    padding: 0.5rem 1rem;
    background: #b20000;
    ;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 0.9rem;
}

.contact-button a:hover {
    background: #8e0000be;
    color: orange;
}

/* ===== SETTINGS DROPDOWN ===== *
.settings-dropdown {
    position: relative;
}

.settings-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #333;
}

.settings-menu {
    position: absolute;
    top: 110%;
    right: 0;
    background: #fff;
    border: 1px solid black;
    border-radius: 8px;
    box-shadow: 0 4px 12px #0000001a;
    display: none;
    min-width: 160px;
    z-index: 999;
}

.settings-menu ul {
    list-style: none;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 0;
}

.settings-menu ul li {
    border-bottom: 1px solid #adadad;
}

.settings-menu ul li:last-child {
    border-bottom: 1px solid #adadad;
}

.settings-menu ul li a {
    display: block;
    padding: 0.4rem 0.7rem;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
}

.settings-menu ul li a:hover {
    background: #d1d0d0;
}

.settings-dropdown.open .settings-menu {
    display: block;
}*/

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== OVERLAY ===== */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 998;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        height: 100vh;
        background: #004080;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav .nav-item a {
        color: white;
    }

    .main-nav .nav-item a:hover {
        color: orange;
    }

    .main-nav.open {
        right: 0;
    }

    .overlay.active {
        display: block;
    }

    /* .settings-button {
        color: white;
    }

    .settings-button:hover {
        color: orange;
    } */

    .actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .contact-button a {
        width: 100%;
        text-align: center;
    }

}




/* ===== CAROUSEL ===== */
.carousel-container {
    position: relative;
    overflow: hidden;
    top: 50px;
    height: 90vh;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: none;
    color: #fff;
    transition: opacity 0.6s ease;
}

#slide2 {
    background-position: top;
}

.carousel-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 80%;
    max-width: 1200px;
}

.text-block {
    max-width: 600px;
    background: #1d52ffb6;
    padding: 2rem;
    border-radius: 10px;
}

.text-block h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.text-block p {
    margin-bottom: 1.5rem;
}

.buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn.primary {
    background: #f9a825;
    color: #fff;
}

.btn.primary:hover {
    background: #c17900;
}

.btn.secondary {
    background: #fff;
    color: #333;
}

.btn.secondary:hover {
    background: #ddd;
}

.btn.contact-btn {
    background: #2196f3;
    color: #fff;
}

.btn.contact-btn:hover {
    background: #0b79d0;
}





/* ===== Encadré Expertise (pour le slide 1) ===== */
.expertise-block {
    position: absolute;
    bottom: 150px;
    right: 40px;
    background: #ffffffe6;
    color: #222;
    padding: 20px 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    max-width: 320px;
    text-align: left;
    animation: fadeInRight 1.2s ease forwards;
}

.expertise-block h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.expertise-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-block ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.expertise-block ul li i {
    color: var(--primary-color);
}


/* ===== Overlay générique ===== */
.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: #1d52ffb6;
}

/* ===== Contenu des slides ===== */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeInUp 1.2s ease forwards;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #eee;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}


/* ===== RESPONSIVE ===== */

/* Grand écrans (≤1200px) */
@media (max-width: 1400px) {
    .hero-content h1 {
        font-size: 2.6rem;
    }

    .expertise-block {
        position: relative;
        bottom: auto;
        right: 32px;
        margin: 10px auto 0;
        max-width: 90%;
        text-align: center;
    }

    .carousel-indicators {
        padding-right: 390px;
    }
}

/* Tablettes (≤992px) */
@media (max-width: 992px) {
    .hero-content {
        max-width: 70%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .expertise-block {
        position: relative;
        bottom: auto;
        right: 32px;
        margin: 10px auto 0;
        max-width: 90%;
        text-align: center;
    }

    .expertise-block h3 {
        font-size: 1.1rem;
    }

    .expertise-block ul li {
        font-size: 0.9rem;
    }

    .carousel-indicators {
        padding-right: 260px;
    }
}

/* Mobiles (≤768px) */
@media (max-width: 768px) {
    .hero-content {
        max-width: 90%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .expertise-block {
        position: relative;
        bottom: auto;
        right: 32px;
        margin: 10px auto 0;
        max-width: 90%;
        text-align: center;
    }

    .expertise-block ul li {
        justify-content: center;
    }

    .carousel-indicators {
        padding-right: 120px;
    }
}

/* Petits mobiles (≤576px) */
@media (max-width: 526px) {
    .hero-content {
        padding-top: 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .expertise-block {
        display: none;
    }

    .carousel-indicators {
        padding-right: 120px;
    }
}




.expertise-blockk {
    background: linear-gradient(135deg, #007bffd8, #ff1100ee);
    color: white;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-width: 420px;
    margin: 40px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-blockk:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.expertise-blockk h3 {
    font-size: 1.6em;
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.expertise-blockk ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-blockk li {
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.05em;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 15px;
    border-radius: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.expertise-blockk li:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
}

.expertise-blockk li i {
    margin-right: 12px;
    font-size: 1.2em;
    color: #ffeb3b;
}

/* --- 🌍 RESPONSIVE DESIGN --- */

/* Petits écrans (smartphones) */
@media (max-width: 600px) {
    .expertise-blockk {
        padding: 20px;
        max-width: 95%;
        border-radius: 15px;
    }

    .expertise-blockk h3 {
        font-size: 1.3em;
        text-align: center;
        justify-content: center;
    }

    .expertise-blockk ul {
        padding-left: 0;
    }

    .expertise-blockk li {
        font-size: 0.95em;
        padding: 8px 10px;
    }

    .expertise-blockk li i {
        font-size: 1em;
    }
}

/* Tablettes */
@media (min-width: 601px) and (max-width: 1024px) {
    .expertise-blockk {
        max-width: 90%;
        padding: 25px;
    }

    .expertise-blockk h3 {
        font-size: 1.5em;
    }

    .expertise-blockk li {
        font-size: 1em;
    }
}

/* Grands écrans (desktop) */
@media (min-width: 1025px) {
    .expertise-blockk {
        max-width: 480px;
    }
}




/* Boutons - Réutiliser et ajouter des variantes */
.btn-primary,
.btn-secondary,
.btn-primary-alt,
.btn-secondary-alt {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-speed);
    text-align: center;
    white-space: nowrap;
    border: 2px solid transparent;
    /* Base pour les bords */
}

/* Style des boutons existants (pour le slide 1) */
.btn-primary {
    background: var(--primary-color);
    border-radius: 20px;
    color: var(--text-light);
}

.btn-secondary {
    background: transparent;
    border-color: var(--text-light);
    /* Bordure blanche */
    color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}











/* ===== CONTROLS ===== */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #00000099;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}

.carousel-control:hover {
    background: #000000cc;
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}



/* ===== INDICATEURS ===== */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.carousel-indicators .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #ffffff99;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-indicators .dot.active {
    background: #f9a825;
}














/* ====== QUI SOMMES-NOUS ====== */
.qui-sommes-nous-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px 8%;
    border-bottom: 10px solid #e63946;
    background-color: none;
    border-radius: 30px;
    align-items: center;
}

/* === Texte === */
.qui-sommes-nous-content h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    margin-bottom: 20px;
    color: #111;
    font-weight: 700;
}

.qui-sommes-nous-content p {
    margin-bottom: 18px;
    color: #444;
    line-height: 1.7;
    font-size: 1rem;
    max-width: 600px;
}

/* === Bouton === */
.cta-button-outline {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #e63946;
    color: #e63946;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cta-button-outline:hover {
    background: #e63946;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

/* ===== Responsive ===== */

/* Tablettes */
@media (max-width: 992px) {
    .qui-sommes-nous-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 6%;
    }

    .qui-sommes-nous-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-button-outline {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* Mobiles */
@media (max-width: 576px) {
    .qui-sommes-nous-grid {
        padding: 30px 5%;
        gap: 25px;
        border-radius: 20px;
    }

    .qui-sommes-nous-content h2 {
        font-size: 1.2rem;
    }

    .qui-sommes-nous-content p {
        font-size: 0.95rem;
    }

    .cta-button-outline {
        width: 100%;
        display: block;
        text-align: center;
    }
}









/* ===== DOMAINES D'EXPERTISE (GRID VERSION) ===== */
#domaines-expertise {
    padding: 80px 20px;
    background: #f8fafc;
}

#domaines-expertise .section-title {
    font-size: 2.3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: #111827;
}

#domaines-expertise .section-subtitle {
    font-size: 1.05rem;
    text-align: center;
    color: #4b5563;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid d’expertise */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Carte d’expertise */
.expertise-card {
    background: #afaeae5b;
    padding: 30px 25px;
    border-radius: 18px;
    box-shadow: 0 6px 20px #00000014;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #020202;
}

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

/* Icône flottante */
.expertise-card i {
    font-size: 2rem;
    color: #0b79d0;
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.expertise-card:hover i {
    transform: scale(1.15) rotate(-3deg);
}

.expertise-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.expertise-card p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
}


/* Lien */
.expertise-card .link-details {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e63946;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.expertise-card .link-details i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.expertise-card .link-details:hover {
    color: #c71f2d;
}

.expertise-card .link-details:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    #domaines-expertise {
        padding: 60px 15px;
    }

    #domaines-expertise .section-title {
        font-size: 1.9rem;
    }

    .expertise-card {
        padding: 25px 20px;
    }
}





/* Agediom int off Solution */

.sol {
    background-color: #2672bd96;
    padding: 30px 0 30px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    color: #ffff;
    margin-bottom: 10px;
}

.section-header p {
    color: #ffff;
}















/* --- Section Pourquoi Choisir --- */
#pourquoi-choisir {
    background: linear-gradient(135deg, #002864, #004080);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

#pourquoi-choisir .section-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

#pourquoi-choisir .section-subtitle {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 50px;
}

.pourquoi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pourquoi-item {
    background: #ffffff5e;
    padding: 30px 20px;
    border-radius: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.pourquoi-item:hover {
    transform: translateY(-8px);
    background: #ffffff81;
}

.pourquoi-icon {
    font-size: 2.2rem;
    color: #f4c542;
    margin-bottom: 15px;
}

.pourquoi-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.pourquoi-item p {
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 768px) {

    #pourquoi-choisir {
        padding: 60px 15px;
    }

    .pourquoi-item {
        padding: 20px 15px;
    }

    #pourquoi-choisir .section-title {
        font-weight: 700;
        margin-bottom: 15px;
        font-size: 1.8rem;

    }
}






/* --- SECTION CHIFFRES CLÉS --- */
.py-section {
    background: #fff;
    padding: 90px 20px;
    text-align: center;
}

.chiffres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.chiffre-item {
    background: #f5f9ff;
    border-radius: 15px;
    padding: 30px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 18px #c7201db2;
}

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

.chiffre-item i {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 15px;
}

.chiffre-valeur {
    display: block;
    font-size: 2.2em;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 5px;
}

.chiffre-label {
    color: #444;
    font-size: 1em;
    font-weight: 500;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.6em;
    }

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

    .card img {
        height: 180px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.4em;
    }

    .section-subtitle {
        font-size: 0.95em;
    }

    .card-content h3 {
        font-size: 1.1em;
    }

    .card-content p {
        font-size: 0.9em;
    }

    .chiffre-valeur {
        font-size: 1.8em;
    }
}










/* --- FLAGS --- */
.country-flags {
    padding: 50px 20px;
    text-align: center;
    background: none;
}

.country-flags img {
    height: 40px;
    margin: 8px;
    transition: transform 0.3s ease;
}

.country-flags img:hover {
    transform: scale(1.2);
}
















/* ====== CTA ====== */
.about-cta {
    background: linear-gradient(135deg, #002864, #004080);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.about-cta a:hover {
    background: var(--text-light);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.about-cta h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}


/* Section Partenaires */
.partenaires-section {
    padding: 80px 0;
    text-align: center;
    background-color: #ffff;
    border-top: 1px solid var(--border-color);
}

.partenaires-section h2 {
    font-size: 2.5em;
    color: blue;
    margin-bottom: 10px;
}

.partenaires-section h2 .underline {
    position: relative;
}

.partenaires-section h2 .underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.partenaires-description {
    font-size: 1.2em;
    color: var(--light-text-color);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.partenaires-slider {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    /* Ajoute un peu d'espace vertical */
}

.partenaires-wrapper {
    display: flex;
    animation: scrollPartners 10s linear infinite;
    /* Animation de défilement */
    white-space: nowrap;
    /* Empêche les éléments de passer à la ligne */
    will-change: transform;
}

.partenaires-wrapper img {
    height: 80px;
    /* Hauteur fixe pour les logos */
    width: auto;
    max-width: 180px;
    /* Largeur maximale pour éviter les logos géants */
    margin: 0 40px;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.partenaires-wrapper img:hover {
    filter: grayscale(50%) brightness(1.2);
    /* Couleur au survol */
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Défilement de 50% de la largeur totale pour une boucle fluide */
    }
}

/* Réactivité générale */

@media (max-width: 768px) {

    .partenaires-section h2 {
        font-size: 1.5rem;
    }

    .partenaires-description {
        font-size: 1em;
        margin-bottom: 40px;
    }

    .partenaires-wrapper img {
        height: 60px;
        margin: 0 20px;
    }

    .about-cta .container h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {

    .partenaires-wrapper img {
        height: 50px;
        margin: 0 15px;
    }
}












/* Section for the Interactive Background */
.interactive-backgroundd {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    /* background: linear-gradient(135deg, var(--primary-color), #4CAF50); */
    background-size: 400% 400%;
}

/* Floating Items (Icons and Words) */
.background__container {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-item {
    position: absolute;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    opacity: 0.8;
    animation: float 6s linear infinite, drift 12s ease-in-out infinite;
    white-space: nowrap;
}

/* Animate Background Gradient */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Float Effect for Items */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Drift Animation for Horizontal Movement */
@keyframes drift {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(50px);
    }

    100% {
        transform: translateX(0);
    }
}

/* Generate Random Position for Items */
.floating-item:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-item:nth-child(2) {
    top: 20%;
    left: 75%;
    animation-delay: 1s;
}

.floating-item:nth-child(3) {
    top: 50%;
    left: 40%;
    animation-delay: 2s;
}

.floating-item:nth-child(4) {
    top: 30%;
    left: 20%;
    animation-delay: 3s;
}

.floating-item:nth-child(5) {
    top: 70%;
    left: 60%;
    animation-delay: 4s;
}

.floating-item:nth-child(6) {
    top: 80%;
    left: 10%;
    animation-delay: 5s;
}

.floating-item:nth-child(7) {
    top: 60%;
    left: 80%;
    animation-delay: 6s;
}

.floating-item:nth-child(8) {
    top: 15%;
    left: 45%;
    animation-delay: 7s;
}

.floating-item:nth-child(9) {
    top: 5%;
    left: 50%;
    animation-delay: 8s;
}

.floating-item:nth-child(10) {
    top: 90%;
    left: 35%;
    animation-delay: 9s;
}







/* Footer */
footer {
    color: #ffffff;
    background-color: #002366;
    padding: 50px 0;
    font-size: 0.9em;
    font-family: 'Arial', sans-serif;

}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 20px;
}


.footer-section h3 {
    color: #ffff;
    text-decoration: underline 3px solid var(--primary-color);
    margin-bottom: 15px;
}

.footer-section p {
    margin-bottom: 15px;
}

/* Section Logo */
.footer-logo {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.footer-logo img {
    width: 120px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 14px;
    color: #fff;
}


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

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

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: orange;
    font-weight: bold;
}

.footer-section.social a {
    color: orange;
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-section.social a:hover {
    color: white;
}

.contact-footer span {
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

.contact-footer a {
    color: #ffffff;
    text-decoration: none;
}

.contact-footer i {
    color: orange;
}

.footer-bottom {
    background-color: #002366;
    padding-top: 15px;
    text-align: center;
}


/* Mobile styles */
@media (max-width: 768px) {

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        margin: 15px 0;
        text-align: center;
    }
}