/* ═══════════════════════════════════════════════════════════════════════════
   Tiljala HRDC — Main Stylesheet
   Palette: Deep Navy #1A3A5C  |  Gold #E8A020  |  White #FFFFFF
   Font: Playfair Display (headings) + Inter (body)
═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ──────────────────────────────────────────────── */
:root {
    --navy:       #1A3A5C;
    --navy-light: #234d7a;
    --navy-dark:  #122840;
    --gold:       #E8A020;
    --gold-light: #f5be58;
    --gold-dark:  #c88510;
    --white:      #FFFFFF;
    --off-white:  #F8F9FA;
    --light-blue: #EFF4FB;
    --text:       #2D2D2D;
    --text-muted: #6B7280;
    --border:     #E5E7EB;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
    --shadow:     0 4px 16px rgba(26,58,92,.12);
    --shadow-lg:  0 8px 32px rgba(26,58,92,.18);
    --radius:     8px;
    --radius-lg:  16px;
    --transition: 0.25s ease;
    --font-head:  'Playfair Display', Georgia, serif;
    --font-body:  'Inter', system-ui, sans-serif;
    --container:  1200px;
}

/* ── Reset & Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Layout Helpers ──────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}
.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }
.section--lg { padding: 7rem 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--light { background: var(--off-white); }
.section--light-blue { background: var(--light-blue); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Typography ─────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-head);
    line-height: 1.25;
    color: var(--navy);
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }
p  { margin-bottom: 1rem; }

.section-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .75rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 640px; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-gold  { color: var(--gold); }
.text-navy  { color: var(--navy); }
.lead { font-size: 1.15rem; line-height: 1.8; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    transition: all var(--transition);
    letter-spacing: .01em;
    text-decoration: none;
}
.btn--navy  { background: var(--navy); color: var(--white); }
.btn--navy:hover  { background: var(--navy-dark); box-shadow: var(--shadow); transform: translateY(-1px); }
.btn--gold  { background: var(--gold); color: var(--navy-dark); }
.btn--gold:hover  { background: var(--gold-dark); box-shadow: var(--shadow); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }
.btn--sm { padding: .5rem 1.25rem; font-size: .875rem; }
.btn--lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* ── Topbar ─────────────────────────────────────────────────────────────── */
.topbar {
    background: var(--navy-dark);
    color: rgba(255,255,255,.85);
    font-size: .8rem;
    padding: .4rem 0;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,.85); margin-right: 1.25rem; transition: color var(--transition); }
.topbar a:hover { color: var(--gold); }
.topbar a i { margin-right: .3rem; }
.topbar__right a { margin-right: 0; margin-left: .8rem; font-size: .85rem; }

/* ── Site Header ────────────────────────────────────────────────────────── */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.header__logo img { height: 52px; width: auto; }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.main-nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: .25rem; }
.nav__link {
    display: block;
    padding: .5rem .85rem;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
    position: relative;
}
.nav__link:hover, .nav__link.active { color: var(--navy); }
.nav__link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: .85rem;
    right: .85rem;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}
.nav__link i { font-size: .65rem; margin-left: .2rem; }
.nav__cta { margin-left: .5rem; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    z-index: 999;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: .65rem 1.25rem;
    font-size: .875rem;
    color: var(--text);
    transition: color var(--transition), background var(--transition);
    border-left: 3px solid transparent;
}
.dropdown li a:hover {
    background: var(--light-blue);
    color: var(--navy);
    border-left-color: var(--gold);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    padding: .25rem;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ── Hero Section ───────────────────────────────────────────────────────── */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1d4d78 100%);
    color: var(--white);
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: center;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/images/hero-bg.webp') center/cover no-repeat;
    opacity: .15;
}
.hero__pattern {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 45%;
    overflow: hidden;
}
.hero__pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(232,160,32,.25) 0%, transparent 70%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__content { max-width: 620px; }
.hero__eyebrow {
    display: inline-block;
    background: rgba(232,160,32,.2);
    border: 1px solid rgba(232,160,32,.4);
    color: var(--gold-light);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--gold); }
.hero__sub { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 2rem; max-width: 520px; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Impact Stats Bar ───────────────────────────────────────────────────── */
.stats-bar {
    background: var(--gold);
    padding: 2rem 0;
}
.stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    text-align: center;
}
.stat-item { padding: .5rem; }
.stat-item__number {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1;
    display: block;
}
.stat-item__label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: .35rem;
}
.stat-item__divider {
    width: 1px;
    background: rgba(26,58,92,.2);
    margin: auto;
}

/* ── Section Heading Block ───────────────────────────────────────────────── */
.section-head { margin-bottom: 3rem; }
.section-head--center { text-align: center; }
.section-head--center .section-subtitle { margin: 0 auto; }

/* ── Program Cards ──────────────────────────────────────────────────────── */
.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.program-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--gold);
}
.program-card__icon {
    width: 56px; height: 56px;
    background: var(--light-blue);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1.25rem;
    transition: background var(--transition);
}
.program-card:hover .program-card__icon { background: var(--gold); color: var(--navy-dark); }
.program-card h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.program-card p  { color: var(--text-muted); flex: 1; }
.program-card__link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    font-size: .875rem;
    color: var(--navy);
    margin-top: 1.25rem;
    transition: gap var(--transition), color var(--transition);
}
.program-card__link:hover { color: var(--gold); gap: .7rem; }

/* ── Impact Flow (How We Create Impact) ─────────────────────────────────── */
.impact-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin: 2rem 0;
}
.impact-flow__step {
    text-align: center;
    flex: 1;
    min-width: 140px;
}
.impact-flow__circle {
    width: 80px; height: 80px;
    background: var(--navy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--white);
    position: relative;
    z-index: 1;
}
.impact-flow__step:nth-child(1) .impact-flow__circle { background: #1A3A5C; }
.impact-flow__step:nth-child(3) .impact-flow__circle { background: #1d5278; }
.impact-flow__step:nth-child(5) .impact-flow__circle { background: #E8A020; }
.impact-flow__step:nth-child(7) .impact-flow__circle { background: #122840; }
.impact-flow__arrow {
    color: var(--gold);
    font-size: 1.5rem;
    flex-shrink: 0;
    padding: 0 .5rem;
    margin-bottom: 2.5rem;
}
.impact-flow__label { font-weight: 600; font-size: .9rem; }

/* ── Timeline ───────────────────────────────────────────────────────────── */
.timeline { position: relative; padding: 2rem 0; }
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}
.timeline__item {
    display: grid;
    grid-template-columns: 1fr 96px 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 3rem;
}
.timeline__item:nth-child(odd) .timeline__content { grid-column: 1; text-align: right; }
.timeline__item:nth-child(odd) .timeline__dot   { grid-column: 2; }
.timeline__item:nth-child(odd) .timeline__empty  { grid-column: 3; }
.timeline__item:nth-child(even) .timeline__empty  { grid-column: 1; }
.timeline__item:nth-child(even) .timeline__dot   { grid-column: 2; }
.timeline__item:nth-child(even) .timeline__content { grid-column: 3; }
.timeline__dot {
    width: 80px; height: 80px;
    background: var(--navy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: .72rem;
    line-height: 1.25;
    text-align: center;
    padding: 0 8px;
    justify-self: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px var(--light-blue);
}
.timeline__content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-sm);
}
.timeline__content h4 { color: var(--navy); margin-bottom: .5rem; }
.timeline__content p  { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ── Team Cards ──────────────────────────────────────────────────────────── */
.team-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-card__photo {
    width: 120px; height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.25rem;
    border: 4px solid var(--light-blue);
}
.team-card__photo--placeholder {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
}
.team-card h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.team-card__role { color: var(--gold-dark); font-weight: 600; font-size: .85rem; margin-bottom: .75rem; }
.team-card p  { font-size: .875rem; color: var(--text-muted); }
.team-card__more {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .85rem; font-weight: 600; color: var(--navy);
    margin-top: .75rem;
    transition: gap var(--transition), color var(--transition);
}
.team-card__more:hover { color: var(--gold); gap: .5rem; }

/* ── Blog Cards ──────────────────────────────────────────────────────────── */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card__img {
    width: 100%; height: 200px;
    object-fit: cover;
}
.blog-card__img--placeholder {
    background: linear-gradient(135deg, var(--light-blue), #d4e4f7);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--navy);
    opacity: .5;
}
.blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__date { font-size: .78rem; color: var(--text-muted); margin-bottom: .5rem; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.blog-card p  { color: var(--text-muted); font-size: .9rem; flex: 1; }
.blog-card__link {
    display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 600; font-size: .875rem; color: var(--navy);
    margin-top: 1rem; transition: gap var(--transition), color var(--transition);
}
.blog-card__link:hover { color: var(--gold); gap: .7rem; }

/* ── Info Cards (Why Support Us) ─────────────────────────────────────────── */
.info-card {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid transparent;
    transition: all var(--transition);
}
.info-card--green  { border-top-color: #22C55E; }
.info-card--blue   { border-top-color: #3B82F6; }
.info-card--orange { border-top-color: #F97316; }
.info-card--purple { border-top-color: #A855F7; }
.info-card:hover   { box-shadow: var(--shadow); transform: translateY(-3px); }
.info-card__dot {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.info-card--green  .info-card__dot { background: #DCFCE7; }
.info-card--blue   .info-card__dot { background: #DBEAFE; }
.info-card--orange .info-card__dot { background: #FFEDD5; }
.info-card--purple .info-card__dot { background: #F3E8FF; }
.info-card h4  { margin-bottom: .5rem; }
.info-card p   { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ── Impact Counter Section ─────────────────────────────────────────────── */
.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.counter-item {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    padding: 2rem 1rem;
}
.counter-item__number {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gold);
    display: block;
    line-height: 1;
}
.counter-item__label { color: rgba(255,255,255,.8); font-size: .9rem; margin-top: .5rem; }

/* ── Page Hero (inner pages) ─────────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: var(--white);
    padding: 4rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero .section--light + & { background: var(--off-white); }
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.8); max-width: 600px; }
.breadcrumb {
    display: flex; align-items: center; gap: .5rem;
    font-size: .85rem; color: rgba(255,255,255,.7);
    margin-bottom: 1rem;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: .6rem; }

/* ── Feature Section (with image) ───────────────────────────────────────── */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.feature-split--reverse { direction: rtl; }
.feature-split--reverse > * { direction: ltr; }
.feature-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.feature-img img { width: 100%; height: 380px; object-fit: cover; }
.feature-img--placeholder {
    height: 380px;
    background: linear-gradient(135deg, var(--light-blue), #c8ddf5);
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: var(--navy); opacity: .3;
}

/* ── Accordion ────────────────────────────────────────────────────────────── */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.accordion__item + .accordion__item { border-top: 1px solid var(--border); }
.accordion__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy);
    transition: background var(--transition);
    text-align: left;
}
.accordion__trigger:hover { background: var(--light-blue); }
.accordion__trigger i { transition: transform var(--transition); flex-shrink: 0; color: var(--gold); }
.accordion__trigger.open i { transform: rotate(180deg); }
.accordion__body {
    display: none;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--off-white);
    color: var(--text-muted);
    line-height: 1.8;
}
.accordion__body.open { display: block; }

/* ── Story of Change / Quote Block ──────────────────────────────────────── */
.story-card {
    background: var(--light-blue);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border-left: 5px solid var(--gold);
}
.story-card__tag {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; color: var(--gold-dark); margin-bottom: 1rem;
}
.story-card h3 { font-size: 1.4rem; margin-bottom: .75rem; }
.story-card p { color: var(--text-muted); }

/* ── Get Involved Tabs ───────────────────────────────────────────────────── */
.tabs { margin-bottom: 2rem; display: flex; gap: .5rem; border-bottom: 2px solid var(--border); }
.tab-btn {
    padding: .75rem 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
    background: none;
    border-radius: var(--radius) var(--radius) 0 0;
}
.tab-btn.active, .tab-btn:hover { color: var(--navy); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Contact Form ────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info__item {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.25rem 0; border-bottom: 1px solid var(--border);
}
.contact-info__icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: var(--light-blue);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy); font-size: 1rem;
}
.contact-info__label { font-size: .8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-info__value { font-weight: 500; margin-top: .15rem; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: .875rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; }
input, textarea, select {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(26,58,92,.12);
}
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--text-muted); margin-top: .3rem; }
.form-success {
    padding: 1rem 1.25rem;
    background: #D1FAE5;
    border: 1px solid #6EE7B7;
    border-radius: var(--radius);
    color: #065F46;
    display: none;
}
.form-error {
    padding: 1rem 1.25rem;
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    border-radius: var(--radius);
    color: #991B1B;
    display: none;
}

/* ── Call To Action Banner ───────────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner__btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Page Content (blog, static) ─────────────────────────────────────────── */
.post-content { max-width: 760px; margin: 0 auto; }
.post-content h2 { margin: 2rem 0 1rem; }
.post-content h3 { margin: 1.5rem 0 .75rem; }
.post-content p  { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { margin: 0 0 1.25rem 1.5rem; }
.post-content li { margin-bottom: .4rem; }
.post-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.post-content blockquote {
    border-left: 4px solid var(--gold);
    padding: 1rem 1.5rem;
    background: var(--light-blue);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--navy);
}

/* ── Alert/Notice ─────────────────────────────────────────────────────────── */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-size: .9rem;
    margin-bottom: 1rem;
}
.alert--success { background: #D1FAE5; border: 1px solid #6EE7B7; color: #065F46; }
.alert--error   { background: #FEE2E2; border: 1px solid #FCA5A5; color: #991B1B; }
.alert--info    { background: #DBEAFE; border: 1px solid #93C5FD; color: #1E40AF; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.8); margin-top: 0; }
.footer__main { padding: 4rem 0 2.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__logo { margin-bottom: 1rem; opacity: .9; }
.footer__brand p { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.8; }
.footer__social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.footer__social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.1);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; color: rgba(255,255,255,.75);
    transition: all var(--transition);
}
.footer__social a:hover { background: var(--gold); color: var(--navy-dark); }
.footer__heading {
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gold);
    margin-bottom: 1.25rem;
}
.footer__links li { margin-bottom: .5rem; }
.footer__links a {
    font-size: .875rem;
    color: rgba(255,255,255,.65);
    transition: color var(--transition), padding-left var(--transition);
}
.footer__links a:hover { color: var(--gold); padding-left: .3rem; }
.footer__contact li {
    display: flex; gap: .75rem; align-items: flex-start;
    font-size: .875rem; color: rgba(255,255,255,.65);
    margin-bottom: .65rem;
}
.footer__contact i { color: var(--gold); margin-top: .2rem; flex-shrink: 0; }
.footer__contact a:hover { color: var(--gold-light); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; }
.footer__bottom-inner {
    display: flex; justify-content: space-between; align-items: center;
    font-size: .8rem; color: rgba(255,255,255,.5);
}
.footer__bottom a { color: rgba(255,255,255,.6); }
.footer__bottom a:hover { color: var(--gold); }

/* ── Utilities ───────────────────────────────────────────────────────────── */
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll { opacity: 0; transition: opacity .6s ease, transform .6s ease; transform: translateY(24px); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-bar__grid { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
    .section--lg { padding: 4.5rem 0; }

    /* Nav mobile */
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: 300px;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 5rem 1.5rem 2rem;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 999;
    }
    .main-nav.open { transform: translateX(0); }
    .nav__list { flex-direction: column; align-items: stretch; gap: .25rem; }
    .nav__link { padding: .75rem 1rem; border-radius: var(--radius); }
    .dropdown {
        position: static;
        opacity: 1; visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--off-white);
        display: none;
        border-radius: var(--radius);
        margin-top: .25rem;
    }
    .has-dropdown.open .dropdown { display: block; }

    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .feature-split { grid-template-columns: 1fr; gap: 2rem; }
    .feature-split--reverse { direction: ltr; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
    .counter-grid { grid-template-columns: 1fr 1fr; }
    .timeline::before { left: 40px; }
    .timeline__item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    .timeline__item:nth-child(odd) .timeline__content,
    .timeline__item:nth-child(even) .timeline__content { grid-column: 2; text-align: left; }
    .timeline__item:nth-child(odd) .timeline__dot,
    .timeline__item:nth-child(even) .timeline__dot { grid-column: 1; }
    .timeline__item:nth-child(odd) .timeline__empty,
    .timeline__item:nth-child(even) .timeline__empty { display: none; }
    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer__bottom-inner { flex-direction: column; gap: .5rem; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .hero { min-height: 480px; }
    .hero__ctas { flex-direction: column; align-items: flex-start; }
    .nav-overlay {
        display: none;
        position: fixed; inset: 0;
        background: rgba(0,0,0,.4);
        z-index: 998;
    }
    .nav-overlay.open { display: block; }
}
@media (max-width: 480px) {
    .stats-bar__grid { grid-template-columns: 1fr; }
    .counter-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
}
