/* =====================================================
   KCDA — Premium Design System v2
   ===================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Medical AI Palette — Clean Corporate Blue & Green */
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary: #1d4ed8;
    --primary-dark: #1e3a8a;
    
    --accent-mint: #059669;
    --accent-cyan: #0891b2;
    --accent-indigo: #4338ca;

    /* Surfaces — Soft, Professional, Deep */
    --bg-body: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-elevated: #ffffff;
    --bg-subtle: #f8fafc;
    
    /* Text */
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;

    /* Advanced Shadows & Glass */
    --glass-blur: blur(16px) saturate(180%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 30px rgba(14, 165, 233, 0.2);

    /* Radius */
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-body);
    color: var(--text-body);
    line-height: 1.65;
    font-size: 0.9375rem;
    padding-top: 70px;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--accent-cyan); }

::selection {
    background: var(--primary-100);
    color: var(--primary-900);
}

img { max-width: 100%; height: auto; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--primary-200);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-400); }

/* ---------- Glass Card ---------- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--duration-normal) var(--ease-spring);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ==============================
   NAVBAR
   ============================== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.65rem 0;
    z-index: 1030;
    transition: all var(--duration-normal) var(--ease-out);
}


.brand-icon {
    font-size: 1.4rem;
    color: var(--primary-500);
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.4));
}


.brand-text {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-custom .nav-link {
    color: var(--text-heading);
    font-weight: 600;
    font-size: 0.825rem;
    padding: 0.45rem 1.15rem !important;
    border-radius: 999px !important;
    transition: all var(--duration-normal) var(--ease-spring);
    letter-spacing: -0.015em;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}



.navbar-custom .nav-link:hover {
    color: var(--primary-600);
    background: rgba(14, 165, 233, 0.08);
    transform: translateY(-1px);
}

.navbar-custom .nav-link.active {
    color: var(--primary-600) !important;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px) saturate(220%);
    -webkit-backdrop-filter: blur(14px) saturate(220%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px !important;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}



.btn-login {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(8px) !important;
    color: var(--text-heading) !important;
    border-radius: var(--radius-lg) !important;
    padding: 0.6rem 1.5rem !important;
    font-weight: 700 !important;
    border: 1px solid rgba(14, 165, 233, 0.3) !important;
    transition: all var(--duration-normal) var(--ease-spring) !important;
}

.btn-register {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700)) !important;
    color: #ffffff !important;
    border-radius: var(--radius-lg) !important;
    padding: 0.6rem 1.35rem !important;
    font-weight: 800 !important;
    border: 1px solid rgba(5, 150, 105, 0.3) !important;
    box-shadow: 0 14px 28px rgba(6, 95, 70, 0.16);
    transition: all var(--duration-normal) var(--ease-spring) !important;
}

.btn-register:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
    box-shadow: var(--shadow-glow) !important;
}

.btn-register i { color: inherit !important; }

.btn-login:hover {
    background: var(--primary-600) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow) !important;
    border-color: var(--primary-600) !important;
}

.btn-login:hover i {
    color: #ffffff !important;
}

.glass-dropdown {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 0.35rem;
}

.glass-dropdown .dropdown-item {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast);
}

.glass-dropdown .dropdown-item:hover {
    background: var(--primary-50);
    color: var(--primary);
}

/* ==============================
   BUTTONS — Global System
   ============================== */
.btn {
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: -0.01em;
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal) var(--ease-spring);
    position: relative;
    overflow: hidden;
    text-transform: none;
}

.btn-glow {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-dark));
    color: white !important;
    border: none;
    padding: 0.75rem 1.75rem;
    box-shadow: var(--shadow-glow);
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark), #046a5c);
    opacity: 0;
    transition: opacity var(--duration-normal);
    z-index: -1;
    border-radius: inherit;
}

.btn-glow:hover {
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.btn-glow:hover::before { opacity: 1; }

.btn-glow:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-outline-primary {
    border-width: 1.5px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-secondary {
    border-color: var(--border);
    color: var(--text-secondary);
    font-weight: 500;
}

.btn-outline-secondary:hover {
    background: var(--bg-muted);
    border-color: var(--border);
    color: var(--text-heading);
}

/* ==============================
   HERO SECTION
   ============================== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    /* Ultra-Modern Mesh Gradient 2026 */
    background-color: #ffffff;
    background-image: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.05) 0, transparent 40%),
        radial-gradient(at 100% 100%, rgba(5, 150, 105, 0.05) 0, transparent 40%);
    overflow: hidden;
    margin-top: -70px;
    padding-top: 70px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-heading);
    padding: 2rem 0 5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    padding: 0.4rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 1.75rem;
    border: 1px solid rgba(255,255,255,0.15);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1.25rem;
    letter-spacing: -0.04em;
}

.gradient-text {
    background: none;
    color: var(--accent-mint);
    -webkit-text-fill-color: var(--accent-mint);
    filter: none;
}

.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 540px;
    margin: 0 auto 3rem;
    font-weight: 400;
    line-height: 1.6;
}

/* ---------- Choice Cards ---------- */
.choice-cards {
    max-width: 760px;
    margin: 0 auto;
}

.choice-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    color: var(--text-inverse);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-slow) var(--ease-spring);
}

.choice-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.choice-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 30px 60px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
    color: var(--text-inverse);
}

.choice-icon {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
}

.choice-icon-pulse {
    position: absolute;
    inset: -5px;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255,255,255,0.2);
    animation: pulse-ring 2.5s var(--ease-out) infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.25); opacity: 0; }
}

.choice-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.choice-card p {
    font-size: 0.875rem;
    opacity: 0.75;
    margin-bottom: 1.5rem;
    line-height: 1.55;
}

.choice-cta {
    margin-top: auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 1.25rem;
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-out);
    letter-spacing: -0.01em;
}

.choice-card:hover .choice-cta {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.5);
}

.choice-card:hover .choice-cta i {
    transform: translateX(3px);
    transition: transform var(--duration-normal) var(--ease-spring);
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ==============================
   STATS SECTION
   ============================== */
.stats-section {
    padding: 6rem 0;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.02) 0%, transparent 50%);
}


.stat-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(40px) saturate(220%);
    -webkit-backdrop-filter: blur(40px) saturate(220%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-2xl);
    padding: 3rem 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: all var(--duration-normal) var(--ease-spring);
    position: relative;
    overflow: hidden;
}

/* Glass Shimmer Swipe */
.stat-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%
    );
    transform: rotate(45deg);
    transition: all 0.75s ease;
    pointer-events: none;
    z-index: 1;
}

.stat-card:hover::before {
    top: 50%;
    left: 50%;
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.03);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.15),
        inset 0 0 0 2px rgba(255, 255, 255, 0.3);
}

/* Atmospheric Glow Behind Numbers */
.stat-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(10px);
}


.stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-500);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.2);
}



.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
    position: relative;
    z-index: 2;
    /* High-Fidelity Liquid Gradient Number */
    background: linear-gradient(135deg, var(--text-heading) 0%, var(--primary-600) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(14, 165, 233, 0.15));
}


.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* ==============================
   FEATURES SECTION
   ============================== */
.features-section {
    padding: 6rem 0;
    background: transparent;
    position: relative;
    /* Blend and Professional 2026 */
    background: linear-gradient(180deg, transparent 0%, rgba(14, 165, 233, 0.03) 50%, transparent 100%);
}

.leadership-showcase-section,
.testimonials-section,
.gallery-loop-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.leadership-showcase-section {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.94), rgba(236,253,245,0.72)),
        radial-gradient(circle at 15% 20%, rgba(16,185,129,0.13), transparent 34%);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

/* Leadership card — full-bleed photo with overlay text */
.leadership-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    background: linear-gradient(160deg, rgba(5,150,105,0.15), rgba(14,165,233,0.12));
}

.leadership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 36px 72px rgba(15, 23, 42, 0.18);
}

/* Photo frame fills the whole card */
.leadership-photo-frame {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(5,150,105,0.18) 0%, rgba(14,165,233,0.14) 100%);
    display: grid;
    place-items: center;
    position: relative;
}

.leadership-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.45s ease;
}

.leadership-card:hover .leadership-photo-frame img {
    transform: scale(1.05);
}

/* Dark gradient overlay so text is always readable */
.leadership-photo-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 35%,
        rgba(5, 20, 15, 0.35) 60%,
        rgba(5, 20, 15, 0.82) 100%
    );
    pointer-events: none;
}

/* Placeholder avatar for missing photos */
.leadership-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.92);
    color: var(--primary);
    font-size: 2.6rem;
    font-weight: 800;
    box-shadow: 0 14px 35px rgba(5, 150, 105, 0.2);
    z-index: 1;
}

/* Card body sits at the bottom of the photo frame */
.leadership-card-body {
    position: absolute;
    inset: auto 0 0;
    padding: 1.4rem 1.35rem 1.3rem;
    z-index: 2;
}

.leadership-role {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(110, 231, 183, 0.95);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.4rem;
}

.leadership-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.2rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.leadership-card p {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    font-size: 0.88rem;
}

.testimonials-section {
    background: linear-gradient(180deg, #fff, rgba(240, 253, 250, 0.64));
}

.testimonial-carousel {
    overflow: hidden;
    padding: 0.25rem;
}

.testimonial-track {
    display: flex;
    gap: 1.125rem;
    transition: transform 700ms var(--ease-out);
    will-change: transform;
}

.testimonial-card {
    min-width: calc((100% - 2.25rem) / 3);
    border: 1px solid rgba(5, 150, 105, 0.14);
    border-radius: 18px;
    background: rgba(255,255,255,0.9);
    padding: 1.35rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.testimonial-quote-icon {
    display: inline-flex;
    color: var(--primary);
    font-size: 1.7rem;
    margin-bottom: 0.8rem;
}

.testimonial-card p {
    color: var(--text-body);
    line-height: 1.65;
    font-weight: 500;
    min-height: 6.5rem;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.testimonial-person img,
.testimonial-person span {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    display: grid;
    place-items: center;
    background: rgba(5, 150, 105, 0.12);
    color: var(--primary);
    font-weight: 800;
}

.testimonial-person strong {
    display: block;
    color: var(--text-heading);
}

.testimonial-person small { color: var(--text-muted); }

.gallery-loop-section {
    background: linear-gradient(180deg, #f0fdf7 0%, #fff 40%, #f0fdf7 100%);
}

.gallery-marquee {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0 1.5rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: gallery-loop 55s linear infinite;
    will-change: transform;
}

.gallery-marquee:hover .gallery-track { animation-play-state: paused; }

.gallery-item {
    position: relative;
    width: clamp(340px, 38vw, 560px);
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    margin: 0;
    background: rgba(5, 150, 105, 0.08);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.13);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: 0 30px 64px rgba(15, 23, 42, 0.18);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-item figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 2rem 1.3rem 1.1rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
    letter-spacing: 0.01em;
}

@keyframes gallery-loop {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Centered mode: few photos that don't fill the viewport */
.gallery-marquee--centered {
    -webkit-mask-image: none;
    mask-image: none;
}
.gallery-marquee--centered .gallery-track {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.5rem 0;
}
.gallery-marquee--centered .gallery-item[aria-hidden="true"] {
    display: none;
}

@media (max-width: 991px) {
    .login-premium-section {
        padding: 1.5rem 0 2rem;
        min-height: auto;
    }

    .login-shell {
        grid-template-columns: 1fr;
        max-width: 620px;
    }

    .login-brand-panel {
        padding: 1.4rem 1.5rem;
    }

    .login-brand-panel p,
    .login-benefits {
        display: none;
    }

    .login-brand-mark {
        width: 48px;
        height: 48px;
        margin-bottom: 0.8rem;
    }

    .login-brand-panel h1 {
        font-size: 1.55rem;
        margin-bottom: 0;
    }

    .login-form-panel {
        padding: 1.5rem;
    }

    .leadership-grid {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.5rem;
    }

    .leadership-card { scroll-snap-align: start; }

    .testimonial-card { min-width: calc((100% - 1.125rem) / 2); }
}

@media (max-width: 639px) {
    .payment-qr-grid {
        grid-template-columns: 1fr;
    }

    .login-actions {
        grid-template-columns: 1fr;
    }

    .login-header h2 {
        font-size: 1.55rem;
    }

    .login-form-panel {
        padding: 1.25rem;
    }

    .leadership-showcase-section,
    .testimonials-section,
    .gallery-loop-section {
        padding: 3.25rem 0;
    }

    .leadership-grid {
        grid-template-columns: repeat(3, 78vw);
    }

    .testimonial-card {
        min-width: 100%;
        padding: 1.1rem;
    }

    .testimonial-card p { min-height: 7.5rem; }

    .gallery-item {
        width: 82vw;
        border-radius: 16px;
    }
}


.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--duration-normal) var(--ease-spring);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.03),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.12),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.05));
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    color: var(--primary-500);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(14, 165, 233, 0.1);
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.15);
}



.feature-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex: 1;
    line-height: 1.6;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary);
    margin-top: 1rem;
    transition: gap var(--duration-normal) var(--ease-spring);
}

.feature-link:hover { gap: 0.6rem; color: var(--primary-dark); }

/* ==============================
   CTA SECTION
   ============================== */
.cta-section {
    padding: 5rem 0;
}

.cta-card {
    padding: 4rem 3rem;
    background: linear-gradient(135deg, #0c0a09, #1c1917) !important;
    border: 1px solid rgba(14, 165, 233, 0.2) !important;
    border-radius: var(--radius-2xl) !important;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}


.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(29,228,195,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    color: #ffffff !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.cta-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 2rem;
    font-weight: 500;
}


.cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-glow {
    background: linear-gradient(135deg, var(--primary-400), var(--primary)) !important;
}

/* ==============================
   PAGE HEADER
   ============================== */
.page-header {
    background: linear-gradient(135deg, #0c0a09 0%, #075985 60%, var(--primary-dark) 100%);
    color: var(--text-inverse);
    padding: 2.5rem 0 2rem;
    margin-top: -70px;
    padding-top: calc(70px + 2rem);
    position: relative;
    border-bottom: 2px solid rgba(14, 165, 233, 0.2);
}


.page-header-compact {
    padding: 1.5rem 0 1.25rem;
    padding-top: calc(70px + 1.25rem);
}

.page-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.2rem;
}

.page-subtitle {
    opacity: 0.75;
    font-size: 0.95rem;
    font-weight: 400;
}

.breadcrumb-custom {
    margin-bottom: 0;
}
.breadcrumb-custom .breadcrumb-item a { color: rgba(255,255,255,0.6); }
.breadcrumb-custom .breadcrumb-item.active { color: var(--text-inverse); }
.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ==============================
   CONTENT SECTION
   ============================== */
.content-section {
    padding: 2.5rem 0 4rem;
}

/* ==============================
   FILTER CARD
   ============================== */
.filter-card {
    padding: 1.5rem;
}

.filter-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}

.sticky-filter {
    position: sticky;
    top: 85px;
}

/* ==============================
   HIERARCHY
   ============================== */
.hierarchy-card {
    padding: 2rem;
    border-left: 4px solid var(--accent-cyan);
}


.hierarchy-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.rank-badge {
    background: var(--primary-50);
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hierarchy-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.member-count-badge {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--bg-muted);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

.member-mini-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--duration-normal) var(--ease-out);
}



.member-mini-card:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    transform: translateX(4px);
}

.member-mini-avatar img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    color: var(--text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}


.avatar-large {
    width: 72px;
    height: 72px;
    font-size: 1.6rem;
}

.avatar-store {
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 1.2rem;
}

.member-mini-info {
    min-width: 0;
    flex: 1;
}


.member-mini-info h6 {
    margin-bottom: 0.15rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}

.member-mini-info h6 a {
    color: var(--text-heading);
}
.member-mini-info h6 a:hover { color: var(--primary); }

.member-mini-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

.admin-extra {
    padding-top: 0.4rem;
    border-top: 1px dashed var(--border);
    margin-top: 0.4rem;
}

.admin-extra small {
    color: var(--text-secondary);
    font-size: 0.78rem;
}

/* ==============================
   STORE CARDS
   ============================== */
.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.store-card {
    padding: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform var(--duration-normal) var(--ease-spring),
                box-shadow var(--duration-normal) var(--ease-out);
}

.store-card:hover {
    transform: translateY(-4px);
}

.store-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.25rem 1.25rem 0;
}

.store-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
}

.store-header-info { min-width: 0; flex: 1; }

.store-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
    letter-spacing: -0.01em;
}

.store-name a { color: var(--text-heading); }
.store-name a:hover { color: var(--primary); }

.store-owner {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

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

.store-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.4rem;
    font-size: 0.835rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.store-detail-row i {
    color: var(--primary);
    margin-top: 0.12rem;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.store-badges {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.65rem;
}

.store-card-footer {
    padding: 0 1.25rem 1.25rem;
    margin-top: auto;
}

.store-card-footer .btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
}

.store-card-inactive {
    opacity: 0.94;
    border: 1px solid rgba(217, 119, 6, 0.24) !important;
    background:
        linear-gradient(135deg, rgba(255, 251, 235, 0.88), rgba(255, 255, 255, 0.9) 48%, rgba(236, 253, 245, 0.72)),
        var(--bg-card);
}

.store-card-inactive .store-avatar,
.store-card-inactive .store-card-body {
    filter: grayscale(0.08);
}

.inactive-store-link,
.inactive-owner-link {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
}

.inactive-store-link {
    font-weight: 800;
}

.inactive-store-link:hover,
.inactive-owner-link:hover {
    color: var(--primary-800);
    text-decoration: underline;
}

.inactive-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #92400e;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border: 1px solid #fdba74;
    box-shadow: 0 8px 18px rgba(217, 119, 6, 0.12);
    text-transform: uppercase;
    letter-spacing: 0.015em;
    font-weight: 800;
}

.inactive-store-badge i {
    color: #d97706;
}

.inactive-store-button {
    border-radius: var(--radius-full);
    font-weight: 700;
    color: #92400e !important;
    background: rgba(255, 247, 237, 0.9) !important;
    border-color: rgba(217, 119, 6, 0.28) !important;
}

.inactive-store-button:hover {
    color: #78350f !important;
    background: #ffedd5 !important;
    border-color: rgba(217, 119, 6, 0.42) !important;
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.12);
}

.inactive-store-modal {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(217, 119, 6, 0.22);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 251, 235, 0.96) 0, #ffffff 42%),
        #ffffff;
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.24);
}

.inactive-store-modal .modal-header {
    align-items: flex-start;
    padding: 1.25rem 3.8rem 0.85rem 1.35rem;
}

.inactive-store-modal .modal-title {
    color: var(--text-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.inactive-modal-heading {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.inactive-modal-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #b45309;
    background: linear-gradient(135deg, #fffbeb, #fed7aa);
    border: 1px solid rgba(217, 119, 6, 0.22);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 12px 28px rgba(217, 119, 6, 0.14);
}

.inactive-modal-close {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 50%;
    z-index: 2;
    transition: all var(--duration-normal) var(--ease-out);
}

.inactive-modal-close:hover {
    color: var(--text-heading);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.inactive-store-modal .modal-body {
    padding: 0 1.35rem 0.8rem;
}

.inactive-modal-summary {
    padding: 1rem;
    border: 1px solid rgba(217, 119, 6, 0.18);
    border-radius: 16px;
    background: rgba(255, 247, 237, 0.72);
}

.inactive-summary-label {
    color: #b45309;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.inactive-modal-summary p {
    color: var(--text-body);
    font-size: 0.94rem;
    line-height: 1.65;
    margin: 0;
}

.inactive-modal-summary strong {
    color: var(--text-heading);
}

.inactive-modal-note {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0.85rem 0 0;
}

.inactive-store-modal .modal-footer {
    gap: 0.5rem;
    padding: 0.25rem 1.35rem 1.3rem;
}

.modal-kicker {
    display: inline-flex;
    align-items: center;
    color: #b45309;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.15rem;
}

/* ==============================
   PRODUCT CATALOG
   ============================== */
.catalog-shell {
    min-height: 100vh;
    padding: 2.5rem 0 4rem;
    background:
        linear-gradient(rgba(5, 150, 105, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 14% 12%, rgba(16, 185, 129, 0.13), transparent 30%),
        radial-gradient(circle at 86% 10%, rgba(59, 130, 246, 0.11), transparent 28%),
        #f8fafc;
    background-size: 34px 34px, 34px 34px, auto, auto, auto;
}

.catalog-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.catalog-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--primary-800);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.catalog-title {
    color: var(--text-heading);
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

.catalog-stats {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.catalog-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 0.85rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(5, 150, 105, 0.14);
    border-radius: var(--radius-full);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.catalog-stats strong {
    color: var(--primary-800);
}

.catalog-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.catalog-search {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(5, 150, 105, 0.16);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.catalog-search i {
    color: var(--primary-600);
}

.catalog-search input {
    min-width: 0;
    width: 100%;
    color: var(--text-heading);
    background: transparent;
    border: 0;
    outline: 0;
    font-weight: 600;
}

.catalog-search input::placeholder {
    color: var(--text-muted);
}

.catalog-clear {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--text-secondary);
    background: rgba(241, 245, 249, 0.9);
    border-radius: 50%;
}

.catalog-actions {
    display: flex;
    gap: 0.55rem;
}

.catalog-action-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0 0.9rem;
    color: var(--primary-800);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(5, 150, 105, 0.18);
    border-radius: var(--radius-full);
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    transition: all var(--duration-normal) var(--ease-out);
}

.catalog-action-btn:hover {
    color: #ffffff;
    background: var(--primary-700);
    border-color: var(--primary-700);
    transform: translateY(-1px);
}

.catalog-list {
    display: grid;
    gap: 0.9rem;
}

.catalog-company {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(5, 150, 105, 0.14);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.catalog-company-header {
    width: 100%;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 34px;
    gap: 0.85rem;
    align-items: center;
    padding: 1rem 1.05rem;
    text-align: left;
    background: transparent;
    border: 0;
}

.catalog-company-mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-700), var(--accent-mint));
    border-radius: 16px;
    font-weight: 900;
    box-shadow: 0 16px 30px rgba(5, 150, 105, 0.2);
}

.catalog-company-meta {
    min-width: 0;
    display: grid;
    gap: 0.1rem;
}

.catalog-company-name {
    color: var(--text-heading);
    font-size: 1rem;
    font-weight: 850;
}

.catalog-company-count {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 650;
}

.catalog-chevron {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-800);
    background: rgba(236, 253, 245, 0.92);
    border-radius: 50%;
    transition: transform var(--duration-normal) var(--ease-out);
}

.catalog-company-header[aria-expanded="true"] .catalog-chevron {
    transform: rotate(180deg);
}

.catalog-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 0.65rem;
    padding: 0 1.05rem 1.05rem;
}

.catalog-product {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.72rem 0.85rem;
    color: var(--text-body);
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.92), rgba(236, 253, 245, 0.72));
    border: 1px solid rgba(5, 150, 105, 0.12);
    border-radius: 14px;
    font-weight: 700;
}

.catalog-product i {
    color: var(--primary-600);
    flex: 0 0 auto;
}

.catalog-empty {
    padding: 4rem 1rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(5, 150, 105, 0.12);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.catalog-empty i {
    color: var(--primary-600);
    font-size: 2rem;
}

.catalog-empty h3 {
    color: var(--text-heading);
    margin: 0.75rem 0 0.25rem;
    font-weight: 800;
}

.catalog-empty p {
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 767.98px) {
    .catalog-shell {
        padding: 1.5rem 0 3rem;
    }

    .catalog-toolbar,
    .catalog-controls {
        grid-template-columns: 1fr;
        display: grid;
    }

    .catalog-stats,
    .catalog-actions {
        justify-content: flex-start;
    }

    .catalog-actions {
        overflow-x: auto;
        padding-bottom: 0.15rem;
    }

    .catalog-action-btn {
        white-space: nowrap;
    }

    .catalog-products {
        grid-template-columns: 1fr;
    }
}

/* ==============================
   DETAIL PAGE
   ============================== */
.detail-card {
    padding: 2.5rem;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.detail-avatar img {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 3px solid var(--border);
}

.detail-title h1 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    letter-spacing: -0.02em;
    color: var(--text-heading);
}

.detail-title h5 { margin-bottom: 0.5rem; color: var(--text-secondary); font-weight: 500; }

.detail-badges { display: flex; gap: 0.4rem; }

.detail-divider {
    margin: 1.5rem 0;
    border-color: var(--border);
}

.detail-section { margin-bottom: 1.75rem; }

.detail-section-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.detail-item {
    padding: 0.65rem 0.85rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.detail-item.full-width { grid-column: 1 / -1; }

.detail-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.detail-value {
    font-weight: 600;
    color: var(--text-heading);
    font-size: 0.9rem;
}

.admin-section {
    background: rgba(251,191,36,0.06);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(251,191,36,0.2);
}

.detail-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

/* ==============================
   AUTH PAGES
   ============================== */
.auth-section {
    padding: 3rem 0 5rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.signup-section { padding-top: 2rem; }

.auth-card {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
}

.auth-header {
    margin-bottom: 2rem;
    text-align: center;
}

.auth-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    border-radius: var(--radius-lg);
    font-size: 1.6rem;
    color: var(--primary);
}

.auth-icon-verify {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: var(--secondary);
}

.auth-icon-signup {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #16a34a;
}

.auth-header h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
    color: var(--text-heading);
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-footer {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.auth-footer p {
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    font-size: 0.875rem;
}

/* Steps Indicator */
.steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.step-number {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    background: var(--bg-muted);
    color: var(--text-muted);
    border: 2px solid var(--border);
    transition: all var(--duration-normal);
}

.step.active .step-number {
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-100);
}

.step.completed .step-number {
    background: #16a34a;
    color: var(--text-inverse);
    border-color: #16a34a;
}

.step span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.step.active span { color: var(--primary); font-weight: 600; }
.step.completed span { color: #16a34a; }

.step-line {
    width: 50px;
    height: 2px;
    background: var(--border);
    margin: 0 0.4rem 1rem;
}

.step-line.active {
    background: linear-gradient(90deg, #16a34a, var(--primary));
}

/* Form Sections */
.form-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.form-section:last-of-type { border-bottom: none; }

.form-section-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    letter-spacing: -0.01em;
}

.pc-entry {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.pc-entry:first-child { padding-top: 0; }

.pc-entry:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.undertaking-box {
    padding: 1rem 1.1rem;
    border: 1.5px solid rgba(5, 150, 105, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
}

.undertaking-box .form-check {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding-left: 0;
}

.undertaking-box .form-check-input {
    float: none;
    margin: 0.2rem 0 0;
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
}

.undertaking-box .form-check-label {
    color: var(--text-body);
    font-weight: 600;
    line-height: 1.55;
}

.login-premium-section {
    min-height: calc(100vh - 86px);
    padding: 2.25rem 0;
    align-items: center;
}

.login-shell {
    width: min(1040px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    border: 1px solid rgba(5, 150, 105, 0.14);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 26px 70px rgba(6, 95, 70, 0.12);
}

.login-brand-panel {
    padding: 2.2rem;
    background:
        linear-gradient(145deg, rgba(4, 120, 87, 0.96), rgba(6, 95, 70, 0.92)),
        radial-gradient(circle at 15% 15%, rgba(255,255,255,0.2), transparent 32%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    font-size: 1.55rem;
    margin-bottom: 1.1rem;
}

.login-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.13);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.85rem;
}

.login-brand-panel h1 {
    font-size: clamp(1.8rem, 2.7vw, 2.8rem);
    line-height: 1.04;
    font-weight: 850;
    letter-spacing: 0;
    margin-bottom: 0.85rem;
}

.login-brand-panel p {
    color: rgba(255,255,255,0.82);
    line-height: 1.65;
    margin-bottom: 1.35rem;
}

.login-benefits {
    display: grid;
    gap: 0.65rem;
}

.login-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255,255,255,0.9);
    font-weight: 700;
    font-size: 0.92rem;
}

.login-form-panel {
    padding: 2.15rem 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    text-align: left;
    margin-bottom: 1.35rem;
}

.login-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.login-form .login-field {
    margin-bottom: 1rem;
}

.login-form .form-control {
    min-height: 50px;
}

.login-submit {
    min-height: 52px;
    margin: 0.25rem 0 1rem;
}

.login-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.login-action-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem;
    border: 1.5px solid rgba(5, 150, 105, 0.16);
    border-radius: 16px;
    background: rgba(255,255,255,0.76);
    color: var(--text-heading);
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-out);
}

.login-action-card:hover {
    transform: translateY(-2px);
    border-color: rgba(5, 150, 105, 0.34);
    box-shadow: 0 12px 28px rgba(6, 95, 70, 0.1);
    color: var(--primary-800);
}

.login-action-card i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(5, 150, 105, 0.1);
    color: var(--primary);
    flex: 0 0 auto;
    font-size: 1.05rem;
}

.login-action-primary {
    background: rgba(209, 250, 229, 0.58);
}

.login-action-card strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.15;
}

.login-action-card span span,
.login-action-card span {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.payment-qr-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 1rem;
}

.payment-qr-card,
.payment-help-card {
    border: 1.5px solid rgba(5, 150, 105, 0.16);
    border-radius: 16px;
    background: rgba(255,255,255,0.74);
    padding: 1rem;
}

.payment-qr-card {
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 0.35rem;
}

.payment-qr-box {
    width: 156px;
    height: 156px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background:
        linear-gradient(90deg, #0f5132 10px, transparent 10px) 0 0 / 22px 22px,
        linear-gradient(#0f5132 10px, transparent 10px) 0 0 / 22px 22px,
        #fff;
    border: 10px solid #fff;
    box-shadow: inset 0 0 0 2px rgba(5, 150, 105, 0.2), 0 12px 28px rgba(6, 95, 70, 0.1);
}

.payment-qr-image {
    width: min(100%, 260px);
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    padding: 0.55rem;
    box-shadow: inset 0 0 0 2px rgba(5, 150, 105, 0.16), 0 12px 28px rgba(6, 95, 70, 0.1);
}

.payment-qr-box i {
    font-size: 3rem;
    color: var(--primary-800);
    background: #fff;
    padding: 0.4rem;
    border-radius: 10px;
}

.payment-help-card ol {
    margin: 0.55rem 0 1rem;
    padding-left: 1.2rem;
    color: var(--text-secondary);
}

.pending-approval-form {
    min-width: 180px;
}

/* ==============================
   DASHBOARD
   ============================== */
.dashboard-card {
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}

.dashboard-card-icon { margin-bottom: 1rem; }

.dashboard-avatar {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--border);
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    text-align: left;
}

.dashboard-card-header i {
    font-size: 1.3rem;
    color: var(--primary);
}

.dashboard-card-header h5 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    color: var(--text-heading);
}

.dashboard-info { text-align: left; }

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
}

.info-row:last-child { border-bottom: none; }

.info-label { color: var(--text-muted); font-weight: 500; }

.info-value {
    color: var(--text-heading);
    font-weight: 600;
    text-align: right;
    max-width: 60%;
}

.pc-dashboard-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.pc-dashboard-row:last-child { border-bottom: 0; }

.pc-dashboard-row > div {
    min-width: 0;
    flex: 1;
}

.pc-dashboard-row .info-value { max-width: none; }

.pc-dashboard-person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pc-dashboard-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(5, 150, 105, 0.18);
    flex: 0 0 auto;
}

.quick-link-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    color: var(--text-heading);
    transition: all var(--duration-normal) var(--ease-spring);
}

.quick-link-card:hover {
    color: var(--primary);
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.quick-link-card i {
    font-size: 1.4rem;
    color: var(--primary-600);
}


.quick-link-card span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==============================
   MESSAGES
   ============================== */
.messages-container {
    position: fixed;
    top: 78px;
    right: 16px;
    z-index: 9999;
    max-width: 380px;
    width: 100%;
}

.glass-alert {
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    animation: slideInRight 0.35s var(--ease-spring);
    box-shadow: var(--shadow-lg);
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ==============================
   FOOTER
   ============================== */
.footer-custom {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.25rem;
}

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

.footer-brand i {
    font-size: 1.3rem;
    color: var(--primary-light);
}

.footer-brand h5 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-inverse);
    letter-spacing: -0.01em;
}

.footer-desc {
    font-size: 0.835rem;
    line-height: 1.6;
}

.footer-heading {
    color: var(--text-inverse);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.footer-links li {
    margin-bottom: 0.4rem;
    font-size: 0.835rem;
}

.footer-links a {
    color: rgba(255,255,255,0.55);
    transition: color var(--duration-fast);
}

.footer-links a:hover { color: var(--primary-light); }

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

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}
.footer-credit {
    margin-top: 0.35rem;
    font-size: 0.75rem;
}
.footer-credit a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: border-color 0.2s, opacity 0.2s;
}
.footer-credit a:hover {
    opacity: 1;
    border-bottom-color: rgba(255,255,255,0.8);
}

/* ==============================
   EMPTY STATE
   ============================== */
.empty-state { padding: 3rem !important; }
.empty-state i { opacity: 0.25; }

/* ==============================
   FORM STYLING
   ============================== */
.form-control, .form-select {
    font-family: var(--font-sans);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.85rem;
    font-size: 0.875rem;
    color: var(--text-body);
    transition: all var(--duration-fast) var(--ease-out);
    background: var(--bg-card);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,161,140,0.12);
}

.form-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    letter-spacing: 0.01em;
}

.form-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.invalid-feedback {
    font-size: 0.8rem;
    font-weight: 500;
}

.input-group-text {
    border: 1.5px solid var(--border);
    background: var(--bg-subtle);
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==============================
   BADGES
   ============================== */
.badge {
    font-weight: 700;
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px) saturate(160%);
    -webkit-backdrop-filter: blur(8px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text-heading);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.bg-primary { background: var(--primary-500) !important; color: white !important; }
.bg-secondary { background: rgba(100, 116, 139, 0.15) !important; color: #475569 !important; border-color: rgba(100, 116, 139, 0.1) !important; }
.bg-success { background: rgba(34, 197, 94, 0.15) !important; color: #166534 !important; border-color: rgba(34, 197, 94, 0.1) !important; }
.bg-warning { background: rgba(245, 158, 11, 0.15) !important; color: #92400e !important; border-color: rgba(245, 158, 11, 0.1) !important; }
.bg-danger { background: rgba(239, 68, 68, 0.15) !important; color: #991b1b !important; border-color: rgba(239, 68, 68, 0.1) !important; }
.bg-info { background: rgba(6, 182, 212, 0.15) !important; color: #155e75 !important; border-color: rgba(6, 182, 212, 0.1) !important; }


/* ==============================
   ANIMATIONS
   ============================== */
.animate-fade-in { animation: fadeIn 0.5s var(--ease-out) both; }
.animate-slide-up { animation: slideUp 0.5s var(--ease-out) both; }
.animate-slide-up-delay { animation: slideUp 0.5s var(--ease-out) 0.15s both; }
.animate-card-left { animation: cardSlide 0.6s var(--ease-spring) 0.3s both; }
.animate-card-right { animation: cardSlide 0.6s var(--ease-spring) 0.5s both; }

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cardSlide {
    from { opacity: 0; transform: translateY(32px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 991.98px) {
    .hero-section { min-height: 72vh; }
    .hero-title { font-size: 2.2rem; }
    .page-title { font-size: 1.5rem; }
    .auth-card { padding: 2rem; }
    .detail-card { padding: 1.75rem; }
    .filter-card { position: static; }
    .sticky-filter { position: static; }
}

@media (max-width: 767.98px) {
    body { padding-top: 62px; }
    .hero-section {
        min-height: auto;
        padding-bottom: 2.5rem;
        margin-top: -62px;
        padding-top: 62px;
    }
    .hero-content { padding: 2rem 0; }
    .hero-title { font-size: 1.75rem; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .choice-icon { width: 56px; height: 56px; font-size: 1.5rem; }
    .choice-card { padding: 1.75rem 1.25rem 1.5rem; }
    .choice-card h3 { font-size: 1.05rem; }
    .stats-section { padding: 2.5rem 0; }
    .stat-number { font-size: 2rem; }
    .features-section { padding: 3rem 0; }
    .cta-card { padding: 2rem 1.5rem; }
    .auth-card { padding: 1.5rem; }
    .detail-card { padding: 1.25rem; }
    .detail-header { flex-direction: column; text-align: center; }
    .detail-grid { grid-template-columns: 1fr; }
    .page-header { padding-top: calc(62px + 1.5rem); }
    .page-header-compact { padding-top: calc(62px + 1rem); }
    .messages-container { right: 8px; left: 8px; max-width: none; }
    .step-line { width: 24px; }
    .section-title { font-size: 1.5rem; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 1.5rem; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; }
    .navbar-custom .navbar-brand { font-size: 1.1rem; }
}

/* ==============================
   ADMIN PANEL
   ============================== */
.admin-panel-section {
    padding: 2rem 0 4rem;
}

.admin-search-bar {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-search-bar .input-group .form-control {
    font-size: 1rem;
    padding: 0.7rem 1rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.admin-search-bar .input-group-text {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-size: 1.1rem;
    padding: 0.7rem 1rem;
}

.admin-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    align-items: end;
}

.admin-filters .form-select {
    max-width: 200px;
    font-size: 0.85rem;
}

.admin-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.admin-stat {
    padding: 1.15rem;
    text-align: center;
    border-left: 3px solid var(--primary);
}

.admin-stat.warning { border-left-color: #f59e0b; }
.admin-stat.danger { border-left-color: #ef4444; }
.admin-stat.success { border-left-color: #22c55e; }

.admin-stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.admin-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-table-card {
    padding: 0;
    overflow: hidden;
}

.admin-table-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-table-header h5 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
    color: var(--text-heading);
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    font-size: 0.85rem;
    margin: 0;
}

.admin-table thead {
    background: var(--bg-muted);
}

.admin-table th {
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.admin-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
    color: var(--text-body);
}

.admin-table tbody tr {
    transition: background var(--duration-fast);
}

.admin-table tbody tr:hover {
    background: var(--primary-50);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table .member-cell {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 180px;
}

.admin-table .member-cell .avatar-placeholder {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.admin-table .member-name {
    font-weight: 600;
    color: var(--text-heading);
    font-size: 0.85rem;
}

.admin-table .member-name a {
    color: var(--text-heading);
}

.admin-table .member-name a:hover {
    color: var(--primary);
}

.admin-table .member-shop {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.license-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.license-badge.valid {
    background: #dcfce7;
    color: #15803d;
}

.license-badge.warning {
    background: #fef3c7;
    color: #a16207;
}

.license-badge.critical {
    background: #fee2e2;
    color: #dc2626;
}

.license-badge.expired {
    background: #1f2937;
    color: #fca5a5;
}

.admin-table .days-cell {
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}

.admin-table .days-cell.text-danger { color: #dc2626 !important; }
.admin-table .days-cell.text-warning { color: #d97706 !important; }
.admin-table .days-cell.text-success { color: #16a34a !important; }

@media (max-width: 991.98px) {
    .admin-filters .form-select {
        max-width: none;
        width: 100%;
    }
    .admin-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .admin-stats-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==============================
   3D ANNOUNCEMENT CAROUSEL
   ============================== */
.announcements-section {
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    /* Soft blending background 2026 */
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 100% 100%, rgba(14, 165, 233, 0.05) 0, transparent 50%),
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.05) 0, transparent 50%);
}

.announcements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
}


.carousel-3d {
    position: relative;
    perspective: 1200px;
    height: 420px;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-3d-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.carousel-3d-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 340px;
    transform: translate(-50%, -50%) rotateY(0deg) translateZ(0px) scale(0.7);
    opacity: 0;
    pointer-events: none;
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.carousel-3d-card.active {
    transform: translate(-50%, -50%) rotateY(0deg) translateZ(120px) scale(1.05);
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
    box-shadow: 
        0 40px 100px rgba(0,0,0,0.25), 
        0 0 0 1px rgba(14, 165, 233, 0.3),
        inset 0 0 0 1px rgba(255,255,255,0.4);
}

/* Glass Reflection Effect */
.carousel-3d-card.active::after {
    content: '';
    position: absolute;
    top: 102%;
    left: 5%;
    width: 90%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.15), transparent);
    filter: blur(8px);
    border-radius: inherit;
    pointer-events: none;
    transform: scaleY(-0.4);
    mask-image: linear-gradient(to bottom, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}


.carousel-3d-card.prev {
    transform: translate(calc(-50% - 280px), -50%) rotateY(25deg) translateZ(-50px) scale(0.82);
    opacity: 0.55;
    pointer-events: auto;
    z-index: 5;
    filter: brightness(0.85);
}

.carousel-3d-card.next {
    transform: translate(calc(-50% + 280px), -50%) rotateY(-25deg) translateZ(-50px) scale(0.82);
    opacity: 0.55;
    pointer-events: auto;
    z-index: 5;
    filter: brightness(0.85);
}

.carousel-3d-card.far-prev {
    transform: translate(calc(-50% - 450px), -50%) rotateY(40deg) translateZ(-120px) scale(0.6);
    opacity: 0;
    z-index: 1;
}

.carousel-3d-card.far-next {
    transform: translate(calc(-50% + 450px), -50%) rotateY(-40deg) translateZ(-120px) scale(0.6);
    opacity: 0;
    z-index: 1;
}

.carousel-card-image {
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
}

.carousel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-3d-card:hover .carousel-card-image img {
    transform: scale(1.08);
}

.carousel-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
}

.carousel-card-body {
    padding: 1.15rem 1.25rem 1.25rem;
}

.read-more-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.3s ease;
}

.carousel-3d-card.active:hover .read-more-hint {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Buttons */
.carousel-3d-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(14, 165, 233, 0.2);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    color: var(--primary-dark);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    transition: all var(--duration-normal) var(--ease-spring);
    box-shadow: var(--shadow-md);
}

.carousel-3d-btn:hover {
    background: var(--primary-600);
    color: white;
    border-color: var(--primary-600);
    transform: translateY(-50%) scale(1.15);
    box-shadow: var(--shadow-glow);
}


.carousel-3d-btn.prev { left: 0; }
.carousel-3d-btn.next { right: 0; }

/* Dots */
.carousel-3d-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.3);
}

/* Announcement Meta (shared) */
.announcement-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.announcement-priority {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.announcement-priority.urgent {
    background: #fee2e2;
    color: #dc2626;
}

.announcement-priority.important {
    background: #fef3c7;
    color: #a16207;
}

.announcement-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.announcement-title {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.announcement-content {
    color: var(--text-body);
    font-size: 0.84rem;
    line-height: 1.55;
}

/* AI Hub Decorative Atmos */
.announcement-glow-top {
    position: absolute;
    top: -100px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.announcement-glow-bottom {
    position: absolute;
    bottom: -100px;
    left: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.announcement-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.particle {
    position: absolute;
    background: var(--primary-500);
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.3;
    animation: float-particle 10s infinite linear;
}

.p-1 { width: 4px; height: 4px; top: 20%; left: 10%; animation-delay: 0s; }
.p-2 { width: 6px; height: 6px; top: 60%; left: 85%; animation-delay: -2s; }
.p-3 { width: 8px; height: 8px; top: 40%; left: 50%; animation-delay: -5s; opacity: 0.2; }

@keyframes float-particle {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(20px, -30px) scale(1.2); opacity: 0.6; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
}

.announcement-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.announcement-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.announcement-modal {
    position: relative;
    max-width: 680px;
    width: 92%;
    max-height: 85vh;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.announcement-modal-overlay.open .announcement-modal {
    transform: translateY(0) scale(1);
}

.announcement-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: none;
    background: rgba(255,255,255,0.9);
    color: var(--text-heading);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.announcement-modal-close:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

.announcement-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: none;
    background: rgba(255,255,255,0.9);
    color: var(--text-heading);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.announcement-modal-nav.prev { left: 1rem; }
.announcement-modal-nav.next { right: 1rem; }

.announcement-modal-nav:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.announcement-modal-content {
    overflow-y: auto;
    max-height: 85vh;
}

.modal-announcement-image {
    height: 260px;
    overflow: hidden;
}

.modal-announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-announcement-body {
    padding: 1.75rem 2rem 2rem;
}

.modal-announcement-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1.3;
}

.modal-announcement-text {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.75;
}

.announcement-modal-counter {
    text-align: center;
    padding: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    border-top: 1px solid var(--border-light);
    letter-spacing: 0.04em;
}

@media (max-width: 767.98px) {
    .carousel-3d {
        height: 380px;
        perspective: none;
    }
    .carousel-3d-card {
        width: min(320px, 84vw);
    }
    .carousel-3d-card.active {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 20px 60px rgba(6, 95, 70, 0.18);
    }
    .carousel-3d-card.prev,
    .carousel-3d-card.next {
        opacity: 0;
        pointer-events: none;
    }
    .carousel-3d-btn { width: 36px; height: 36px; font-size: 0.9rem; }
    .modal-announcement-body { padding: 1.25rem; }
    .modal-announcement-title { font-size: 1.2rem; }
}

/* ==============================
   IMPROVED TEXT CONTRAST
   ============================== */
.feature-card p,
.section-subtitle {
    color: var(--text-body);
}

.feature-card h4 {
    color: var(--text-heading);
    font-weight: 800;
}

.stat-label {
    color: var(--text-body);
    font-weight: 600;
}

/* ==============================
   DASHBOARD ENHANCEMENTS
   ============================== */

/* President Welcome Banner */
.president-welcome-banner {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), rgba(var(--primary-rgb), 0.1));
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.president-welcome-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.president-welcome-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.president-photo-wrap {
    position: relative;
    flex-shrink: 0;
}

.president-photo, .president-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.president-photo-placeholder {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.president-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(217,119,6,0.3);
    border: 2px solid white;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.president-message {
    flex: 1;
}

.president-greeting {
    font-size: 1.25rem;
    font-family: var(--font-display);
    color: var(--text-heading);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.president-name {
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 767.98px) {
    .president-welcome-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .president-greeting {
        font-size: 1.1rem;
    }
}

/* Circular Profile Photos */
.profile-photo-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
}

.profile-photo-circle, .profile-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
}

.profile-photo-placeholder {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.profile-role-tag {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.role-leader { background: linear-gradient(135deg, #fbbf24, #d97706); }  /* Gold */
.role-officer { background: linear-gradient(135deg, #38bdf8, #0284c7); } /* Blue */
.role-member { background: linear-gradient(135deg, var(--primary-500), var(--primary-700)); } /* Teal */

/* Hierarchy Role Tags */
.hierarchy-role-tag {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    color: white;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    z-index: 2;
}

.tag-president { background: linear-gradient(135deg, #fbbf24, #d97706); }
.tag-vice { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.tag-officer { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }

.member-avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}

.avatar-leader .member-avatar-circle,
.avatar-leader .avatar-placeholder {
    width: 75px;
    height: 75px;
    font-size: 2rem;
    border-width: 3px;
    border-color: #fef3c7;
}

.member-leader-card {
    background: linear-gradient(to right, rgba(251, 191, 36, 0.05), transparent);
    border-left: 4px solid #f59e0b;
}


/* Header Navbar User Photo */
.nav-user-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.nav-user-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-right: 0.5rem;
}

/* ==============================
   AUTH PAGES
   ============================== */
.auth-section {
    min-height: calc(100vh - 80px - 250px);
    display: flex;
    align-items: center;
    padding: 6rem 0;
    position: relative;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.08) 0%, transparent 40%),
                radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.05) 0%, transparent 40%);
}

.auth-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,161,140,0.05);
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.auth-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(0,161,140,0.15);
}

.auth-icon-verify { color: #f59e0b; background: rgba(245, 158, 11, 0.1); }
.auth-icon-signup { color: #3b82f6; background: rgba(59, 130, 246, 0.1); box-shadow: 0 10px 25px rgba(59,130,246,0.15); }

.auth-header h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2rem;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.auth-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.auth-form .form-control,
.auth-form .form-select {
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    border: 2px solid var(--border);
    background: #f8fafc;
    transition: all var(--duration-normal) var(--ease-out);
    font-size: 1rem;
    min-height: 54px;
}

.auth-form .form-control:focus,
.auth-form .form-select:focus {
    background: #ffffff;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.auth-submit-btn {
    border-radius: 12px !important;
    padding: 1rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1rem;
}

.btn-outline-auth {
    border: 2px solid rgba(14, 165, 233, 0.3);
    color: var(--primary-dark);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-weight: 600;
    transition: all var(--duration-normal) var(--ease-spring);
    background: white;
}

.btn-outline-auth:hover {
    background: var(--primary-50);
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.auth-alt-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s ease;
}

.auth-alt-link:hover {
    color: var(--primary);
}

/* Steps Indicator */
.steps-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.step span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.step.active .step-number {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px var(--primary-50);
}

.step.active span { color: var(--primary-dark); }

.step.completed .step-number {
    background: white;
    color: var(--primary);
    border-color: var(--primary);
}

.step.completed span { color: var(--primary); }

.step-line {
    flex-grow: 1;
    height: 3px;
    background: #e2e8f0;
    margin: 0 1rem;
    transform: translateY(-12px);
    z-index: 1;
    transition: all 0.3s ease;
}

.step-line.active { background: var(--primary); }

/* Dashboard Custom Buttons */
.btn-outline-teal {
    color: var(--primary);
    border-color: rgba(0, 161, 140, 0.4);
    background: transparent;
    transition: all 0.2s ease;
}

.btn-outline-teal:hover {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
}

/* =====================================================
   Premium Green Redesign Override
   White, light-green, smooth 3D association interface
   ===================================================== */
:root {
    --primary-50: #ecfdf5;
    --primary-100: #d1fae5;
    --primary-200: #a7f3d0;
    --primary-300: #6ee7b7;
    --primary-400: #34d399;
    --primary-500: #10b981;
    --primary-600: #059669;
    --primary-700: #047857;
    --primary-800: #065f46;
    --primary-900: #064e3b;
    --primary-rgb: 5, 150, 105;
    --primary: var(--primary-600);
    --primary-dark: var(--primary-900);
    --primary-light: var(--primary-300);
    --accent-mint: #13b981;
    --accent-cyan: #0ea5a3;
    --accent-gold: #d89d24;
    --bg-body: #f7fcf9;
    --bg-card: rgba(255, 255, 255, 0.84);
    --bg-muted: #edf8f1;
    --surface: #ffffff;
    --border: rgba(5, 150, 105, 0.16);
    --border-light: rgba(5, 150, 105, 0.09);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 34px;
    --radius-full: 999px;
    --duration-fast: 160ms;
    --duration-normal: 280ms;
    --duration-slow: 700ms;
    --font-display: var(--font-sans);
    --shadow-sm: 0 6px 16px rgba(6, 95, 70, 0.06);
    --shadow-md: 0 14px 36px rgba(6, 95, 70, 0.1);
    --shadow-lg: 0 24px 60px rgba(6, 95, 70, 0.14);
    --shadow-xl: 0 34px 90px rgba(6, 95, 70, 0.18);
    --shadow-glow: 0 18px 44px rgba(16, 185, 129, 0.26);
}

body {
    background:
        linear-gradient(180deg, rgba(236, 253, 245, 0.9), rgba(255, 255, 255, 0.84) 34%, rgba(240, 253, 244, 0.72)),
        radial-gradient(circle at 8% 4%, rgba(167, 243, 208, 0.42), transparent 28%),
        radial-gradient(circle at 92% 18%, rgba(187, 247, 208, 0.35), transparent 26%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(6, 95, 70, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 95, 70, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 72%);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.brand-logo {
    height: 130px;
    width: auto;
    object-fit: contain;
    margin-top: -30px;
    margin-bottom: -30px;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 10px 18px rgba(6, 95, 70, 0.12));
}

.footer-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.16));
}

.navbar-custom {
    background: rgba(255, 255, 255, 0.82) !important;
    border-bottom: 1px solid rgba(5, 150, 105, 0.12);
    box-shadow: 0 14px 40px rgba(6, 95, 70, 0.06);
}

.navbar-custom .nav-link {
    color: #12362b;
    background: transparent;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary-800) !important;
    background: rgba(209, 250, 229, 0.7);
    border-color: rgba(5, 150, 105, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 8px 22px rgba(6, 95, 70, 0.08);
}

.glass-card,
.filter-card,
.store-card,
.hierarchy-card,
.dashboard-card,
.detail-card,
.auth-card,
.empty-state,
.president-welcome-banner {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 255, 250, 0.78)) !important;
    border: 1px solid rgba(5, 150, 105, 0.14) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 24px 60px rgba(6, 95, 70, 0.1),
        0 8px 18px rgba(6, 95, 70, 0.05) !important;
    transform-style: preserve-3d;
}

.glass-card:hover,
.store-card:hover,
.hierarchy-card:hover,
.dashboard-card:hover,
.detail-card:hover,
.feature-card:hover,
.stat-card:hover {
    border-color: rgba(5, 150, 105, 0.28) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 34px 90px rgba(6, 95, 70, 0.16),
        0 0 0 1px rgba(167, 243, 208, 0.32) !important;
}

.btn-glow,
.btn-primary,
.auth-submit-btn {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700)) !important;
    border: 0 !important;
    color: #ffffff !important;
    box-shadow: 0 16px 32px rgba(5, 150, 105, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

.btn-glow:hover,
.btn-primary:hover,
.auth-submit-btn:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 24px 44px rgba(5, 150, 105, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.36) !important;
}

.btn-soft,
.btn-outline-primary,
.btn-login,
.btn-outline-auth,
.btn-outline-teal {
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1.5px solid rgba(5, 150, 105, 0.24) !important;
    color: var(--primary-800) !important;
    box-shadow: 0 12px 28px rgba(6, 95, 70, 0.08);
}

.btn-soft:hover,
.btn-outline-primary:hover,
.btn-login:hover,
.btn-outline-auth:hover,
.btn-outline-teal:hover {
    background: var(--primary-50) !important;
    color: var(--primary-900) !important;
    transform: translateY(-2px);
    border-color: rgba(5, 150, 105, 0.42) !important;
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700)) !important;
    color: #ffffff !important;
    border-color: rgba(5, 150, 105, 0.3) !important;
}

.btn-register:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800)) !important;
    color: #ffffff !important;
}

.hero-section {
    min-height: 92vh;
    background:
        radial-gradient(circle at 8% 18%, rgba(167, 243, 208, 0.42), transparent 24%),
        radial-gradient(circle at 84% 28%, rgba(220, 252, 231, 0.9), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f5fff9 46%, #ebfff4 100%);
}

.hero-section::before,
.page-header::before,
.content-section::before {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero-section::before {
    inset: 9% 5% auto auto;
    width: 44vw;
    height: 44vw;
    max-width: 620px;
    max-height: 620px;
    border: 1px solid rgba(5, 150, 105, 0.1);
    border-radius: 50%;
    background: conic-gradient(from 160deg, rgba(5, 150, 105, 0.18), transparent, rgba(167, 243, 208, 0.36), transparent);
    filter: blur(0.2px);
    animation: slow-orbit 18s linear infinite;
}

.public-hero-layout {
    text-align: left;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.48rem 0.9rem;
    margin-bottom: 1.15rem;
    color: var(--primary-800);
    background: rgba(209, 250, 229, 0.62);
    border: 1px solid rgba(5, 150, 105, 0.18);
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.public-hero-title,
.hero-title {
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    font-weight: 800;
    color: #0b2f25;
    line-height: 1.02;
    margin-bottom: 1.4rem;
    letter-spacing: 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-800));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.public-hero-copy,
.hero-subtitle {
    color: #416157;
    font-size: 1.12rem;
    max-width: 560px;
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.4rem;
}

.hero-actions .btn {
    border-radius: var(--radius-full);
    padding: 0.95rem 1.55rem;
}

.hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    color: #315449;
    font-weight: 700;
    font-size: 0.86rem;
}

.hero-trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.52rem 0.78rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(5, 150, 105, 0.12);
    border-radius: var(--radius-full);
    box-shadow: 0 10px 24px rgba(6, 95, 70, 0.06);
}

.hero-visual-shell {
    position: relative;
    max-width: 600px;
    margin-inline: auto;
    padding: 1rem;
    border-radius: 42px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(236, 253, 245, 0.58)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(16, 185, 129, 0.18));
    border: 1px solid rgba(5, 150, 105, 0.16);
    box-shadow: 0 40px 100px rgba(6, 95, 70, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: perspective(1200px) rotateX(2deg) rotateY(-5deg);
    transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out);
}

.hero-visual-shell:hover {
    transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateY(-6px);
    box-shadow: 0 50px 120px rgba(6, 95, 70, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.hero-visual-image {
    max-height: 640px;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 26px 42px rgba(6, 95, 70, 0.13));
}

.hero-float-card {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.72rem 0.95rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(5, 150, 105, 0.14);
    color: var(--primary-900);
    font-weight: 800;
    font-size: 0.82rem;
    box-shadow: 0 18px 42px rgba(6, 95, 70, 0.14);
    animation: hover-float 4.8s ease-in-out infinite;
}

.hero-float-card i {
    color: var(--primary-600);
}

.hero-float-card-one {
    left: 0.9rem;
    top: 14%;
}

.hero-float-card-two {
    right: 0.6rem;
    bottom: 18%;
    animation-delay: -1.7s;
}

.choice-card {
    color: var(--text-heading);
    background: rgba(255, 255, 255, 0.74);
    border-color: rgba(5, 150, 105, 0.14);
    box-shadow: 0 24px 60px rgba(6, 95, 70, 0.1);
}

.choice-card:hover {
    color: var(--text-heading);
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-10px) rotateX(4deg) scale(1.015);
}

.choice-icon,
.feature-icon-wrap,
.stat-icon,
.auth-icon {
    background: linear-gradient(135deg, rgba(209, 250, 229, 0.95), rgba(255, 255, 255, 0.86));
    border-color: rgba(5, 150, 105, 0.15);
    color: var(--primary-700);
}

.stats-section,
.features-section,
.announcements-section,
.cta-section,
.content-section,
.auth-section {
    position: relative;
    background: transparent;
}

.stats-section,
.features-section,
.announcements-section {
    padding: 5.5rem 0;
}

.stat-card,
.feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(240, 253, 244, 0.74));
    border-color: rgba(5, 150, 105, 0.13);
}

.stat-card:hover,
.feature-card:hover {
    transform: perspective(900px) translateY(-10px) rotateX(3deg);
}

.stat-number {
    background: linear-gradient(135deg, #0b2f25, var(--primary-600));
    background-clip: text;
    -webkit-background-clip: text;
}

.section-title {
    color: #0b2f25;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    letter-spacing: 0;
}

.section-subtitle {
    color: #49685e;
}

.page-header {
    background:
        radial-gradient(circle at 84% 12%, rgba(167, 243, 208, 0.34), transparent 26%),
        linear-gradient(135deg, var(--primary-900), var(--primary-700) 58%, #16a36f);
    border-bottom: 0;
    box-shadow: 0 28px 70px rgba(6, 95, 70, 0.18);
    overflow: hidden;
}

.page-header::before {
    inset: auto -8% -110% auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: conic-gradient(from 90deg, rgba(255, 255, 255, 0.22), transparent, rgba(209, 250, 229, 0.24), transparent);
}

.page-title {
    letter-spacing: 0;
}

.filter-card {
    border-radius: 26px;
}

.form-control,
.form-select,
.input-group-text {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(5, 150, 105, 0.17);
    border-radius: 14px;
}

.input-group .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group-text {
    color: var(--primary-700);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.13);
}

.store-card {
    border-radius: 28px;
}

.store-card-header {
    padding: 1.35rem 1.35rem 0;
}

.store-card-footer {
    padding: 0 1.35rem 1.35rem;
}

.store-avatar img,
.avatar-store,
.detail-avatar img {
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(6, 95, 70, 0.13);
}

.store-card:hover {
    transform: perspective(900px) translateY(-8px) rotateX(2deg);
}

.hierarchy-card {
    border-left: 0;
    border-radius: 28px;
    position: relative;
}

.hierarchy-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    border-radius: 28px 0 0 28px;
    background: linear-gradient(180deg, var(--primary-300), var(--primary-700));
}

.member-mini-card {
    background: rgba(255, 255, 255, 0.76);
    border-color: rgba(5, 150, 105, 0.12);
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(6, 95, 70, 0.06);
}

.member-mini-card:hover {
    background: var(--primary-50);
    border-color: rgba(5, 150, 105, 0.24);
    transform: translateX(4px) translateY(-2px);
}

.detail-card {
    border-radius: 32px;
}

.detail-item {
    background: rgba(240, 253, 244, 0.75);
    border-color: rgba(5, 150, 105, 0.12);
    border-radius: 16px;
}

.admin-section {
    background: rgba(255, 251, 235, 0.7);
    border-color: rgba(216, 157, 36, 0.24);
}

.dashboard-card,
.quick-link-card {
    border-radius: 26px;
}

.quick-link-card:hover {
    transform: translateY(-4px);
}

.cta-card {
    background:
        radial-gradient(circle at 86% 8%, rgba(167, 243, 208, 0.3), transparent 28%),
        linear-gradient(135deg, #064e3b, #047857 52%, #10b981) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}

.footer-custom {
    background:
        radial-gradient(circle at 10% 10%, rgba(167, 243, 208, 0.14), transparent 28%),
        linear-gradient(135deg, #052e22, #064e3b);
}

.carousel-3d-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(5, 150, 105, 0.14);
}

.carousel-3d-card.active {
    box-shadow: 0 44px 100px rgba(6, 95, 70, 0.22), 0 0 0 1px rgba(16, 185, 129, 0.22);
}

.carousel-card-image {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-200));
}

.carousel-3d-btn {
    border-color: rgba(5, 150, 105, 0.18);
    color: var(--primary-900);
}

.carousel-3d-btn:hover {
    background: var(--primary-600);
    border-color: var(--primary-600);
}

.badge.bg-primary-subtle,
.text-primary,
.hover-primary:hover {
    color: var(--primary-700) !important;
}

.bg-primary-subtle {
    background: var(--primary-50) !important;
}

@keyframes slow-orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes hover-float {
    0%, 100% { transform: translateY(0) translateZ(20px); }
    50% { transform: translateY(-12px) translateZ(34px); }
}

@media (max-width: 991.98px) {
    .brand-logo {
        height: 90px;
        margin-top: -18px;
        margin-bottom: -18px;
    }

    .public-hero-layout,
    .hero-content {
        text-align: center !important;
    }

    .public-hero-copy,
    .hero-subtitle {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-trust-strip {
        justify-content: center;
    }

    .hero-section::before {
        width: 70vw;
        height: 70vw;
        inset: 8% -18% auto auto;
    }
}

@media (max-width: 767.98px) {
    .public-hero-title,
    .hero-title {
        font-size: clamp(2.2rem, 12vw, 3.3rem);
    }

    .hero-section {
        min-height: auto;
    }

    .hero-visual-shell {
        border-radius: 28px;
        padding: 0.7rem;
        transform: none;
    }

    .hero-float-card {
        position: static;
        margin: 0.35rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-section,
    .features-section,
    .announcements-section {
        padding: 3.5rem 0;
    }
}

/* =====================================================
   Hero Fit Pass
   Keep the first-page experience fully visible on desktop
   and compact, readable, and ordered on mobile.
   ===================================================== */
@media (min-width: 992px) {
    body {
        padding-top: 86px;
    }

    .navbar-custom {
        padding: 0.38rem 0;
    }

    .brand-logo {
        height: 82px;
        margin-top: -8px;
        margin-bottom: -8px;
    }

    .navbar-custom .nav-link {
        padding: 0.38rem 0.95rem !important;
        font-size: 0.78rem;
    }

    .btn-login,
    .btn-register {
        padding: 0.48rem 1.25rem !important;
        border-radius: var(--radius-full) !important;
    }

    .hero-section {
        min-height: calc(100vh - 86px);
        margin-top: -86px;
        padding-top: 86px;
        align-items: center;
    }

    .hero-content {
        padding: 1.35rem 0 1.75rem;
    }

    .public-hero-layout {
        min-height: calc(100vh - 122px);
    }

    .hero-kicker {
        margin-bottom: 0.85rem;
        padding: 0.42rem 0.82rem;
        font-size: 0.72rem;
    }

    .public-hero-title,
    .hero-title {
        font-size: clamp(3.15rem, 4.65vw, 4.45rem);
        line-height: 1.01;
        margin-bottom: 1rem;
    }

    .public-hero-copy,
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 1.15rem;
        max-width: 520px;
    }

    .hero-actions {
        gap: 0.75rem;
        margin-bottom: 0.85rem;
    }

    .hero-actions .btn {
        padding: 0.78rem 1.28rem;
        font-size: 0.95rem;
    }

    .hero-trust-strip {
        gap: 0.5rem;
        font-size: 0.76rem;
    }

    .hero-trust-strip span {
        padding: 0.42rem 0.65rem;
    }

    .hero-visual-shell {
        max-width: min(520px, 42vw);
        padding: 0.72rem;
        border-radius: 32px;
    }

    .hero-visual-image {
        max-height: min(54vh, 500px);
    }

    .hero-float-card {
        padding: 0.58rem 0.78rem;
        font-size: 0.74rem;
    }
}

@media (min-width: 1400px) {
    .public-hero-title,
    .hero-title {
        font-size: clamp(3.35rem, 4.25vw, 4.85rem);
    }

    .hero-visual-shell {
        max-width: min(600px, 43vw);
    }

    .hero-visual-image {
        max-height: min(58vh, 560px);
    }
}

@media (max-width: 991.98px) {
    body {
        padding-top: 72px;
    }

    .navbar-custom {
        padding: 0.35rem 0;
    }

    .brand-logo {
        height: 70px;
        margin-top: -8px;
        margin-bottom: -8px;
    }

    .navbar-collapse {
        padding: 0.75rem 0 0.35rem;
    }

    .navbar-custom .nav-link,
    .btn-login,
    .btn-register {
        width: 100%;
        justify-content: center;
        margin: 0.18rem 0;
    }

    .hero-section {
        margin-top: -72px;
        padding-top: 72px;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    .hero-section > .container {
        width: 100%;
    }

    .hero-content {
        padding: 2rem 0 2.5rem;
    }

    .hero-kicker {
        font-size: 0.68rem;
        padding: 0.38rem 0.72rem;
        margin-bottom: 1rem;
    }

    .public-hero-title,
    .hero-title {
        font-size: clamp(2.35rem, 10vw, 3.45rem);
        line-height: 1.08;
        margin-bottom: 1rem;
    }

    .public-hero-copy,
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 1.25rem;
    }

    .hero-actions {
        margin-bottom: 1rem;
    }

    .hero-visual-shell {
        max-width: 520px;
        margin-top: 1.5rem;
    }

    .hero-visual-image {
        max-height: 420px;
    }

    .carousel-3d {
        height: 400px;
        perspective: none;
    }

    .carousel-3d-card {
        width: min(340px, 85vw);
    }

    .carousel-3d-card.active {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 20px 60px rgba(6, 95, 70, 0.18);
    }

    .carousel-3d-card.prev,
    .carousel-3d-card.next {
        opacity: 0;
        pointer-events: none;
    }

    .carousel-3d-card.far-prev,
    .carousel-3d-card.far-next {
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 575.98px) {
    body {
        padding-top: 66px;
    }

    .brand-logo {
        height: 58px;
        margin-top: -6px;
        margin-bottom: -6px;
    }

    .hero-section {
        margin-top: -66px;
        padding-top: 66px;
        min-height: 100vh;
    }

    .hero-content {
        padding: 1.5rem 0 2rem;
    }

    .public-hero-title,
    .hero-title {
        font-size: clamp(2rem, 11vw, 2.75rem);
        line-height: 1.08;
        margin-bottom: 0.9rem;
    }

    .hero-kicker {
        max-width: 100%;
        justify-content: center;
        white-space: normal;
        letter-spacing: 0.05em;
        margin-bottom: 0.9rem;
    }

    .public-hero-copy,
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-actions {
        gap: 0.55rem;
        margin-bottom: 0.85rem;
    }

    .hero-actions .btn {
        padding: 0.72rem 1rem;
        font-size: 0.9rem;
    }

    .hero-trust-strip {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.45rem;
        font-size: 0.76rem;
    }

    .hero-trust-strip span {
        justify-content: center;
        padding: 0.42rem 0.65rem;
    }

    .hero-visual-shell {
        max-width: 92vw;
        border-radius: 22px;
        margin-top: 1.25rem;
    }

    .hero-visual-image {
        max-height: 280px;
    }

    .carousel-3d {
        height: 380px;
    }

    .carousel-3d-card {
        width: min(300px, 82vw);
    }

    .carousel-3d-card.active {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* =====================================================
   Premium Announcement Carousel
   Larger desktop stage, intentional glass depth, and a
   full announcement reader modal.
   ===================================================== */
.announcements-section {
    padding: 6.25rem 0 5.25rem;
    min-height: auto;
    background:
        linear-gradient(rgba(5, 150, 105, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(5, 150, 105, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 16% 72%, rgba(167, 243, 208, 0.34), transparent 19%),
        radial-gradient(circle at 86% 22%, rgba(186, 230, 253, 0.28), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 253, 244, 0.68));
    background-size: 48px 48px, 48px 48px, auto, auto, auto;
}

.announcements-section .section-header {
    margin-bottom: 2.4rem;
}

.carousel-3d {
    height: 560px;
    max-width: 1220px;
    perspective: 1700px;
}

.carousel-3d::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 54px;
    width: min(760px, 70vw);
    height: 90px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(6, 95, 70, 0.16), transparent 70%);
    filter: blur(18px);
    pointer-events: none;
}

.carousel-3d-track {
    transform-style: preserve-3d;
}

.carousel-3d-card {
    width: 450px;
    min-height: 430px;
    border-radius: 34px;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.84), rgba(240, 253, 244, 0.52)),
        rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(5, 150, 105, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 32px 80px rgba(6, 95, 70, 0.12);
}

.carousel-3d-card.active {
    transform: translate(-50%, -50%) rotateY(0deg) translateZ(170px) scale(1.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 48px 110px rgba(6, 95, 70, 0.23),
        0 0 0 1px rgba(16, 185, 129, 0.28);
}

.carousel-3d-card.prev {
    transform: translate(calc(-50% - 360px), -50%) rotateY(28deg) translateZ(-70px) scale(0.86);
    opacity: 0.58;
}

.carousel-3d-card.next {
    transform: translate(calc(-50% + 360px), -50%) rotateY(-28deg) translateZ(-70px) scale(0.86);
    opacity: 0.58;
}

.carousel-3d-card.far-prev {
    transform: translate(calc(-50% - 560px), -50%) rotateY(44deg) translateZ(-170px) scale(0.68);
}

.carousel-3d-card.far-next {
    transform: translate(calc(-50% + 560px), -50%) rotateY(-44deg) translateZ(-170px) scale(0.68);
}

.carousel-card-image {
    height: 205px;
    background:
        radial-gradient(circle at 52% 34%, rgba(16, 185, 129, 0.26), transparent 11%),
        linear-gradient(145deg, rgba(236, 253, 245, 0.84), rgba(255, 255, 255, 0.44));
    border-bottom: 1px solid rgba(5, 150, 105, 0.08);
}

.carousel-card-image img {
    filter: saturate(1.04) contrast(1.02);
}

.carousel-card-placeholder {
    color: rgba(5, 150, 105, 0.32);
    font-size: 3.8rem;
}

.carousel-card-body {
    padding: 1.45rem 1.65rem 1.7rem;
}

.announcement-title {
    font-size: 1.18rem;
    line-height: 1.28;
}

.announcement-content {
    font-size: 0.94rem;
    color: #4a5f73;
}

.read-more-hint {
    opacity: 1;
    transform: none;
    margin-top: 1rem;
    color: var(--primary-700);
    font-size: 0.9rem;
}

.carousel-3d-btn {
    width: 62px;
    height: 62px;
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(5, 150, 105, 0.18);
    box-shadow: 0 24px 56px rgba(6, 95, 70, 0.14);
}

.carousel-3d-btn.prev {
    left: 4.5rem;
}

.carousel-3d-btn.next {
    right: 4.5rem;
}

.carousel-3d-dots {
    bottom: 28px;
}

.announcement-modal-overlay {
    background:
        radial-gradient(circle at 18% 16%, rgba(167, 243, 208, 0.28), transparent 30%),
        rgba(5, 34, 26, 0.72);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    padding: 2rem;
}

.announcement-modal {
    width: min(1120px, 94vw);
    max-width: none;
    max-height: 88vh;
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(236, 253, 245, 0.78));
    border: 1px solid rgba(209, 250, 229, 0.56);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 44px 120px rgba(0, 0, 0, 0.34);
}

.announcement-modal-content {
    max-height: 88vh;
}

.announcement-modal-content:has(.modal-announcement-image) {
    display: grid;
    grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
    align-items: stretch;
}

.modal-announcement-image {
    height: auto;
    min-height: 560px;
    background: var(--primary-50);
}

.modal-announcement-image img {
    object-fit: cover;
}

.modal-announcement-body {
    padding: 3.4rem 3.6rem 3.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-announcement-title {
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.08;
    color: #082f25;
    margin-bottom: 1.25rem;
}

.modal-announcement-text {
    font-size: 1.08rem;
    color: #334155;
    line-height: 1.85;
}

.announcement-modal-close {
    width: 46px;
    height: 46px;
    top: 1.25rem;
    right: 1.25rem;
}

.announcement-modal-nav {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.86);
    color: var(--primary-900);
    border: 1px solid rgba(5, 150, 105, 0.14);
    box-shadow: 0 16px 38px rgba(6, 95, 70, 0.18);
}

.announcement-modal-nav.prev {
    left: 1.25rem;
}

.announcement-modal-nav.next {
    right: 1.25rem;
}

.announcement-modal-nav:hover {
    transform: translateY(-50%) scale(1.08);
}

.announcement-modal-counter {
    position: absolute;
    right: 1.5rem;
    bottom: 1.2rem;
    border: 0;
    padding: 0.45rem 0.78rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.74);
    color: var(--primary-800);
    box-shadow: 0 10px 28px rgba(6, 95, 70, 0.12);
}

.announcement-modal-overlay.no-image .announcement-modal {
    width: min(1050px, 90vw);
}

.announcement-modal-overlay.no-image .announcement-modal-content {
    min-height: 390px;
    display: flex;
    align-items: center;
}

.announcement-modal-overlay.no-image .modal-announcement-body {
    width: 100%;
    padding: 4rem 7rem 4.3rem;
}

.announcement-modal-overlay.no-image .modal-announcement-title,
.announcement-modal-overlay.no-image .modal-announcement-text,
.announcement-modal-overlay.no-image .announcement-meta {
    max-width: 820px;
}

.announcement-modal-overlay.no-image .announcement-modal-nav {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.9);
}

.announcement-modal-overlay.no-image .announcement-modal-nav.prev {
    left: 1.4rem;
}

.announcement-modal-overlay.no-image .announcement-modal-nav.next {
    right: 1.4rem;
}

@media (max-width: 1199.98px) {
    .carousel-3d {
        max-width: 960px;
        height: 520px;
    }

    .carousel-3d-card {
        width: 400px;
    }

    .carousel-3d-card.prev {
        transform: translate(calc(-50% - 300px), -50%) rotateY(24deg) translateZ(-70px) scale(0.82);
    }

    .carousel-3d-card.next {
        transform: translate(calc(-50% + 300px), -50%) rotateY(-24deg) translateZ(-70px) scale(0.82);
    }

    .carousel-3d-btn.prev {
        left: 1rem;
    }

    .carousel-3d-btn.next {
        right: 1rem;
    }
}

@media (max-width: 991.98px) {
    .carousel-3d {
        height: 460px;
        max-width: 100%;
        perspective: none;
    }

    .carousel-3d-card {
        width: min(360px, 85vw);
        min-height: 400px;
    }

    .carousel-3d-card.active {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 20px 60px rgba(6, 95, 70, 0.18);
    }

    .carousel-3d-card.prev,
    .carousel-3d-card.next {
        opacity: 0;
        pointer-events: none;
    }

    .carousel-3d-card.far-prev,
    .carousel-3d-card.far-next {
        opacity: 0;
        pointer-events: none;
    }

    .announcement-modal-content:has(.modal-announcement-image) {
        display: block;
    }

    .modal-announcement-image {
        min-height: 260px;
        height: 34vh;
    }

    .modal-announcement-body {
        padding: 2rem 1.5rem 4.2rem;
    }

    .announcement-modal-overlay.no-image .modal-announcement-body {
        padding: 2.4rem 4.8rem 4.6rem;
    }
}

@media (max-width: 575.98px) {
    .announcements-section {
        padding: 3.5rem 0 3.2rem;
    }

    .carousel-3d {
        height: 420px;
        perspective: none;
    }

    .carousel-3d-card {
        width: min(300px, 84vw);
        min-height: 370px;
        border-radius: 26px;
    }

    .carousel-3d-card.active {
        transform: translate(-50%, -50%) scale(1);
    }

    .carousel-card-image {
        height: 170px;
    }

    .carousel-card-body {
        padding: 1.1rem 1.2rem 1.35rem;
    }

    .carousel-3d-card.prev,
    .carousel-3d-card.next,
    .carousel-3d-card.far-prev,
    .carousel-3d-card.far-next {
        opacity: 0;
        pointer-events: none;
    }

    .carousel-3d-btn {
        width: 42px;
        height: 42px;
    }

    .carousel-3d-btn.prev {
        left: 0.25rem;
    }

    .carousel-3d-btn.next {
        right: 0.25rem;
    }

    .announcement-modal-overlay {
        padding: 0.75rem;
        align-items: flex-start;
        overflow-y: auto;
    }

    .announcement-modal {
        width: 100%;
        max-height: none;
        border-radius: 24px;
        margin: 1rem 0;
    }

    .announcement-modal-content {
        max-height: none;
    }

    .modal-announcement-image {
        height: 220px;
        min-height: 220px;
    }

    .modal-announcement-title {
        font-size: 1.65rem;
    }

    .modal-announcement-text {
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .announcement-modal-nav {
        top: auto;
        bottom: 1.1rem;
        transform: none;
    }

    .announcement-modal-nav:hover {
        transform: scale(1.05);
    }

    .announcement-modal-nav.prev {
        left: 1rem;
    }

    .announcement-modal-nav.next {
        right: 1rem;
    }

    .announcement-modal-counter {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .announcement-modal-overlay.no-image .announcement-modal {
        width: 100%;
    }

    .announcement-modal-overlay.no-image .announcement-modal-content {
        min-height: 420px;
        display: block;
    }

    .announcement-modal-overlay.no-image .modal-announcement-body {
        padding: 2rem 1.25rem 5.25rem;
    }
}

/* =====================================================
   Impact Stats Section
   Make association scale feel memorable and credible.
   ===================================================== */
.stats-section {
    padding: 7rem 0 6.5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 22%, rgba(16, 185, 129, 0.16), transparent 22%),
        radial-gradient(circle at 86% 72%, rgba(14, 165, 163, 0.13), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(236, 253, 245, 0.82));
}

.stats-section::before {
    content: "";
    position: absolute;
    inset: 5rem auto auto 50%;
    width: min(980px, 86vw);
    height: min(980px, 86vw);
    transform: translateX(-50%);
    border-radius: 50%;
    background: repeating-conic-gradient(from 18deg, rgba(5, 150, 105, 0.09) 0 8deg, transparent 8deg 18deg);
    mask-image: radial-gradient(circle, transparent 0 42%, black 43% 44%, transparent 45%);
    -webkit-mask-image: radial-gradient(circle, transparent 0 42%, black 43% 44%, transparent 45%);
    opacity: 0.7;
    animation: slow-orbit 36s linear infinite;
    pointer-events: none;
}

.stats-impact-header {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto 2.6rem;
    text-align: center;
}

.stats-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.46rem 0.86rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-full);
    color: var(--primary-800);
    background: rgba(209, 250, 229, 0.72);
    border: 1px solid rgba(5, 150, 105, 0.18);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stats-impact-header h2 {
    color: #082f25;
    font-size: clamp(2rem, 4vw, 3.55rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 0.85rem;
    letter-spacing: 0;
}

.stats-impact-header p {
    color: #49685e;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 auto;
    max-width: 640px;
}

.stat-card-impact {
    min-height: 390px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(236, 253, 245, 0.72)),
        radial-gradient(circle at 78% 14%, rgba(16, 185, 129, 0.18), transparent 28%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 34px 90px rgba(6, 95, 70, 0.14),
        0 12px 28px rgba(6, 95, 70, 0.08) !important;
}

.stat-card-impact::before {
    content: "";
    position: absolute;
    inset: 1.1rem;
    border-radius: 30px;
    border: 1px solid rgba(5, 150, 105, 0.1);
    pointer-events: none;
    z-index: -1;
}

.stat-card-impact::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    right: -74px;
    top: -74px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 243, 208, 0.52), rgba(16, 185, 129, 0.04) 62%, transparent 63%);
    filter: blur(1px);
    z-index: -2;
}

.stat-card-impact:hover {
    transform: perspective(1000px) translateY(-12px) rotateX(3deg) !important;
}

.stat-card-impact .stat-card-orbit {
    position: absolute;
    top: 1.7rem;
    right: 1.7rem;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    border: 1px dashed rgba(5, 150, 105, 0.25);
    animation: slow-orbit 20s linear infinite;
}

.stat-card-impact .stat-card-orbit::before,
.stat-card-impact .stat-card-orbit::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: var(--primary-500);
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.45);
}

.stat-card-impact .stat-card-orbit::before {
    width: 12px;
    height: 12px;
    top: 8px;
    left: 18px;
}

.stat-card-impact .stat-card-orbit::after {
    width: 8px;
    height: 8px;
    right: 10px;
    bottom: 20px;
    opacity: 0.55;
}

.stat-card-impact .stat-icon {
    position: absolute;
    top: 2.65rem;
    left: 2rem;
    width: 74px;
    height: 74px;
    margin: 0;
    border-radius: 24px;
    font-size: 1.75rem;
    color: var(--primary-800);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(209, 250, 229, 0.78));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 18px 44px rgba(6, 95, 70, 0.12);
}

.stat-number-wrap {
    display: flex;
    align-items: flex-start;
    gap: 0.15rem;
    margin-bottom: 0.25rem;
}

.stat-card-impact .stat-number {
    font-size: clamp(4.2rem, 7vw, 6.7rem);
    line-height: 0.88;
    letter-spacing: 0;
    background: linear-gradient(135deg, #052e22 10%, #059669 70%, #34d399);
    background-clip: text;
    -webkit-background-clip: text;
    filter: drop-shadow(0 16px 26px rgba(6, 95, 70, 0.12));
}

.stat-plus {
    color: var(--primary-600);
    font-size: 2.1rem;
    line-height: 1;
    font-weight: 800;
    margin-top: 0.35rem;
}

.stat-card-impact .stat-label {
    color: #102f29;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
}

.stat-caption {
    color: #5f716c;
    font-size: 0.9rem;
    line-height: 1.55;
    font-weight: 600;
    min-height: 2.8rem;
}

.stat-meter {
    height: 8px;
    margin-top: 1.3rem;
    border-radius: var(--radius-full);
    background: rgba(6, 95, 70, 0.08);
    overflow: hidden;
}

.stat-meter span {
    display: block;
    width: var(--meter);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary-300), var(--primary-700));
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.42);
}

@media (max-width: 991.98px) {
    .stats-section {
        padding: 5rem 0 4.4rem;
    }

    .stat-card-impact {
        min-height: 330px;
    }

    .stat-card-impact .stat-number {
        font-size: clamp(3.6rem, 12vw, 5rem);
    }
}

@media (max-width: 767.98px) {
    .stats-impact-header {
        margin-bottom: 1.5rem;
    }

    .stats-impact-header h2 {
        font-size: 2rem;
    }

    .stats-impact-header p {
        font-size: 0.94rem;
    }

    .stat-card-impact {
        min-height: 295px;
        padding: 1.45rem;
        border-radius: 28px;
    }

    .stat-card-impact .stat-icon {
        top: 1.55rem;
        left: 1.45rem;
        width: 58px;
        height: 58px;
        border-radius: 18px;
        font-size: 1.35rem;
    }

    .stat-card-impact .stat-card-orbit {
        width: 88px;
        height: 88px;
        top: 1.3rem;
        right: 1.3rem;
    }

    .stat-caption {
        min-height: 0;
    }
}

/* =====================================================
   Unified Section Rhythm
   Consistent typography, compact desktop spacing, and a
   single premium visual language across homepage sections.
   ===================================================== */
:root {
    --section-pad-y: 4.75rem;
    --section-title-size: clamp(2rem, 2.45vw, 2.7rem);
    --section-title-line: 1.08;
    --section-copy-size: 0.98rem;
}

.announcements-section,
.stats-section,
.features-section {
    padding-top: var(--section-pad-y) !important;
    padding-bottom: var(--section-pad-y) !important;
}

.section-header,
.stats-impact-header {
    max-width: 720px;
    margin: 0 auto 2rem !important;
    text-align: center;
}

.section-title,
.stats-impact-header h2,
.cta-card h2 {
    color: #082f25;
    font-size: var(--section-title-size) !important;
    line-height: var(--section-title-line) !important;
    font-weight: 800;
    letter-spacing: 0 !important;
    margin-bottom: 0.65rem;
}

.section-title .gradient-text,
.stats-impact-header h2 .gradient-text {
    background: linear-gradient(135deg, #082f25 0%, var(--primary-600) 78%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle,
.stats-impact-header p {
    color: #526b62 !important;
    font-size: var(--section-copy-size) !important;
    line-height: 1.55;
    font-weight: 600 !important;
    max-width: 620px;
    margin-inline: auto;
}

.stats-eyebrow,
.hero-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.07em;
}

.announcements-section .section-title i {
    color: var(--primary-600) !important;
    font-size: 0.9em !important;
}

.stats-section {
    min-height: auto;
}

.stats-section::before {
    width: min(760px, 70vw);
    height: min(760px, 70vw);
    inset: 7.25rem auto auto 50%;
    opacity: 0.46;
}

.stat-card-impact {
    min-height: 310px;
    padding: 1.55rem;
    border-radius: 28px;
}

.stat-card-impact .stat-icon {
    top: 1.55rem;
    left: 1.55rem;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.35rem;
}

.stat-card-impact .stat-card-orbit {
    top: 1.25rem;
    right: 1.25rem;
    width: 92px;
    height: 92px;
}

.stat-card-impact .stat-number {
    font-size: clamp(3.8rem, 4.8vw, 5.25rem);
}

.stat-card-impact .stat-label {
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
}

.stat-caption,
.feature-card p,
.announcement-content {
    font-size: 0.84rem;
}

.stat-caption {
    min-height: 2.55rem;
}

.stat-meter {
    height: 6px;
    margin-top: 1rem;
}

.feature-card {
    padding: 1.65rem;
    border-radius: 26px;
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 17px;
    font-size: 1.22rem;
    margin-bottom: 1.2rem;
}

.feature-card h4 {
    font-size: 0.98rem;
}

.carousel-3d {
    height: 500px;
}

.carousel-3d-card {
    width: 400px;
    min-height: 390px;
}

.carousel-card-image {
    height: 180px;
}

.announcement-title {
    font-size: 1.02rem;
}

.carousel-card-body {
    padding: 1.2rem 1.35rem 1.35rem;
}

@media (min-width: 1400px) {
    :root {
        --section-pad-y: 4.4rem;
        --section-title-size: 2.55rem;
    }

    .stats-section .container,
    .features-section .container {
        max-width: 1180px;
    }
}

@media (max-width: 991.98px) {
    :root {
        --section-pad-y: 3.5rem;
        --section-title-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .section-header,
    .stats-impact-header {
        margin-bottom: 1.5rem !important;
    }

    .stat-card-impact {
        min-height: 285px;
    }

    .carousel-3d {
        height: 460px;
        perspective: none;
    }

    .carousel-3d-card.active {
        transform: translate(-50%, -50%) scale(1);
    }

    .carousel-3d-card.prev,
    .carousel-3d-card.next,
    .carousel-3d-card.far-prev,
    .carousel-3d-card.far-next {
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 575.98px) {
    :root {
        --section-pad-y: 3rem;
        --section-copy-size: 0.9rem;
    }

    .stat-card-impact {
        min-height: 270px;
    }

    .stat-card-impact .stat-number {
        font-size: 3.45rem;
    }
}

/* =====================================================
   Hero Network Map Refresh
   Replace single-store feeling with a transparent Odisha
   medical network composition and better left alignment.
   ===================================================== */
.hero-text-stack {
    max-width: 650px;
    padding-left: clamp(0rem, 2.2vw, 2.3rem);
}

.hero-text-stack .hero-kicker {
    margin-bottom: 1.05rem;
}

.hero-text-stack .public-hero-title {
    max-width: 640px;
}

.hero-text-stack .public-hero-copy {
    max-width: 590px;
}

.hero-network-shell {
    padding: 1.25rem;
    border-radius: 42px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(236, 253, 245, 0.48)),
        radial-gradient(circle at 70% 14%, rgba(16, 185, 129, 0.18), transparent 34%);
    overflow: hidden;
}

.hero-network-shell::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border-radius: 34px;
    background:
        linear-gradient(rgba(5, 150, 105, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(5, 150, 105, 0.05) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, black 0 58%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at center, black 0 58%, transparent 78%);
    pointer-events: none;
    z-index: 0;
}

.hero-network-shell::after {
    content: "ODISHA NETWORK";
    position: absolute;
    left: 2rem;
    bottom: 1.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(5, 150, 105, 0.14);
    color: rgba(6, 95, 70, 0.78);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    z-index: 4;
    box-shadow: 0 14px 34px rgba(6, 95, 70, 0.1);
}

.hero-network-shell .hero-visual-image {
    position: relative;
    z-index: 2;
    max-height: 560px;
    border-radius: 30px;
    opacity: 0.92;
    mix-blend-mode: multiply;
    filter:
        saturate(0.92)
        contrast(1.02)
        drop-shadow(0 26px 42px rgba(6, 95, 70, 0.16));
}

.odisha-network-map {
    position: absolute;
    inset: 5% 2% 0 auto;
    width: 58%;
    height: 96%;
    z-index: 1;
    opacity: 0.62;
    pointer-events: none;
}

.odisha-network-map svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.odisha-network-map path {
    fill: rgba(209, 250, 229, 0.32);
    stroke: rgba(5, 150, 105, 0.28);
    stroke-width: 3;
    filter: drop-shadow(0 22px 34px rgba(6, 95, 70, 0.13));
}

.map-node {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--primary-500);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.14), 0 0 26px rgba(16, 185, 129, 0.5);
    animation: pulse-map-node 2.8s ease-in-out infinite;
}

.node-one {
    top: 26%;
    left: 46%;
}

.node-two {
    top: 52%;
    left: 68%;
    animation-delay: -0.9s;
}

.node-three {
    top: 71%;
    left: 42%;
    animation-delay: -1.8s;
}

.map-line {
    position: absolute;
    height: 2px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(5, 150, 105, 0), rgba(5, 150, 105, 0.46), rgba(5, 150, 105, 0));
}

.line-one {
    top: 38%;
    left: 48%;
    width: 120px;
    transform: rotate(30deg);
}

.line-two {
    top: 62%;
    left: 46%;
    width: 140px;
    transform: rotate(-22deg);
}

.hero-float-card-three {
    left: 52%;
    top: 8%;
    animation-delay: -2.8s;
}

@keyframes pulse-map-node {
    0%, 100% { transform: scale(1); opacity: 0.82; }
    50% { transform: scale(1.28); opacity: 1; }
}

@media (min-width: 992px) {
    .hero-text-stack {
        transform: translateY(0.35rem);
    }

    .hero-network-shell {
        max-width: min(620px, 45vw);
    }

    .hero-network-shell .hero-visual-image {
        max-height: min(56vh, 560px);
    }
}

@media (max-width: 991.98px) {
    .hero-text-stack {
        max-width: 680px;
        margin-inline: auto;
        padding-left: 0;
    }

    .hero-network-shell .hero-visual-image {
        mix-blend-mode: normal;
    }

    .odisha-network-map {
        width: 70%;
        right: -8%;
        opacity: 0.46;
    }
}

@media (max-width: 575.98px) {
    .hero-network-shell {
        padding: 0.75rem;
    }

    .hero-network-shell::after {
        left: 1rem;
        bottom: 1rem;
        font-size: 0.58rem;
    }

    .hero-float-card-three {
        display: none;
    }

    .odisha-network-map {
        inset: 2% -18% 0 auto;
        width: 88%;
    }
}

/* =====================================================
   Premium Odisha Map Hero
   Reference-inspired map composition with current glass
   animation language.
   ===================================================== */
.hero-map-shell {
    min-height: 580px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 58% 45%, rgba(219, 234, 254, 0.72), transparent 42%),
        radial-gradient(circle at 70% 72%, rgba(167, 243, 208, 0.42), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(236, 253, 245, 0.36));
}

.hero-map-shell::before {
    background:
        linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(5, 150, 105, 0.045) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.8;
}

.hero-map-shell::after {
    content: "ODISHA MEDICAL NETWORK";
    left: 2.2rem;
    bottom: 1.5rem;
    color: rgba(4, 120, 87, 0.82);
}

.hero-map-shell .hero-odisha-map {
    inset: 2.4rem 1.4rem 2.4rem auto;
    width: 82%;
    height: auto;
    opacity: 1;
    filter: drop-shadow(0 30px 45px rgba(37, 99, 235, 0.12));
}

.hero-odisha-map svg {
    transform: rotate(-3deg);
}

.hero-odisha-map .odisha-shape {
    fill: url(#odishaMapFill);
    stroke: rgba(59, 130, 246, 0.44);
    stroke-width: 3.5;
}

.hero-odisha-map .district-line {
    fill: none;
    stroke: rgba(59, 130, 246, 0.22);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 8 9;
    animation: district-flow 7s linear infinite;
}

.hero-store-preview {
    position: absolute;
    right: 1.65rem;
    bottom: 2.2rem;
    width: 46%;
    max-width: 340px;
    z-index: 4;
    border-radius: 28px;
    padding: 0.65rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(5, 150, 105, 0.16);
    box-shadow:
        0 32px 70px rgba(6, 95, 70, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
}

.hero-store-preview .hero-visual-image {
    display: block;
    width: 100%;
    max-height: none;
    border-radius: 22px;
    mix-blend-mode: normal;
    opacity: 0.96;
}

.map-central-pin {
    position: absolute;
    left: 54%;
    top: 47%;
    z-index: 5;
    width: 72px;
    height: 72px;
    border-radius: 26px 26px 26px 6px;
    transform: translate(-50%, -50%) rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--primary-400), var(--primary-700));
    color: white;
    box-shadow:
        0 22px 40px rgba(5, 150, 105, 0.28),
        0 0 0 12px rgba(16, 185, 129, 0.12);
    animation: map-pin-float 4s ease-in-out infinite;
}

.map-central-pin i {
    transform: rotate(45deg);
    font-size: 2.1rem;
    font-weight: 800;
}

.hero-map-shell .map-node {
    width: 12px;
    height: 12px;
    background: #2563eb;
    box-shadow:
        0 0 0 7px rgba(37, 99, 235, 0.12),
        0 0 24px rgba(37, 99, 235, 0.42);
}

.hero-map-shell .node-one { top: 19%; left: 40%; }
.hero-map-shell .node-two { top: 31%; left: 61%; }
.hero-map-shell .node-three { top: 47%; left: 35%; }
.hero-map-shell .node-four { top: 59%; left: 55%; animation-delay: -0.45s; }
.hero-map-shell .node-five { top: 67%; left: 27%; animation-delay: -0.9s; }
.hero-map-shell .node-six { top: 41%; left: 74%; animation-delay: -1.3s; }
.hero-map-shell .node-seven { top: 25%; left: 78%; animation-delay: -1.8s; }
.hero-map-shell .node-eight { top: 74%; left: 45%; animation-delay: -2.3s; }

.hero-map-shell .map-line {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.44), rgba(5, 150, 105, 0));
}

.hero-map-shell .line-one {
    top: 36%;
    left: 42%;
    width: 210px;
    transform: rotate(14deg);
}

.hero-map-shell .line-two {
    top: 57%;
    left: 36%;
    width: 245px;
    transform: rotate(-11deg);
}

.hero-map-shell .line-three {
    top: 49%;
    left: 52%;
    width: 175px;
    transform: rotate(47deg);
}

@keyframes district-flow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -34; }
}

@keyframes map-pin-float {
    0%, 100% { transform: translate(-50%, -50%) rotate(-45deg) translateY(0); }
    50% { transform: translate(-50%, -50%) rotate(-45deg) translateY(-10px); }
}

@media (min-width: 992px) {
    .hero-map-shell {
        max-width: min(680px, 48vw);
        min-height: min(62vh, 610px);
    }
}

@media (max-width: 991.98px) {
    .hero-map-shell {
        min-height: 470px;
    }

    .hero-map-shell .hero-odisha-map {
        width: 92%;
        inset: 1rem -4% 1rem auto;
    }

    .hero-store-preview {
        width: 44%;
        right: 1rem;
        bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-map-shell {
        min-height: 340px;
        border-radius: 24px;
    }

    .hero-map-shell .hero-odisha-map {
        width: 112%;
        inset: 0 -18% 0 auto;
    }

    .hero-store-preview {
        width: 48%;
        right: 0.7rem;
        bottom: 0.9rem;
        border-radius: 18px;
        padding: 0.4rem;
    }

    .hero-store-preview .hero-visual-image {
        border-radius: 14px;
    }

    .map-central-pin {
        width: 50px;
        height: 50px;
        border-radius: 18px 18px 18px 5px;
    }

    .map-central-pin i {
        font-size: 1.45rem;
    }

    .hero-map-shell .map-node {
        width: 9px;
        height: 9px;
    }
}

/* Real Odisha outline asset */
.hero-map-shell .hero-odisha-map {
    inset: 1.35rem auto 1.9rem 1.25rem;
    width: 76%;
    height: 84%;
}

.odisha-real-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0.94;
    filter:
        drop-shadow(0 24px 36px rgba(37, 99, 235, 0.13))
        drop-shadow(0 0 28px rgba(96, 165, 250, 0.2));
}

.hero-odisha-map::before,
.hero-odisha-map::after {
    content: "";
    position: absolute;
    z-index: 1;
    border: 2px dashed rgba(37, 99, 235, 0.22);
    border-radius: 54% 46% 56% 44%;
    pointer-events: none;
    animation: slow-orbit 26s linear infinite;
}

.hero-odisha-map::before {
    inset: 18% 24% 16% 22%;
}

.hero-odisha-map::after {
    inset: 30% 16% 26% 34%;
    animation-duration: 34s;
    animation-direction: reverse;
}

.hero-odisha-map svg,
.hero-odisha-map .odisha-shape,
.hero-odisha-map .district-line {
    display: none;
}

.hero-map-shell .map-node,
.hero-map-shell .map-line {
    z-index: 3;
}

.hero-map-shell .node-one { top: 25%; left: 50%; }
.hero-map-shell .node-two { top: 33%; left: 64%; }
.hero-map-shell .node-three { top: 47%; left: 34%; }
.hero-map-shell .node-four { top: 55%; left: 52%; }
.hero-map-shell .node-five { top: 66%; left: 24%; }
.hero-map-shell .node-six { top: 42%; left: 71%; }
.hero-map-shell .node-seven { top: 25%; left: 68%; }
.hero-map-shell .node-eight { top: 74%; left: 42%; }

.map-central-pin {
    left: 48%;
    top: 48%;
}

@media (max-width: 991.98px) {
    .hero-map-shell .hero-odisha-map {
        width: 86%;
        height: 84%;
        inset: 0.8rem auto 1rem 0.6rem;
    }
}

@media (max-width: 575.98px) {
    .hero-map-shell .hero-odisha-map {
        width: 92%;
        height: 80%;
        inset: 0.6rem auto 0.8rem 0.2rem;
    }
}

.hero-store-preview {
    right: 1.4rem;
    bottom: 2rem;
    width: 40%;
    max-width: 300px;
}

@media (max-width: 991.98px) {
    .hero-store-preview {
        width: 38%;
        right: 1rem;
        bottom: 1.4rem;
    }
}

@media (max-width: 575.98px) {
    .hero-store-preview {
        width: 42%;
        right: 0.7rem;
        bottom: 0.8rem;
    }
}

/* =====================================================
   MOBILE LAYOUT FIXES — must be last to override all
   prior rules.
   ===================================================== */

.hero-trust-ticker {
    display: none;
}

@media (max-width: 991.98px) {

    /* ── Hero fills viewport ── */
    .hero-section {
        min-height: 100vh !important;
        min-height: 100dvh !important;
        display: flex !important;
        align-items: center;
    }

    .hero-section > .container {
        width: 100%;
    }

    .hero-content {
        padding: 1.5rem 0 1rem;
    }

    .public-hero-layout {
        min-height: auto;
    }

    /* ── Sections: fit content, don't force viewport ── */
    .announcements-section,
    .stats-section,
    .features-section,
    .cta-section {
        min-height: auto !important;
        padding: 3rem 0 !important;
    }

    /* Hide stacked trust strip, show ticker */
    .hero-trust-strip {
        display: none !important;
    }

    .hero-trust-ticker {
        display: block;
        overflow: hidden;
        margin: 0 -1rem 0.75rem;
        -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
        mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    }

    .ticker-track {
        display: flex;
        gap: 0.6rem;
        width: max-content;
        animation: ticker-scroll 18s linear infinite;
    }

    .ticker-track span {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.45rem 0.8rem;
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(5, 150, 105, 0.12);
        border-radius: 100px;
        box-shadow: 0 8px 20px rgba(6, 95, 70, 0.06);
        color: #315449;
        font-weight: 700;
        font-size: 0.78rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .ticker-track span i {
        color: var(--primary-600);
    }

    /* ── Carousel — flat single card ── */
    .carousel-3d {
        perspective: none !important;
        height: 480px !important;
    }

    .carousel-3d-card {
        width: min(380px, 88vw) !important;
        min-height: 420px !important;
    }

    .carousel-3d-card.active {
        transform: translate(-50%, -50%) scale(1) !important;
        box-shadow: 0 20px 60px rgba(6, 95, 70, 0.18) !important;
    }

    .carousel-3d-card.prev,
    .carousel-3d-card.next,
    .carousel-3d-card.far-prev,
    .carousel-3d-card.far-next {
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .carousel-card-image {
        height: 180px !important;
    }

    .carousel-card-body {
        padding: 1.15rem 1.3rem 1.4rem !important;
    }

    .announcement-title {
        font-size: 1.1rem !important;
    }

    .announcement-content {
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
    }

    /* Carousel nav buttons — below the card */
    .carousel-3d-btn {
        top: auto !important;
        bottom: -8px !important;
        transform: none !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
    }

    .carousel-3d-btn.prev {
        left: calc(50% - 60px) !important;
    }

    .carousel-3d-btn.next {
        right: calc(50% - 60px) !important;
    }

    .carousel-3d-dots {
        bottom: 0 !important;
    }

    .announcements-section .section-header {
        margin-bottom: 1rem !important;
    }

    /* ── Stat cards — compact to fit 3 ── */
    .stat-card-impact {
        min-height: auto !important;
        padding: 1.2rem !important;
        border-radius: 22px !important;
    }

    .stat-card-impact .stat-icon {
        width: 42px !important;
        height: 42px !important;
        border-radius: 14px !important;
        font-size: 1.1rem !important;
        margin-bottom: 0.6rem !important;
    }

    .stat-card-impact .stat-number {
        font-size: clamp(2.2rem, 10vw, 3rem) !important;
        line-height: 1.1 !important;
    }

    .stat-card-impact .stat-label {
        font-size: 0.85rem !important;
        margin-bottom: 0.25rem !important;
    }

    .stat-card-impact .stat-caption {
        font-size: 0.78rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.5rem !important;
    }

    .stat-card-impact .stat-card-orbit {
        display: none !important;
    }

    .stats-section .row {
        gap: 0 !important;
    }

    .stats-section .row > [class*="col-"] {
        padding-top: 0.35rem !important;
        padding-bottom: 0.35rem !important;
    }

    .stats-section .section-header {
        margin-bottom: 1rem !important;
    }

    /* ── Feature cards — compact to fit 3 ── */
    .feature-card {
        padding: 1.2rem !important;
        border-radius: 20px !important;
    }

    .feature-icon-wrap {
        width: 42px !important;
        height: 42px !important;
        border-radius: 14px !important;
        font-size: 1.1rem !important;
        margin-bottom: 0.6rem !important;
    }

    .feature-card h4 {
        font-size: 0.92rem !important;
        margin-bottom: 0.3rem !important;
    }

    .feature-card p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.4rem !important;
    }

    .feature-link {
        font-size: 0.82rem !important;
    }

    .features-section .row {
        gap: 0 !important;
    }

    .features-section .row > [class*="col-"] {
        padding-top: 0.35rem !important;
        padding-bottom: 0.35rem !important;
    }

    .features-section .section-header {
        margin-bottom: 1rem !important;
    }

    /* ── CTA section ── */
    .cta-card {
        padding: 2.5rem 1.5rem !important;
    }

    /* ── Unified section titles ── */
    .section-title {
        font-size: clamp(1.35rem, 5.5vw, 1.7rem) !important;
    }

    .section-subtitle {
        font-size: 0.85rem !important;
        margin-top: 0.5rem !important;
    }
}

@media (max-width: 575.98px) {

    .hero-section {
        min-height: 100vh !important;
        min-height: 100dvh !important;
    }

    .hero-content {
        padding: 1rem 0 0.5rem;
    }

    .hero-kicker {
        margin-bottom: 0.5rem !important;
        font-size: 0.62rem !important;
    }

    .public-hero-title,
    .hero-title {
        font-size: clamp(1.85rem, 9.5vw, 2.5rem) !important;
        margin-bottom: 0.5rem !important;
    }

    .public-hero-copy,
    .hero-subtitle {
        font-size: 0.82rem !important;
        margin-bottom: 0.5rem !important;
    }

    .hero-actions {
        gap: 0.4rem !important;
        margin-bottom: 0.4rem !important;
    }

    .hero-actions .btn {
        padding: 0.58rem 0.85rem !important;
        font-size: 0.82rem !important;
    }

    .hero-trust-ticker {
        margin: 0 -1rem 0.4rem;
    }

    .ticker-track span {
        padding: 0.35rem 0.65rem;
        font-size: 0.7rem;
    }

    .hero-visual-shell {
        margin-top: 0.25rem !important;
    }

    .hero-map-shell {
        min-height: 240px !important;
    }

    /* ── Announcement card ── */
    .carousel-3d {
        height: 440px !important;
    }

    .carousel-3d-card {
        width: min(320px, 88vw) !important;
        min-height: 380px !important;
    }

    .carousel-card-image {
        height: 160px !important;
    }

    .announcements-section {
        padding: 2rem 0 !important;
    }

    .announcements-section .section-header {
        margin-bottom: 0.75rem !important;
    }

    /* ── Stat cards — even smaller ── */
    .stat-card-impact {
        padding: 1rem !important;
        border-radius: 18px !important;
    }

    .stat-card-impact .stat-icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 12px !important;
        font-size: 1rem !important;
        margin-bottom: 0.4rem !important;
    }

    .stat-card-impact .stat-number {
        font-size: clamp(1.8rem, 9vw, 2.5rem) !important;
    }

    .stat-card-impact .stat-label {
        font-size: 0.8rem !important;
    }

    .stat-card-impact .stat-caption {
        font-size: 0.72rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .stats-section {
        padding: 2rem 0 !important;
    }

    /* ── Feature cards — even smaller ── */
    .feature-card {
        padding: 1rem !important;
        border-radius: 16px !important;
    }

    .feature-icon-wrap {
        width: 36px !important;
        height: 36px !important;
        border-radius: 12px !important;
        font-size: 0.95rem !important;
        margin-bottom: 0.5rem !important;
    }

    .feature-card h4 {
        font-size: 0.88rem !important;
        margin-bottom: 0.2rem !important;
    }

    .feature-card p {
        font-size: 0.76rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.3rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .feature-link {
        font-size: 0.78rem !important;
        margin-top: auto !important;
    }

    .features-section {
        padding: 2rem 0 !important;
    }

    /* ── CTA ── */
    .cta-section {
        padding: 2rem 0 !important;
    }

    .cta-card {
        padding: 2rem 1.25rem !important;
    }

    .cta-card h2 {
        font-size: 1.25rem !important;
    }

    /* ── Section titles — unified ── */
    .section-title {
        font-size: clamp(1.25rem, 5vw, 1.5rem) !important;
    }

    .section-subtitle {
        font-size: 0.8rem !important;
    }
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
