/* ==========================================================================
   ORPHELINS PRIORITÉ ASBL - Feuille de style principale
   Design moderne, fluide, responsive, thème clair & sombre
   ========================================================================== */

/* =====================================================================
   1. VARIABLES CSS - THÈMES CLAIR
   ===================================================================== */
:root {
    /* Breakpoints */
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;

    /* Couleurs principales */
    --primary: #1a4a9e;
    --primary-dark: #0d3a7e;
    --primary-light: #2c5fc1;
    --primary-lighter: #4a7ad9;
    --primary-soft: #eef2ff;
    --primary-transparent: rgba(26, 74, 158, 0.1);

    --secondary: #ff9f1c;
    --secondary-dark: #e68a00;
    --secondary-light: #ffb347;
    --secondary-lighter: #ffcd82;
    --secondary-soft: #fff5e6;
    --secondary-transparent: rgba(255, 159, 28, 0.1);

    --accent: #e63946;
    --accent-dark: #c1121f;
    --accent-light: #ff6b7a;
    --accent-soft: #ffe6e8;

    --success: #2a9d8f;
    --success-dark: #1d7a6f;
    --success-light: #4abfb2;
    --success-soft: #e8f6f4;

    --warning: #f4a261;
    --warning-dark: #e76f51;
    --warning-light: #f7c59f;

    --info: #457b9d;
    --info-dark: #1d3557;
    --info-light: #a8dadc;

    /* Couleurs des antennes */
    --branch-goma: #7C3AED;
    --branch-kisangani: #10B981;
    --branch-bunia: #F59E0B;
    --branch-bukavu: #3B82F6;

    /* Advanced Design Tokens */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Thèmes des antennes */
.goma-theme {
    --primary: var(--branch-goma);
    --primary-dark: #6D28D9;
    --secondary: #F59E0B;
}

.kisangani-theme {
    --primary: var(--branch-kisangani);
    --primary-dark: #059669;
    --secondary: #F59E0B;
}

.bunia-theme {
    --primary: var(--branch-bunia);
    --primary-dark: #D97706;
    --secondary: #3B82F6;
}

.bukavu-theme {
    --primary: var(--branch-bukavu);
    --primary-dark: #2563EB;
    --secondary: #F59E0B;
}

:root {

    /* Neutres - mode clair */
    --dark: #171f27;
    --dark-gray: #495057;
    --medium-gray: #6c757d;
    --light-gray: #adb5bd;
    --lighter-gray: #dee2e6;
    --light: #f8f9fa;
    --white: #ffffff;
    --black: #272525;
    --transparent: transparent;

    /* Textes - mode clair */
    --text-primary: var(--dark);
    --text-secondary: var(--dark-gray);
    --text-light: var(--white);
    --text-muted: var(--medium-gray);

    /* Bordures */
    --border-color: var(--lighter-gray);
    --border-radius-xs: 4px;
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --border-radius-circle: 50%;

    /* Ombres - mode clair */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 15px 35px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 25px 60px rgba(0, 0, 0, 0.2);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.05);

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --transition-slow: all 0.6s ease;
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);

    /* Typographie */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --font-accent: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;

    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-md: 1.125rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 1.875rem;
    --font-size-3xl: 2.25rem;
    --font-size-4xl: 3rem;
    --font-size-5xl: 3.75rem;
    --font-size-6xl: 4.5rem;

    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.7;

    /* Espacements */
    --space-0: 0;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 2.5rem;
    --space-8: 3rem;
    --space-9: 4rem;
    --space-10: 5rem;
    --space-11: 6rem;
    --space-12: 8rem;

    /* Conteneur */
    --container-xxl: 1320px;

    /* Z-index */
    --z-index-dropdown: 1000;
    --z-index-sticky: 1020;
    --z-index-fixed: 1030;
    --z-index-modal: 1050;
    --z-index-toast: 1080;
    --z-index-preloader: 9999;

    /* Advanced Design Tokens */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --glass-blur: blur(12px);

    --impact-overlay: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.95));
}

/* ---------- Toast Notifications ---------- */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 1rem 1.5rem;
    background: var(--white);
    color: var(--text-primary);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-index-toast);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInRight 0.3s ease forwards;
    transition: opacity 0.5s ease;
    border-left: 5px solid var(--primary);
    max-width: 350px;
}

.toast-success {
    border-left-color: var(--success);
}

.toast-error {
    border-left-color: var(--accent);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* =====================================================================
   1b. VARIABLES - MODE SOMBRE
   ===================================================================== */
.disabled-dark-mode-feature {
    /* Base Backgrounds - Deep Slate for a more premium look */
    --white: #0f172a;
    --light: #1e293b;
    --dark: #f8fafc;
    --black: #ffffff;

    /* Primary Colors - Adjusted for Dark Mode Contrast */
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --primary-lighter: #93c5fd;
    --primary-soft: rgba(59, 130, 246, 0.15);

    /* Secondary & Semantic Colors */
    --secondary: #fbbf24;
    --secondary-dark: #d97706;
    --secondary-light: #fcd34d;
    --secondary-soft: rgba(251, 191, 36, 0.15);

    --accent: #f43f5e;
    --accent-dark: #e11d48;
    --accent-light: #fb7185;
    --accent-soft: rgba(244, 63, 94, 0.15);

    --success: #10b981;
    --success-soft: rgba(16, 185, 129, 0.15);

    /* Text Colors - High Contrast (WCAG AA compliant) */
    --text-primary: #f8fafc;
    /* High contrast off-white */
    --text-secondary: #cbd5e1;
    /* Slate 300 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --border-color: #334155;
    /* Slate 700 */

    /* Glassmorphism Refined for Dark Surfaces */
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --glass-blur: blur(16px);

    /* Branch Colors - Balanced for Dark Mode Reading */
    --branch-goma: #a78bfa;
    /* Violet 400 */
    --branch-kisangani: #34d399;
    /* Emerald 400 */
    --branch-bunia: #fbbf24;
    /* Amber 400 */
    --branch-bukavu: #60a5fa;
    /* Blue 400 */

    /* Shadows & Overlays */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 15px 35px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
    --shadow-hover: 0 25px 60px rgba(0, 0, 0, 0.8);

    --impact-overlay: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95));
    --glow-color: rgba(59, 130, 246, 0.3);
}

/* =====================================================================
   2. RESET GÉNÉRAL
   ===================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

/* =====================================================================
   3. TYPOGRAPHIE DE BASE
   ===================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-5);
    color: var(--primary);
}

h1 {
    font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
    font-weight: 900;
}

h2 {
    font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
}

h3 {
    font-size: clamp(var(--font-size-xl), 3vw, var(--font-size-3xl));
}

h4 {
    font-size: clamp(var(--font-size-lg), 2.5vw, var(--font-size-2xl));
}

p {
    margin-bottom: var(--space-5);
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--primary-dark);
    outline: none;
}

strong {
    font-weight: 700;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* =====================================================================
   4. LAYOUT & UTILITAIRES
   ===================================================================== */
.container {
    width: 100%;
    max-width: var(--container-xxl);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.section {
    padding: var(--space-8) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-10);
    padding: 0 var(--space-4);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: clamp(var(--font-size-xl), 5vw, var(--font-size-3xl));
    color: var(--primary);
    margin-bottom: var(--space-6);
    display: inline-block;
    position: relative;
    font-weight: 900;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 10px;
}

.section-subtitle {
    font-size: clamp(var(--font-size-sm), 2vw, var(--font-size-lg));
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    line-height: 1.6;
}

.objectives-list {
    list-style: none;
    padding-left: 0;
}

.objectives-list li {
    margin-bottom: var(--space-3);
}

.text-success {
    color: var(--success) !important;
}

.mb-3 {
    margin-bottom: var(--space-3) !important;
}

.mr-2 {
    margin-right: var(--space-2) !important;
}

.mt-6 {
    margin-top: var(--space-6) !important;
}

.mt-5 {
    margin-top: var(--space-5) !important;
}

.mt-2 {
    margin-top: var(--space-2) !important;
}

.ml-3 {
    margin-left: var(--space-3) !important;
}

.text-center {
    text-align: center !important;
}

.d-none {
    display: none !important;
}

.d-md-flex {
    display: none !important;
}

@media (min-width: 768px) {
    .d-md-flex {
        display: flex !important;
    }

    .d-md-none {
        display: none !important;
    }
}

/* =====================================================================
   5. BOUTONS
   ===================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    gap: var(--space-2);
    user-select: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn:active {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

.btn-accent:hover {
    background-color: var(--accent-dark);
}

.btn-outline-primary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-outline-secondary {
    background: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-outline-secondary:hover {
    background: var(--secondary);
    color: white;
}

.btn-outline-white {
    background: transparent;
    border-color: white;
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-lg {
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-lg);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* =====================================================================
   6. HEADER & NAVIGATION
   ===================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-index-fixed);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.disabled-dark-mode-feature .header {
    background-color: rgba(18, 18, 18, 0.95);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) 0;
    min-height: 80px;
    gap: var(--space-4);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    min-width: 0;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    flex-shrink: 0;
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text h1 {
    font-size: var(--font-size-md);
    color: var(--primary);
    margin: 0;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-text p {
    font-size: 10px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 600;
    white-space: nowrap;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    white-space: nowrap;
}

.disabled-dark-mode-feature .nav-link {
    color: var(--text-primary);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary);
    background-color: var(--primary-soft);
}

.nav-link.active {
    color: var(--primary);
    background-color: var(--primary-soft);
}

/* Dropdown */
.nav-dropdown .nav-link::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: var(--font-size-xs);
    margin-left: var(--space-1);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: var(--z-index-dropdown);
}

.disabled-dark-mode-feature .dropdown-menu {
    background-color: var(--dark-gray);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: var(--space-3) var(--space-5);
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

.disabled-dark-mode-feature .dropdown-item {
    color: var(--text-primary);
}

.dropdown-item:hover {
    background-color: var(--primary-soft);
    color: var(--primary);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.carousel-scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-circle);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.carousel-scroll-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(26, 74, 158, 0.3);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: var(--border-radius-circle);
    font-size: var(--font-size-base);
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--primary-soft);
    transform: rotate(30deg);
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-lg);
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

/* =====================================================================
   7. HERO SECTION
   ===================================================================== */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: var(--space-10);
    background: linear-gradient(rgba(26, 74, 158, 0.85), rgba(26, 74, 158, 0.9));
    background-size: cover;
    background-position: center;
    color: var(--white);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 85vh;
}

/* Hero Carousel Background */
.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 74, 158, 0.82) 0%,
        rgba(15, 50, 120, 0.75) 50%,
        rgba(10, 35, 90, 0.85) 100%
    );
}

/* Hero Carousel Controls */
.hero-carousel-controls {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 2rem;
}

.hero-carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.hero-carousel-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.hero-carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.hero-carousel-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(var(--font-size-2xl), 8vw, var(--font-size-5xl));
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-4);
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(var(--font-size-sm), 4vw, var(--font-size-lg));
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-6);
    max-width: 800px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
    justify-content: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-8);
    width: 100%;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: var(--space-4);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.stat-number {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: var(--space-1);
    font-family: var(--font-accent);
}

.stat-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: rgb(80, 77, 77);
}

/* Hero Glow Effect */
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
    animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: var(--space-2) var(--space-5);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-5);
    letter-spacing: 0.5px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge .badge-icon {
    font-size: var(--font-size-base);
    color: var(--secondary);
}

/* Text Accent */
.text-accent {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stat Val & Stat Lbl (Kisangani-style stats) */
.stat-val {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: var(--space-1);
    font-family: var(--font-accent);
}

.stat-lbl {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

/* =====================================================================
   ANIMATIONS
   ===================================================================== */

/* Animate Reveal - Fade up on scroll */
.animate-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-reveal.revealed,
.animate-reveal.visible,
.animate-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animate On Scroll - legacy support */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay Classes */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Keyframe Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes animate-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation: animate-pulse 2s ease-in-out infinite;
}

/* =====================================================================
   8. ABOUT SECTION + CAROUSEL
   ===================================================================== */
.about-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-soft) 100%);
    padding: var(--space-10) 0;
    position: relative;
    overflow: hidden;
}

.about-form {
    border: 1px solid rgb(216, 213, 213);
    border-radius: 10px;
    text-align: center;
    background-color: white;
    height: 200px;
    width: 500px;


}

.about-section::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-transparent) 0%, transparent 70%);
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: var(--space-10);
    }
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-text h2 {
    margin-bottom: var(--space-4);
}

.about-text p {
    margin-bottom: var(--space-6);
    color: var(--text-secondary);
    line-height: 1.8;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

@media (min-width: 576px) {
    .mission-vision-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.mission-card,
.vision-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: var(--space-5);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: var(--shadow-md);
    border-color: var(--primary-soft);
}

.mission-icon,
.vision-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-3);
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon,
.vision-card:hover .vision-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg);
}

.mission-card h4,
.vision-card h4 {
    color: var(--primary);
    font-size: var(--font-size-md);
    margin-bottom: var(--space-2);
    font-weight: 700;
}

.mission-card p,
.vision-card p {
    font-size: var(--font-size-sm);
    margin: 0;
    line-height: 1.6;
}

/* Carousel */
.scrollable-carousel {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-header {
    padding: var(--space-5) var(--space-6);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.carousel-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.carousel-header h3 {
    color: white;
    margin-bottom: var(--space-1);
    font-size: var(--font-size-xl);
    font-weight: 800;
}

.carousel-header p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: var(--font-size-sm);
}

.carousel-container {
    background: white;
    padding: var(--space-2);
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-3);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--space-3);
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    width: 100%;
    overscroll-behavior-x: contain;
}

/* -----------------------------------------------------------------------
   "Notre impact en images" — Carousel à glissement (transform)
   Principe : .about-carousel-viewport = masque (overflow:hidden)
               #aboutCarouselTrack     = ruban de slides (translateX)
   ----------------------------------------------------------------------- */

/* Le viewport est créé dynamiquement par JS autour du track,
   OU peut être le .carousel-container existant sur goma/kisangani. */
.about-carousel-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
}

#aboutCarouselTrack.carousel-track,
.about-carousel-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    overflow: visible;
    /* le masque est sur le parent */
    scroll-snap-type: none;
    /* on utilise transform, pas scroll */
    width: 100%;
    /* largeur = 1 slide visible */
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.about-carousel-slide {
    flex: 0 0 100%;
    /* chaque slide = 100% du viewport */
    width: 100%;
    min-height: 300px;
    scroll-snap-align: none;
}

.about-carousel-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: var(--border-radius);
    display: block;
    pointer-events: none;
    user-select: none;
}

@media (min-width: 576px) {
    .about-carousel-slide img {
        height: 380px;
    }
}

@media (min-width: 992px) {
    .about-carousel-slide img {
        height: 420px;
    }
}


.carousel-track::-webkit-scrollbar {
    height: 0;
}

.carousel-track {
    scrollbar-width: none;
}



.about-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin: var(--space-4) 0;
}

.about-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-soft);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.about-carousel-indicator.active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

.carousel-track::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Carousel nav buttons (about carousel in branch pages) */
.carousel-nav-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-3) var(--space-5) var(--space-4);
    background: white;
}

.btn-scroll-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-soft);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-scroll-circle:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(26, 74, 158, 0.3);
}

.btn-scroll-circle:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Override for goma-theme branch pages */
.goma-theme .btn-scroll-circle {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.goma-theme .btn-scroll-circle:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

.carousel-slide {
    flex: 0 0 auto;
    width: clamp(240px, 75vw, 320px);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-soft);
    transition: var(--transition);
    cursor: pointer;
    scroll-snap-align: center;
}

@media (min-width: 768px) {
    .carousel-slide {
        width: 320px;
    }
}

@media (min-width: 1200px) {
    .carousel-slide {
        width: 360px;
    }
}

.carousel-slide:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.carousel-img-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--light);
}

@media (min-width: 576px) {
    .carousel-img-container {
        height: 260px;
    }
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: var(--transition);
}

.carousel-slide:hover .carousel-img {
    transform: scale(1.05);
}

.carousel-caption {
    padding: var(--space-3);
    text-align: center;
}

.carousel-caption h4 {
    margin-bottom: var(--space-1);
    color: var(--primary);
    font-size: var(--font-size-sm);
}

.carousel-caption p {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
    margin: 0;
}


.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-3);
    flex-wrap: wrap;
}

.carousel-scroll-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-circle);
    background: var(--primary);
    color: white;
    border: none;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-scroll-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.carousel-scroll-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-indicators {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    justify-content: center;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-soft);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.active {
    background: var(--primary);
    width: 25px;
    border-radius: 10px;
}

/* Premium About Enhancements */
.lead-text {
    font-size: var(--font-size-md);
    color: var(--primary-dark);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.card-premium {
    background: white;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--primary-soft);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card-premium:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.premium-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.premium-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px dashed var(--primary-soft);
}

.premium-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.icon-wrap {
    width: 32px;
    height: 32px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.list-text strong {
    color: var(--primary);
    display: block;
    margin-bottom: 2px;
}

.carousel-nav-simple {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.btn-scroll-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--primary-soft);
    background: white;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.btn-scroll-circle:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.carousel-instructions {
    text-align: center;
    margin-top: var(--space-3);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

/* Mission & Vision */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-top: var(--space-4);
}

@media (min-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mission-card,
.vision-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--space-3);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid var(--secondary);
}

.vision-card {
    border-top-color: var(--primary);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.mission-icon,
.vision-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: white;
    font-size: var(--font-size-xl);
}

.mission-icon {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
}

.vision-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

/* =====================================================================
   9. VALUES SECTION
   ===================================================================== */
.values-section {
    background: var(--primary-soft);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 576px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--space-5);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--primary);
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-4);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-2xl);
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: rotateY(180deg) scale(1.1);
}

.value-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-3);
}

/* =====================================================================
   10. PROGRAMS SECTION
   ===================================================================== */
.programs-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.program-tabs-container {
    text-align: center;
    margin-bottom: var(--space-8);
}

.program-tabs {
    display: inline-flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    background: var(--white);
    padding: var(--space-2);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.program-tab {
    padding: var(--space-3) var(--space-6);
    background: transparent;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-transform: uppercase;
    font-size: var(--font-size-sm);
    letter-spacing: 1px;
}

.program-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 25px rgba(26, 74, 158, 0.4);
    transform: translateY(-2px);
}

.program-tab:hover:not(.active) {
    background: rgba(26, 74, 158, 0.05);
    color: var(--primary);
    transform: translateY(-2px);
}

.program-content {
    display: none;
    opacity: 0;
    transform: scale(0.98);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-content.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.program-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-bounce);
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-20px) scale(1.02);
    border-color: var(--branch-goma);
    box-shadow: 0 25px 50px -12px rgba(124, 58, 237, 0.25);
}

.program-header {
    background: var(--premium-gradient);
    color: white;
    padding: var(--space-8) var(--space-5);
    text-align: center;
    position: relative;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.program-icon {
    font-size: 4rem;
    margin-bottom: var(--space-4);
    display: inline-block;
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.4));
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.program-card:hover .program-icon {
    transform: scale(1.2) rotate(8deg);
}

.program-title {
    font-size: var(--font-size-xl);
    margin: 0;
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.program-body {
    padding: var(--space-8);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: var(--space-5) 0;
}

.program-features li {
    list-style: none !important;
    margin-bottom: var(--space-4);
    padding-left: var(--space-7);
    position: relative;
    color: var(--text-secondary);
    font-weight: 500;
}

.program-features li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
    background: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
    display: inline-block;
    font-size: 1.2rem;
}

.program-stats {
    background: var(--primary-soft);
    border-radius: 20px;
    padding: var(--space-5);
    margin-top: auto;
    border-left: 5px solid var(--primary);
    transition: var(--transition);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.5);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.5);
    flex: 1 1 calc(50% - 15px);
    min-width: 140px;
}

.stat-badge i {
    color: var(--primary);
    font-size: 1.1rem;
}

.stat-badge strong {
    color: var(--primary-dark);
}


.program-card:hover .program-stats {
    background: white;
    transform: scale(1.02);
    box-shadow: var(--shadow-sm);
}

/* Dark mode pour les programmes */
.disabled-dark-mode-feature .programs-section {
    background: var(--dark);
}

.disabled-dark-mode-feature .program-tabs {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.disabled-dark-mode-feature .program-tab {
    color: rgba(255, 255, 255, 0.6);
}

.disabled-dark-mode-feature .program-tab.active {
    color: white;
    background: var(--primary);
}

.disabled-dark-mode-feature .program-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.disabled-dark-mode-feature .program-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
}

.disabled-dark-mode-feature .program-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.disabled-dark-mode-feature .program-body p {
    color: rgba(255, 255, 255, 0.7);
}

.disabled-dark-mode-feature .program-features li {
    color: rgba(255, 255, 255, 0.9);
}

.disabled-dark-mode-feature .program-features li::before {
    background: rgba(16, 185, 129, 0.2);
}

/* =====================================================================
   11. TEAM SECTION
   ===================================================================== */
.team-section {
    background: var(--light);
    padding: var(--space-10) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-7);
    margin-top: var(--space-8);
}

@media (min-width: 576px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-card {
    background: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0; /* Retrait du padding pour que l'image touche les bords */
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(26, 74, 158, 0.15);
}

.team-img-container {
    position: relative;
    width: 100%; /* Pleine largeur */
    height: 240px; /* Hauteur fixe pour le carré/rectangle */
    margin: 0;
    border-radius: 0; /* On laisse l'overflow hidden de .team-card gérer les coins supérieurs */
    overflow: hidden;
    background: #f1f5f9;
    border: none;
    box-shadow: none;
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .team-img-container {
        height: 260px;
    }
}

.disabled-dark-mode-feature .team-img-container {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.team-card:hover .team-img-container {
    /* Suppression des effets de shadow circulaire */
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 0.4s ease;
    display: block;
}

.team-card:hover .team-img {
    transform: scale(1.06);
}

.team-img.loading {
    opacity: 0;
}

.team-img.loaded {
    opacity: 1;
}

.team-info {
    padding: 1.5rem; /* Récupération du padding pour le texte */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.team-name {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    color: var(--primary);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-role {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.5rem;
}

.team-social a {
    width: 42px;
    height: 42px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, color 0.25s, transform 0.25s;
    color: var(--primary);
    border: none;
    font-size: 0.95rem;
}

.team-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
}

.team-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--premium-gradient);
    color: white;
    padding: 5px 13px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* =====================================================================
   12. IMPACT SECTION
   ===================================================================== */
.impact-section {
    background: var(--impact-overlay), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    padding: var(--space-12) 0;
    backdrop-filter: blur(5px);
}

.impact-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(145, 137, 159, 0.1) 0%, transparent 10%);
    z-index: 0;
}

.impact-section .section-header span,
.impact-section .section-header h2 {
    color: var(--primary);
}

.impact-section .section-header span {
    background: var(--primary-soft);
    color: var(--primary);
}

.impact-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

@media (min-width: 576px) {
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .impact-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.impact-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-8) var(--space-4);
    border-radius: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.impact-stat:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-15px);
    border-color: rgba(255, 255, 255, 0.3);
}

.impact-stat i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: var(--space-4);
    display: block;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3));
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: var(--space-1);
    font-family: var(--font-accent);
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.impact-text {
    font-size: var(--font-size-base);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.impact-story {
    max-width: 900px;
    margin: var(--space-10) auto 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(30px);
    padding: var(--space-10) var(--space-8);
    border-radius: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.impact-story::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.05);
}

.impact-story p {
    font-style: italic;
    margin-bottom: var(--space-6);
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: rgb(56, 54, 54);
}

.impact-story strong {
    display: block;
    color: var(--secondary);
    font-size: var(--font-size-base);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =====================================================================
   13. BRANCHES SECTION (NOS BRANCHES)
   ===================================================================== */
.branches-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-soft) 100%);
    padding: var(--space-10) 0;
    position: relative;
    overflow: hidden;
}

.branches-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-transparent) 0%, transparent 70%);
    z-index: 0;
}

.cities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 4rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.city-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3rem;
    overflow: hidden;
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.15),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.city-card:hover {
    transform: translateY(-25px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

.city-img-container {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--light);
}

@media (min-width: 576px) {
    .city-img-container {
        height: 320px;
    }
}

@media (min-width: 992px) {
    .city-img-container {
        height: 360px;
    }
}

.city-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.city-card:hover .city-img {
    transform: scale(1.08);
}

.city-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--branch-color, var(--primary)), transparent);
    opacity: 0.8;
}

.city-pin {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary);
    z-index: 2;
    animation: pulse-pin 2s infinite;
}

@keyframes pulse-pin {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.city-body {
    padding: 3rem 2.5rem 2.5rem;
    text-align: center;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.city-body h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.city-stats-mini {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.city-stats-mini span {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.city-stats-mini i {
    color: var(--white);
    font-size: 0.8rem;
}

.city-body p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.city-link {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 0.8rem 2.2rem;
    border-radius: 100px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.city-link:hover {
    background: white;
    color: var(--branch-color, var(--primary));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Couleurs dynamiques par branche */
.city-card[data-branch="goma"] .city-overlay {
    --branch-color: var(--branch-goma);
}

.city-card[data-branch="goma"] .city-body {
    background-color: var(--branch-goma);
}

.city-card[data-branch="kisangani"] .city-overlay {
    --branch-color: var(--branch-kisangani);
}

.city-card[data-branch="kisangani"] .city-body {
    background-color: var(--branch-kisangani);
}

.city-card[data-branch="bunia"] .city-overlay {
    --branch-color: var(--branch-bunia);
}

.city-card[data-branch="bunia"] .city-body {
    background-color: var(--branch-bunia);
}

.city-card[data-branch="bukavu"] .city-overlay {
    --branch-color: var(--branch-bukavu);
}

.city-card[data-branch="bukavu"] .city-body {
    background-color: var(--branch-bukavu);
}

/* Dark mode pour les branches */
.disabled-dark-mode-feature .city-card {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.disabled-dark-mode-feature .city-pin {
    background: var(--dark-gray);
    color: white;
}

.disabled-dark-mode-feature .city-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* =====================================================================
   14. DONATE SECTION
   ===================================================================== */
.donate-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--secondary-soft) 100%);
    position: relative;
    overflow: hidden;
}

.donate-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary-soft) 0%, transparent 70%);
    z-index: 0;
}

.donate-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

@media (min-width: 768px) {
    .donate-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .donate-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

.donate-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.donate-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.donate-header {
    background: linear-gradient(135deg, var(--primary, #1a4a9e), var(--primary-dark, #0f3470));
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.donate-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 1.5rem;
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.donate-card:hover .donate-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.donate-title {
    font-size: 1.3rem;
    margin: 0;
    color: white;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.donate-body {
    padding: 1.5rem;
    text-align: center;
}

.donate-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.donate-header.mobile-money {
    background: linear-gradient(135deg, #10B981, #059669);
}

.donate-header.nature {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.bank-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.bank-info-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.bank-info-item strong {
    color: var(--primary);
}

.mobile-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 10px 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
}

.donate-details.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.nature-item {
    background: var(--secondary-soft);
    padding: 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-dark);
}


/* =====================================================================
   15. GALLERY SECTION
   ===================================================================== */
.gallery-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

@media (min-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    border-radius: 2.5rem;
    overflow: hidden;
    height: 280px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: var(--light);
}

.gallery-item.loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.04));
    background-size: 200% 100%;
    animation: gallerySkeleton 1.1s ease-in-out infinite;
    z-index: 0;
}

@keyframes gallerySkeleton {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@media (min-width: 576px) {
    .gallery-item {
        height: 320px;
    }
}

@media (min-width: 992px) {
    .gallery-item {
        height: 350px;
    }
}

.gallery-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.8s ease;
    display: block;
    position: relative;
    z-index: 1;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.gallery-placeholder.secondary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.gallery-placeholder.accent {
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 74, 158, 0.95), transparent);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 40px 25px 25px;
    color: white;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: var(--font-size-lg);
    font-weight: 800;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: var(--font-size-sm);
    letter-spacing: 0.5px;
}

/* =====================================================================
   16. TESTIMONIALS SECTION
   ===================================================================== */
.testimonials-section {
    background: var(--primary-soft);
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-text {
    font-size: var(--font-size-base);
    font-style: italic;
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-circle);
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    color: var(--primary);
    flex-shrink: 0;
}

.author-info h4 {
    margin-bottom: var(--space-1);
    font-size: var(--font-size-base);
}

.author-role {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
}

/* =====================================================================
   17. EVENTS SECTION
   ===================================================================== */
.events-section {
    background: var(--white);
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-6);
}

@media (min-width: 576px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.event-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.event-date {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: var(--space-4);
    text-align: center;
}

.event-date-day {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    line-height: 1;
}

.event-date-month {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-body {
    padding: var(--space-5);
}

.event-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-2);
}

.event-meta {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    flex-wrap: wrap;
}

/* =====================================================================
   18. PARTNERS SECTION
   ===================================================================== */
.partners-section {
    background: var(--light);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.partner-logo {
    width: 150px;
    height: 80px;
    background: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.partner-logo i {
    font-size: var(--font-size-2xl);
    color: var(--primary);
}

/* =====================================================================
   19. CONTACT SECTION
   ===================================================================== */
.contact-section {
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-6);
}

@media (min-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* Premium Contact Styles */
.contact-card-premium {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: var(--space-6);
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: var(--space-5);
    transition: var(--transition-bounce);
    box-shadow: var(--glass-shadow);
}

.contact-card-premium:hover {
    transform: translateX(15px);
    border-color: var(--branch-goma);
    background: white;
}

.contact-icon-premium {
    width: 65px;
    height: 65px;
    background: var(--premium-gradient);
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
}

.contact-details h4 {
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 800;
}

.contact-details p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-form-premium {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: var(--space-8);
    border-radius: 3rem;
    box-shadow: var(--glass-shadow);
}

.contact-form-premium h3 {
    margin-bottom: var(--space-7);
    font-weight: 900;
    color: var(--primary-dark);
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-control-premium {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1.5px solid rgba(124, 58, 237, 0.25);
    border-radius: 1.2rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.form-control-premium:focus {
    outline: none;
    border-color: var(--branch-goma);
    background: white;
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.1);
    transform: translateY(-3px);
}



/* =====================================================================
   20. FOOTER
   ===================================================================== */
.footer {
    background: var(--dark);
    color: white;
    padding: var(--space-8) 0 var(--space-5);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

@media (min-width: 576px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    color: var(--secondary);
    margin-bottom: var(--space-4);
    font-size: var(--font-size-lg);
}

.footer-column h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    margin-top: var(--space-2);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-lg);
    flex-shrink: 0;
}

.footer-logo-text h4 {
    color: white;
    margin-bottom: var(--space-1);
    font-size: var(--font-size-base);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: var(--space-3);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--secondary);
    padding-left: var(--space-1);
}

.social-icons {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-4);
    flex-wrap: wrap;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.newsletter-form {
    display: flex;
    margin-top: var(--space-3);
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: var(--space-2) var(--space-3);
    border: none;
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: var(--space-2) var(--space-3);
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: var(--secondary-dark);
}

.copyright {
    text-align: center;
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

/* =====================================================================
   21. MODALS
   ===================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-index-modal);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: var(--space-2);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: var(--space-5);
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.5s;
}

.branch-modal-content {
    max-width: 720px;
}

.branch-modal-subtitle {
    color: var(--text-secondary);
    margin-top: var(--space-2);
    margin-bottom: var(--space-4);
}

.branch-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

@media (min-width: 576px) {
    .branch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.branch-choice {
    display: block;
    text-decoration: none;
    padding: var(--space-4);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 1));
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: inherit;
}

.branch-choice:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(0, 0, 0, 0.14);
}

.branch-choice:focus-visible {
    outline: 3px solid rgba(42, 157, 143, 0.35);
    outline-offset: 2px;
}

.branch-choice-title {
    font-weight: 800;
    color: var(--primary);
    display: flex;
    gap: var(--space-2);
    align-items: center;
    margin-bottom: var(--space-1);
}

.branch-choice-desc {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.branch-choice-blocked {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: auto;
    border-style: dashed;
    border-color: rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.9), rgba(255, 255, 255, 1));
}

.branch-choice-blocked:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

.branch-choice-blocked .branch-choice-desc em {
    color: #d97706;
    font-style: normal;
    font-weight: 600;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    width: 40px;
    height: 40px;
    background: var(--light);
    border: none;
    border-radius: var(--border-radius-circle);
    font-size: var(--font-size-lg);
    cursor: pointer;
    color: var(--dark-gray);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--accent);
    color: white;
}

.gallery-modal-content {
    max-width: 90%;
    max-height: 90%;
    background: transparent;
    box-shadow: none;
    padding: 0;
    position: relative;
}

.gallery-modal-img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.gallery-modal-caption {
    text-align: center;
    color: white;
    margin-top: var(--space-3);
    font-size: var(--font-size-base);
}

.gallery-download-btn {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    z-index: 3;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius-circle);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.gallery-download-btn:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: scale(1.06);
}

.gallery-download-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius-circle);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
}

.gallery-nav-btn:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: translateY(-50%) scale(1.06);
}

#galleryPrevBtn {
    left: -70px;
}

#galleryNextBtn {
    right: -70px;
}

@media (max-width: 768px) {
    #galleryPrevBtn {
        left: 10px;
    }

    #galleryNextBtn {
        right: 10px;
    }
}

/* =====================================================================
   22. BACK TO TOP
   ===================================================================== */
.back-to-top {
    position: fixed;
    bottom: 122px; /* Positionné au-dessus du bouton WhatsApp (68px + 24px espace + 30px bottom de WhatsApp) */
    right: 30px; /* Aligné avec le bouton WhatsApp */
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: opacity .4s cubic-bezier(.34, 1.56, .64, 1),
                visibility .4s ease,
                transform .4s cubic-bezier(.34, 1.56, .64, 1),
                background .3s ease,
                box-shadow .3s ease;
    z-index: 1040;
    box-shadow: var(--shadow);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
}

.back-to-top:active {
    transform: translateY(-2px) scale(0.95);
    transition-duration: .1s;
}

.back-to-top i {
    transition: transform .3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
    animation: bounceArrow .6s ease infinite;
}

@keyframes bounceArrow {
    0%, 100% { transform: translateY(-2px); }
    50% { transform: translateY(-6px); }
}

/* Responsive pour la tablette */
@media (max-width: 1024px) {
    .back-to-top {
        bottom: 117px; /* 68px WhatsApp + 24px espace + 25px bottom */
        right: 25px;
    }
}

/* Responsive pour les écrans mobiles */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 104px; /* 60px WhatsApp + 24px espace + 20px bottom */
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* =====================================================================
   23. PRELOADER
   ===================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-index-preloader);
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-circle);
    border-top-color: var(--secondary);
    animation: spin 1s linear infinite;
}

/* =====================================================================
   24. ANIMATIONS
   ===================================================================== */
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animations "premium" pour la galerie */
@keyframes galleryCardIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
        filter: blur(2px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.gallery-item.animate-on-scroll.visible {
    animation: galleryCardIn 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
    will-change: transform, opacity, filter;
}

.gallery-item img {
    transition: transform 280ms ease, filter 280ms ease;
    will-change: transform, filter;
}

.gallery-item:hover img {
    transform: scale(1.03);
    filter: saturate(1.06) contrast(1.03);
}

@keyframes carouselCardIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-slide {
    animation: carouselCardIn 520ms ease both;
    will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {

    .animate-on-scroll,
    .gallery-item.animate-on-scroll.visible,
    .carousel-slide {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* Fallback : si JS ne se charge pas, ne pas masquer le contenu */
.no-js .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* =====================================================================
   25. RESPONSIVE
   ===================================================================== */
/* =====================================================================
   25. RESPONSIVE
   ===================================================================== */

/* Tablettes et petits écrans desktop (1200px) */
@media (max-width: 1200px) {
    .header-container {
        padding: 0 var(--space-4);
    }

    .logo-text h1 {
        font-size: 14px;
    }

    .logo-text p {
        display: none;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .header-actions .btn {
        padding: 8px 12px;
    }
}

/* Petits écrans et mobiles (768px) */
@media (max-width: 768px) {
    .header-container {
        padding: 0 var(--space-3);
    }
    .logo-icon {
        width: 45px;
        height: 45px;
    }
    .logo-text h1 {
        font-size: 13px;
    }
    .hero {
        padding-top: 150px;
        padding-bottom: 60px;
        min-height: 70vh;
    }
    .section {
        padding: 3rem 0;
    }
    .detail-card {
        padding: 2rem 1.5rem;
    }
}

/* Très petits écrans (480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }
    .hero-badge {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    .news-list-grid {
        grid-template-columns: 1fr;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .header-actions .btn-text {
        display: none;
    }
    .header-actions .btn {
        padding: 0.5rem 0.8rem;
    }
    .filter-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* =====================================================================
   NAVIGATION HUB (FULL PAGE MENU)
   ===================================================================== */
.navigation-hub {
    background: var(--white);
    padding: 0;
    overflow-y: auto;
}

.disabled-dark-mode-feature .navigation-hub {
    background: var(--dark);
}

.hub-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--white) 100%);
    z-index: -1;
    opacity: 0.5;
}

.disabled-dark-mode-feature .hub-background {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
}

.hub-container {
    max-width: 1100px !important;
    padding: 100px 20px 60px !important;
    transform: none !important;
}

.hub-header {
    margin-bottom: 60px !important;
}

.hub-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.hub-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hub-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 30px !important;
}

.navigation-hub .feature-item {
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.disabled-dark-mode-feature .navigation-hub .feature-item {
    background: rgba(255, 255, 255, 0.05);
}

/* Admin Footer */
.admin-footer {
    padding: 20px 25px;
    background: var(--light);
    border-top: 1px solid var(--border-color);
}

.btn-success {
    background: var(--success);
    color: white;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(42, 157, 143, 0.3);
}

.btn-success:hover {
    background: var(--success-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(42, 157, 143, 0.4);
}


/* =====================================================================
   ADMIN DASHBOARD & ANNOUNCEMENTS
   ===================================================================== */
.btn-admin {
    background: var(--secondary);
    color: white;
    border: none;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
}

.btn-admin:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 152, 0, 0.4);
}

.announcements-banner {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 800px;
    animation: fadeIn 1s ease;
}

.announcement-badge {
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.announcement-content {
    font-size: 14px;
    color: white;
    font-weight: 500;
}



.admin-form-pane {
    display: none;
}

.admin-form-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background: var(--light);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    background: white;
}

.form-group textarea {
    height: 100px;
    resize: none;
}

/* Admin Toast - styles globaux (tous écrans) */
.admin-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    z-index: 9998;
    /* Inférieur au compact-menu (10000) */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    /* Ne bloque pas les clics */
}

.admin-toast.active {
    transform: translateX(-50%) translateY(0);
}

.admin-toast::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #4CAF50;
}

@media (max-width: 768px) {
    .announcements-banner {
        flex-direction: column;
        border-radius: 20px;
        text-align: center;
        padding: 15px;
    }
}

/* Mobiles (767px) */
@media (max-width: 767px) {
    :root {
        --space-8: 2rem;
        --space-10: 2.5rem;
        --space-12: 3rem;
    }

    .container {
        padding: 0 15px;
    }

    .header {
        padding: 10px 0;
        padding-top: calc(env(safe-area-inset-top, 0px) + 10px);
    }

    .logo-text h1 {
        font-size: 12px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 30px auto 0;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-right: 0 !important;
        justify-content: center;
    }

    .hero-carousel-controls {
        gap: 10px;
        margin-bottom: 1.5rem;
    }

    .hero-carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }

    .hero-dot.active {
        width: 24px;
        border-radius: 6px;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 40px;
    }

    .hero-stat-item:last-child {
        grid-column: span 2;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-grid,
    .mission-vision-grid,
    .team-grid,
    .contact-container,
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .feature-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin-bottom: 10px;
    }

    .features-container {
        padding: 15px;
    }

    .features-header h2 {
        font-size: 1.5rem;
    }

    /* Support pour les encoches iPhone (Safe Area) */
    .features-overlay {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Petits Mobiles (480px) */
@media (max-width: 480px) {
    .header-actions {
        gap: 8px;
    }

    .header-actions .btn {
        padding: 8px 10px;
        font-size: 12px;
    }

    .logo-text {
        display: none;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .stat-val {
        font-size: 28px;
    }

    .gallery-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}



/* =====================================================================
   26. ACCESSIBILITÉ
   ===================================================================== */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 10000;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0;
}

*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =====================================================================
   ADDITIONAL PREMIUM STYLES
   ===================================================================== */

/* Animations */
.animate-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Branch Hero - Goma */
.branch-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-attachment: fixed;
}

.goma-theme {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/goma/IMG-20251212-WA0002.jpg');
    background-size: cover;
    background-position: center;
}

.kisangani-theme {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/kisangani/IMG-20260510-WA0005.jpg');
    background-size: cover;
    background-position: center;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    animation: pulseGlow 8s infinite alternate;
}

@keyframes pulseGlow {
    from {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    to {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    color: white;
    font-weight: 600;
}

.badge-icon {
    margin-right: 10px;
    color: var(--secondary);
}

.text-accent {
    color: var(--secondary);
    position: relative;
}

.text-accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--secondary-transparent);
    z-index: -1;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    max-width: 800px;
}

.hero-stat-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-align: center;
}

.stat-val {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: mouseScroll 2s infinite;
}

@keyframes mouseScroll {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

/* Glass Section Title */
.glass-title-bg {
    display: inline-block;
    padding: 10px 30px;
    background: var(--primary-soft);
    border-radius: 50px;
    margin-bottom: 20px;
}

/* Premium Card Enhancements */
.program-card,
.team-card,
.value-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-bounce);
}

.program-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary);
}

/* Goma Branch Specific Utils */
.text-goma {
    color: var(--branch-goma);
}

.bg-goma {
    background-color: var(--branch-goma);
}

.border-goma {
    border-color: var(--branch-goma);
}

/* Kisangani Branch Specific Utils */
.text-kisangani {
    color: var(--branch-kisangani);
}

.bg-kisangani {
    background-color: var(--branch-kisangani);
}

.border-kisangani {
    border-color: var(--branch-kisangani);
}

/* Program Tabs Premium */
.program-tabs-premium {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    padding: 10px;
}

.program-tabs-premium .program-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 20px 30px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-bounce);
    min-width: 160px;
    color: var(--text-secondary);
    gap: 12px;
    box-shadow: var(--glass-shadow);
}

.program-tabs-premium .tab-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.program-tabs-premium .program-tab span {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.program-tabs-premium .program-tab:hover {
    transform: translateY(-8px);
    background: white;
    border-color: var(--primary);
}

.program-tabs-premium .program-tab.active {
    background: var(--premium-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-10px) scale(1.05);
}

.program-tabs-premium .program-tab.active .tab-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

@media (max-width: 768px) {
    .program-tabs-premium {
        gap: 10px;
    }

    .program-tabs-premium .program-tab {
        padding: 15px 20px;
        min-width: 140px;
        flex: 1 1 calc(50% - 20px);
    }
}

/* =====================================================================
   EXPLORER BUTTON & FEATURES OVERLAY
   ===================================================================== */
.btn-explorer {
    background: var(--primary);
    color: white;
    border: none;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 15px var(--glow-color);
}

.btn-explorer:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px var(--glow-color);
}

.features-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 20px;
}

.disabled-dark-mode-feature .features-overlay {
    background: rgba(18, 18, 18, 0.95);
}

.features-overlay.active {
    opacity: 1;
    visibility: visible;
}

.features-container {
    width: 100%;
    max-width: 900px;
    position: relative;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features-overlay.active .features-container {
    transform: translateY(0);
}

.features-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: var(--primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 22px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    box-shadow: 0 5px 15px var(--glow-color);
}

.features-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: var(--accent);
}

.features-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
}

.features-header h2 {
    font-size: clamp(28px, 5vw, 40px);
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 900;
    letter-spacing: -1px;
}

.features-header p {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.disabled-dark-mode-feature .feature-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
    background: white;
}

.disabled-dark-mode-feature .feature-item:hover {
    background: var(--primary-dark);
    color: white;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 10px 20px var(--primary-transparent);
    transition: var(--transition-bounce);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
    background: var(--secondary);
}

.feature-info h3 {
    margin: 0;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 800;
}

.disabled-dark-mode-feature .feature-item:hover .feature-info h3,
.disabled-dark-mode-feature .feature-item:hover .feature-info p {
    color: white;
}

.feature-info p {
    margin: 0;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
}


@media (max-width: 768px) {
    .features-container {
        padding: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .btn-explorer .btn-text {
        display: none;
    }

    .btn-explorer {
        padding: 8px 12px;
    }
}

/* =====================================================================
   ADMIN DASHBOARD & ANNOUNCEMENTS
   ===================================================================== */
.btn-admin {
    background: var(--secondary);
    color: white;
    border: none;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
}

.btn-admin:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 152, 0, 0.4);
}

.announcements-banner {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 800px;
    animation: fadeIn 1s ease;
    visibility: visible;
    opacity: 1;
}

.announcement-badge {
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.announcement-content {
    font-size: 14px;
    color: white;
    font-weight: 500;
}

/* =====================================================================
   ADMIN DASHBOARD - REFINED (THEME-AWARE & GLASSMORPHIC)
   ===================================================================== */
:root {
    --admin-primary: var(--primary);
    --admin-primary-glow: rgba(26, 74, 158, 0.4);
    --admin-sidebar-bg: linear-gradient(180deg, rgba(26, 42, 74, 0.8) 0%, rgba(16, 28, 54, 0.85) 100%);
}

.goma-theme,
[class*="goma-theme"] {
    --admin-primary: var(--branch-goma);
    --admin-primary-glow: rgba(124, 58, 237, 0.4);
    --admin-sidebar-bg: linear-gradient(180deg, rgba(30, 16, 53, 0.8) 0%, rgba(17, 8, 32, 0.85) 100%);
}

.kisangani-theme,
[class*="kisangani-theme"] {
    --admin-primary: var(--branch-kisangani);
    --admin-primary-glow: rgba(16, 185, 129, 0.4);
    --admin-sidebar-bg: linear-gradient(180deg, rgba(9, 44, 30, 0.8) 0%, rgba(5, 26, 18, 0.85) 100%);
}

.admin-modal .modal-content {
    max-width: 1000px;
    width: 95%;
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    display: flex;
    flex-direction: row;
    height: 680px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.admin-modal-embedded {
    position: static;
    opacity: 1;
    visibility: visible;
    background: transparent;
    padding: 0;
}

.admin-branch-card {
    margin-bottom: 2rem;
}

.admin-annonce-preview {
    margin-bottom: 2rem;
}

.admin-actions-grid {
    display: grid;
    gap: 10px;
}

.admin-preview-wrap {
    display: none;
    margin-bottom: 12px;
}

.admin-preview-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.admin-gallery-preview-card {
    position: relative;
    max-width: 260px;
    border-radius: 12px;
    overflow: hidden;
}

.admin-gallery-preview-img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.admin-gallery-preview-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    color: #fff;
}

.admin-gallery-preview-title {
    margin: 0;
    font-size: 14px;
}

.admin-gallery-preview-desc {
    margin: 0;
    font-size: 12px;
}

.admin-preview-section {
    padding-top: 2rem;
}

.admin-preview-section-sm {
    padding-top: 1rem;
}

.admin-preview-header {
    padding-bottom: 1rem;
}

/* Fix close button stacking bug on desktop views */
.admin-modal .modal-close {
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.admin-sidebar {
    width: 280px;
    background: var(--admin-sidebar-bg);
    color: white;
    display: flex;
    flex-direction: column;
    padding: 40px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-sidebar-header {
    padding: 0 30px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.admin-sidebar-header h2 {
    font-size: 22px;
    margin: 0;
    font-weight: 900;
}

.admin-sidebar-header p {
    font-size: 13px;
    opacity: 0.6;
    margin-top: 5px;
}

.admin-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px;
}

.admin-tab {
    padding: 14px 20px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.admin-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.admin-tab.active {
    background: var(--admin-primary);
    color: white;
    box-shadow: 0 8px 20px var(--admin-primary-glow);
}

.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.admin-main-header {
    padding: 35px 50px;
    background: rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-main-header h3 {
    margin: 0;
    font-size: 24px;
    color: var(--text-primary);
    font-weight: 900;
}

.admin-tab-content {
    flex: 1;
    padding: 40px 50px;
    overflow-y: auto;
}

.admin-form-pane {
    background: rgba(255, 255, 255, 0.4);
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group label {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: block;
}

.form-group input,
.form-group textarea {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 15px;
    font-family: inherit;
    transition: var(--transition);
    color: var(--text-primary);
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--admin-primary);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 0 0 4px var(--admin-primary-glow);
    outline: none;
}

.admin-footer {
    padding: 30px 50px;
    background: rgba(255, 255, 255, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .admin-modal .modal-content {
        flex-direction: column;
        height: 95vh;
        width: 100%;
        border-radius: 0;
    }

    .admin-sidebar {
        width: 100%;
        padding: 15px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .admin-sidebar-header {
        display: none;
    }

    .admin-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding: 0 10px 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .admin-tabs::-webkit-scrollbar {
        display: none;
    }

    .admin-tab {
        white-space: nowrap;
        padding: 10px 15px;
        font-size: 13px;
    }

    .admin-main-header {
        padding: 20px;
    }

    .admin-main-header h3 {
        font-size: 18px;
    }

    .admin-tab-content {
        padding: 20px;
    }

    .admin-form-pane {
        padding: 20px;
    }

    .admin-footer {
        padding: 20px;
    }
}

@media (min-width: 769px) {
    .admin-modal .modal-content {
        height: min(650px, 85vh);
    }
}






/* =====================================================================
   COMPACT FLOATING MENU
   ===================================================================== */
.compact-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.compact-menu.active {
    opacity: 1;
    visibility: visible;
}

.compact-menu-content {
    background: rgba(255, 255, 255, 0.95);
    width: 100%;
    max-width: 380px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.compact-menu.active .compact-menu-content {
    transform: scale(1) translateY(0);
}

.disabled-dark-mode-feature .compact-menu-content {
    background: rgba(25, 25, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.compact-menu-header {
    padding: 25px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.compact-menu-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

#compactMenuClose {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#compactMenuClose:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.compact-menu-grid {
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.disabled-dark-mode-feature .menu-link {
    color: rgba(255, 255, 255, 0.8);
}

.menu-link i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.menu-link:hover {
    background: white;
    color: var(--primary);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.menu-link:hover i {
    background: var(--primary);
    color: white;
}

.compact-menu-footer {
    padding: 20px;
    background: var(--light);
    text-align: center;
}

.disabled-dark-mode-feature .compact-menu-footer {
    background: rgba(255, 255, 255, 0.03);
}

.footer-link {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
}

.footer-link:hover {
    color: var(--primary);
}

/* =====================================================================
   KISANGANI & REGIONAL ANTENNA EXTRA STYLES & UTILS
   ===================================================================== */
.text-kisangani {
    color: var(--branch-kisangani);
}

.bg-kisangani {
    background-color: var(--branch-kisangani);
}

.border-kisangani {
    border-color: var(--branch-kisangani);
}

.stat-lbl,
.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =====================================================================
   DARK MODE ADVANCED CONTRAST & ACCESSIBILITY FIXES
   ===================================================================== */

/* 1. Header Scrolled */
.disabled-dark-mode-feature .header.scrolled {
    background-color: rgba(18, 18, 18, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* 2. Carousel & About section cards */
.disabled-dark-mode-feature .scrollable-carousel {
    background: var(--white);
    border-color: var(--border-color);
    box-shadow: var(--shadow);
}

.disabled-dark-mode-feature .carousel-container {
    background: var(--white);
}

/* 3. Mission & Vision Cards */
.disabled-dark-mode-feature .mission-card,
.disabled-dark-mode-feature .vision-card {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}

.disabled-dark-mode-feature .mission-card:hover,
.disabled-dark-mode-feature .vision-card:hover {
    background: rgba(45, 45, 45, 0.8);
    border-color: var(--primary-soft);
}

/* 4. Program Stats Badges */
.disabled-dark-mode-feature .program-card:hover .program-stats {
    background: rgba(30, 30, 30, 0.8);
    border-color: var(--border-color);
}

.disabled-dark-mode-feature .stat-badge {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.disabled-dark-mode-feature .stat-badge strong {
    color: var(--secondary);
}

/* 5. Impact Section Elements */
.disabled-dark-mode-feature .impact-stat {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    box-shadow: var(--shadow);
}

.disabled-dark-mode-feature .impact-stat .impact-number {
    color: var(--secondary);
}

.disabled-dark-mode-feature .impact-stat .impact-text {
    color: var(--text-secondary);
}

.disabled-dark-mode-feature .impact-story {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    box-shadow: var(--shadow);
}

.disabled-dark-mode-feature .impact-story h3 {
    color: var(--secondary);
}

.disabled-dark-mode-feature .impact-story p {
    color: var(--text-secondary);
}

/* 6. Donate Section Cards & Mobile Money lists */
.disabled-dark-mode-feature .donate-card {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
}

.disabled-dark-mode-feature .donate-card:hover {
    background: rgba(45, 45, 45, 0.8);
    border-color: var(--secondary-soft);
}

.disabled-dark-mode-feature .donate-body p {
    color: var(--text-secondary);
}

.disabled-dark-mode-feature .bank-info-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.disabled-dark-mode-feature .bank-info-item span {
    color: var(--text-secondary);
}

.disabled-dark-mode-feature .bank-info-item strong {
    color: var(--secondary);
}

.disabled-dark-mode-feature .mobile-item {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.disabled-dark-mode-feature .mobile-item strong {
    color: var(--text-primary);
}

/* 7. Forms, Inputs & Textareas */
.disabled-dark-mode-feature .form-control-premium {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.disabled-dark-mode-feature .form-control-premium:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--branch-goma);
    color: var(--text-primary);
}

.disabled-dark-mode-feature .form-control-premium::placeholder,
.disabled-dark-mode-feature .form-group input::placeholder,
.disabled-dark-mode-feature .form-group textarea::placeholder {
    color: var(--text-muted);
}

/* 8. Modals Close Button */
.disabled-dark-mode-feature .modal-close {
    background: var(--light);
    color: var(--text-primary);
}

/* 9. Premium Program Tabs Hover */
.disabled-dark-mode-feature .program-tabs-premium .program-tab:hover {
    background: rgba(45, 45, 45, 0.8);
    border-color: var(--branch-goma);
}

/* 10. Compact Menu Navigation Link Hover */
.disabled-dark-mode-feature .menu-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary-light);
}

/* 11. Admin Panel & Dashboard Modals */
.disabled-dark-mode-feature .admin-modal .modal-content {
    background: var(--glass-bg);
    border-color: var(--glass-border);
}

.disabled-dark-mode-feature .admin-sidebar {
    background: var(--admin-sidebar-bg);
}

.disabled-dark-mode-feature .admin-main {
    background: transparent;
}

.disabled-dark-mode-feature .admin-main-header {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.disabled-dark-mode-feature .admin-main-header h3 {
    color: #ffffff;
}

.disabled-dark-mode-feature .admin-form-pane {
    background: rgba(30, 27, 38, 0.4);
    border-color: rgba(255, 255, 255, 0.05);
}

.disabled-dark-mode-feature .form-group label {
    color: var(--text-secondary);
}

.disabled-dark-mode-feature .form-group input,
.disabled-dark-mode-feature .form-group textarea {
    background: rgba(20, 18, 25, 0.3);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.disabled-dark-mode-feature .form-group input:focus,
.disabled-dark-mode-feature .form-group textarea:focus {
    background: rgba(25, 23, 30, 0.65);
    border-color: var(--admin-primary);
}

.disabled-dark-mode-feature .admin-footer {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =====================================================================
   D�TAILS AM�LIOR�S - MODE SOMBRE UNIFI�
   ===================================================================== */
.disabled-dark-mode-feature body {
    background-color: var(--white);
    color: var(--text-primary);
}

.disabled-dark-mode-feature .glass,
.disabled-dark-mode-feature .card,
.disabled-dark-mode-feature .stat-card,
.disabled-dark-mode-feature .about-card,
.disabled-dark-mode-feature .program-card,
.disabled-dark-mode-feature .team-card,
.disabled-dark-mode-feature .contact-info,
.disabled-dark-mode-feature .compact-menu-content {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Glow effect sur les �l�ments interactifs actifs */
.disabled-dark-mode-feature .btn-primary,
.disabled-dark-mode-feature .btn-secondary,
.disabled-dark-mode-feature .btn-accent,
.disabled-dark-mode-feature .nav-item.active,
.disabled-dark-mode-feature .program-tab.active {
    box-shadow: 0 0 20px var(--glow-color);
}

/* Am�lioration des inputs en mode sombre */
.disabled-dark-mode-feature input,
.disabled-dark-mode-feature textarea,
.disabled-dark-mode-feature select {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-border);
    color: var(--text-primary);
}

.disabled-dark-mode-feature input:focus,
.disabled-dark-mode-feature textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--glow-color);
}

/* Soft shadows for dark mode */
.disabled-dark-mode-feature .shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.disabled-dark-mode-feature .shadow {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

/* Transitions douces */
body {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* style.css (Toutes les règles CSS) */

/* ========== VARIABLES & THÈMES ========== */
:root {
    --primary: #1a4a9e;
    --primary-dark: #0d3a7e;
    --primary-light: #2c5fc1;
    --secondary: #ff9f1c;
    --accent: #e63946;
    --success: #2a9d8f;
    --dark: #171f27;
    --light: #f8f9fa;
    --white: #ffffff;
    --border-color: #dee2e6;
    --text-primary: var(--dark);
    --text-secondary: #495057;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --glass-blur: blur(12px);
    --sidebar-width: 280px;
    --transition: all 0.3s ease;
}

.disabled-dark-mode-feature {
    /* Base Backgrounds */
    --white: #0f172a;
    --light: #1e293b;
    --dark: #f8fafc;

    /* Primary & Semantic Colors (Unified with main site) */
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;

    /* Text & Borders */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --border-color: #334155;

    /* Glassmorphism Refined */
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--light);
    color: var(--text-primary);
    transition: background 0.3s;
}

/* ========== LAYOUT ========== */
.dashboard {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* ========== SIDEBAR ========== */
.sidebar {
    width: var(--sidebar-width);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-right: 1px solid var(--glass-border);
    padding: 2rem 1.5rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header i {
    font-size: 2rem;
    color: var(--primary);
}

.sidebar-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
    background: var(--primary);
    color: white;
}

.nav-item i {
    width: 24px;
}

.sidebar-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
}

/* ========== CONTENU ========== */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 2rem;
    transition: margin 0.3s;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.welcome h1 {
    font-size: 1.8rem;
}

.welcome p {
    color: var(--text-secondary);
}

.branch-selector {
    background: var(--glass-bg);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    border: 1px solid var(--glass-border);
}

/* ========== STATS & CARTES ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
}

.stat-label {
    color: var(--text-secondary);
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 700;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.list-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    background: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    color: white;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.gallery-preview {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.gallery-preview img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
}

/* ========== BOUTONS & UI ========== */
.btn-action {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.quick-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    z-index: 1000;
    transition: transform 0.3s;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ========== MOBILE MENU ========== */
.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: var(--primary);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: var(--glass-shadow);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar {
        transform: translateX(-100%);
        width: 80%;
        max-width: 300px;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay.active {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding: 1rem;
        padding-top: 4rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .two-columns {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 0.75rem;
        padding-top: 4rem;
    }
}

/* =====================================================================
   D�TAILS AM�LIOR�S - MODE SOMBRE UNIFI� (ADMIN)
   ===================================================================== */
.disabled-dark-mode-feature body {
    background-color: var(--white);
}

.disabled-dark-mode-feature .sidebar {
    background: rgba(15, 23, 42, 0.9);
    border-right: 1px solid var(--border-color);
}

.disabled-dark-mode-feature .nav-item.active {
    background: var(--primary);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.disabled-dark-mode-feature .card,
.disabled-dark-mode-feature .stat-card,
.disabled-dark-mode-feature .branch-selector {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.disabled-dark-mode-feature .list-item {
    border-bottom-color: var(--border-color);
}

.disabled-dark-mode-feature input,
.disabled-dark-mode-feature textarea,
.disabled-dark-mode-feature select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.disabled-dark-mode-feature input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

/* =====================================================================
   CORRECTIONS FINALES MODE SOMBRE (V�rification sections)
   ===================================================================== */

.disabled-dark-mode-feature {
    --footer-bg: #020617;
    --impact-overlay-dark: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95));
}

/* 1. SECTION PROGRAMMES */
.disabled-dark-mode-feature .program-card {
    background: rgba(30, 41, 59, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

.disabled-dark-mode-feature .program-header {
    filter: brightness(0.8) saturate(0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.disabled-dark-mode-feature .program-body p {
    color: #cbd5e1 !important;
}

.disabled-dark-mode-feature .program-features li {
    color: #f8fafc;
}

.disabled-dark-mode-feature .program-features li::before {
    color: #60a5fa !important;
}

/* 2. SECTION IMPACT */
.disabled-dark-mode-feature .impact-section {
    background: var(--impact-overlay-dark), url('../images/hero.jpg') !important;
    background-attachment: fixed !important;
    background-size: cover !important;
}

.disabled-dark-mode-feature .impact-stat {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.disabled-dark-mode-feature .impact-number {
    color: #f8fafc !important;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5) !important;
}

.disabled-dark-mode-feature .impact-text {
    color: #cbd5e1 !important;
}

/* 3. FOOTER */
.disabled-dark-mode-feature .footer {
    background: var(--footer-bg) !important;
    color: #f8fafc !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disabled-dark-mode-feature .footer-logo-text h4,
.disabled-dark-mode-feature .footer h3 {
    color: #60a5fa !important;
}

.disabled-dark-mode-feature .footer p {
    color: #cbd5e1 !important;
}

.disabled-dark-mode-feature .footer-column ul li a {
    color: #94a3b8 !important;
}

.disabled-dark-mode-feature .footer-column ul li a:hover {
    color: #60a5fa !important;
}

.disabled-dark-mode-feature .newsletter-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
}

.disabled-dark-mode-feature .social-icons a {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #94a3b8 !important;
}

.disabled-dark-mode-feature .social-icons a:hover {
    background: #3b82f6 !important;
    color: white !important;
}

/* Correction complmentaire pour l'entete de section */
.disabled-dark-mode-feature .section-header h2 {
    color: #f8fafc !important;
}

/* ==========================================================================
   PREMIUM TEAM SECTION STYLES
   ========================================================================== */
.team-section {
    position: relative;
    padding: 100px 0;
    background: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-soft);
}

.team-img-container {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.team-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-card:hover .team-img-container::after {
    opacity: 1;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.team-card:hover .team-img {
    transform: scale(1.1);
}

.team-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    z-index: 2;
}

.team-name {
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.team-role {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.team-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Loading State for Dynamic Content */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.loading-state i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.loading-state p {
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* Centering & Layout Utilities */
.text-center {
    text-align: center !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.d-inline-block {
    display: inline-block !important;
}

.mb-10 {
    margin-bottom: 2.5rem !important;
}

.mb-16 {
    margin-bottom: 4rem !important;
}

.mt-8 {
    margin-top: 2rem !important;
}

.mt-12 {
    margin-top: 3rem !important;
}

.header-accent {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin-top: 1rem;
}

.header-accent-goma {
    background: linear-gradient(90deg, var(--branch-goma), var(--secondary));
}

/* Section Parcours & Objectifs (Goma) */
.journey-section {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(124, 58, 237, 0.12);
}

.journey-section .section-header {
    margin-bottom: 2.5rem;
}

.journey-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: stretch;
}

@media (min-width: 992px) {
    .journey-grid {
        grid-template-columns: 1fr 1.15fr;
        gap: 2rem;
    }
}

.journey-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.journey-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.14);
    border-color: rgba(124, 58, 237, 0.3);
}

.journey-card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.journey-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(245, 158, 11, 0.12));
    color: var(--branch-goma);
    border-radius: 14px;
    font-size: 1.15rem;
}

.journey-card h3 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.journey-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--branch-goma);
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1.25rem;
}

.journey-history p {
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.journey-history p:last-child {
    margin-bottom: 0;
}

.journey-history strong {
    color: var(--branch-goma);
}

.objectives-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 576px) {
    .objectives-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.objective-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: var(--border-radius-md);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.objective-item:hover {
    background: #fff;
    border-color: rgba(124, 58, 237, 0.28);
    transform: translateY(-2px);
}

.objective-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--branch-goma);
    border-radius: 10px;
    font-size: 1rem;
}

.objective-body h4 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: var(--branch-goma);
    font-weight: 700;
}

.objective-body p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

@media (max-width: 575px) {
    .journey-card {
        padding: 1.5rem;
    }

    .journey-card-top {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* Section Notre Action — Programmes (toutes antennes) */
.action-programs {
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
    padding: var(--space-10) 0;
}

.action-programs-heading {
    color: var(--primary);
    margin-top: 0.5rem;
}

.action-programs-subtitle {
    max-width: 720px;
}

.header-accent-branch {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.action-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .action-tabs {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.action-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1.1rem 0.75rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    color: var(--text-secondary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.action-tab:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    background: #fff;
}

.action-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: transparent;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--primary) 35%, transparent);
}

.action-tab-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.1rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.action-tab.active .action-tab-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.action-tab-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1.3;
}

.action-panel {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.action-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.action-panel-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid color-mix(in srgb, var(--primary) 15%, transparent);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px color-mix(in srgb, var(--primary) 10%, transparent);
    overflow: hidden;
}

.action-panel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 992px) {
    .action-panel-grid {
        grid-template-columns: 1fr 280px;
    }
}

.action-panel-main {
    padding: 2rem;
}

.action-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.action-panel-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-soft), color-mix(in srgb, var(--secondary) 20%, transparent));
    color: var(--primary);
    border-radius: 16px;
    font-size: 1.4rem;
}

.action-panel-title {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    color: var(--text-primary);
    line-height: 1.25;
}

.action-panel-lead {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 1rem;
}

.action-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .action-features {
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem 1.25rem;
    }
}

.action-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    background: var(--light);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.action-features li i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.action-panel-aside {
    padding: 2rem;
    background: color-mix(in srgb, var(--primary) 6%, var(--light));
    border-top: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .action-panel-aside {
        border-top: none;
        border-left: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
    }
}

.action-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--primary) 15%, transparent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.action-stat i {
    font-size: 1.35rem;
    color: var(--primary);
    width: 28px;
    text-align: center;
}

.action-stat strong {
    display: block;
    font-size: 1.35rem;
    color: var(--primary-dark);
    line-height: 1.2;
}

.action-stat span {
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.action-cta {
    margin-top: auto;
}

@media (max-width: 575px) {

    .action-panel-main,
    .action-panel-aside {
        padding: 1.5rem;
    }

    .action-panel-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 991px) {
    .text-center-mobile {
        text-align: center !important;
    }

    .mx-auto-mobile {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* =====================================================================
   WHATSAPP PREMIUM STYLES
   ===================================================================== */

/* Séparateur "ou" */
.separateur-ou {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 15px;
}

/* Carte WhatsApp Premium */
.whatsapp-premium-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.whatsapp-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.whatsapp-icon-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.whatsapp-card-subtitle {
    font-size: 0.95rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-badge-online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.whatsapp-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25D366;
    animation: pulse-dot 1.5s infinite;
}

.whatsapp-card-footer {
    font-size: 0.85rem;
    color: #888;
    margin-top: 12px;
}

/* Bouton WhatsApp Formulaire Premium */
.btn-whatsapp-form {
    background-color: #25D366;
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0 20px;
    height: 55px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    transition: all 0.35s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-whatsapp-form i {
    font-size: 1.2rem;
}

.btn-whatsapp-form:hover {
    background-color: #1EBE5D;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

/* Bouton WhatsApp Flottant Premium */
/* Ancien bloc .whatsapp-float supprimé — remplacé par .whatsapp-fab ci-dessous */

/* Animation de point pour la carte WhatsApp Premium (préservée) */
@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }
}

/* =======================================
   WhatsApp Floating Action Button (unifié)
======================================= */

/*
   WhatsApp FAB — seule définition.
   HTML : <a class="whatsapp-fab" id="whatsappFab"> + <div class="whatsapp-tooltip" id="whatsappTooltip">
   La visibilité du tooltip est gérée par JS via la classe .show.
*/

.whatsapp-fab {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1040;

    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1),
                box-shadow .3s ease,
                background .3s ease;
    cursor: pointer;

    animation: whatsappEntrance .7s cubic-bezier(.34, 1.56, .64, 1) both,
               whatsappPulse 3s ease-in-out 1s infinite;
}

.whatsapp-fab:hover {
    background: #1EBE5D;
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 20px 40px rgba(37, 211, 102, .45),
                0 0 0 4px rgba(37, 211, 102, .15);
    animation: none;
}

.whatsapp-fab:active {
    transform: translateY(-2px) scale(0.95);
    box-shadow: 0 8px 20px rgba(37, 211, 102, .3);
    transition-duration: .1s;
}

.whatsapp-fab::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, .3);
    opacity: 0;
    animation: whatsappRipple 3s ease-in-out 1s infinite;
}

.whatsapp-fab:hover::after {
    animation: none;
    opacity: 0;
}

.whatsapp-tooltip {
    position: fixed;
    right: 110px;
    bottom: 42px;
    background: #202124;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(12px);
    transition: opacity .3s ease,
                visibility .3s ease,
                transform .3s cubic-bezier(.34, 1.56, .64, 1);
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
    z-index: 1040;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #202124;
    border-radius: 2px;
}

.whatsapp-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes whatsappEntrance {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(.3) rotate(-15deg);
    }
    60% {
        opacity: 1;
        transform: translateY(-8px) scale(1.05) rotate(2deg);
    }
    80% {
        transform: translateY(3px) scale(.97) rotate(-1deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0);
    }
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    }
    50% {
        box-shadow: 0 12px 30px rgba(0, 0, 0, .25),
                    0 0 0 8px rgba(37, 211, 102, .12);
    }
}

@keyframes whatsappRipple {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

@media (max-width: 768px) {
    .whatsapp-fab {
        width: 60px;
        height: 60px;
        right: 20px;
        bottom: 20px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* Masquer les boutons flottants quand le compact menu est ouvert */
body.menu-open .whatsapp-fab,
body.menu-open .whatsapp-tooltip,
body.menu-open .back-to-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* =====================================================================
   NEWS / ACTUALITÉS — Professional Design
   Inspired by: UNICEF, BBC News, Medium, The Guardian
   ===================================================================== */

/* Section wrapper */
.news-section {
    background: var(--light, #f8f9fa);
    padding: 5rem 0;
}

/* Header */
.news-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.news-section-header .section-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary, #1a4a9e), var(--primary-light, #2c5fc1));
    color: white;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.news-section-header .section-title i {
    font-size: 0.7rem;
}

.news-section-header h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 900;
    color: var(--text-primary, #0f172a);
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.news-section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary, #64748b);
    margin: 0;
    line-height: 1.6;
}

/* Featured + Grid layout */
.news-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Featured card (first article) */
.news-featured {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.news-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.news-featured .nf-img {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.news-featured .nf-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-featured:hover .nf-img img {
    transform: scale(1.05);
}

.news-featured .nf-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--secondary, #f59e0b);
    color: white;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-featured .nf-date {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-featured .nf-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-featured .nf-body h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.news-featured .nf-body p {
    color: var(--text-secondary, #64748b);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-featured .nf-body .read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary, #1a4a9e);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-featured .nf-body .read-more:hover {
    gap: 12px;
    color: var(--primary-dark, #0f3470);
}

.news-featured .nf-body .read-more i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.news-featured:hover .nf-body .read-more i {
    transform: translateX(4px);
}

/* Side cards */
.news-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-card-side {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: grid;
    grid-template-columns: 160px 1fr;
    min-height: 140px;
}

.news-card-side:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(26, 74, 158, 0.1);
}

.news-card-side .ncs-img {
    position: relative;
    overflow: hidden;
}

.news-card-side .ncs-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card-side:hover .ncs-img img {
    transform: scale(1.08);
}

.news-card-side .ncs-img .ncs-date {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.news-card-side .ncs-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card-side .ncs-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    margin: 0 0 0.4rem 0;
    line-height: 1.35;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-side .ncs-body p {
    color: var(--text-secondary, #64748b);
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0 0 0.75rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-side .ncs-body .read-more-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary, #1a4a9e);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.news-card-side .ncs-body .read-more-sm:hover {
    gap: 10px;
}

/* CTA */
.news-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.news-cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary, #1a4a9e);
    color: var(--primary, #1a4a9e);
    background: transparent;
}

.news-cta a:hover {
    background: var(--primary, #1a4a9e);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 74, 158, 0.3);
}

.news-cta a i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.news-cta a:hover i {
    transform: translateX(4px);
}

/* Empty state */
.news-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-secondary, #64748b);
}

.news-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.2;
}

.news-empty p {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .news-layout {
        grid-template-columns: 1fr;
    }
    .news-side {
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 0.5rem;
    }
    .news-card-side {
        min-width: 300px;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 3rem 0;
    }
    .news-featured .nf-img {
        height: 240px;
    }
    .news-featured .nf-body h3 {
        font-size: 1.2rem;
    }
    .news-side {
        flex-direction: column;
    }
    .news-card-side {
        min-width: 100%;
        grid-template-columns: 120px 1fr;
    }
}

@media (max-width: 576px) {
    .news-card-side {
        grid-template-columns: 1fr;
    }
    .news-card-side .ncs-img {
        height: 160px;
    }
}

/* =====================================================================
   COMPREHENSIVE MOBILE-FIRST RESPONSIVE
   Breakpoints: 576px (sm), 768px (md), 992px (lg), 1200px (xl)
   ===================================================================== */

/* ─── Global Mobile (max 576px) ─── */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 0.75rem;
        padding: 5px 14px;
    }

    /* Buttons */
    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 12px 22px;
        font-size: 0.9rem;
    }

    /* Cards */
    .card {
        padding: 1rem;
        border-radius: 12px;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    /* Forms */
    .form-group label {
        font-size: 0.8rem;
    }

    .form-control-premium {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    textarea.form-control-premium {
        min-height: 100px;
    }
}

/* ─── Header Mobile ─── */
@media (max-width: 576px) {
    .header {
        padding: 8px 0;
        padding-top: calc(env(safe-area-inset-top, 0px) + 8px);
    }

    .header-container {
        padding: 0 12px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .logo-text h1 {
        font-size: 0.7rem;
        letter-spacing: -0.02em;
    }

    .logo-text p {
        font-size: 0.55rem;
    }

    .header-actions {
        gap: 6px;
    }

    .header-actions .btn {
        padding: 7px 10px;
        font-size: 0.7rem;
    }

    .header-actions .btn-text {
        display: none;
    }

    .btn-explorer {
        width: 36px;
        height: 36px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ─── Hero Mobile ─── */
@media (max-width: 576px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 2.5rem;
        min-height: 85vh;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 2rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-val {
        font-size: 1.5rem;
    }

    .stat-lbl {
        font-size: 0.7rem;
    }

    .hero-carousel-controls {
        margin-bottom: 1rem;
    }

    .hero-carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-dot.active {
        width: 20px;
    }
}

/* ─── About Section Mobile ─── */
@media (max-width: 576px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        text-align: center;
    }

    .about-text .section-header {
        text-align: center;
        padding: 0;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .mission-card, .vision-card {
        padding: 1.25rem;
    }
}

/* ─── Values Section Mobile ─── */
@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .value-card {
        padding: 1.25rem;
        text-align: center;
    }

    .value-icon {
        margin: 0 auto 0.75rem;
    }
}

/* ─── Programs Section Mobile ─── */
@media (max-width: 576px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .program-card {
        padding: 1.25rem;
    }
}

/* ─── Branches Section Mobile ─── */
@media (max-width: 576px) {
    .branches-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .branch-card {
        padding: 1.25rem;
    }
}

/* ─── Team Section Mobile ─── */
@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .team-card {
        padding: 1.25rem;
    }

    .team-img-container {
        width: 80px;
        height: 80px;
    }
}

/* ─── Gallery Section Mobile ─── */
@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-item {
        border-radius: 8px;
    }
}

/* ─── Donate Section Mobile ─── */
@media (max-width: 576px) {
    .donate-options {
        margin-top: 2rem;
    }

    .donate-card {
        border-radius: 16px;
    }

    .donate-header {
        padding: 1.5rem 1rem;
    }

    .donate-icon {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .donate-title {
        font-size: 1.1rem;
    }

    .donate-body {
        padding: 1.25rem;
    }

    .donate-body p {
        font-size: 0.9rem;
    }
}

/* ─── Contact Section Mobile ─── */
@media (max-width: 576px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        gap: 1rem;
    }

    .contact-card-premium {
        padding: 1rem;
    }

    .contact-form-premium {
        padding: 1.25rem;
    }
}

/* ─── Footer Mobile ─── */
@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-links {
        list-style: none;
        padding: 0;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        text-align: center;
        padding: 1.5rem 0;
        font-size: 0.8rem;
    }
}

/* ─── WhatsApp FAB Mobile ─── */
@media (max-width: 576px) {
    .whatsapp-fab {
        width: 54px;
        height: 54px;
        right: 16px;
        bottom: 16px;
    }

    .whatsapp-fab svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* ─── Back to Top Mobile ─── */
@media (max-width: 576px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        right: 16px;
        bottom: 80px;
        font-size: 14px;
    }
}

/* ─── Actualités Mobile ─── */
@media (max-width: 576px) {
    .news-section {
        padding: 3rem 0;
    }

    .news-section-header {
        margin-bottom: 2rem;
    }

    .news-section-header h2 {
        font-size: 1.5rem;
    }

    .news-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-featured .nf-img {
        height: 200px;
    }

    .news-featured .nf-body {
        padding: 1.25rem;
    }

    .news-featured .nf-body h3 {
        font-size: 1.15rem;
    }

    .news-featured .nf-body p {
        font-size: 0.88rem;
        -webkit-line-clamp: 3;
    }

    .news-card-side {
        grid-template-columns: 110px 1fr;
        min-height: 120px;
    }

    .news-card-side .ncs-body {
        padding: 1rem;
    }

    .news-card-side .ncs-body h4 {
        font-size: 0.88rem;
    }

    .news-card-side .ncs-body p {
        font-size: 0.78rem;
        -webkit-line-clamp: 2;
    }

    .news-cta a {
        padding: 12px 24px;
        font-size: 0.88rem;
    }
}

/* ─── Page Hero (actualites page) Mobile ─── */
@media (max-width: 576px) {
    .page-hero {
        padding: 80px 0 40px;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .filter-bar {
        margin: -20px auto 1.5rem;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.78rem;
    }

    .news-list-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-card-public .card-img {
        height: 180px;
    }

    .pagination {
        gap: 4px;
    }

    .pagination a, .pagination span {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* ─── Detail Page Mobile ─── */
@media (max-width: 576px) {
    .detail-hero {
        height: 35vh;
        min-height: 220px;
    }

    .detail-hero-content {
        padding: 1.25rem;
    }

    .detail-hero-content h1 {
        font-size: 1.3rem;
    }

    .detail-container {
        margin-top: -30px;
        padding: 0 1rem;
    }

    .detail-card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .detail-content {
        font-size: 0.95rem;
    }

    .detail-share {
        flex-wrap: wrap;
        gap: 8px;
    }

    .share-btn {
        padding: 6px 12px;
        font-size: 0.78rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ─── Compact Menu Mobile ─── */
@media (max-width: 576px) {
    .compact-menu {
        width: 100%;
        height: 100%;
    }

    .compact-menu-content {
        padding: 1.25rem;
    }

    .compact-menu-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .compact-menu-grid .menu-link {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

/* ─── Tablet (577px - 768px) ─── */
@media (min-width: 577px) and (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-side {
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
    }

    .news-card-side {
        min-width: 280px;
        flex-shrink: 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ─── Desktop (769px - 992px) ─── */
@media (min-width: 769px) and (max-width: 992px) {
    .hero {
        min-height: 80vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .news-layout {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ─── Touch Device Optimizations ─── */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }

    .news-card-home:hover,
    .news-featured:hover,
    .news-card-side:hover {
        transform: none;
    }

    .card:hover {
        transform: none;
    }
}

/* ─── Safe Area (iPhone notch) ─── */
@supports (padding: env(safe-area-inset-top)) {
    .header {
        padding-top: calc(env(safe-area-inset-top) + 8px);
    }

    .whatsapp-fab {
        bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
    }

    .back-to-top {
        bottom: calc(env(safe-area-inset-bottom, 0px) + 85px);
    }

    .footer-bottom {
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
    }
}

/* ─── Print Styles ─── */
@media print {
    .header, .footer, .whatsapp-fab, .back-to-top,
    .hero-carousel-controls, .news-cta, .btn {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section {
        padding: 1rem 0;
        break-inside: avoid;
    }
}
