:root {
    --green-dark:   #206543;
    --green-mid:    #2d8f5f;
    --green-light:  #3aaf78;
    --green-pale:   #e8f5ee;
    --off-white:    #f7f8f4;
    --text-dark:    #1a2e23;
    --text-mid:     #3d5a47;
    --text-muted:   #7a9585;
    --border:       #d4e6da;
    --white:        #ffffff;
    --shadow-sm:    0 1px 4px rgba(32,101,67,0.08);
    --shadow-md:    0 4px 20px rgba(32,101,67,0.12);
    --shadow-lg:    0 12px 40px rgba(32,101,67,0.18);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─── TOPBAR ─────────────────────────────────────────── */
.topbar {
    background: var(--green-dark);
    color: rgba(255,255,255,0.75);
    font-size: 0.78rem;
    font-weight: 400;
    padding: 8px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: 0.02em;
}
.topbar a { color: rgba(255,255,255,0.75); text-decoration: none; }
.topbar a:hover { color: #fff; }

/* ─── NAVBAR ─────────────────────────────────────────── */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.navbar-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.navbar-wordmark strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green-dark);
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.navbar-wordmark span {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.navbar-links {
    display: flex;
    gap: 28px;
    list-style: none;
}
.navbar-links a {
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: color 0.2s;
}
.navbar-links a:hover { color: var(--green-dark); }

.navbar-cta {
    background: var(--green-dark);
    color: #fff;
    padding: 9px 22px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.01em;
}
.navbar-cta:hover { background: var(--green-mid); transform: translateY(-1px); }

/* ─── PARTNER MARQUEE STRIP ──────────────────────────── */
.partner-section {
    max-width: 1260px;
    margin: 52px auto 0;
    padding: 0 40px;
}
.partner-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.partner-section-header .section-label { margin-bottom: 0; }
.partner-section-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.partner-strip {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 0;
    overflow: hidden;
    position: relative;
}

.partner-strip::before,
.partner-strip::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.partner-strip::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}
.partner-strip::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.marquee-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.marquee-row {
    display: flex;
    width: max-content;
    will-change: transform;
}

.marquee-row.row-1 { animation: scrollLeft 45s linear infinite; }
.marquee-row.row-2 { animation: scrollRight 50s linear infinite; }

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

.partner-strip:hover .marquee-row { animation-play-state: paused; }

.partner-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-pale);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 5px 16px 5px 10px;
    margin: 0 6px;
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green-dark);
    letter-spacing: 0.01em;
    transition: background 0.15s, transform 0.15s;
}
.partner-pill:hover {
    background: #d3edde;
    transform: translateY(-1px);
}

.partner-pill-logo {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: -0.5px;
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
    position: relative;
    background: var(--green-dark);
    overflow: hidden;
    padding: 90px 40px 100px;
    min-height: 520px;
    display: flex;
    align-items: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-bg::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); top: -200px; right: -150px; }
.hero-bg::after  { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); top: -60px; right: 0px; }
.hero-bg-ring    { position: absolute; width: 900px; height: 900px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.04); bottom: -500px; right: -300px; }
.hero-bg-dots    { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px); background-size: 32px 32px; }
.hero-bg-glow    { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(58,175,120,0.25) 0%, transparent 70%); top: -100px; right: 100px; }
.hero-diagonal   { position: absolute; bottom: -2px; left: 0; right: 0; height: 70px; background: var(--off-white); clip-path: ellipse(55% 100% at 50% 100%); }

.hero-inner {
    position: relative;
    max-width: 1260px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-text { color: #fff; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.9);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #6ee7a0; }
.hero-desc { font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,0.8); max-width: 480px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary { background: #fff; color: var(--green-dark); padding: 12px 28px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: all 0.2s; letter-spacing: 0.01em; }
.btn-primary:hover { background: #e8f5ee; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.9); padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; text-decoration: none; border: 1.5px solid rgba(255,255,255,0.3); transition: all 0.2s; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

.hero-stats { display: flex; gap: 32px; margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.12); }
.hero-stat-value { font-size: 1.7rem; font-weight: 800; color: #6ee7a0; line-height: 1; }
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.04em; }

.hero-states-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #6ee7a0;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card { background: rgba(255,255,255,0.08); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.15); border-radius: 20px; padding: 28px; width: 100%; max-width: 380px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.hero-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.hero-card-title { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-card-year { font-size: 0.78rem; background: rgba(110,231,160,0.2); color: #6ee7a0; padding: 3px 10px; border-radius: 100px; font-weight: 600; }

.mini-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mini-cal-day-name { text-align: center; font-size: 0.62rem; font-weight: 600; color: rgba(255,255,255,0.4); text-transform: uppercase; padding: 2px 0 6px; }
.mini-cal-day { text-align: center; font-size: 0.72rem; color: rgba(255,255,255,0.55); padding: 5px 2px; border-radius: 6px; cursor: default; transition: background 0.15s; }
.mini-cal-day.has-event { background: rgba(110,231,160,0.18); color: #6ee7a0; font-weight: 600; }
.mini-cal-day.today { background: #fff; color: var(--green-dark); font-weight: 700; }
.mini-cal-day.empty { opacity: 0; pointer-events: none; }

.hero-upcoming { margin-top: 18px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; }
.hero-upcoming-label { font-size: 0.72rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.hero-event-pill { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,0.07); margin-bottom: 7px; }
.hero-event-pill:last-child { margin-bottom: 0; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pill-name { font-size: 0.78rem; color: rgba(255,255,255,0.8); font-weight: 500; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-date { font-size: 0.7rem; color: rgba(255,255,255,0.4); }

/* ─── SECTION INTRO ──────────────────────────────────── */
.section-intro { max-width: 1260px; margin: 60px auto 0; padding: 0 40px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-intro-text h2 { font-size: 1.7rem; font-weight: 700; color: var(--text-dark); letter-spacing: -0.02em; margin-bottom: 6px; }
.section-intro-text p { font-size: 0.95rem; color: var(--text-muted); }
.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; color: var(--green-dark); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.section-label::before { content: ''; display: block; width: 18px; height: 2px; background: var(--green-dark); border-radius: 2px; }

/* ─── HOW TO USE STRIP ───────────────────────────────── */
.how-strip { max-width: 1260px; margin: 40px auto 0; padding: 0 40px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: box-shadow 0.2s, transform 0.2s; }
.how-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.how-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--green-pale); color: var(--green-dark); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.how-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--text-dark); margin-bottom: 5px; }
.how-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; }

.training-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.training-tag {
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--green-pale);
    color: var(--green-dark);
    padding: 2px 9px;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

/* ─── MAIN CONTENT ───────────────────────────────────── */
.main-container { max-width: 1260px; margin: 40px auto 0; padding: 0 40px 80px; }
.content-grid { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: start; }

/* ─── CALENDAR CARD ──────────────────────────────────── */
.calendar-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 32px; box-shadow: var(--shadow-sm); }
.calendar-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.calendar-card-header h2 { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); }
.live-badge { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; color: var(--green-dark); background: var(--green-pale); padding: 4px 12px; border-radius: 100px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
.calendar-error { display: none; background: #fff3f3; border: 1px solid #ffcdd2; border-radius: 8px; padding: 14px 18px; color: #c62828; font-size: 0.85rem; margin-bottom: 16px; }
.calendar-error.active { display: block; }

#calendar { min-height: 500px; }
.fc { font-family: 'Poppins', sans-serif; }
.fc .fc-toolbar-title { font-size: 1.1rem; font-weight: 700; color: var(--green-dark); }
.fc .fc-button-primary { background-color: var(--green-dark); border-color: var(--green-dark); font-family: 'Poppins', sans-serif; font-weight: 500; text-transform: capitalize; font-size: 0.82rem; }
.fc .fc-button-primary:hover { background-color: #18503a; border-color: #18503a; }
.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active { background-color: #154432; border-color: #154432; }
.fc .fc-daygrid-day.fc-day-today { background-color: rgba(32,101,67,0.06); }
.fc .fc-col-header-cell-cushion { font-weight: 600; color: var(--green-dark); font-size: 0.8rem; }
.fc-daygrid-event-harness { margin-bottom: 1px; }
.fc .fc-daygrid-day-events { display: flex; flex-wrap: wrap; gap: 2px; justify-content: center; padding: 2px 4px; min-height: 18px; }
.event-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

/* ─── SIDEBAR ────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 92px; }
.sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-sm); }
.sidebar-card h3 { font-size: 0.88rem; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.sidebar-stat { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.sidebar-stat:last-child { border-bottom: none; }
.sidebar-stat-label { font-size: 0.82rem; color: var(--text-muted); }
.sidebar-stat-value { font-size: 0.88rem; font-weight: 700; color: var(--green-dark); }

.states-list { display: flex; flex-direction: column; gap: 6px; }
.state-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: var(--green-pale); font-size: 0.84rem; font-weight: 600; color: var(--green-dark); }
.state-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-dark); flex-shrink: 0; }

/* ─── FORM SECTION ───────────────────────────────────── */
.form-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 32px;
    margin-top: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.form-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-dark), var(--green-light));
}

.form-cta-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.form-cta-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 240px;
}
.form-cta-icon-sm {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.form-cta-text h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
}
.form-cta-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.form-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-dark);
    color: #fff;
    padding: 11px 26px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    flex-shrink: 0;
}
.form-cta-btn:hover {
    background: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32,101,67,0.25);
}
.form-cta-btn svg {
    width: 14px; height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
.form-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 3px;
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer { background: var(--green-dark); color: rgba(255,255,255,0.7); }
.footer-inner { max-width: 1260px; margin: 0 auto; padding: 48px 40px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-brand strong { display: block; color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.footer-brand p { font-size: 0.83rem; line-height: 1.6; }
.footer-col h4 { color: rgba(255,255,255,0.5); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.85rem; margin-bottom: 9px; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 40px; max-width: 1260px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ─── MODAL ──────────────────────────────────────────── */
.event-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 9999; justify-content: center; align-items: center; animation: fadeIn 0.2s ease; }
.event-modal-overlay.active { display: flex; }
.event-modal { background: white; border-radius: 16px; padding: 32px; max-width: 480px; width: 92%; box-shadow: 0 24px 80px rgba(0,0,0,0.25); position: relative; animation: slideUp 0.25s ease; }
.event-modal::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 3px; border-radius: 0 0 3px 3px; background: var(--green-dark); }
.event-modal h3 { color: var(--text-dark); font-size: 1.1rem; font-weight: 700; margin-bottom: 18px; padding-right: 30px; line-height: 1.35; }
.event-modal-close { position: absolute; top: 16px; right: 18px; background: #f0f0f0; border: none; width: 28px; height: 28px; border-radius: 50%; font-size: 1rem; cursor: pointer; color: #666; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.event-modal-close:hover { background: #e0e0e0; color: #333; }
.event-detail { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f4f4f4; font-size: 0.9rem; }
.event-detail:last-child { border-bottom: none; }
.event-detail-label { font-weight: 600; color: #888; min-width: 70px; font-size: 0.82rem; display: inline-flex; align-items: center; }

/* ─── ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeIn  { from { opacity: 0; }             to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes pulse   { 0%, 100% { opacity: 1; }         50% { opacity: 0.4; } }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1100px) {
    .content-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .sidebar-card { flex: 1; min-width: 200px; }
}
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { display: none; }
    .topbar { display: none; }
    .navbar { padding: 0 20px; }
    .navbar-links { display: none; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .hero { padding: 60px 20px 80px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-states-value { font-size: 0.9rem; white-space: normal; }
    .section-intro, .how-strip, .main-container, .partner-section { padding-left: 20px; padding-right: 20px; }
    .section-intro { flex-direction: column; align-items: flex-start; }
    .calendar-card, .form-section { padding: 20px; }
    .form-cta-inline { flex-direction: column; align-items: flex-start; }
    .hero-stats { gap: 20px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
