/* ============================================================
   FADIOU - Styles principaux
   Thème : Santé + Sénégal | Vert médical & Blanc
   ============================================================ */

/* === VARIABLES ============================================= */
:root {
    --primary:       #059669;
    --primary-dark:  #047857;
    --primary-light: #D1FAE5;
    --primary-50:    #ECFDF5;
    --secondary:     #2563EB;
    --accent:        #F59E0B;
    --accent-dark:   #D97706;
    --danger:        #DC2626;
    --danger-light:  #FEE2E2;
    --text-dark:     #111827;
    --text-medium:   #4B5563;
    --text-light:    #9CA3AF;
    --bg-light:      #F9FAFB;
    --bg-gray:       #F3F4F6;
    --white:         #FFFFFF;
    --border:        #E5E7EB;
    --border-dark:   #D1D5DB;
    --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:     0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg:     0 10px 25px rgba(0,0,0,.10), 0 4px 10px rgba(0,0,0,.06);
    --shadow-xl:     0 20px 40px rgba(0,0,0,.12);
    --radius-sm:     8px;
    --radius-md:     12px;
    --radius-lg:     16px;
    --radius-xl:     24px;
    --font-main:     'Inter', sans-serif;
    --font-heading:  'Poppins', sans-serif;
    --transition:    all 0.25s ease;
}

/* === RESET & BASE ========================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; }

/* === NAVBAR ================================================ */
.navbar-fadiou {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
    z-index: 1050;
}

.navbar-spacer { height: 70px; }

.logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.1rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--text-medium);
    display: block;
    line-height: 1;
    margin-top: -2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-fadiou .nav-link {
    color: var(--text-medium) !important;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.navbar-fadiou .nav-link:hover,
.navbar-fadiou .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-50);
}

.navbar-search {
    display: flex;
    gap: 6px;
    max-width: 420px;
    width: 100%;
}

.navbar-search .form-control,
.navbar-search .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    padding: 0.45rem 0.75rem;
    height: 38px;
}

.navbar-search .form-control:focus,
.navbar-search .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5,150,105,.15);
}

.navbar-search .form-control { flex: 1; }
.navbar-search .form-select { width: 150px; }

.mega-menu { min-width: 260px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }

/* === BOUTONS =============================================== */
.btn-primary-fadiou {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.btn-primary-fadiou:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5,150,105,.35);
}

.btn-success-fadiou {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    transition: var(--transition);
}
.btn-success-fadiou:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5,150,105,.4);
}

.btn-outline-fadiou {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-fadiou:hover {
    background: var(--primary);
    color: white;
}

.btn-danger-fadiou {
    background: var(--danger);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    transition: var(--transition);
}
.btn-danger-fadiou:hover {
    background: #b91c1c;
    color: white;
    transform: translateY(-1px);
}

/* === HERO SECTION ========================================= */
.hero-section {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 30%, #047857 60%, #059669 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 80px;
    background: white;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.25);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-title span {
    color: #6EE7B7;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin-bottom: 2rem;
}

/* Hero Search Box */
.hero-search-box {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    max-width: 700px;
}

.hero-search-box .search-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-search-box .form-control,
.hero-search-box .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    height: 52px;
    transition: var(--transition);
}

.hero-search-box .form-control:focus,
.hero-search-box .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5,150,105,.15);
}

.hero-search-box .form-control.main-search { flex: 1; min-width: 200px; }
.hero-search-box .form-select.type-select { width: 160px; }
.hero-search-box .form-select.region-select { width: 155px; }

.btn-hero-search {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 0 1.75rem;
    height: 52px;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    transition: var(--transition);
    display: flex; align-items: center; gap: 8px;
}
.btn-hero-search:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5,150,105,.45);
}

.btn-locate {
    background: var(--primary-50);
    color: var(--primary);
    border: 1.5px solid var(--primary-light);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex; align-items: center; gap: 6px;
    transition: var(--transition);
    cursor: pointer;
}
.btn-locate:hover {
    background: var(--primary);
    color: white;
}

.quick-cats {
    display: flex; gap: 10px; flex-wrap: wrap;
    margin-top: 0.75rem;
}

.quick-cat-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--bg-light);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-medium);
    transition: var(--transition);
    cursor: pointer;
}
.quick-cat-btn:hover, .quick-cat-btn.active {
    background: var(--primary-50);
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero illustration */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.hero-map-preview {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1.1;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.3);
}

/* === STATS BAR ============================================ */
.stats-bar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 1.5rem;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-icon {
    width: 50px; height: 50px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-icon.green { background: var(--primary-light); color: var(--primary); }
.stat-icon.blue { background: #DBEAFE; color: var(--secondary); }
.stat-icon.amber { background: #FEF3C7; color: var(--accent-dark); }
.stat-icon.red { background: var(--danger-light); color: var(--danger); }

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* === SECTIONS COMMUNES ==================================== */
.section { padding: 80px 0; }
.section-light { background: var(--bg-light); }
.section-white { background: var(--white); }

.section-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    max-width: 540px;
}

/* === CATEGORY CARDS ======================================= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.category-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
}
.category-card:hover {
    border-color: var(--primary);
    background: var(--primary-50);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.category-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 0.75rem;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-card h6 {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
}

.category-card .count {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* === PROVIDER CARDS ======================================= */
.provider-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.provider-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.provider-card-header {
    padding: 1.25rem 1.25rem 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.provider-avatar {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    font-weight: 700;
    color: white;
}

.provider-avatar.type-specialiste { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.provider-avatar.type-pharmacie   { background: linear-gradient(135deg, #059669, #047857); }
.provider-avatar.type-clinique    { background: linear-gradient(135deg, #7C3AED, #6D28D9); }
.provider-avatar.type-hopital     { background: linear-gradient(135deg, #DC2626, #B91C1C); }

.provider-type-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-specialiste { background: #DBEAFE; color: #1E40AF; }
.badge-pharmacie   { background: var(--primary-light); color: var(--primary-dark); }
.badge-clinique    { background: #EDE9FE; color: #6D28D9; }
.badge-hopital     { background: var(--danger-light); color: #991B1B; }

.provider-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.provider-specialty {
    font-size: 0.82rem;
    color: var(--text-medium);
    margin-top: 2px;
}

.provider-card-body {
    padding: 1rem 1.25rem;
    flex: 1;
}

.provider-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.83rem;
    color: var(--text-medium);
    margin-bottom: 6px;
}
.provider-info-row i { width: 16px; color: var(--primary); font-size: 0.8rem; }

.provider-card-footer {
    padding: 0.75rem 1.25rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.rating-stars { color: #F59E0B; font-size: 0.82rem; }
.rating-num { font-weight: 600; font-size: 0.85rem; }
.rating-count { font-size: 0.75rem; color: var(--text-light); }

.urgences-badge {
    display: inline-flex; align-items: center; gap: 4px;
    background: var(--danger-light);
    color: var(--danger);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
}
.urgences-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--danger);
    animation: blink 1.2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.verified-badge {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex; align-items: center; gap: 3px;
}

/* === HOW IT WORKS ========================================= */
.how-step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 36px; height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.step-icon-wrap {
    width: 90px; height: 90px;
    background: var(--primary-50);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 2rem auto 1.25rem;
    font-size: 2rem;
    color: var(--primary);
    position: relative;
}

.step-connector {
    position: absolute;
    top: 45px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary) 100%);
    z-index: 0;
}

/* === SEARCH PAGE ========================================== */
.search-header {
    background: linear-gradient(135deg, #064e3b, #047857);
    padding: 2.5rem 0;
    color: white;
}

.search-form-bar {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
}

.search-form-bar .form-control,
.search-form-bar .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    height: 46px;
    font-size: 0.9rem;
}
.search-form-bar .form-control:focus,
.search-form-bar .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5,150,105,.15);
}

.filters-sidebar {
    background: white;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    padding: 1.25rem;
    position: sticky;
    top: 80px;
}

.filter-group { margin-bottom: 1.5rem; }
.filter-group:last-child { margin-bottom: 0; }

.filter-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-medium);
    margin-bottom: 0.75rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 0.875rem;
}
.filter-option input { accent-color: var(--primary); }
.filter-option:hover { color: var(--primary); }

/* Results */
.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 12px;
}

.results-count {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.results-count strong { color: var(--text-dark); }

/* Map toggle */
.view-toggle {
    display: flex;
    gap: 4px;
    background: var(--bg-gray);
    border-radius: 8px;
    padding: 3px;
}

.view-btn {
    background: transparent;
    border: none;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.8rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition);
    display: flex; align-items: center; gap: 5px;
}
.view-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

/* Sort */
.sort-select {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.82rem;
    height: 36px;
}

/* Map container */
#results-map {
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--border);
}

/* List vs map view */
.list-view { display: block; }
.map-view { display: none; }
.show-map .list-view { display: none; }
.show-map .map-view { display: block; }

/* Pagination */
.pagination-fadiou {
    display: flex; align-items: center; gap: 4px;
    justify-content: center;
}
.page-btn {
    width: 38px; height: 38px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: white;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* === DETAIL PAGE ========================================== */
.detail-header {
    background: linear-gradient(135deg, #064e3b, #059669);
    padding: 3rem 0 2rem;
    color: white;
}

.detail-avatar {
    width: 90px; height: 90px;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    border: 3px solid rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
}

.detail-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.detail-card-header {
    padding: 1rem 1.25rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex; align-items: center; gap: 8px;
    color: var(--primary);
}

.detail-card-body { padding: 1.25rem; }

.info-item {
    display: flex;
    gap: 12px;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
    font-size: 0.9rem;
}
.info-item:last-child { border-bottom: none; padding-bottom: 0; }
.info-item i { width: 18px; color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.info-item strong { display: block; font-size: 0.8rem; color: var(--text-light); }

/* Map detail */
#detail-map {
    height: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* Reviews */
.review-item {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}
.review-author {
    font-weight: 700;
    font-size: 0.9rem;
}
.review-date { font-size: 0.78rem; color: var(--text-light); }
.review-text { font-size: 0.88rem; color: var(--text-medium); margin-top: 0.5rem; }

/* Review form */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
    justify-content: flex-end;
}
.star-rating input { display: none; }
.star-rating label {
    font-size: 1.6rem;
    color: var(--border-dark);
    cursor: pointer;
    transition: var(--transition);
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #F59E0B;
}

/* === URGENCES BANNER ====================================== */
.urgences-banner {
    background: var(--danger);
    color: white;
    padding: 0.75rem 0;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}
.urgences-banner a { color: white; text-decoration: underline; }

/* === REGIONS MAP SECTION ================================= */
.regions-section {
    background: var(--bg-light);
    padding: 60px 0;
}

#senegal-map {
    height: 450px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-lg);
}

/* === TESTIMONIALS ======================================== */
.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1.5px solid var(--border);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary-light);
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-size: 0.93rem;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

/* === FOOTER =============================================== */
.footer-fadiou {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-heading {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.875rem;
    transition: var(--transition);
}
.footer-links a:hover { color: white; padding-left: 4px; }

.footer-emergency { list-style: none; padding: 0; margin: 0; }
.footer-emergency li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.footer-emergency i { font-size: 1.1rem; width: 20px; text-align: center; }
.footer-emergency strong { display: block; color: white; font-size: 0.85rem; }
.footer-emergency a { color: rgba(255,255,255,0.7); font-size: 0.9rem; font-weight: 600; }
.footer-emergency a:hover { color: white; }

.social-link {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-divider {
    border-color: rgba(255,255,255,0.15);
    margin: 2rem 0 1rem;
}

/* === CUSTOM MAP POPUP ===================================== */
.leaflet-popup-content-wrapper {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: none;
    padding: 0;
    overflow: hidden;
}

.leaflet-popup-content { margin: 0; width: 240px !important; }

.map-popup {
    padding: 14px;
}

.map-popup h6 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.map-popup p {
    font-size: 0.8rem;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.map-popup .map-popup-btn {
    display: block;
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 6px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* === LEAFLET CUSTOM MARKERS =============================== */
.custom-marker {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 2px solid currentColor;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

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

.animate-up { animation: fadeInUp 0.5s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* === EMPTY STATE ========================================== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-medium);
}
.empty-state i { font-size: 3.5rem; color: var(--border-dark); margin-bottom: 1rem; }
.empty-state h4 { color: var(--text-dark); }

/* === LOADING ============================================== */
.loading-spinner {
    display: flex; align-items: center; justify-content: center;
    padding: 3rem;
}

/* === RESPONSIVE =========================================== */
@media (max-width: 768px) {
    .hero-section { min-height: auto; padding: 80px 0 60px; }
    .hero-search-box .search-row { flex-direction: column; }
    .hero-search-box .form-control,
    .hero-search-box .form-select { width: 100%; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 0.75rem 0; }
    .stat-item:last-child { border-bottom: none; }
    .section { padding: 50px 0; }
    .navbar-search { display: none !important; }
    #senegal-map { height: 300px; }
    .hero-visual { display: none; }
}

@media (max-width: 576px) {
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .results-header { flex-direction: column; align-items: flex-start; }
}

/* === UTILITY ============================================== */
.text-primary-fadiou { color: var(--primary); }
.bg-primary-fadiou { background-color: var(--primary); }
.border-primary-fadiou { border-color: var(--primary) !important; }
.rounded-xl { border-radius: var(--radius-xl); }
.shadow-fadiou { box-shadow: var(--shadow-lg); }
.font-heading { font-family: var(--font-heading); }
