/* ============================================================
   MOSHPA — World-Class Professional Theme
   Colors extracted from official MOSHPA logo:
   - Primary Green: #019D50 (logo triangle/accents)
   - Dark Green: #0F941C (secondary green)
   - Gold/Brass: #C5A44E (logo border ring)
   - Dark: #14261C / #212121 (backgrounds)
   - Body: #4F5655 (text)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --primary: #019D50;
    --primary-dark: #017a3e;
    --primary-light: #02b85e;
    --primary-50: rgba(1,157,80,.05);
    --primary-100: rgba(1,157,80,.1);
    --primary-200: rgba(1,157,80,.2);
    --green-dark: #14261C;
    --green-darker: #0d1a13;
    --gold: #C5A44E;
    --gold-light: #d4b86a;
    --gold-dark: #a88a3a;
    --gold-50: rgba(197,164,78,.08);
    --navy: #1a2744;
    --black: #212121;
    --white: #ffffff;
    --off-white: #f8faf9;
    --gray-50: #f5f7f6;
    --gray-100: #eef0ef;
    --gray-200: #e0e3e1;
    --gray-300: #ced2d0;
    --gray-400: #9ba3a0;
    --gray-500: #6c7572;
    --gray-600: #4F5655;
    --gray-700: #374140;
    --gray-800: #212926;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.04);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.08), 0 10px 10px -5px rgba(0,0,0,.03);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,.15);
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --transition: all .25s cubic-bezier(.4,0,.2,1);
    --transition-slow: all .4s cubic-bezier(.4,0,.2,1);
    --max-width: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    color: var(--gray-600);
    line-height: 1.75;
    font-size: 15px;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-dark); }
button { cursor: pointer; font-family: var(--font-body); }

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

/* ================================================================
   TOP BAR
   ================================================================ */
.top-bar {
    background: var(--green-dark);
    color: rgba(255,255,255,.85);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 2px solid var(--gold);
    position: relative;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 400;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left i { color: var(--gold); font-size: 12px; }

.top-bar-right { display: flex; gap: 8px; align-items: center; }

.lang-switch { display: flex; gap: 2px; margin-right: 6px; }
.lang-btn {
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: .5px;
}
.lang-btn:hover { color: #fff; background: rgba(255,255,255,.1); }
.lang-btn.active { color: var(--green-dark); background: var(--gold); }

.top-bar-right .btn-sm {
    padding: 5px 16px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    border: 1.5px solid var(--gold);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-gold { background: var(--gold); color: var(--green-dark) !important; }
.btn-gold:hover { background: var(--gold-light); color: var(--green-dark) !important; transform: translateY(-1px); }
.btn-outline-gold { background: transparent; color: var(--gold) !important; }
.btn-outline-gold:hover { background: var(--gold); color: var(--green-dark) !important; }

/* ================================================================
   NAVBAR — Shopify-level clean
   ================================================================ */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow .3s ease;
}

.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--green-dark) !important;
    letter-spacing: -.3px;
    flex-shrink: 0;
}

.navbar-brand:hover { color: var(--primary) !important; }

.navbar-brand .logo-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 26px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: .5px;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    border-radius: 3px 3px 0 0;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--primary); }

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after { transform: scaleX(1); }

.nav-menu > li > a .caret {
    font-size: 9px;
    opacity: .5;
    transition: transform .2s ease;
}

.nav-menu > li:hover > a .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary);
    border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .2s cubic-bezier(.4,0,.2,1);
    z-index: 1001;
    list-style: none;
    padding: 8px 0;
}

.nav-menu > li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--primary-50);
    color: var(--primary);
    padding-left: 24px;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 20px;
    color: var(--green-dark);
    padding: 8px 10px;
    line-height: 1;
    transition: var(--transition);
}

.nav-toggle:hover { border-color: var(--primary); color: var(--primary); }

/* ================================================================
   HERO — Cinematic full-viewport experience
   ================================================================ */
.hero {
    position: relative;
    height: 92vh;
    min-height: 580px;
    max-height: 900px;
    overflow: hidden;
    background: var(--green-dark);
}

/* Crossfade stack — all slides positioned absolute */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.hero-slide .slide-bg {
    position: absolute;
    inset: -30px;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.hero-slide.active .slide-bg {
    animation: cinematic 18s ease-in-out infinite alternate;
}

.hero-slide .slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(20,38,28,.85) 0%, rgba(20,38,28,.45) 45%, rgba(1,157,80,.15) 75%, rgba(20,38,28,.5) 100%);
    z-index: 1;
}

.hero-slide .slide-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(20,38,28,.8) 0%, transparent 100%);
}

.hero-slide .container {
    position: relative;
    z-index: 3;
    height: 100%;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 120px;
    color: var(--white);
    max-width: 680px;
}

.hero-slide.active .hero-content {
    animation: contentReveal .9s cubic-bezier(.16,1,.3,1) forwards;
}

.hero-content .hero-overline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp .7s .2s cubic-bezier(.16,1,.3,1) forwards;
}

.hero-content .hero-overline::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--gold);
    display: block;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: var(--white);
    opacity: 0;
    animation: fadeUp .7s .35s cubic-bezier(.16,1,.3,1) forwards;
}

.hero-content h1 .text-gold {
    color: var(--gold);
    display: inline;
}

.hero-content p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,.8);
    margin-bottom: 40px;
    max-width: 520px;
    opacity: 0;
    animation: fadeUp .7s .5s cubic-bezier(.16,1,.3,1) forwards;
}

.hero-content .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0;
    animation: fadeUp .7s .65s cubic-bezier(.16,1,.3,1) forwards;
}

.hero-content .hero-actions .btn {
    padding: 16px 36px;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius);
}

.hero-content .hero-actions .btn-gold-solid {
    box-shadow: 0 4px 20px rgba(197,164,78,.35);
}

.hero-content .hero-actions .btn-gold-solid:hover {
    box-shadow: 0 8px 30px rgba(197,164,78,.5);
    transform: translateY(-3px);
}

.hero-content .hero-actions .btn-outline-white {
    border: 2px solid rgba(255,255,255,.35);
    color: var(--white) !important;
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(4px);
}

.hero-content .hero-actions .btn-outline-white:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.6);
    transform: translateY(-3px);
}

/* Decorative vertical text */
.hero-vertical {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
    color: rgba(255,255,255,.12);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 6px;
    z-index: 5;
    white-space: nowrap;
}

/* Slide counter */
.hero-counter {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10;
    color: rgba(255,255,255,.5);
    font-size: 14px;
    font-weight: 300;
    font-family: var(--font-body);
    letter-spacing: 2px;
}

.hero-counter .current {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.hero-counter .sep {
    margin: 0 6px;
    opacity: .4;
}

/* Navigation dots — vertical left side */
.hero-nav {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}

.hero-nav .dot {
    width: 3px;
    height: 20px;
    background: rgba(255,255,255,.25);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all .4s cubic-bezier(.4,0,.2,1);
    padding: 0;
}

.hero-nav .dot:hover {
    background: rgba(255,255,255,.5);
    height: 28px;
}

.hero-nav .dot.active {
    background: var(--gold);
    height: 40px;
    box-shadow: 0 0 12px rgba(197,164,78,.4);
}

/* Progress bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,.1);
    z-index: 10;
}

.hero-progress .bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--primary));
    width: 0;
    transition: none;
}

.hero-progress .bar.animate {
    width: 100%;
    transition: width 6s linear;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.45);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.hero-scroll:hover { color: var(--gold); }

.hero-scroll .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes cinematic {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-10px, -5px); }
}

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

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

@keyframes scrollPulse {
    0%, 100% { opacity: .4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ================================================================
   BUTTONS — Premium feel
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1;
    font-family: var(--font-body);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1,157,80,.3);
}

.btn-gold-solid {
    background: var(--gold);
    color: var(--green-dark) !important;
    border-color: var(--gold);
}
.btn-gold-solid:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197,164,78,.35);
}

.btn-outline-white {
    background: rgba(255,255,255,.08);
    color: var(--white) !important;
    border-color: rgba(255,255,255,.4);
    backdrop-filter: blur(4px);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary) !important;
    border-color: var(--white);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary) !important;
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white) !important;
}

.btn-sm-size { padding: 10px 24px; font-size: 12px; }
.btn-lg-size { padding: 16px 40px; font-size: 14px; }
.btn-icon { padding: 12px 12px; }

/* ================================================================
   SECTION STYLES
   ================================================================ */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.section-dark { background: var(--gray-50); }

.section-primary {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .overline {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-primary .section-header .overline { color: var(--gold); }

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
    letter-spacing: -.3px;
    line-height: 1.2;
}

.section-primary .section-header h2 { color: var(--white); }

.section-header .divider {
    width: 48px;
    height: 3px;
    background: var(--gold);
    margin: 16px auto;
    border-radius: 2px;
}

.section-header p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
}

.section-primary .section-header p { color: rgba(255,255,255,.65); }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .cta-buttons .btn { width: 100%; max-width: 280px; text-align: center; }
}

/* ================================================================
   STATS BAR
   ================================================================ */
.stats-bar {
    background: linear-gradient(135deg, var(--green-dark) 0%, #0b3320 50%, var(--green-dark) 100%);
    padding: 56px 0;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='none' stroke='rgba(197,164,78,0.04)' stroke-width='1'/%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item { padding: 8px 0; }

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 700;
    color: var(--gold);
    display: block;
    line-height: 1.1;
}

.stat-item .stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.65);
    margin-top: 8px;
    font-weight: 500;
}

/* ================================================================
   ABOUT SECTION
   ================================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--primary));
}

.about-image img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
    line-height: 1.2;
}

.about-text .gold-line {
    width: 48px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 24px;
    border-radius: 2px;
}

.about-text p {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text ul {
    list-style: none;
    margin-bottom: 32px;
}

.about-text ul li {
    padding: 10px 0;
    padding-left: 32px;
    position: relative;
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.about-text ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 13px;
}

/* ================================================================
   FEATURE / SERVICE BOXES
   ================================================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform .3s ease;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.feature-box:hover::before { transform: scaleX(1); }

.feature-box .icon {
    width: 72px;
    height: 72px;
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-box .icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.feature-box .icon i {
    font-size: 28px;
    color: var(--primary);
}

.feature-box:hover .icon {
    background: var(--primary);
    transform: scale(1.05);
}

.feature-box:hover .icon i { color: var(--white); }

.feature-box h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ================================================================
   CARDS
   ================================================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.3) 0%, transparent 50%);
}

.card-img .card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 50px;
    z-index: 1;
}

.card-body { padding: 24px; }

.card-body h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
    line-height: 1.3;
}

.card-body p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.7;
}

.card-body .meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.card-body .meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-body .meta i { color: var(--primary); }

/* ================================================================
   SHOWCASE — Conference & Awards
   ================================================================ */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.showcase-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center 30%;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-lg);
}

.showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.showcase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,38,28,.97) 0%, rgba(20,38,28,.85) 40%, rgba(20,38,28,.35) 100%);
    transition: var(--transition-slow);
}

.showcase-card:hover::before {
    background: linear-gradient(to top, rgba(1,100,55,.95) 0%, rgba(20,38,28,.8) 40%, rgba(20,38,28,.3) 100%);
}

.showcase-card .showcase-content {
    position: relative;
    z-index: 2;
    padding: 36px;
    width: 100%;
}

.showcase-card .showcase-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold);
    color: var(--green-dark);
    padding: 5px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.showcase-card h3 {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.5vw, 26px);
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.showcase-card p {
    font-size: 14px;
    color: rgba(255,255,255,.85);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* ================================================================
   TRAINING CARDS
   ================================================================ */
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.training-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.training-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.training-card .training-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.training-card .training-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.15) 0%, transparent 50%);
}

.training-card .training-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.training-card h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
    line-height: 1.4;
}

.training-card p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.7;
    flex: 1;
}

.training-card .training-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.training-card .training-meta span {
    font-size: 11px;
    padding: 4px 12px;
    background: var(--primary-50);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ================================================================
   PARTNERS
   ================================================================ */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    align-items: center;
}

.partner-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.partner-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-200);
    transform: translateY(-2px);
}

.partner-item img {
    max-height: 56px;
    max-width: 80px;
    margin-bottom: 8px;
    object-fit: contain;
    border-radius: 4px;
}

.partner-item .partner-name {
    font-size: 10px;
    font-weight: 600;
    color: var(--gray-500);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .3px;
}

/* ================================================================
   CERTIFICATE VERIFICATION
   ================================================================ */
.verify-section {
    background: linear-gradient(135deg, var(--green-dark) 0%, #0b3320 100%);
    padding: 64px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.verify-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(197,164,78,.08);
    border-radius: 50%;
}

.verify-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(1,157,80,.06);
    border-radius: 50%;
}

.verify-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 32px);
    color: var(--white);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.verify-section p {
    color: rgba(255,255,255,.6);
    margin-bottom: 28px;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.verify-form {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.verify-form input {
    flex: 1;
    padding: 16px 20px;
    font-size: 14px;
    border: none;
    outline: none;
    font-family: var(--font-body);
    min-width: 0;
    background: var(--white);
}

.verify-form input::placeholder { color: var(--gray-400); }

.verify-form button {
    padding: 16px 28px;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verify-form button:hover { background: var(--primary-dark); }

/* Verification result card */
.verify-page-section { padding: 80px 0; min-height: 50vh; }

.verify-search-box {
    max-width: 640px;
    margin: 0 auto 40px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 40px;
    border-top: 4px solid var(--primary);
}

.verify-search-box h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--gray-800);
    margin-bottom: 6px;
    text-align: center;
}

.verify-search-box > p {
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.verify-result { max-width: 680px; margin: 0 auto; }

.verify-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.verify-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.verify-card-header .verify-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
}

.verify-card-header h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 2px;
}

.verify-card-header .verify-status {
    font-size: 12px;
    color: #86efac;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.verify-card-body { padding: 32px; }

.verify-card-body .detail-row {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    gap: 16px;
}

.verify-card-body .detail-row:last-child { border-bottom: none; }

.detail-row .detail-label {
    width: 160px;
    min-width: 160px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.detail-row .detail-value {
    flex: 1;
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 500;
}

.verify-invalid {
    background: #fef2f2;
    border: 2px solid #fecaca;
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
}

.verify-invalid i { font-size: 48px; color: #ef4444; margin-bottom: 16px; display: block; }
.verify-invalid h3 { color: #991b1b; margin-bottom: 8px; font-family: var(--font-heading); font-size: 20px; }
.verify-invalid p { color: #7f1d1d; font-size: 14px; }

/* ================================================================
   ANNOUNCEMENTS
   ================================================================ */
.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.announcement-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--gray-100);
    border-left: 4px solid var(--primary);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
}

.announcement-item:hover {
    box-shadow: var(--shadow-sm);
    border-left-color: var(--gold);
}

.announcement-item .ann-date {
    min-width: 56px;
    text-align: center;
    background: var(--primary-50);
    border-radius: var(--radius);
    padding: 10px 8px;
    flex-shrink: 0;
}

.announcement-item .ann-date .day {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.announcement-item .ann-date .month {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--gray-500);
    font-weight: 600;
    letter-spacing: .5px;
}

.announcement-item h4 {
    font-size: 15px;
    color: var(--gray-800);
    margin-bottom: 4px;
    font-weight: 600;
}

.announcement-item p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    background: var(--green-dark);
    color: rgba(255,255,255,.75);
    padding-top: 72px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-about .footer-logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.footer-about .footer-logo span {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255,255,255,.6);
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: 14px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: rgba(255,255,255,.55);
    font-size: 13px;
    font-weight: 400;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-links a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    transition: var(--transition);
    flex-shrink: 0;
}
.footer-links a:hover {
    color: var(--gold);
    transform: translateX(4px);
}
.footer-links a:hover::before { background: var(--gold); }

.footer-contact { list-style: none; }
.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
}
.footer-contact i { color: var(--primary); margin-top: 3px; font-size: 14px; flex-shrink: 0; }

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,.35);
}
.footer-bottom a { color: var(--gold); }
.footer-credit { margin-top: 6px; font-size: 11px; opacity: .6; }
.footer-credit a { color: var(--gold-light); }

/* ================================================================
   PAGE BANNER
   ================================================================ */
.page-banner {
    background: linear-gradient(135deg, var(--green-dark) 0%, #0b3320 100%);
    padding: 56px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(1,157,80,.06);
    border-radius: 50%;
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 40px);
    color: var(--white);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.page-banner .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.5);
    list-style: none;
    position: relative;
    z-index: 1;
}

.page-banner .breadcrumb a { color: var(--gold); }
.page-banner .breadcrumb a:hover { color: var(--gold-light); }

/* ================================================================
   FORMS
   ================================================================ */
.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font-body);
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-700);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.form-control::placeholder { color: var(--gray-400); }

textarea.form-control { min-height: 120px; resize: vertical; }

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236c7572' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.contact-info-card:hover { box-shadow: var(--shadow-sm); }

.contact-info-card .info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}

.contact-info-card h4 { font-size: 15px; color: var(--gray-800); margin-bottom: 4px; font-weight: 600; }
.contact-info-card p { font-size: 13px; color: var(--gray-500); }

/* ================================================================
   TEAM / LEADERSHIP
   ================================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

.team-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.team-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
    border-color: var(--primary-200);
}

.team-card .team-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    border: 3px solid var(--gold);
    font-family: var(--font-heading);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(1,157,80,.25);
}

.team-card h4 { font-size: 15px; color: var(--gray-800); margin-bottom: 4px; font-weight: 600; }
.team-card .position {
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ================================================================
   MEMBERSHIP
   ================================================================ */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.membership-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.membership-card.featured {
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-md);
}

.membership-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 28px;
    color: var(--white);
}

.membership-card.featured .membership-card-header {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    color: var(--green-dark);
}

.membership-card-header h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 4px;
}

.membership-card-body { padding: 28px; }

.membership-card-body ul {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.membership-card-body ul li {
    padding: 10px 0;
    font-size: 13px;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
    padding-left: 24px;
    position: relative;
}

.membership-card-body ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 11px;
}

/* ================================================================
   ALERTS
   ================================================================ */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ================================================================
   PAGINATION
   ================================================================ */
.pagination {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 40px;
    list-style: none;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.pagination a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pagination .current { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeSlide {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}

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

/* stagger delays */
.animate-in:nth-child(2) { transition-delay: .1s; }
.animate-in:nth-child(3) { transition-delay: .2s; }
.animate-in:nth-child(4) { transition-delay: .3s; }

/* ================================================================
   RESPONSIVE — Mobile first, Shopify-standard breakpoints
   ================================================================ */
@media (max-width: 1024px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 992px) {
    .nav-toggle { display: flex; align-items: center; justify-content: center; }

    .nav-menu {
        display: none;
        position: fixed;
        inset: 0;
        background: var(--white);
        flex-direction: column;
        z-index: 10000;
        padding: 72px 0 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .nav-menu.show { display: flex; }

    .nav-menu > li > a {
        padding: 16px 24px;
        border-bottom: 1px solid var(--gray-100);
        font-size: 15px;
    }

    .nav-menu > li > a::after { display: none; }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        background: var(--gray-50);
        border-radius: 0;
        padding: 0;
        display: none;
    }

    .dropdown-menu.show { display: block; }

    .dropdown-menu li a {
        padding: 14px 24px 14px 48px;
        font-size: 14px;
    }

    .nav-toggle {
        position: relative;
        z-index: 10001;
    }

    .hero { height: 75vh; min-height: 480px; }
    .hero-content { padding: 64px 0; }
    .hero-vertical { display: none; }
    .hero-nav { left: 20px; }
    .hero-counter { right: 20px; bottom: 24px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image img { height: 320px; }
    .showcase-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; gap: 16px; }
    .section { padding: 64px 0; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }

    .navbar-brand { font-size: 20px; }
    .navbar-brand .logo-img { width: 40px; height: 40px; }

    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 14px; }
    .hero-content .hero-actions .btn { padding: 12px 24px; font-size: 12px; }
    .hero-nav { left: 16px; }
    .hero-counter { right: 16px; bottom: 20px; }
    .hero-scroll { display: none; }

    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .training-grid { grid-template-columns: repeat(2, 1fr); }

    /* Showcase cards — better image/text balance on mobile */
    .showcase-grid { gap: 16px; }
    .showcase-card {
        min-height: 360px;
        background-position: center top;
    }
    .showcase-card .showcase-content { padding: 24px; }
    .showcase-card h3 { font-size: 20px; margin-bottom: 8px; }
    .showcase-card p { font-size: 13px; line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

    /* Training card images */
    .training-card .training-img { height: 200px; background-position: center top; }
    .card-img { height: 200px; background-position: center top; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .verify-form { flex-direction: column; border-radius: var(--radius); }
    .verify-form input { border-radius: 0; }
    .verify-form button { justify-content: center; border-radius: 0; }

    .detail-row { flex-direction: column; gap: 4px; }
    .detail-row .detail-label { width: auto; min-width: auto; }

    .announcement-item { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-content { max-width: 100%; }
    .hero-content h1 { font-size: 24px; }
    .hero-content .hero-actions { flex-direction: column; }
    .hero-content .hero-actions .btn { width: 100%; text-align: center; }
    .hero-nav { display: none; }
    .hero-counter { display: none; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-item .stat-number { font-size: 32px; }
    .section-header { margin-bottom: 36px; }
    .page-banner h1 { font-size: 24px; }
    .feature-grid { grid-template-columns: 1fr; }
    .training-grid { grid-template-columns: 1fr; }

    .showcase-card { min-height: 320px; }
    .showcase-card .showcase-content { padding: 20px; }
    .showcase-card h3 { font-size: 18px; }
    .showcase-card p { font-size: 12px; -webkit-line-clamp: 3; }
    .showcase-card .btn { font-size: 11px; padding: 10px 20px; min-height: 40px; }

    .training-card .training-img { height: 180px; }
    .card-img { height: 180px; }

    .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .partner-item { padding: 12px 8px; min-height: 90px; }
    .partner-item img { max-height: 40px; }
    .partner-item .partner-name { font-size: 9px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .membership-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   PAGE PRELOADER
   ================================================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-darker) 50%, #0a1f15 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity .3s ease, visibility .3s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    animation: preloaderPulse 1.8s ease-in-out infinite;
}

.preloader-ring {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--gold);
    border-right-color: var(--gold-light);
    animation: preloaderSpin 1s linear infinite;
    z-index: 1;
}

.preloader-ring::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom-color: var(--primary);
    border-left-color: var(--primary-light);
    animation: preloaderSpin 1.5s linear reverse infinite;
}

@keyframes preloaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(.92); opacity: .85; }
}

/* ================================================================
   MOBILE BOTTOM NAVIGATION (App-style)
   ================================================================ */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    z-index: 9999;
    padding: 6px 0;
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
    justify-content: space-around;
    align-items: flex-end;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255,255,255,.95);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 0;
    color: var(--gray-400);
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
    flex: 1;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item i {
    font-size: 20px;
    transition: transform .2s ease, -webkit-text-fill-color .2s ease;
    -webkit-text-stroke: 1.2px currentColor;
    -webkit-text-fill-color: transparent;
}

.mobile-nav-item span {
    letter-spacing: .3px;
}

.mobile-nav-item.active {
    color: var(--primary);
}

.mobile-nav-item.active i {
    transform: scale(1.1);
    -webkit-text-stroke: 0;
    -webkit-text-fill-color: currentColor;
}

.mobile-nav-item:active i {
    transform: scale(.85);
}

.mobile-nav-center {
    position: relative;
}

.mobile-nav-fab {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -24px;
    box-shadow: 0 4px 15px rgba(1,157,80,.35);
    transition: transform .2s ease, box-shadow .2s ease;
}

.mobile-nav-fab i {
    color: var(--white) !important;
    font-size: 18px;
}

.mobile-nav-center.active .mobile-nav-fab {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    box-shadow: 0 4px 15px rgba(197,164,78,.35);
}

.mobile-nav-item:active .mobile-nav-fab {
    transform: scale(.9);
}

/* ================================================================
   WHATSAPP BIZCHAT WIDGET
   ================================================================ */
.bizchat {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9997;
}

.bizchat-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(1,157,80,.35);
    transition: all .3s ease;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.bizchat-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(1,157,80,.45);
}

.bizchat-btn:active { transform: scale(.95); }

.bizchat-btn.hide { transform: scale(0); opacity: 0; pointer-events: none; }

.bizchat-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: #dc3545;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    animation: bizchatPulse 2s ease-in-out infinite;
}

@keyframes bizchatPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.bizchat-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    max-height: 520px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(.95);
    transition: all .3s cubic-bezier(.4,0,.2,1);
    transform-origin: bottom right;
}

.bizchat-popup.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header */
.bizchat-header {
    background: var(--green-dark);
    color: var(--white);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.bizchat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bizchat-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.bizchat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.bizchat-online {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background: #25D366;
    border-radius: 50%;
    border: 2px solid var(--green-dark);
}

.bizchat-header strong { display: block; font-size: 14px; font-weight: 700; }
.bizchat-header span { font-size: 11px; opacity: .7; }

.bizchat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    opacity: .7;
    padding: 4px 6px;
    line-height: 1;
    border-radius: var(--radius);
    transition: all .2s;
}

.bizchat-close:hover { opacity: 1; background: rgba(255,255,255,.1); }

/* WhatsApp bar */
.bizchat-wa-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    text-decoration: none;
    transition: all .2s;
    flex-shrink: 0;
}

.bizchat-wa-bar:hover { background: rgba(37,211,102,.08); color: #25D366; }
.bizchat-wa-bar i { font-size: 16px; color: #25D366; }

/* Pre-chat form */
.bizchat-prechat {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.bizchat-prechat-text {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
}

.bizchat-prechat input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 13px;
    font-family: var(--font-body);
    background: var(--gray-50);
    transition: all .2s;
}

.bizchat-prechat input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.bizchat-prechat-status {
    font-size: 12px;
    color: #dc3545;
    min-height: 16px;
}

.bizchat-prechat button {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background .2s;
}

.bizchat-prechat button:hover { background: var(--primary-dark); }

/* Messages area */
.bizchat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: none;
    flex-direction: column;
    gap: 12px;
    background: var(--gray-50);
    min-height: 200px;
}

.bizchat-messages.active { display: flex; }

.bizchat-msg {
    display: flex;
    gap: 8px;
    max-width: 85%;
    animation: msgIn .3s ease;
}

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

.bizchat-msg.user { margin-left: auto; flex-direction: row-reverse; }

.bizchat-msg-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
}

.bizchat-msg.bot .bizchat-msg-icon {
    background: var(--primary-100);
    color: var(--primary);
}

.bizchat-msg.user .bizchat-msg-icon {
    background: var(--gray-200);
    color: var(--gray-600);
}

.bizchat-msg-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.5;
}

.bizchat-msg.bot .bizchat-msg-bubble {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    border-top-left-radius: 4px;
}

.bizchat-msg.user .bizchat-msg-bubble {
    background: var(--primary);
    color: var(--white);
    border-top-right-radius: 4px;
}

.bizchat-typing {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    border-top-left-radius: 4px;
    width: fit-content;
}

.bizchat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gray-400);
    animation: typingDot 1.4s infinite;
}

.bizchat-typing span:nth-child(2) { animation-delay: .2s; }
.bizchat-typing span:nth-child(3) { animation-delay: .4s; }

@keyframes typingDot {
    0%, 60%, 100% { opacity: .3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}

/* Quick replies */
.bizchat-quick {
    padding: 8px 16px;
    display: none;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid var(--gray-100);
    flex-shrink: 0;
}

.bizchat-quick.active { display: flex; }

.bizchat-quick button {
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    font-size: 11px;
    font-family: var(--font-body);
    color: var(--gray-500);
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}

.bizchat-quick button:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* Input area */
.bizchat-input {
    padding: 10px 16px 12px;
    border-top: 1px solid var(--gray-200);
    display: none;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    background: var(--white);
}

.bizchat-input.active { display: flex; }

.bizchat-end {
    padding: 6px 14px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    background: none;
    font-size: 11px;
    font-family: var(--font-body);
    color: var(--gray-400);
    cursor: pointer;
    align-self: flex-start;
    transition: all .2s;
}

.bizchat-end:hover { color: var(--gray-700); border-color: var(--gray-300); }

.bizchat-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.bizchat-input-wrap input {
    flex: 1;
    padding: 10px 14px;
    padding-right: 44px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-family: var(--font-body);
    background: var(--gray-50);
    transition: all .2s;
}

.bizchat-input-wrap input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.bizchat-input-wrap button {
    position: absolute;
    right: 4px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.bizchat-input-wrap button:hover { background: var(--primary-dark); }
.bizchat-input-wrap button:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 768px) {
    .bizchat { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); right: 16px; }
    .bizchat-btn { width: 52px; height: 52px; font-size: 22px; }
    .bizchat-popup { width: calc(100vw - 32px); max-width: 360px; max-height: 70vh; }
}

/* ================================================================
   SCROLL TO TOP BUTTON
   ================================================================ */
.scroll-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--green-dark);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(1,157,80,.35);
}

.scroll-top:active {
    transform: scale(.9);
}

@media (max-width: 768px) {
    .scroll-top { bottom: calc(148px + env(safe-area-inset-bottom, 0px)); right: 16px; width: 40px; height: 40px; font-size: 14px; }
}

/* ================================================================
   MOBILE APP ENHANCEMENTS
   ================================================================ */

@media (max-width: 768px) {
    .mobile-nav { display: flex; }

    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        font-size: 15px;
        line-height: 1.7;
        -webkit-overflow-scrolling: touch;
    }

    .top-bar { display: none; }

    .navbar {
        position: sticky;
        top: 0;
        padding: 10px 0;
        box-shadow: 0 1px 8px rgba(0,0,0,.06);
    }

    .navbar .container { min-height: 52px; }

    .footer { padding-bottom: 20px; }
    .verify-section { margin-bottom: 0; }

    /* Hero — fit between header and bottom nav */
    .hero { height: calc(100svh - 52px - 72px); min-height: 380px; max-height: 600px; }
    .hero-content { padding: 0; }
    .hero-content h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.5px; margin-bottom: 16px; }
    .hero-content p { font-size: 14px; line-height: 1.6; opacity: .9; margin-bottom: 24px; }
    .hero-content .hero-overline { margin-bottom: 16px; }

    /* Page banners */
    .page-banner { padding: 36px 0 30px; }
    .page-banner h1 { font-size: 24px; letter-spacing: -.3px; }
    .breadcrumb { font-size: 13px; }

    /* Sections — tighter spacing */
    .section { padding: 52px 0; }
    .section-header { margin-bottom: 32px; }
    .section-header .overline { font-size: 11px; letter-spacing: 2.5px; margin-bottom: 10px; }
    .section-header h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.3px; }
    .section-header p { font-size: 14px; line-height: 1.65; }
    .section-header .divider { width: 40px; margin: 12px auto; }

    /* Cards — app-style elevated look */
    .feature-card,
    .training-card,
    .showcase-card,
    .data-card,
    .contact-info-card {
        border-radius: var(--radius-xl);
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(0,0,0,.06);
    }

    .training-card .card-body { padding: 18px; }
    .training-card .card-body h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
    .training-card .card-body p { font-size: 13px; line-height: 1.6; }

    .feature-card { padding: 24px 20px; }
    .feature-card h4 { font-size: 16px; font-weight: 700; }
    .feature-card p { font-size: 13px; }

    /* Buttons — larger touch targets */
    .btn {
        padding: 14px 28px;
        font-size: 13px;
        font-weight: 700;
        border-radius: var(--radius-lg);
        min-height: 48px;
        -webkit-tap-highlight-color: transparent;
    }

    .btn:active { transform: scale(.97); }

    .btn-lg-size { padding: 16px 32px; font-size: 14px; }

    /* Form inputs — bigger touch targets */
    .form-control {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: var(--radius);
        min-height: 50px;
    }

    .form-group label {
        font-size: 11px;
        letter-spacing: .8px;
        margin-bottom: 8px;
    }

    /* Stats — bolder numbers */
    .stat-item .stat-number { font-weight: 800; }
    .stat-item .stat-label { font-size: 11px; letter-spacing: 1px; }

    /* Footer — cleaner on mobile */
    .footer h4 { font-size: 16px; margin-bottom: 16px; }
    .footer-links li a { font-size: 14px; padding: 6px 0; }
    .footer-contact li { font-size: 14px; }
    .footer-bottom p { font-size: 12px; }

    /* Misc polish */
    img { -webkit-user-select: none; user-select: none; }
    .alert { border-radius: var(--radius-lg); font-size: 14px; }
}

@media (max-width: 480px) {
    body { font-size: 14px; }

    .hero { height: calc(100svh - 52px - 72px); min-height: 340px; max-height: 520px; }
    .hero-content h1 { font-size: 26px; }
    .hero-content p { font-size: 14px; }

    .section { padding: 44px 0; }
    .section-header h2 { font-size: 22px; line-height: 1.25; }
    .section-header p { font-size: 13px; }

    .page-banner { padding: 28px 0 24px; }
    .page-banner h1 { font-size: 22px; }

    .training-card .card-body h3 { font-size: 16px; }
}

/* iOS standalone mode */
@media (display-mode: standalone) {
    .top-bar { display: none; }
    .navbar { padding-top: env(safe-area-inset-top, 0px); }
}

/* ================================================================
   MEMBER PORTAL
   ================================================================ */

/* Auth pages (login/register) */
.member-auth-card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.member-auth-card.member-auth-wide { max-width: 640px; }

.member-auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.member-auth-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    margin: 0 auto 16px;
}

.member-auth-header h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.member-auth-header p {
    font-size: 14px;
    color: var(--gray-500);
}

.member-auth-form { display: flex; flex-direction: column; gap: 16px; }

.member-auth-form .form-group { margin: 0; }
.member-auth-form .form-group label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--gray-600); margin-bottom: 6px; }
.member-auth-form .form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-body);
    transition: all .2s;
    background: var(--gray-50);
}

.member-auth-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.member-auth-form select.form-control { cursor: pointer; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row-2 { grid-template-columns: 1fr; } }

.member-auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--gray-500);
}

.member-auth-footer a { color: var(--primary); font-weight: 600; }

/* Portal layout */
.member-portal {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .member-portal { grid-template-columns: 1fr; gap: 20px; }
}

/* Sidebar */
.member-sidebar {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.member-profile-card {
    padding: 28px 20px;
    text-align: center;
    background: var(--green-dark);
    color: var(--white);
}

.member-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    margin: 0 auto 12px;
}

.member-avatar-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 3px solid var(--gold);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--gold);
}

.member-profile-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.member-type-badge {
    display: inline-block;
    padding: 3px 12px;
    background: var(--gold);
    color: var(--green-dark);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.member-no {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    opacity: .6;
    font-family: monospace;
}

.member-nav {
    padding: 8px 0;
}

.member-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 500;
    transition: all .2s;
    text-decoration: none;
}

.member-nav a:hover { background: var(--gray-50); color: var(--primary); }
.member-nav a.active { background: var(--primary-50); color: var(--primary); font-weight: 700; border-right: 3px solid var(--primary); }
.member-nav a i { width: 18px; text-align: center; font-size: 14px; }
.member-nav-logout { color: #dc3545 !important; border-top: 1px solid var(--gray-100); margin-top: 4px; }
.member-nav-logout:hover { background: rgba(220,53,69,.05) !important; }

/* Main content */
.member-main { min-width: 0; }

.member-welcome {
    margin-bottom: 28px;
}

.member-welcome h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.member-welcome p {
    font-size: 14px;
    color: var(--gray-500);
}

.member-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.member-stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--gray-100);
}

.member-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.member-stat-label {
    display: block;
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.member-stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
}

.member-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--gray-100);
    margin-bottom: 20px;
}

.member-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.member-section h3 i { color: var(--primary); margin-right: 6px; }

.member-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.member-section-header h3 { margin-bottom: 0; }
.member-section-header a { font-size: 13px; color: var(--primary); font-weight: 600; }

.member-table-wrap { overflow-x: auto; }

.member-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.member-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--gray-400);
    border-bottom: 1px solid var(--gray-100);
}

.member-table td {
    padding: 12px;
    border-bottom: 1px solid var(--gray-50);
    color: var(--gray-600);
}

.member-table code {
    font-size: 11px;
    background: var(--gray-50);
    padding: 2px 8px;
    border-radius: 4px;
}

.member-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-400);
}

.member-empty i { font-size: 40px; margin-bottom: 12px; display: block; opacity: .3; }
.member-empty p { font-size: 14px; }

.member-event-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-50);
}

.member-event-item:last-child { border-bottom: none; }

.member-event-date {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: var(--primary-50);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.member-event-date .day { font-size: 20px; font-weight: 800; color: var(--primary); line-height: 1; }
.member-event-date .month { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); font-weight: 600; }
.member-event-item strong { display: block; font-size: 14px; color: var(--gray-800); margin-bottom: 2px; }
.member-event-item span { font-size: 12px; color: var(--gray-400); }

/* Status colors for member dashboard */
.status-active { color: var(--primary) !important; }
.status-pending { color: #f59e0b !important; }
.status-expired { color: #dc3545 !important; }
.status-suspended { color: var(--gray-400) !important; }

/* Alert styles */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 20px;
}

.alert-danger { background: rgba(220,53,69,.08); color: #dc3545; border: 1px solid rgba(220,53,69,.15); }
.alert-success { background: rgba(1,157,80,.08); color: var(--primary); border: 1px solid rgba(1,157,80,.15); }

/* ================================================================
   UTILITIES
   ================================================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--gray-500); }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.d-flex { display: flex; }
.gap-2 { gap: 20px; }
.flex-wrap { flex-wrap: wrap; }
.w-100 { width: 100%; }
