/* ═══════════════════════════════════════════════════════════
   CIMR — Centre d'Imagerie Médicale de la Riviera
   Frontend Stylesheet — Modern Redesign
   Colors: Green #1a7a4c (primary), Dark #1a2332
   ═══════════════════════════════════════════════════════════ */

:root {
    --cimr-green: #1a7a4c;
    --cimr-green-light: #28a968;
    --cimr-green-dark: #145e3a;
    --cimr-green-glow: rgba(26, 122, 76, 0.25);
    --cimr-dark: #1a2332;
    --cimr-dark-light: #243044;
    --cimr-gray: #f8f9fa;
    --cimr-gray-dark: #6c757d;
    --cimr-gray-medium: #e9ecef;
    --whatsapp-green: #25D366;
    --cimr-radius: 16px;
    --cimr-radius-sm: 10px;
    --cimr-radius-lg: 24px;
    --cimr-shadow: 0 4px 24px rgba(0,0,0,0.06);
    --cimr-shadow-hover: 0 20px 60px rgba(0,0,0,0.12);
    --cimr-shadow-card: 0 8px 32px rgba(0,0,0,0.08);
    --cimr-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --cimr-transition-fast: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --cimr-transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--cimr-green); color: white; }

/* ─── Utility Classes ──────────────────────────────────── */
.text-cimr { color: var(--cimr-green) !important; }
.bg-cimr { background-color: var(--cimr-green) !important; }
.bg-cimr-light { background-color: #eef8f2 !important; }
.bg-cimr-dark { background-color: var(--cimr-dark) !important; }

.section-padding { padding: 100px 0; }
.section-title {
    font-size: 2.4rem; font-weight: 800; color: var(--cimr-dark);
    margin-bottom: 0.5rem; letter-spacing: -0.5px;
    position: relative;
}
.section-title-centered::after {
    content: ''; display: block; width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--cimr-green), var(--cimr-green-light));
    border-radius: 2px; margin: 12px auto 0;
}
.section-subtitle {
    color: var(--cimr-gray-dark); font-size: 1.15rem; margin-bottom: 3rem;
    max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ─── Buttons ──────────────────────────────────────────── */
.btn-cimr-primary {
    background: linear-gradient(135deg, var(--cimr-green), var(--cimr-green-light));
    border: 2px solid transparent; color: white;
    padding: 14px 36px; border-radius: 50px; font-weight: 700;
    transition: var(--cimr-transition); text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    position: relative; overflow: hidden; z-index: 1;
    font-size: 0.95rem; letter-spacing: 0.3px;
}
.btn-cimr-primary::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(135deg, var(--cimr-green-dark), var(--cimr-green));
    opacity: 0; transition: opacity 0.4s;
}
.btn-cimr-primary:hover {
    color: white; transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26,122,76,0.35);
}
.btn-cimr-primary:hover::before { opacity: 1; }
.btn-cimr-primary:active { transform: translateY(-1px); }

.btn-cimr-outline {
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.6); color: white;
    padding: 14px 36px; border-radius: 50px; font-weight: 700;
    transition: var(--cimr-transition); text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.95rem;
}
.btn-cimr-outline:hover {
    background: white; color: var(--cimr-dark); border-color: white;
    transform: translateY(-3px); box-shadow: 0 12px 35px rgba(255,255,255,0.2);
}

.btn-cimr-whatsapp {
    background: var(--whatsapp-green); border: 2px solid var(--whatsapp-green); color: white;
    padding: 10px 24px; border-radius: 50px; font-weight: 700;
    transition: var(--cimr-transition); text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
}
.btn-cimr-whatsapp:hover {
    background: #1fb855; border-color: #1fb855; color: white;
    transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,0.35);
}

/* ─── Top Bar ──────────────────────────────────────────── */
.topbar-cimr {
    background: var(--cimr-dark); padding: 10px 0; font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-link {
    color: rgba(255,255,255,0.75); text-decoration: none;
    transition: var(--cimr-transition-fast); display: inline-flex; align-items: center; gap: 6px;
}
.topbar-link:hover { color: var(--cimr-green-light); }
.topbar-link i { color: var(--cimr-green-light); font-size: 0.8rem; }
.topbar-divider { color: rgba(255,255,255,0.2); margin: 0 4px; }
.topbar-socials a {
    color: rgba(255,255,255,0.6); margin-left: 14px;
    transition: var(--cimr-transition-fast);
    display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,0.08);
}
.topbar-socials a:hover { color: white; background: var(--cimr-green); transform: scale(1.1); }

/* ─── Navbar ───────────────────────────────────────────── */
.navbar-cimr {
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    padding: 6px 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    transition: var(--cimr-transition);
    z-index: 1030;
}
.navbar-cimr.navbar-scrolled {
    padding: 4px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
.navbar-cimr .navbar-brand img {
    transition: var(--cimr-transition);
}
.navbar-cimr.navbar-scrolled .navbar-brand img {
    height: 45px !important;
}
.navbar-cimr .nav-link {
    color: var(--cimr-dark); font-weight: 600; font-size: 0.92rem;
    padding: 10px 18px !important; transition: var(--cimr-transition-fast);
    position: relative; border-radius: 8px;
}
.navbar-cimr .nav-link:hover { color: var(--cimr-green); background: rgba(26,122,76,0.06); }
.navbar-cimr .nav-link.active { color: var(--cimr-green); }
.navbar-cimr .nav-link.active::after {
    content: ''; position: absolute; bottom: 0; left: 18px; right: 18px;
    height: 3px; background: linear-gradient(90deg, var(--cimr-green), var(--cimr-green-light));
    border-radius: 2px;
    animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
.dropdown-menu-mega {
    min-width: 320px; border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    border-radius: var(--cimr-radius); padding: 12px;
    animation: dropdownFade 0.3s ease-out;
}
@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.dropdown-menu-mega .dropdown-item {
    border-radius: var(--cimr-radius-sm); padding: 12px 16px;
    font-weight: 500; transition: var(--cimr-transition-fast);
    display: flex; align-items: center; gap: 8px;
}
.dropdown-menu-mega .dropdown-item:hover {
    background: linear-gradient(135deg, #eef8f2, #e0f2e8);
    color: var(--cimr-green); transform: translateX(4px);
}

/* ─── Hamburger Toggle (animated) ─────────────────────── */
.navbar-toggler {
    width: 38px; height: 38px; padding: 0; border: none;
    background: none; cursor: pointer; position: relative;
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 5px; z-index: 10;
}
.navbar-toggler:focus { outline: none; box-shadow: none; }
.toggler-bar {
    display: block; width: 24px; height: 2.5px;
    background: var(--cimr-dark); border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}
.navbar-toggler.is-active .toggler-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.navbar-toggler.is-active .toggler-bar:nth-child(2) {
    opacity: 0; transform: scaleX(0);
}
.navbar-toggler.is-active .toggler-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ─── Mobile Sidebar ──────────────────────────────────── */
.mobile-sidebar-overlay {
    position: fixed; inset: 0; z-index: 1040;
    background: rgba(0,0,0,0.5);
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.mobile-sidebar-overlay.is-visible {
    opacity: 1; visibility: visible;
}

.mobile-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 290px; max-width: 85vw; z-index: 1050;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
    box-shadow: none;
    overflow: hidden;
}
.mobile-sidebar.is-open {
    transform: translateX(0);
    box-shadow: 6px 0 30px rgba(0,0,0,0.15);
}

/* Header */
.mobile-sidebar-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eef0f2;
    flex-shrink: 0;
}
.mobile-sidebar-header img { height: 42px; }
.mobile-sidebar-close {
    width: 36px; height: 36px; border: none; border-radius: 10px;
    background: #f5f5f5; color: var(--cimr-dark); font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--cimr-transition-fast);
}
.mobile-sidebar-close:hover {
    background: #fee2e2; color: #dc2626;
}

/* Body / Nav */
.mobile-sidebar-body {
    flex: 1; overflow-y: auto; padding: 8px 0;
    -webkit-overflow-scrolling: touch;
}
.mobile-sidebar-nav {
    list-style: none; margin: 0; padding: 0;
}
.mobile-sidebar-nav > li > a {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 20px; text-decoration: none;
    color: var(--cimr-dark); font-weight: 600; font-size: 0.93rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}
.sidebar-nav-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: #f3f4f6;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: all 0.2s ease;
}
.sidebar-nav-icon i { font-size: 0.85rem; color: #6b7280; transition: color 0.2s; }
.mobile-sidebar-nav > li > a:hover,
.mobile-sidebar-nav > li > a.active {
    color: var(--cimr-green);
    background: #f0faf5;
    border-left-color: var(--cimr-green);
}
.mobile-sidebar-nav > li > a:hover .sidebar-nav-icon,
.mobile-sidebar-nav > li > a.active .sidebar-nav-icon {
    background: linear-gradient(135deg, var(--cimr-green), var(--cimr-green-light));
}
.mobile-sidebar-nav > li > a:hover .sidebar-nav-icon i,
.mobile-sidebar-nav > li > a.active .sidebar-nav-icon i {
    color: #fff;
}

/* Submenu arrow */
.sidebar-arrow {
    margin-left: auto; font-size: 0.65rem; color: #9ca3af;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.has-submenu.is-open > a .sidebar-arrow {
    transform: rotate(90deg); color: var(--cimr-green);
}

/* Submenu items */
.sidebar-submenu {
    list-style: none; margin: 0; padding: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f9fafb;
}
.has-submenu.is-open .sidebar-submenu {
    max-height: 500px;
}
.sidebar-submenu li a {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 20px 10px 70px;
    color: #6b7280; text-decoration: none;
    font-size: 0.88rem; font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}
.sidebar-submenu li a i { color: var(--cimr-green); font-size: 0.8rem; width: 18px; text-align: center; }
.sidebar-submenu li a:hover {
    color: var(--cimr-green); background: #eef8f2;
    border-left-color: var(--cimr-green-light);
}

/* Footer */
.mobile-sidebar-footer {
    flex-shrink: 0; padding: 16px 20px;
    border-top: 1px solid #eef0f2;
    background: #fafbfc;
}
.mobile-sidebar-footer .btn-cimr-primary {
    padding: 12px 20px; font-size: 0.9rem; border-radius: 12px;
}
.sidebar-footer-contact {
    margin-top: 14px; display: flex; flex-direction: column; gap: 6px;
}
.sidebar-footer-contact a {
    display: flex; align-items: center; gap: 10px;
    color: #6b7280; text-decoration: none; font-size: 0.82rem;
    transition: color 0.2s;
}
.sidebar-footer-contact a:hover { color: var(--cimr-green); }
.sidebar-footer-contact a i {
    width: 16px; text-align: center;
    color: var(--cimr-green); font-size: 0.78rem;
}
.sidebar-footer-socials {
    display: flex; gap: 8px; margin-top: 12px;
}
.sidebar-footer-socials a {
    width: 34px; height: 34px; border-radius: 10px;
    background: #eef8f2; color: var(--cimr-green);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 0.85rem;
    transition: all 0.2s ease;
}
.sidebar-footer-socials a:hover {
    background: var(--cimr-green); color: #fff;
    transform: translateY(-2px);
}

/* Body scroll lock when sidebar open */
body.sidebar-open { overflow: hidden; }

/* ─── Hero / Slider ────────────────────────────────────── */
.hero-section {
    position: relative; min-height: 650px; overflow: hidden;
    background: linear-gradient(135deg, var(--cimr-dark) 0%, #0a3d26 100%);
}
.hero-slide {
    position: relative; min-height: 650px;
    display: flex; align-items: center;
    background-size: cover; background-position: center;
}
.hero-slide::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,35,50,0.88) 0%, rgba(10,61,38,0.7) 50%, rgba(26,122,76,0.5) 100%);
}
.hero-content { position: relative; z-index: 2; color: white; }
.hero-content h1 {
    font-size: 3.5rem; font-weight: 800; line-height: 1.15;
    margin-bottom: 1.5rem; letter-spacing: -1px;
}
.hero-content p {
    font-size: 1.25rem; opacity: 0.9; margin-bottom: 2.5rem;
    max-width: 560px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 56px; height: 56px; background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px); border-radius: 50%;
    top: 50%; transform: translateY(-50%);
    opacity: 0.8; transition: var(--cimr-transition);
}
.hero-section .carousel-control-prev { left: 24px; }
.hero-section .carousel-control-next { right: 24px; }
.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    background: var(--cimr-green); opacity: 1;
}
.hero-section .carousel-indicators { bottom: 30px; }
.hero-section .carousel-indicators [data-bs-target] {
    width: 12px; height: 12px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent; transition: var(--cimr-transition);
    margin: 0 6px;
}
.hero-section .carousel-indicators .active {
    background: var(--cimr-green-light); border-color: var(--cimr-green-light);
    transform: scale(1.2);
}

/* Floating shapes decoration */
.hero-shape {
    position: absolute; border-radius: 50%; opacity: 0.08;
    background: white; z-index: 1;
}
.hero-shape-1 { width: 400px; height: 400px; top: -100px; right: -100px; animation: floatShape 8s ease-in-out infinite; }
.hero-shape-2 { width: 200px; height: 200px; bottom: -50px; left: 10%; animation: floatShape 6s ease-in-out infinite reverse; }
.hero-shape-3 { width: 120px; height: 120px; top: 40%; right: 15%; animation: floatShape 10s ease-in-out infinite; }

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

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; letter-spacing: -0.5px; }
    .hero-content p { font-size: 1rem; }
    .hero-slide { min-height: 520px; }
    .hero-section .carousel-control-prev,
    .hero-section .carousel-control-next { display: none; }
}

/* ─── Reassurance Bar ──────────────────────────────────── */
.reassurance-bar {
    background: white; padding: 0; position: relative; z-index: 10;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    margin-top: -40px; border-radius: var(--cimr-radius-lg);
    max-width: 1100px; margin-left: auto; margin-right: auto;
}
.reassurance-item {
    text-align: center; padding: 32px 20px;
    transition: var(--cimr-transition); position: relative;
    border-radius: var(--cimr-radius);
}
.reassurance-item:hover { background: #f8fdf9; }
.reassurance-item::after {
    content: ''; position: absolute; top: 50%; right: 0;
    width: 1px; height: 40%; transform: translateY(-50%);
    background: var(--cimr-gray-medium);
}
.reassurance-item:last-child::after { display: none; }
.reassurance-icon-wrap {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, #eef8f2, #d4edda);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 12px; transition: var(--cimr-transition);
}
.reassurance-item:hover .reassurance-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, var(--cimr-green), var(--cimr-green-light));
}
.reassurance-item i {
    font-size: 1.4rem; color: var(--cimr-green);
    transition: var(--cimr-transition);
}
.reassurance-item:hover i { color: white; }
.reassurance-item h6 { font-weight: 700; color: var(--cimr-dark); margin-bottom: 4px; font-size: 0.95rem; }
.reassurance-item p { color: var(--cimr-gray-dark); font-size: 0.82rem; margin: 0; line-height: 1.5; }

@media (max-width: 768px) {
    .reassurance-bar { margin-top: 0; border-radius: 0; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
    .reassurance-item::after { display: none; }
}

/* ─── Card Base ────────────────────────────────────────── */
.card-hover {
    transition: var(--cimr-transition);
    will-change: transform;
}
.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: var(--cimr-shadow-hover);
}

/* ─── Exam Cards ───────────────────────────────────────── */
.exam-card {
    background: white; border-radius: var(--cimr-radius); overflow: hidden;
    box-shadow: var(--cimr-shadow-card); transition: var(--cimr-transition);
    height: 100%; border: 1px solid rgba(0,0,0,0.04);
    position: relative;
}
.exam-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: linear-gradient(90deg, var(--cimr-green), var(--cimr-green-light));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.exam-card:hover::before { transform: scaleX(1); }
.exam-card:hover { transform: translateY(-10px); box-shadow: var(--cimr-shadow-hover); }
.exam-card .exam-card-image { position: relative; overflow: hidden; }
.exam-card .exam-card-image img { transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.exam-card:hover .exam-card-image img { transform: scale(1.08); }
.exam-card .exam-icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: linear-gradient(135deg, #eef8f2, #d4edda);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--cimr-green); margin-bottom: 1rem;
    transition: var(--cimr-transition);
}
.exam-card:hover .exam-icon {
    background: linear-gradient(135deg, var(--cimr-green), var(--cimr-green-light));
    color: white; transform: rotate(-5deg) scale(1.05);
}
.exam-card .card-body { padding: 1.8rem; }
.exam-card h5 { font-weight: 700; color: var(--cimr-dark); font-size: 1.1rem; margin-bottom: 0.5rem; }
.exam-card p { color: var(--cimr-gray-dark); font-size: 0.9rem; line-height: 1.6; }
.exam-card .card-link {
    color: var(--cimr-green); font-weight: 700; text-decoration: none;
    transition: var(--cimr-transition-fast);
    display: inline-flex; align-items: center; gap: 6px;
}
.exam-card .card-link i { transition: transform 0.3s; }
.exam-card:hover .card-link { color: var(--cimr-green-dark); }
.exam-card:hover .card-link i { transform: translateX(5px); }

/* ─── Team Section ─────────────────────────────────────── */
.team-card {
    background: white; border-radius: var(--cimr-radius-lg); overflow: hidden;
    box-shadow: var(--cimr-shadow-card); transition: var(--cimr-transition);
    text-align: center; position: relative;
}
.team-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(135deg, var(--cimr-green), var(--cimr-green-light));
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--cimr-shadow-hover); }
.team-card .team-photo {
    width: 130px; height: 130px; border-radius: 50%;
    margin: 60px auto 1rem; position: relative; z-index: 2;
    background: white; padding: 5px;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--cimr-green); overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: var(--cimr-transition);
}
.team-card:hover .team-photo { transform: scale(1.05); }
.team-card .team-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-card h5 { font-weight: 700; color: var(--cimr-dark); margin-bottom: 4px; }
.team-card .team-title {
    color: var(--cimr-green); font-weight: 600; font-size: 0.9rem;
    display: inline-block; padding: 4px 16px; border-radius: 20px;
    background: #eef8f2;
}
.team-card p { color: var(--cimr-gray-dark); font-size: 0.9rem; padding: 0.5rem 1.5rem 1.5rem; line-height: 1.6; }

/* ─── Testimonials ─────────────────────────────────────── */
.testimonial-card {
    background: white; border-radius: var(--cimr-radius); padding: 2rem;
    box-shadow: var(--cimr-shadow-card); height: 100%; position: relative;
    border-left: 4px solid var(--cimr-green);
    transition: var(--cimr-transition);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--cimr-shadow-hover);
    border-left-color: var(--cimr-green-light);
}
.testimonial-card .quote-icon {
    font-size: 2.5rem; color: var(--cimr-green); opacity: 0.15;
    position: absolute; top: 15px; right: 20px;
    transition: var(--cimr-transition);
}
.testimonial-card:hover .quote-icon { opacity: 0.3; transform: scale(1.1); }
.testimonial-card p { font-style: italic; color: #555; line-height: 1.8; }
.testimonial-card .testimonial-author { font-weight: 700; color: var(--cimr-dark); }
.testimonial-card .testimonial-location { color: var(--cimr-gray-dark); font-size: 0.85rem; }
.testimonial-stars { color: #fbbf24; margin-bottom: 0.75rem; letter-spacing: 2px; }

/* ─── Blog Cards ───────────────────────────────────────── */
.blog-card {
    background: white; border-radius: var(--cimr-radius); overflow: hidden;
    box-shadow: var(--cimr-shadow-card); transition: var(--cimr-transition);
    height: 100%; border: 1px solid rgba(0,0,0,0.04);
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--cimr-shadow-hover);
}
.blog-card .blog-image {
    height: 220px; background: linear-gradient(135deg, #eef8f2, #d4edda);
    overflow: hidden; position: relative;
}
.blog-card .blog-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.blog-card:hover .blog-image img { transform: scale(1.08); }
.blog-card .card-body { padding: 1.8rem; }
.blog-card .blog-category {
    font-size: 0.75rem; color: var(--cimr-green); font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    display: inline-block; padding: 4px 12px; border-radius: 20px;
    background: #eef8f2;
}
.blog-card h5 a {
    color: var(--cimr-dark); text-decoration: none; font-weight: 700;
    transition: color 0.3s; line-height: 1.4;
}
.blog-card h5 a:hover { color: var(--cimr-green); }
.blog-card .blog-meta {
    font-size: 0.85rem; color: var(--cimr-gray-dark);
    display: flex; align-items: center; gap: 12px;
    padding-top: 12px; border-top: 1px solid #f0f0f0; margin-top: 12px;
}

/* ─── Page Header ──────────────────────────────────────── */
.page-header {
    background: linear-gradient(135deg, var(--cimr-dark) 0%, #0a3d26 60%, var(--cimr-green-dark) 100%);
    padding: 80px 0 60px; color: white; position: relative;
    overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--cimr-green), var(--cimr-green-light), var(--cimr-green));
}
.page-header .page-header-shape {
    position: absolute; width: 300px; height: 300px;
    border-radius: 50%; background: rgba(26,122,76,0.1);
    top: -100px; right: -50px;
}
.page-header h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.5px; position: relative; }
.page-header .breadcrumb { margin: 0; position: relative; }
.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.7); text-decoration: none;
    transition: color 0.3s;
}
.page-header .breadcrumb-item a:hover { color: var(--cimr-green-light); }
.page-header .breadcrumb-item.active { color: var(--cimr-green-light); font-weight: 600; }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ─── FAQ Accordion ────────────────────────────────────── */
.faq-accordion .accordion-item {
    border: 1px solid #eaeaea; border-radius: var(--cimr-radius) !important;
    margin-bottom: 14px; overflow: hidden;
    transition: var(--cimr-transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.faq-accordion .accordion-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.faq-accordion .accordion-button {
    font-weight: 600; color: var(--cimr-dark); background: white;
    font-size: 1rem; padding: 1.2rem 1.5rem;
    transition: var(--cimr-transition-fast);
}
.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--cimr-green); background: linear-gradient(135deg, #f0faf5, #eef8f2);
    box-shadow: none;
}
.faq-accordion .accordion-button::after {
    background-size: 1rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-body {
    color: #555; line-height: 1.8; padding: 0 1.5rem 1.5rem;
}

/* ─── CTA Section ──────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--cimr-green) 0%, var(--cimr-green-dark) 50%, #0a3d26 100%);
    padding: 80px 0; color: white; text-align: center;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='m0 40 40-40h-10L0 30zm40 0V30L10 0H0l40 40z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-section > .container { position: relative; z-index: 2; }
.cta-section h2 { font-weight: 800; margin-bottom: 1rem; font-size: 2.2rem; letter-spacing: -0.5px; }
.cta-section p { opacity: 0.9; margin-bottom: 2.5rem; font-size: 1.15rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btn-white {
    background: white; color: var(--cimr-green); border: 2px solid white;
    padding: 14px 36px; border-radius: 50px; font-weight: 700;
    transition: var(--cimr-transition); text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.95rem;
}
.cta-btn-white:hover {
    background: transparent; color: white; border-color: white;
    transform: translateY(-3px); box-shadow: 0 12px 35px rgba(255,255,255,0.15);
}

/* ─── Contact Form ─────────────────────────────────────── */
.contact-form .form-control, .contact-form .form-select {
    border-radius: var(--cimr-radius-sm); padding: 14px 18px;
    border: 2px solid #e8e8e8; transition: var(--cimr-transition-fast);
    font-size: 0.95rem;
}
.contact-form .form-control:focus, .contact-form .form-select:focus {
    border-color: var(--cimr-green);
    box-shadow: 0 0 0 4px var(--cimr-green-glow);
}
.contact-info-card {
    background: white; border-radius: var(--cimr-radius); padding: 24px;
    box-shadow: var(--cimr-shadow-card); transition: var(--cimr-transition);
    display: flex; gap: 16px; align-items: flex-start;
}
.contact-info-card:hover { transform: translateX(5px); box-shadow: var(--cimr-shadow-hover); }
.contact-info-icon {
    width: 52px; height: 52px; min-width: 52px;
    background: linear-gradient(135deg, #eef8f2, #d4edda);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    transition: var(--cimr-transition);
}
.contact-info-card:hover .contact-info-icon {
    background: linear-gradient(135deg, var(--cimr-green), var(--cimr-green-light));
}
.contact-info-card:hover .contact-info-icon i { color: white !important; }

/* ─── Insurance Grid ───────────────────────────────────── */
.insurance-card {
    background: white; border-radius: var(--cimr-radius); padding: 2rem;
    text-align: center; box-shadow: var(--cimr-shadow-card);
    transition: var(--cimr-transition);
    border: 2px solid transparent;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 140px;
}
.insurance-card:hover {
    transform: translateY(-5px);
    border-color: var(--cimr-green);
    box-shadow: 0 12px 40px rgba(26,122,76,0.12);
}
.insurance-card img { transition: var(--cimr-transition); filter: grayscale(30%); }
.insurance-card:hover img { filter: grayscale(0%); transform: scale(1.08); }

/* ─── Footer ───────────────────────────────────────────── */
.footer-cimr {
    background: var(--cimr-dark); color: rgba(255,255,255,0.7);
    position: relative; overflow: hidden;
}
.footer-cimr::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--cimr-green), var(--cimr-green-light), var(--cimr-green));
}
.footer-desc {
    color: rgba(255,255,255,0.6); line-height: 1.7; font-size: 0.9rem;
    margin-bottom: 0;
}
.footer-title {
    color: white; font-weight: 700; margin-bottom: 1.2rem;
    text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1.5px;
    position: relative; padding-bottom: 12px;
}
.footer-title::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 30px; height: 3px;
    background: linear-gradient(90deg, var(--cimr-green), var(--cimr-green-light));
    border-radius: 2px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.6); text-decoration: none;
    transition: var(--cimr-transition-fast); font-size: 0.88rem;
    display: inline-flex; align-items: center; gap: 0;
}
.footer-links a::before {
    content: ''; display: inline-block; width: 0; height: 2px;
    background: var(--cimr-green-light); transition: width 0.3s;
    margin-right: 0;
}
.footer-links a:hover {
    color: var(--cimr-green-light);
}
.footer-links a:hover::before { width: 16px; margin-right: 8px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    margin-bottom: 12px; font-size: 0.88rem;
    display: flex; align-items: flex-start; gap: 12px;
}
.footer-contact i {
    width: 20px; color: var(--cimr-green-light); margin-top: 3px;
    text-align: center; flex-shrink: 0;
}
.footer-contact a {
    color: rgba(255,255,255,0.7); text-decoration: none;
    transition: color 0.3s;
}
.footer-contact a:hover { color: var(--cimr-green-light); }
.footer-socials {
    display: flex; gap: 10px; flex-wrap: wrap;
}
.footer-socials a {
    display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08); border-radius: 12px; color: white;
    transition: var(--cimr-transition); text-decoration: none;
}
.footer-socials a:hover {
    background: var(--cimr-green); color: white;
    transform: translateY(-3px); box-shadow: 0 6px 20px rgba(26,122,76,0.3);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.8rem 0; text-align: center; font-size: 0.85rem;
}

/* ─── Footer Mobile ───────────────────────────────────── */
@media (max-width: 991.98px) {
    .footer-cimr .row { row-gap: 0 !important; }
    .footer-cimr .row .py-5 { padding-top: 2.5rem !important; padding-bottom: 2rem !important; }

    .footer-brand-col {
        text-align: left; padding-bottom: 24px;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .footer-brand-col .footer-logo { height: 44px; }
    .footer-brand-col .footer-desc { font-size: 0.85rem; max-width: 100%; }
    .footer-brand-col .footer-socials { margin-top: 16px; }
    .footer-brand-col .footer-socials a { width: 36px; height: 36px; border-radius: 10px; }

    .footer-links-col {
        text-align: left;
    }
    .footer-links-col .footer-title { font-size: 0.75rem; margin-bottom: 1rem; }
    .footer-links-col .footer-title::after { left: 0; margin: 0; }
    .footer-links-col .footer-links a { font-size: 0.83rem; }
    .footer-links-col .footer-links li { margin-bottom: 8px; }
    .footer-links-col .footer-links a::before { display: none; }

    .footer-contact-col {
        text-align: left; padding-top: 20px;
        margin-top: 4px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .footer-contact-col .footer-title::after { left: 0; margin: 0; }
    .footer-contact-col .footer-contact li { font-size: 0.84rem; margin-bottom: 10px; }

    .footer-bottom { padding: 1.2rem 0; font-size: 0.78rem; }
    .footer-bottom p { line-height: 1.5; }
}

/* ─── WhatsApp Float ───────────────────────────────────── */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; z-index: 9999;
    width: 64px; height: 64px; background: var(--whatsapp-green); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; box-shadow: 0 6px 24px rgba(37,211,102,0.4);
    transition: var(--cimr-transition); text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float::before {
    content: 'Besoin d\'aide ?'; position: absolute; right: calc(100% + 12px);
    background: white; color: var(--cimr-dark); padding: 8px 16px;
    border-radius: 10px; font-size: 0.8rem; font-weight: 600;
    white-space: nowrap; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0; transform: translateX(10px);
    transition: var(--cimr-transition); pointer-events: none;
}
.whatsapp-float:hover::before { opacity: 1; transform: translateX(0); }
.whatsapp-float:hover {
    transform: scale(1.1); color: white;
    box-shadow: 0 10px 40px rgba(37,211,102,0.5);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 20px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ─── Reason Cards ─────────────────────────────────────── */
.reason-card {
    background: white; border-radius: var(--cimr-radius); padding: 2rem;
    box-shadow: var(--cimr-shadow-card); height: 100%; transition: var(--cimr-transition);
    border-top: 4px solid transparent;
    position: relative; overflow: hidden;
}
.reason-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: linear-gradient(90deg, var(--cimr-green), var(--cimr-green-light));
    transform: scaleX(0); transition: transform 0.5s; transform-origin: left;
}
.reason-card:hover::before { transform: scaleX(1); }
.reason-card:hover { transform: translateY(-8px); box-shadow: var(--cimr-shadow-hover); }
.reason-card .reason-number {
    display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #eef8f2, #d4edda);
    border-radius: 12px; color: var(--cimr-green); font-weight: 800; margin-bottom: 1rem;
    transition: var(--cimr-transition); font-size: 1.1rem;
}
.reason-card:hover .reason-number {
    background: linear-gradient(135deg, var(--cimr-green), var(--cimr-green-light));
    color: white; transform: rotate(-5deg);
}
.reason-card h5 { font-weight: 700; color: var(--cimr-dark); margin-bottom: 0.5rem; }
.reason-card p { color: var(--cimr-gray-dark); font-size: 0.95rem; line-height: 1.7; margin: 0; }

/* ─── Engagement Cards ─────────────────────────────────── */
.engagement-card {
    background: white; border-radius: var(--cimr-radius); padding: 2.5rem 2rem; text-align: center;
    box-shadow: var(--cimr-shadow-card); height: 100%; transition: var(--cimr-transition);
    position: relative;
}
.engagement-card:hover { transform: translateY(-8px); box-shadow: var(--cimr-shadow-hover); }
.engagement-icon-wrap {
    width: 70px; height: 70px; border-radius: 20px;
    background: linear-gradient(135deg, #eef8f2, #d4edda);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem; transition: var(--cimr-transition);
}
.engagement-card:hover .engagement-icon-wrap {
    background: linear-gradient(135deg, var(--cimr-green), var(--cimr-green-light));
    transform: rotate(-5deg) scale(1.05);
}
.engagement-card i {
    font-size: 1.8rem; color: var(--cimr-green);
    transition: var(--cimr-transition);
}
.engagement-card:hover i { color: white; }
.engagement-card h5 { font-weight: 700; margin-bottom: 0.5rem; }
.engagement-card p { color: var(--cimr-gray-dark); font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* ─── Map ──────────────────────────────────────────────── */
.map-container {
    border-radius: var(--cimr-radius); overflow: hidden;
    box-shadow: var(--cimr-shadow-card);
    border: 3px solid #eee;
}
.map-container iframe { width: 100%; height: 400px; border: 0; }

/* ─── Exam Detail Content ──────────────────────────────── */
.exam-content h2 {
    font-size: 1.4rem; font-weight: 700; color: var(--cimr-dark);
    margin: 2rem 0 1rem; padding-left: 16px;
    border-left: 4px solid var(--cimr-green);
    position: relative;
}
.exam-content p { line-height: 1.9; color: #555; }
.exam-content ul { padding-left: 0; list-style: none; }
.exam-content ul li {
    padding: 8px 0 8px 28px; position: relative; color: #555;
    transition: var(--cimr-transition-fast);
}
.exam-content ul li:hover { color: var(--cimr-dark); padding-left: 32px; }
.exam-content ul li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; color: var(--cimr-green); font-size: 0.85rem;
    top: 10px;
}

/* ─── Blog Post Content ────────────────────────────────── */
.blog-content { line-height: 1.9; color: #444; }
.blog-content h3 { font-size: 1.3rem; font-weight: 700; color: var(--cimr-dark); margin: 2rem 0 1rem; }
.blog-content p { margin-bottom: 1.2rem; }
.blog-content ul { margin-bottom: 1.2rem; }
.blog-content img { border-radius: var(--cimr-radius); margin: 1rem 0; }

/* ─── Sidebar Cards ────────────────────────────────────── */
.sidebar-card {
    border: none; border-radius: var(--cimr-radius);
    box-shadow: var(--cimr-shadow-card); overflow: hidden;
}
.sidebar-card .card-header {
    background: linear-gradient(135deg, var(--cimr-green), var(--cimr-green-light));
    color: white; font-weight: 700; border: none; padding: 16px 20px;
}
.sidebar-card .list-group-item {
    border-color: #f0f0f0; padding: 14px 20px;
    transition: var(--cimr-transition-fast);
}
.sidebar-card .list-group-item:hover {
    background: #f8fdf9; padding-left: 24px; color: var(--cimr-green);
}
.sidebar-card .list-group-item.active {
    background: #eef8f2 !important; color: var(--cimr-green) !important;
    border-color: #f0f0f0; font-weight: 700;
}

/* ─── WhatsApp CTA Box ─────────────────────────────────── */
.whatsapp-cta-box {
    background: linear-gradient(135deg, #eef8f2, #d4edda);
    border-radius: var(--cimr-radius); padding: 2rem;
    border: 1px solid rgba(26,122,76,0.15);
    position: relative; overflow: hidden;
}
.whatsapp-cta-box::before {
    content: ''; position: absolute; top: -30px; right: -30px;
    width: 100px; height: 100px; border-radius: 50%;
    background: rgba(26,122,76,0.08);
}

/* ─── Loading & Animations ─────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fade-in-left { animation: fadeInLeft 0.6s ease-out forwards; }
.animate-fade-in-right { animation: fadeInRight 0.6s ease-out forwards; }
.animate-scale-in { animation: scaleIn 0.5s ease-out forwards; }

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ─── Counter Animation ────────────────────────────────── */
.counter-box {
    text-align: center; padding: 2rem;
}
.counter-number {
    font-size: 3rem; font-weight: 800;
    background: linear-gradient(135deg, var(--cimr-green), var(--cimr-green-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.counter-label {
    font-size: 0.95rem; color: var(--cimr-gray-dark);
    font-weight: 600; margin-top: 4px;
}

/* ─── Scroll to top ────────────────────────────────────── */
.scroll-top-btn {
    position: fixed; bottom: 100px; right: 30px; z-index: 9998;
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--cimr-dark); color: white; border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--cimr-transition);
    opacity: 0; visibility: hidden; transform: translateY(20px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.scroll-top-btn.visible {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.scroll-top-btn:hover {
    background: var(--cimr-green); transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26,122,76,0.3);
}

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px; height: 56px; font-size: 1.7rem;
        bottom: 20px; right: 20px;
    }
    .whatsapp-float::before { display: none; }
    .section-padding { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .page-header { padding: 60px 0 40px; }
    .page-header h1 { font-size: 1.8rem; }
    .cta-section { padding: 60px 0; }
    .cta-section h2 { font-size: 1.6rem; }
    .scroll-top-btn { bottom: 90px; right: 20px; }
}

@media (max-width: 576px) {
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn-cimr-primary,
    .hero-buttons .btn-cimr-outline { width: 100%; justify-content: center; }
}

/* ─── Skeleton loading placeholders ────────────────────── */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

/* ─── About page stats badge ───────────────────────────── */
.stats-badge {
    background: linear-gradient(135deg, var(--cimr-green), var(--cimr-green-light));
    color: white; padding: 24px; border-radius: var(--cimr-radius);
    font-weight: 700; box-shadow: 0 12px 40px rgba(26,122,76,0.3);
    text-align: center;
}
.stats-badge .stats-number { font-size: 2.5rem; line-height: 1; }
.stats-badge .stats-label { font-size: 0.9rem; opacity: 0.9; margin-top: 4px; }

/* ─── Custom scrollbar ─────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--cimr-green), var(--cimr-green-light));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--cimr-green-dark); }
