/* ============================================================
   VMG — Redesigned Website
   Hybrid: Concept A layout · Concept C colour palette
   Plain CSS · No framework · Mobile-first
   ============================================================ */

:root {
  --blue:        #3b82f6;
  --blue-dark:   #2563eb;
  --blue-light:  #eff6ff;
  --blue-border: #bfdbfe;
  --green-bg:    #f0fdf4;
  --green-b:     #bbf7d0;
  --teal-bg:     #ecfdf5;
  --teal-b:      #a7f3d0;
  --amber-bg:    #fffbeb;
  --amber-b:     #fde68a;
  --orange-bg:   #fff7ed;
  --orange-b:    #fed7aa;
  --purple-bg:   #faf5ff;
  --purple-b:    #e9d5ff;
  --pink-bg:     #fdf2f8;
  --pink-b:      #fbcfe8;
  --navy:        #1a1a1a;
  --text:        #3d3d3d;
  --muted:       #6b7280;
  --light:       #f8f9fa;
  --border:      #e5e7eb;
  --white:       #ffffff;

  --font: 'Rubik', 'Helvetica Neue', Arial, sans-serif;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;
  --transition: 0.2s ease;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
p { color: var(--muted); line-height: 1.75; margin-bottom: 0.85rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.15; }

/* ── Layout ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-primary   { background: var(--navy); color: var(--white); border: 2px solid var(--navy); }
.btn-primary:hover { background: #333; border-color: #333; }
.btn-blue      { background: var(--blue); color: var(--white); border: 2px solid var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline   { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--navy); }
.btn-sm { font-size: 0.85rem; padding: 9px 20px; }

/* ── NAV ─────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-accent { height: 3px; background: var(--blue); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; gap: 10px; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-drawer {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 24px 48px;
  gap: 16px;
}
.nav-drawer a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--light);
}
.nav-drawer a:hover { color: var(--blue); }
.nav-drawer .btn { width: fit-content; }
.nav-drawer.open { display: flex; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: var(--light);
  padding: 80px 0 72px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  align-items: center;
}
.hero-left { padding-right: 60px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
  background: var(--blue-light);
  padding: 5px 14px;
  border-radius: 100px;
}
.hero h1 {
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero h1 em {
  font-style: italic;
  color: var(--blue);
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-wa a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  border: 1.5px solid var(--border);
  padding: 9px 20px;
  border-radius: 100px;
  transition: border-color var(--transition), color var(--transition);
}
.hero-wa a:hover { border-color: var(--blue); color: var(--blue); }

/* Hero right — stats */
.hero-right {
  border-left: 1px solid var(--border);
  padding-left: 60px;
  display: flex;
  flex-direction: column;
}
.hero-stat {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.hero-stat:last-child { border-bottom: none; }
.hero-stat-num {
  display: block;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.88rem;
  color: var(--muted);
  display: block;
}
.hero-stat-bar {
  width: 28px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin-top: 10px;
}

/* ── SECTION SHARED ─────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--light); }

.parent-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--border);
}
.parent-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.parent-line { flex: 1; height: 1px; background: var(--border); }
.parent-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  background: var(--light);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.sub-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sub-label:first-of-type { margin-top: 0; }
.sub-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── CARDS ───────────────────────────────────────────────── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cards-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cards-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.card-logo {
  height: 56px;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.card-logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}
.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.card-title a { color: var(--navy); }
.card-title a:hover { color: var(--blue); }
.card-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 14px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  margin-top: auto;
}
.card-link:hover { color: var(--blue-dark); }
.card-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}
.card-link:hover svg { transform: translateX(3px); }

/* Colour variants */
.card-green  { background: var(--green-bg);  border: 1px solid var(--green-b); }
.card-teal   { background: var(--teal-bg);   border: 1px solid var(--teal-b); }
.card-blue   { background: var(--blue-light); border: 1px solid var(--blue-border); }
.card-amber  { background: var(--amber-bg);  border: 1px solid var(--amber-b); }
.card-orange { background: var(--orange-bg); border: 1px solid var(--orange-b); }
.card-purple { background: var(--purple-bg); border: 1px solid var(--purple-b); }
.card-pink   { background: var(--pink-bg);   border: 1px solid var(--pink-b); }
.card-muted  { background: var(--light); border: 1.5px dashed var(--border); }

/* Books — wide single row */
.card-books {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
}
.card-books .books-icon {
  font-size: 2rem;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b45309;
}
.card-books .card-body { margin-bottom: 0; }

/* ── TIMELINE ────────────────────────────────────────────── */
.timeline-section {
  background: var(--light);
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.timeline-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}
.timeline-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.timeline-line {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}
.timeline-fill {
  position: absolute;
  top: 8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--blue-border);
}
.tl-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.tl-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  margin-bottom: 14px;
  flex-shrink: 0;
}
.tl-dot-sm {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-border);
  margin-bottom: 14px;
  flex-shrink: 0;
  margin-top: 3px;
}
.tl-dot-now {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  outline: 4px solid var(--blue-border);
  outline-offset: 2px;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.tl-year {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.tl-year-muted {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}
.tl-event {
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
  max-width: 80px;
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about-section { padding: 80px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.about-left {
  padding-right: 60px;
  border-right: 1px solid var(--border);
}
.about-year {
  font-size: 5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.about-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.25;
}
.about-body {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
}
.about-entities {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}
.entity-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.entity-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.about-right {
  padding-left: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.leader-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: box-shadow var(--transition);
}
.leader-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.leader-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 12px;
}
.leader-role {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}
.leader-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.leader-bio {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
}
.leader-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
}
.leader-link:hover { color: var(--blue-dark); }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
}
.footer-logo img {
  height: 40px;
  width: auto;
  margin-bottom: 20px;
}
.footer-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 400px;
}
.footer-contact-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  width: 20px;
  min-width: 20px;
  margin-top: 3px;
}
.contact-icon img { width: 20px; height: auto; }
.contact-text {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.55;
}
.contact-text a { color: var(--blue); }
.contact-text a:hover { color: var(--blue-dark); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.95rem;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  gap: 24px;
}
.footer-nav a {
  font-size: 0.95rem;
  color: var(--muted);
}
.footer-nav a:hover { color: var(--blue); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero h1 { font-size: 2.8rem; }

}

@media (max-width: 900px) {
  .container { padding: 0 32px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero { padding: 56px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-left { padding-right: 0; }
  .hero h1 { font-size: 2.6rem; }
  .hero-right { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
  .hero-stat { border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); padding: 20px 24px; }
  .hero-stat:nth-child(2n) { border-right: none; }
  .hero-stat:nth-child(3), .hero-stat:nth-child(4) { border-bottom: none; }

  .section { padding: 60px 0; }
  .parent-title { font-size: 1.65rem; }

  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-5 { grid-template-columns: repeat(2, 1fr); }
  .cards-6 { grid-template-columns: repeat(2, 1fr); }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-left { padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 48px; }
  .about-right { padding-left: 0; }

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

  .contact-form-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
}

/* ── CONTACT FORM SECTION ───────────────────────────────── */
.contact-form-section { background: var(--white); }

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: start;
}

.contact-form-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.contact-form-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
}

/* Form fields */
.form-row { display: grid; gap: 16px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 0.97rem;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: border-color 0.15s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #ef4444;
}

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

.field-error {
  font-size: 0.82rem;
  color: #ef4444;
  min-height: 1em;
}

.btn-submit {
  margin-top: 4px;
  padding: 14px 36px;
  font-size: 1rem;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success / error states */
.fs-success-msg {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 1rem;
  color: #166534;
  margin-bottom: 24px;
}
.fs-success-msg svg { width: 22px; height: 22px; flex-shrink: 0; color: #16a34a; }

.fs-form-error:not(:empty) {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.9rem;
  color: #991b1b;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .contact-form-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav-drawer { padding: 20px; }

  .hero { padding: 40px 0; }
  .hero h1 { font-size: 2rem; }
  .hero-desc { font-size: 1rem; }
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; max-width: 320px; }
  .hero-stat-num { font-size: 2rem; }
  .hero-right { grid-template-columns: 1fr; }
  .hero-stat:nth-child(2n) { border-right: none; }
  .hero-stat:nth-child(3) { border-bottom: 1px solid var(--border); }

  .section { padding: 48px 0; }
  .parent-title { font-size: 1.4rem; }
  .parent-header { margin-bottom: 32px; }

  .cards-3, .cards-5, .cards-6 { grid-template-columns: 1fr; }
  .card-books { flex-direction: column; gap: 12px; }

  .about-year { font-size: 3.5rem; }
  .about-title { font-size: 1.25rem; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-nav { flex-wrap: wrap; gap: 16px; }

  .sub-label { font-size: 0.7rem; }

  .tl-year, .tl-year-muted { font-size: 0.8rem; }
  .tl-event { font-size: 0.72rem; }

  .timeline-section { padding: 40px 0; }
}
