/* ============================================================
   ANTP Portal v5 — Shared Styles
   Arasi Nagara Tamil Palli — Charlotte, NC
   ============================================================ */

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

:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'DM Serif Display', Georgia, serif;
    --font-content: 'Nunito Sans', 'Inter', -apple-system, sans-serif;

    --bg: #F8FAFB;
    --bg-card: #FFFFFF;
    --bg-subtle: #EFF3F6;
    --bg-accent: #F0F6FA;

    --text-primary: #1A1D23;
    --text-secondary: #3D4551;
    --text-muted: #6B7280;
    --text-faint: #9CA3AF;

    --border: #DCE1E8;
    --border-light: #EDF0F4;

    --saffron: #1B6B93;
    --saffron-light: #E8F4FA;
    --saffron-dark: #145473;
    --maroon: #1E3A5F;
    --maroon-light: #EDF1F7;
    --gold: #B8860B;
    --gold-light: #FDF8E8;
    --teal: #0E7C6B;
    --teal-light: #E8F8F5;
    --indigo: #4F46E5;
    --indigo-light: #EEF2FF;
    --coral: #E8614D;
    --coral-light: #FEF0EE;
    --dark-btn: #2DB77B;
    --dark-btn-hover: #25A06B;
    --section-lavender: #F3F0F8;
    --section-mint: #E8F9F2;
    --section-peach: #FDF5F0;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.03);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);

    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
main { flex: 1; }

/* ============ CONTENT FONT (Avenir Next style) ============ */
p, .card-body, .page-hero-sub, .footer-description,
.metric-card-label, .activity-item p, .data-table td,
.auth-form label, .form-help { font-family: var(--font-content); }

/* ============ CONTAINER ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-sans);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: var(--dark-btn);
    color: white;
    box-shadow: 0 2px 8px rgba(45,183,123,0.25);
}
.btn-primary:hover {
    background: var(--dark-btn-hover);
    box-shadow: 0 4px 16px rgba(45,183,123,0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}
.btn-secondary:hover {
    border-color: var(--text-muted);
    background: var(--bg-subtle);
}

.btn-lg { padding: 14px 28px; font-size: 0.95rem; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

.btn-white { background: white; color: #1A1D23; font-weight: 700; }
.btn-white:hover { background: #F5F5F5; box-shadow: var(--shadow-md); }

.btn-outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ============ TAGS ============ */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.tag-saffron { background: var(--saffron-light); color: var(--saffron); }
.tag-gold { background: var(--gold-light); color: var(--gold); }
.tag-teal { background: var(--teal-light); color: var(--teal); }
.tag-maroon { background: var(--maroon-light); color: var(--maroon); }
.tag-indigo { background: var(--indigo-light); color: var(--indigo); }

/* ============ CARDS ============ */
.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-header h3 { font-size: 0.95rem; font-weight: 700; }
.card-header a { font-size: 0.78rem; color: var(--saffron); font-weight: 600; }
.card-body { padding: 24px; }

/* ============ PAGE HERO ============ */
.page-hero {
    padding: 80px 0 48px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse 50% 70% at 75% 30%, rgba(45,183,123,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 20% 70%, rgba(27,107,147,0.06) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(45,183,123,0.05) 0%, transparent 50%),
        linear-gradient(135deg, #F4FBF8 0%, #F0F8F5 30%, #F2F9FC 60%, #F6FBF8 100%);
    z-index: 0;
}
.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
}
.page-hero-illustration {
    position: absolute;
    top: 50%; right: 40px;
    transform: translateY(-50%);
    width: 320px; height: 260px;
    z-index: 0;
    opacity: 0.15;
}
@media (max-width: 1024px) {
    .page-hero-illustration { width: 200px; height: 160px; right: 20px; opacity: 0.12; }
}
@media (max-width: 768px) {
    .page-hero-illustration { display: none; }
}
.page-hero-eyebrow { margin-bottom: 16px; }
.page-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 14px;
}
.page-hero-title em { font-style: italic; color: var(--coral); }
.page-hero-sub {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 520px;
}

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
.section-alt { background: white; }
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 520px;
}

/* ============ PROSE ============ */
.prose {
    max-width: 720px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
}
.prose p { margin-bottom: 20px; }
.prose h2 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 48px 0 16px;
}
.prose h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 32px 0 12px;
}
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 20px; }
.prose li { margin-bottom: 8px; list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--saffron); font-weight: 600; }
.prose a:hover { text-decoration: underline; }

/* ============ FORMS ============ */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: white;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--saffron);
    box-shadow: 0 0 0 3px rgba(27,107,147,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-faint); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-hint { font-size: 0.76rem; color: var(--text-muted); margin-top: 4px; }
.form-required { color: var(--saffron); margin-left: 2px; }

/* ============ ACCORDION ============ */
.accordion {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.accordion-item { border-bottom: 1px solid var(--border-light); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger {
    width: 100%;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: background var(--transition);
}
.accordion-trigger:hover { background: var(--bg-subtle); }
.accordion-trigger .left { display: flex; align-items: center; gap: 10px; }
.accordion-trigger .icon {
    width: 32px; height: 32px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
}
.accordion-trigger .chevron { transition: transform 0.2s; color: var(--text-muted); }
.accordion-trigger.open .chevron { transform: rotate(180deg); }
.accordion-body {
    display: none;
    padding: 0 24px 24px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.75;
}
.accordion-body.open { display: block; }
.accordion-body h4 { font-size: 0.85rem; font-weight: 700; margin: 16px 0 8px; display: flex; align-items: center; gap: 6px; }
.accordion-body ol, .accordion-body ul { padding-left: 20px; margin-bottom: 16px; }
.accordion-body li { margin-bottom: 6px; line-height: 1.7; list-style: decimal; }
.accordion-body ul li { list-style: disc; }

/* ============ TABLES ============ */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
}
.data-table td {
    padding: 14px 16px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}
.data-table tbody tr { transition: background var(--transition); }
.data-table tbody tr:hover { background: var(--bg-subtle); }

/* ============ GRIDS ============ */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-asym-left { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }

/* ============ TIMELINE ============ */
.timeline { display: flex; flex-direction: column; gap: 24px; }
.timeline-item { display: grid; grid-template-columns: 80px 1fr; gap: 24px; }
.timeline-year { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--saffron); padding-top: 4px; }
.timeline-content {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px;
    transition: all var(--transition);
}
.timeline-content:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.timeline-content h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.timeline-content p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ============ FEATURE CARD ============ */
.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-card-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ============ CONTACT CARD ============ */
.contact-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px;
    display: flex; align-items: flex-start; gap: 16px;
    transition: all var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.contact-card-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--saffron);
}
.contact-card-body h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.contact-card-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.contact-card-body a { color: var(--saffron); font-weight: 600; font-size: 0.85rem; }
.contact-card-body a:hover { text-decoration: underline; }

/* ============ BRANCH CARD ============ */
.branch-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 28px;
    transition: all var(--transition);
    position: relative; overflow: hidden;
}
.branch-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
}
.branch-card.south-1::before { background: var(--saffron); }
.branch-card.south-2::before { background: var(--gold); }
.branch-card.north::before { background: var(--teal); }
.branch-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.branch-tag { margin-bottom: 14px; }
.branch-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.branch-address {
    font-size: 0.85rem; color: var(--text-muted); line-height: 1.5;
    margin-bottom: 16px; display: flex; align-items: flex-start; gap: 8px;
}
.branch-address i { margin-top: 2px; color: var(--saffron); flex-shrink: 0; }
.branch-schedule {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; background: var(--bg-subtle);
    border-radius: var(--radius-full); font-size: 0.78rem;
    font-weight: 600; color: var(--text-secondary);
}

/* ============ SPONSOR ============ */
.sponsor-logo {
    padding: 20px 32px; background: white;
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.sponsor-logo:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.sponsor-logo img { height: 48px; object-fit: contain; }

/* ============ CTA SECTION ============ */
.cta-section {
    background: linear-gradient(135deg, #1A3A2E 0%, #1B4D3E 50%, #1E5F4A 100%);
    border-radius: var(--radius-xl);
    padding: 64px; text-align: center;
    margin-bottom: 80px; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}
.cta-title { font-family: var(--font-serif); font-size: clamp(1.6rem,3vw,2.2rem); color: white; margin-bottom: 12px; position: relative; }
.cta-subtitle { font-size: 1rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; position: relative; }
.cta-actions { display: flex; gap: 12px; justify-content: center; position: relative; }

/* ============ GALLERY ============ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    position: relative;
    transition: all var(--transition);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px; color: var(--text-muted);
}

/* ============ STATS ============ */
.stats-grid {
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 1px; background: var(--border);
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.stat-card { background: white; padding: 32px 20px; text-align: center; }
.stat-number {
    font-family: var(--font-serif);
    font-size: 2.8rem; font-weight: 700; line-height: 1; margin-bottom: 6px;
}
.stat-number.saffron { color: var(--saffron); }
.stat-number.teal { color: var(--teal); }
.stat-number.gold { color: var(--gold); }
.stat-number.maroon { color: var(--maroon); }
.stat-label { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }

/* ============ DASHBOARD APP SHELL ============ */
.app-shell { display: flex; height: 100vh; overflow: hidden; }
.sidebar {
    width: 260px; background: white;
    border-right: 1px solid var(--border-light);
    display: flex; flex-direction: column;
    padding: 24px 16px; flex-shrink: 0;
}
.sidebar-brand {
    display: flex; align-items: center; gap: 10px;
    padding: 0 8px 24px; border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
}
.sidebar-brand img { height: 32px; }
.sidebar-brand span { font-size: 0.85rem; font-weight: 700; color: var(--saffron); }
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; overflow-y: auto; }
.nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: var(--radius-md);
    font-size: 0.875rem; font-weight: 600;
    color: var(--text-muted); transition: all var(--transition); cursor: pointer;
}
.nav-item:hover { background: var(--bg-subtle); color: var(--text-primary); }
.nav-item.active { background: var(--saffron-light); color: var(--saffron); }
.nav-item .icon { width: 20px; height: 20px; }
.sidebar-footer {
    padding-top: 16px; border-top: 1px solid var(--border-light);
    display: flex; align-items: center; gap: 10px;
}
.avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--saffron-light); color: var(--saffron);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.85rem;
}
.user-info { font-size: 0.82rem; }
.user-info strong { display: block; color: var(--text-primary); }
.user-info span { color: var(--text-muted); font-size: 0.75rem; }
.main-content { flex: 1; overflow-y: auto; padding: 32px; }
.main-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 32px;
}
.main-header h1 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400; }
.main-header p { font-size: 0.88rem; color: var(--text-muted); }

/* Dashboard metric cards */
.metric-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px;
    transition: all var(--transition);
}
.metric-card:hover { box-shadow: var(--shadow-sm); }
.metric-card-icon {
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.metric-card-value {
    font-family: var(--font-serif);
    font-size: 1.8rem; font-weight: 700; line-height: 1; margin-bottom: 4px;
}
.metric-card-label { font-size: 0.78rem; color: var(--text-muted); }

/* ============ AUTH LAYOUT ============ */
.auth-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    min-height: 100vh; width: 100%;
}
.auth-left {
    display: flex; flex-direction: column;
    justify-content: center; padding: 48px;
}
.auth-brand {
    display: flex; align-items: center; gap: 12px; margin-bottom: 48px;
}
.auth-brand img { height: 40px; }
.auth-brand span { font-size: 0.9rem; font-weight: 700; color: var(--saffron); }
.auth-form { max-width: 380px; width: 100%; }
.auth-form h1 { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 400; margin-bottom: 8px; }
.auth-form > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.auth-right {
    background: linear-gradient(135deg, #1A3A2E 0%, #1B4D3E 50%, #1E5F4A 100%);
    display: flex; align-items: center; justify-content: center;
    padding: 48px; position: relative; overflow: hidden;
}
.auth-right::before {
    content: ''; position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.auth-right-content { text-align: center; color: white; position: relative; z-index: 1; max-width: 400px; }
.auth-right-content h2 { font-family: var(--font-serif); font-size: 2rem; font-weight: 400; margin-bottom: 16px; line-height: 1.3; }
.auth-right-content p { font-size: 0.95rem; opacity: 0.8; line-height: 1.7; margin-bottom: 32px; }

.divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.divider span { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* ============ POLICY LAYOUT ============ */
.policy-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.policy-nav {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius-xl); overflow: hidden;
    position: sticky; top: 90px;
}
.policy-nav-header {
    padding: 14px 18px; background: var(--bg-subtle);
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--text-muted);
}
.policy-nav-item {
    display: flex; align-items: center; gap: 8px;
    padding: 11px 18px; font-size: 0.85rem;
    color: var(--text-secondary); border-bottom: 1px solid var(--border-light);
    cursor: pointer; transition: all var(--transition);
}
.policy-nav-item:last-child { border-bottom: none; }
.policy-nav-item:hover { background: var(--bg-subtle); color: var(--saffron); }
.policy-nav-item.active {
    background: var(--bg-subtle); color: var(--saffron);
    font-weight: 600; border-left: 3px solid var(--saffron);
}
.policy-content {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 32px; min-height: 400px;
}

/* ============ NAVIGATION ============ */
.nav-wrapper {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 42px; }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-text .tamil { font-size: 0.95rem; font-weight: 700; color: var(--saffron); letter-spacing: -0.01em; }
.nav-brand-text .sub { font-size: 0.68rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links > li > a {
    display: flex; align-items: center; gap: 4px;
    padding: 8px 14px; font-size: 0.875rem; font-weight: 600;
    color: var(--text-secondary); border-radius: var(--radius-md);
    transition: all var(--transition);
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--text-primary); background: var(--bg-subtle); }
.nav-dropdown {
    position: absolute; top: calc(100% + 8px); left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 200px; background: white;
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 8px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transition: all 0.2s ease; z-index: 200;
}
.nav-links > li:hover > .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown a {
    display: block; padding: 10px 14px; font-size: 0.85rem;
    font-weight: 500; color: var(--text-secondary);
    border-radius: var(--radius-sm); transition: all var(--transition);
}
.nav-dropdown a:hover { background: var(--bg-subtle); color: var(--saffron); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--text-primary); }
.desktop-only { }
.cognia-badge { }

/* Mobile nav overlay */
.mobile-nav {
    display: none; position: fixed; inset: 0;
    background: white; z-index: 200; padding: 24px;
    flex-direction: column; overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links a {
    padding: 14px 16px; font-size: 1rem; font-weight: 600;
    color: var(--text-secondary); border-radius: var(--radius-md);
    transition: all var(--transition);
}
.mobile-nav-links a:hover { background: var(--bg-subtle); color: var(--saffron); }
.mobile-nav-links .sub-link { padding-left: 32px; font-size: 0.9rem; font-weight: 500; }

@media (max-width: 999px) {
    .desktop-only { display: none !important; }
    .mobile-toggle { display: block; }
    .nav-links { display: none; }
}

/* ============ FOOTER ============ */
.site-footer {
    background: #152238;
    color: rgba(255,255,255,0.6);
    padding: 64px 0 0;
    margin-top: auto;
}
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1.2fr;
    gap: 48px; padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name { font-family: var(--font-serif); font-size: 1.1rem; color: white; margin-bottom: 4px; }
.footer-brand-sub { font-size: 0.75rem; color: #5BD9A0; opacity: 1; margin-bottom: 16px; }
.footer-description { font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: var(--radius-full);
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.7);
    transition: all var(--transition);
}
.footer-social:hover { background: rgba(255,255,255,0.14); color: white; }
.site-footer h5 {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-links a:hover { color: white; }
.footer-location { margin-bottom: 14px; }
.footer-location strong { font-size: 0.8rem; color: rgba(255,255,255,0.8); display: block; margin-bottom: 2px; }
.footer-location span { font-size: 0.82rem; display: block; }
.footer-location .timing { font-size: 0.76rem; color: #5BD9A0; margin-top: 2px; }
.footer-contact-item { margin-bottom: 12px; }
.footer-contact-item label {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.05em; color: rgba(255,255,255,0.4); display: block; margin-bottom: 2px;
}
.footer-contact-item a { font-size: 0.82rem; color: #5BD9A0; transition: opacity var(--transition); }
.footer-contact-item a:hover { opacity: 0.8; }
.footer-bottom {
    padding: 20px 0; display: flex; align-items: center;
    justify-content: space-between; font-size: 0.76rem; color: rgba(255,255,255,0.3);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(2,1fr); gap: 32px; } }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 8px; text-align: center; } }

/* ============ TODDLE-INSPIRED SECTIONS ============ */
.section-lavender { background: var(--section-lavender); }
.section-mint { background: var(--section-mint); }
.section-peach { background: var(--section-peach); }

/* Gradient hero background — subtle multi-tone glaze */
.hero-gradient-bg {
    background:
        radial-gradient(ellipse 80% 60% at 15% 25%, rgba(220,248,235,0.7) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 80% 35%, rgba(200,240,225,0.5) 0%, transparent 50%),
        radial-gradient(ellipse 65% 50% at 50% 75%, rgba(232,248,245,0.5) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 25% 55%, rgba(240,255,248,0.4) 0%, transparent 50%),
        linear-gradient(180deg, #F4FBF8 0%, #EFF8F4 100%);
}

/* Full-bleed hero (like Toddle sustainability) */
.hero-fullbleed {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}
.hero-fullbleed .hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.hero-fullbleed .hero-subtitle {
    font-family: var(--font-content);
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto 32px;
}
.hero-fullbleed .hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Coral accent for highlighted text */
.text-coral { color: var(--coral); }
.text-accent em, .hero-title em { font-style: italic; color: var(--coral); }

/* Toddle-style card with colored bg */
.card-colored {
    border: none;
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--transition);
}
.card-colored:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-colored.lavender { background: var(--section-lavender); }
.card-colored.mint { background: var(--section-mint); }
.card-colored.peach { background: var(--section-peach); }
.card-colored.blue { background: var(--saffron-light); }

/* Pill badge (like Toddle's green pill) */
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
}
.pill-badge.dark { background: var(--dark-btn); color: white; }
.pill-badge.teal { background: var(--teal); color: white; }
.pill-badge.coral { background: var(--coral); color: white; }

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ============ UTILITIES ============ */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.text-center { text-align: center; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .grid-asym-left { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .policy-layout { grid-template-columns: 1fr; }
    .policy-nav { position: static; }
    .auth-layout { grid-template-columns: 1fr; }
    .auth-right { display: none; }
}

@media (max-width: 768px) {
    .page-hero { padding: 48px 0 32px; }
    .section { padding: 48px 0; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .stat-card { padding: 24px 16px; }
    .stat-number { font-size: 2.2rem; }
    .cta-section { padding: 40px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .form-row-3 { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .main-content { padding: 20px; }
    .auth-left { padding: 32px 24px; align-items: center; }
}

@media (max-width: 480px) {
    .grid-2 { grid-template-columns: 1fr; }
}

/* ============ HORIZONTAL DASHBOARD ============ */
.dash-hz { display: flex; flex-direction: column; min-height: 100vh; }
.dash-hz-topbar {
    background: white;
    border-bottom: 1px solid var(--border-light);
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky; top: 0; z-index: 50;
}
.dash-hz-brand {
    display: flex; align-items: center; gap: 10px;
}
.dash-hz-brand img { height: 32px; }
.dash-hz-brand span { font-size: 0.85rem; font-weight: 700; color: var(--saffron); }
.dash-hz-nav {
    display: flex; align-items: center; gap: 2px;
}
.dash-hz-nav a {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: var(--radius-md);
    font-size: 0.82rem; font-weight: 600;
    color: var(--text-muted); transition: all var(--transition);
}
.dash-hz-nav a:hover { background: var(--bg-subtle); color: var(--text-primary); }
.dash-hz-nav a.active { background: var(--saffron-light); color: var(--saffron); }
.dash-hz-user {
    display: flex; align-items: center; gap: 10px;
}
.dash-hz-body { flex: 1; padding: 32px; max-width: 1200px; margin: 0 auto; width: 100%; }
.dash-hz-header { margin-bottom: 32px; }
.dash-hz-header h1 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400; margin-bottom: 4px; }
.dash-hz-header p { font-size: 0.88rem; color: var(--text-muted); }
.dash-hz-mobile-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text-primary); padding: 8px; }

@media (max-width: 999px) {
    .dash-hz-nav { display: none; }
    .dash-hz-mobile-toggle { display: flex; }
    .dash-hz-topbar { padding: 0 16px; }
    .dash-hz-body { padding: 20px 16px; }
}

/* Horizontal dashboard mobile nav overlay */
.dash-hz-mobile-nav {
    display: none; position: fixed; inset: 0;
    background: white; z-index: 200; padding: 24px;
    flex-direction: column; overflow-y: auto;
}
.dash-hz-mobile-nav.open { display: flex; }
.dash-hz-mobile-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px; font-size: 0.95rem; font-weight: 600;
    color: var(--text-secondary); border-radius: var(--radius-md);
    transition: all var(--transition);
}
.dash-hz-mobile-nav a:hover { background: var(--bg-subtle); color: var(--saffron); }
.dash-hz-mobile-nav a.active { background: var(--saffron-light); color: var(--saffron); }

/* ============ ENHANCED TABLET ============ */
@media (min-width: 769px) and (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .page-hero { padding: 60px 0 40px; }
    .section { padding: 60px 0; }
    .cta-section { padding: 48px 32px; }
}

/* ============ SIDEBAR MOBILE TOGGLE ============ */
.sidebar-mobile-toggle {
    display: none; position: fixed; bottom: 20px; left: 20px;
    z-index: 100; width: 48px; height: 48px;
    border-radius: 50%; background: var(--saffron); color: white;
    border: none; cursor: pointer; box-shadow: var(--shadow-lg);
    align-items: center; justify-content: center;
}
@media (max-width: 768px) {
    .sidebar-mobile-toggle { display: flex; }
    .sidebar.mobile-open { display: flex; position: fixed; inset: 0; z-index: 150; width: 100%; }
}
