/* ===== VARIABLES ===== */
:root {
    --primary-orange: #FF9800;
    --primary-cyan: #00ACC1;
}

/* ================================================= */
/* ================== NAVBAR ======================= */
/* ================================================= */

.navbar {
    background: white !important;
    border-bottom: 3px solid var(--primary-cyan);
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.navbar-brand {
    margin-right: 2rem !important;
}

.navbar-nav .nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #333 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link i {
    color: var(--primary-cyan);
    margin-right: 0.5rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-orange) !important;
    background-color: rgba(0, 172, 193, 0.1);
}

.navbar-nav .nav-link.active {
    color: var(--primary-orange) !important;
    background-color: rgba(0, 172, 193, 0.1);
}

/* Dropdown desktop */
.navbar-nav .dropdown-menu {
    border: 2px solid var(--primary-cyan);
    border-top: 3px solid var(--primary-orange);
    box-shadow: 0 5px 15px rgba(0, 172, 193, 0.15);
}

/* Bouton WhatsApp */
.btn-whatsapp {
    background-color: #25D366 !important;
    border: none !important;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Toggler */
.navbar-toggler {
    border: 2px solid var(--primary-cyan);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 172, 193, 0.9)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ================= MOBILE NAVBAR FIX ================= */

@media (max-width: 992px) {

    .navbar-collapse {
        padding: 0 15px;
    }

    .navbar-nav {
        flex-direction: column;
        background: white;
        border-radius: 10px;
        margin-top: 10px;
        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
        position: relative;
    }

    /* Lien FIXE */
    .navbar-nav .dropdown-toggle {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        padding: 0.9rem 1rem !important;
    }

    /* Flèche */
    .navbar-nav .dropdown-toggle::after {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        border: none;
        content: "▾";
        font-size: 1rem;
    }

    /* Dropdown en BAS */
    .navbar-nav .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0.5rem 0 !important;
        border-radius: 0 0 8px 8px;
        border: 1px solid #ddd;
        border-top: 3px solid var(--primary-orange);
        background: white;
        box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    }

    .navbar-nav .dropdown-item {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid #eee;
    }

    .navbar-nav .dropdown-item:last-child {
        border-bottom: none;
    }

    .navbar-nav .btn-whatsapp {
        margin: 1rem 0;
        width: 100%;
    }
}


/* ===== CAROUSEL ===== */
.carousel {
    position: relative;
    min-height: 100vh;
    background: #f8f9fa;
    margin-top: 70px !important;
    overflow: hidden;
}



/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body {
        /* Ajustement scroll sur mobile */
        -webkit-overflow-scrolling: touch;
    }
}

/* ===== HEADER STYLÉ ===== */
.navbar {
    background: white !important;
    border-bottom: 3px solid #00ACC1;
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

/* Suppression de l'espace après le header */
.navbar-spacer {
    display: none;
}

/* Logo décalé à gauche */
.navbar-brand {
    margin-right: 2rem !important;
    padding-left: 0 !important;
}

.navbar-brand img {
    transition: transform 0.3s ease;
    margin-right: 0.5rem;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Texte du logo */
.navbar-brand small {
    color: #666 !important;
    letter-spacing: 0.5px;
}

/* Alignement du menu */
.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #333 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link i {
    color: #00ACC1;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.navbar-nav .nav-link:hover i {
    color: #FF9800;
}

.navbar-nav .nav-link:hover {
    color: #FF9800 !important;
    background-color: rgba(0, 172, 193, 0.1);
}

.navbar-nav .nav-link.active {
    color: #FF9800 !important;
    background-color: rgba(0, 172, 193, 0.1);
}

/* Dropdown menus */
.navbar-nav .dropdown-menu {
    border: 2px solid #00ACC1;
    border-top: 3px solid #FF9800;
    box-shadow: 0 5px 15px rgba(0, 172, 193, 0.15);
}

/* Items dropdown */
.dropdown-item {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    color: #FF9800 !important;
    background-color: rgba(0, 172, 193, 0.05) !important;
}

/* Bouton WhatsApp vert simple */
.btn-whatsapp {
    background-color: #25D366 !important;
    border: none !important;
    font-weight: 800;
    font-size: 0.7rem;
    margin-left: -20%;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp:hover {
    background-color: #128C7E !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(18, 140, 126, 0.3);
}

.btn-whatsapp i {
    font-size: 1.5em;
    margin-right: 0.5rem;
}

/* Bouton toggler mobile */
.navbar-toggler {
    border: 2px solid #00ACC1;
    padding: 0.4rem 0.6rem;
    margin-left: auto;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 172, 193, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 172, 193, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ===== BARRE DE DÉFILEMENT STYLISÉE ===== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.05);
    margin: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-cyan));
    border-radius: 10px;
    border: 3px solid #f8f9fa;
    background-clip: padding-box;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-orange));
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.3);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Scroll horizontal */
::-webkit-scrollbar-track:horizontal {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb:horizontal {
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-cyan));
}

::-webkit-scrollbar-thumb:horizontal:hover {
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-orange));
}

/* Élément scrollable spécifique */
.scrollable-element::-webkit-scrollbar {
    width: 8px;
}

.scrollable-element::-webkit-scrollbar-thumb {
    background: rgba(255, 152, 0, 0.7);
    border-radius: 4px;
}

/* Défilement fluide */
html {
    scroll-behavior: smooth;
}

/* Body */
body {
    overflow-x: hidden;
    overflow-y: overlay;
}

/* Firefox */
@supports (scrollbar-width: thin) {
    body {
        scrollbar-color: var(--primary-orange) transparent;
    }
}

/* Mobile */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    ::-webkit-scrollbar-thumb {
        border-width: 2px;
    }

    body {
        scrollbar-width: thin;
    }
}





/* ===== CORRECTION CAROUSEL ===== */
.carousel {
    position: relative;
    min-height: 100vh;
    background: #f8f9fa;
    margin-top: 70px !important;
    overflow: hidden;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Images de fond locales */
.carousel-item:nth-child(1) {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), 
                      url('../img/slide1.jpg');
}

.carousel-item:nth-child(2) {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), 
                      url('../img/slide2.jpg');
}

.carousel-item:nth-child(3) {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), 
                      url('../img/slide3.jpg');
}

/* Correction Z-index pour les contrôles */
.carousel-control-prev,
.carousel-control-next {
    z-index: 10 !important;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 152, 0, 0.9) !important;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    opacity: 1;
    transition: all 0.3s ease;
}

/* Positionnement correct */
.carousel-control-prev {
    left: 20px !important;
    right: auto !important;
}

.carousel-control-next {
    right: 20px !important;
    left: auto !important;
}

/* Icônes des flèches */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: 100%, 100%;
    background-image: none !important;
    position: relative;
}

/* Création des icônes avec CSS */
.carousel-control-prev-icon::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    width: 15px;
    height: 15px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: translateY(-50%) rotate(45deg);
}

.carousel-control-next-icon::before {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 15px;
    height: 15px;
    border-right: 3px solid white;
    border-top: 3px solid white;
    transform: translateY(-50%) rotate(45deg);
}

/* Contenu du slide */
.carousel-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Texte du carousel */
.carousel-content h1 {
    font-size: 3.5rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease-out;
}

.text-accent {
    color: #FF9800 !important;
}

.carousel-content .lead {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Boutons carousel */
.carousel-content .btn {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-accent {
    background-color: #FF9800 !important;
    border: none !important;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white !important;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

.btn-accent:hover {
    background-color: #00ACC1 !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 172, 193, 0.5);
}

.btn-outline-light {
    border: 2px solid white !important;
    color: white !important;
    background: transparent;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline-light:hover {
    background-color: white;
    color: #00ACC1 !important;
}

/* Indicateurs carousel */
.carousel-indicators {
    bottom: 40px;
    z-index: 10;
}

.carousel-indicators [data-bs-target] {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    margin: 0 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-indicators .active {
    background-color: #FF9800;
    width: 40px;
    border-radius: 20px;
    transform: scale(1.1);
}

/* ===== SECTION CITATION ===== */
.quote-box {
    background: white;
    border-left: 5px solid #FF9800;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-radius: 10px !important;
}

.quote-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(0, 172, 193, 0.05), transparent);
    border-radius: 0 0 0 100px;
}

.quote-box .text-primary {
    color: #00ACC1 !important;
    font-weight: 700;
}

.quote-box .text-dark {
    color: #333 !important;
}

/* ===== SECTION STATISTIQUES ===== */
.stat-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.stat-number {
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ===== SECTION DOMAINES ===== */
.section-title {
    color: #333;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FF9800, #00ACC1);
}

.domain-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.domain-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 172, 193, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.domain-card h3 {
    color: #333;
}

.domain-card ul li {
    color: #555;
    font-size: 0.9rem;
}

/* ===== SECTION COLLABORATIONS ===== */
.collaborator-logo {
    transition: transform 0.3s ease;
}

.collaborator-logo:hover {
    transform: translateY(-5px);
}

.logo-container {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.collaborator-logo:hover .logo-container {
    border-color: #00ACC1;
    background-color: #f8f9fa;
}

/* ===== FOOTER ===== */
footer {
    background: #1a1a1a !important;
}

.text-accent {
    color: #FF9800 !important;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #FF9800;
    transform: translateY(-3px);
}

/* Liens du footer */
footer a.text-light {
    transition: color 0.3s ease;
}

footer a.text-light:hover {
    color: #FF9800 !important;
    padding-left: 5px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    /* Carousel */
    .carousel {
        margin-top: 60px !important;
        min-height: 80vh;
    }
    
    .carousel-item {
        height: 80vh;
        min-height: 500px;
    }
    
    .carousel-content h1 {
        font-size: 2.5rem;
    }
    
    .carousel-content .lead {
        font-size: 1.2rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        margin: 0 15px;
    }
    
    .carousel-control-prev-icon::before,
    .carousel-control-next-icon::before {
        width: 12px;
        height: 12px;
    }
    
    .btn-accent,
    .btn-outline-light {
        padding: 0.7rem 2rem;
        font-size: 1rem;
    }
    
    /* Citations */
    .quote-box {
        padding: 2rem !important;
    }
    
    .quote-box p.fs-4 {
        font-size: 1.25rem !important;
    }
    
    /* Menu mobile */
    .navbar-nav {
        padding: 1rem 0;
        background: white;
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.8rem 1rem !important;
    }
    
    /* Domaines */
    .domain-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Carousel */
    .carousel {
        min-height: 70vh;
    }
    
    .carousel-item {
        height: 70vh;
        min-height: 400px;
    }
    
    .carousel-content h1 {
        font-size: 2rem;
    }
    
    .carousel-content .lead {
        font-size: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
        margin: 0 10px;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 12px;
        height: 12px;
        margin: 0 5px;
    }
    
    /* Logo */
    .navbar-brand small {
        font-size: 0.65rem;
    }
    
    /* Footer */
    .footer-brand {
        justify-content: center;
        text-align: center;
    }
    
    .social-icons {
        text-align: center;
    }
    
    footer h5 {
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .carousel-content h1 {
        font-size: 1.8rem;
    }
    
    .carousel-content .lead {
        font-size: 0.9rem;
    }
    
    .btn-accent,
    .btn-outline-light {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ===== STYLES SPÉCIFIQUES GENIE BIOMEDICAL ===== */

/* Hero section */
.hero-biomedical {
    position: relative;
    color: white;
}

/* Cartes d'intervention */
.intervention-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.intervention-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: rgba(0, 172, 193, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carte de contenu */
.content-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left: 5px solid #FF9800;
}

/* Équipements */
.equipment-item {
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #00ACC1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.equipment-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

/* Galerie */
.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.placeholder-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-biomedical {
        padding-top: 40px;
        padding-bottom: 40px;
        text-align: center;
    }
    
    .intervention-card {
        margin-bottom: 20px;
    }
    
    .content-card {
        padding: 2rem !important;
    }
}

/* ===== FIX ALIGNEMENT NAVBAR MOBILE ===== */
@media (max-width: 768px) {

    .navbar .container {
        display: flex;
        align-items: center;
    }

    /* Logo + texte */
    .navbar-brand {
        display: flex;
        align-items: center;
        max-width: 75%;
    }

    /* Texte sous le logo */
    .navbar-brand small {
        font-size: 0.6rem;
        line-height: 1;
    }

    /* Bouton hamburger parfaitement centré */
    .navbar-toggler {
        align-self: center;
        margin-top: 0;
    }
}

/* ===== BOUTON EN SAVOIR PLUS - ANIMÉ DÉGRADÉ ===== */
.btn-outline-accent {
    color: #FF9800 !important;
    border: 2px solid #FF9800 !important;
    background: white !important;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* Pour tous les appareils : au toucher/clic */
.btn-outline-accent:active,
.btn-outline-accent.active {
    color: white !important;
    background: linear-gradient(90deg, #FF9800, #00ACC1) !important;
    border-color: transparent !important;
    transform: scale(0.98);
}

/* Pour PC seulement : hover */
@media (hover: hover) {
    .btn-outline-accent:hover {
        color: white !important;
        background: linear-gradient(90deg, #FF9800, #00ACC1) !important;
        border-color: transparent !important;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
    }
    
    .btn-outline-accent:hover i {
        transform: translateX(5px);
    }
}

/* Animation de la flèche */
.btn-outline-accent i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

/* Version dans les cartes domaines */
.domain-card .btn-outline-accent {
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
}

/* Styles pour les cartes de témoignages */
.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-top: 4px solid #FF9800;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.testimonial-header {
  text-align: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.testimonial-body {
  padding-top: 1rem;
  font-style: italic;
  color: #555;
  line-height: 1.6;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
}
/* ===== SECTION MOT DU DIRECTEUR ===== */
#mot-directeur .quote-box {
  background: white;
  border-left: 5px solid #FF9800;
  border-right: 5px solid #00ACC1;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  border-radius: 10px !important;
}

#mot-directeur .quote-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(0, 172, 193, 0.05), transparent);
  border-radius: 0 0 0 100px;
}

#mot-directeur .quote-box .text-primary {
  color: #00ACC1 !important;
  font-weight: 700;
}

/* Style pour l'image en cover */
#mot-directeur .img-container {
  height: 400px;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

#mot-directeur .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

#mot-directeur .img-container:hover img {
  transform: scale(1.05);
}

/* Overlay pour le nom du directeur */
#mot-directeur .director-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 2rem 1rem 1rem;
  text-align: center;
}

#mot-directeur .director-overlay h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

#mot-directeur .director-overlay small {
  opacity: 0.9;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  #mot-directeur .quote-box {
    margin-top: 2rem;
  }
  
  #mot-directeur .img-container {
    height: 350px;
  }
}

@media (max-width: 768px) {
  #mot-directeur .quote-box {
    padding: 1.5rem !important;
  }
  
  #mot-directeur .quote-box p.fs-4 {
    font-size: 1.2rem !important;
  }
  
  #mot-directeur .img-container {
    height: 300px;
  }
}

@media (max-width: 576px) {
  #mot-directeur .img-container {
    height: 250px;
  }
  
  #mot-directeur .director-overlay {
    padding: 1.5rem 0.5rem 0.5rem;
  }
}