/*
Theme Name: Melanated Academy
Theme URI: https://melanatedacademy.org
Author: Cadwinn Foundation
Author URI: https://cadwinnfoundation.org
Description: Official theme for Melanated Academy — an online Christ-centered academy celebrating the brilliance of melanated learners with rigorous academics, biblical truth, and cultural pride.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: melanated-academy
Tags: custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy:       #0f1f3d;
  --navy-dark:  #091530;
  --navy-mid:   #162a52;
  --gold:       #c9a437;
  --gold-light: #e0bc5a;
  --gold-dark:  #a8891f;
  --white:      #ffffff;
  --off-white:  #f8f7f4;
  --light-gray: #eef0f5;
  --mid-gray:   #8a93a6;
  --dark-gray:  #2c3347;
  --text:       #1e2535;
  --border:     #dde1ea;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(15,31,61,.08);
  --shadow:     0 4px 16px rgba(15,31,61,.12);
  --shadow-lg:  0 12px 40px rgba(15,31,61,.16);

  --transition: .25s ease;
  --max-width:  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: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

ul, ol { padding-left: 1.5rem; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.15rem; color: #4a5568; line-height: 1.8; }

blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy-mid);
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-white   { color: var(--white) !important; }
.text-gold    { color: var(--gold) !important; }
.text-navy    { color: var(--navy) !important; }

.bg-navy      { background-color: var(--navy); }
.bg-navy-dark { background-color: var(--navy-dark); }
.bg-off-white { background-color: var(--off-white); }
.bg-light     { background-color: var(--light-gray); }
.bg-gold      { background-color: var(--gold); }

.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; }

.flex          { display: flex; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap     { flex-wrap: wrap; }
.gap-1         { gap: .5rem; }
.gap-2         { gap: 1rem; }
.gap-3         { gap: 1.5rem; }
.gap-4         { gap: 2rem; }

.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; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,164,55,.4);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

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

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1.25rem; font-size: .85rem; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { color: #4a5568; max-width: 600px; font-size: 1.05rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem 0 1.5rem;
  border-radius: 2px;
}
.centered .divider { margin: 1rem auto 1.5rem; }

/* ============================================================
   SITE HEADER / NAVIGATION
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.header-top-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(201,164,55,.2);
  padding: .4rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
}
.header-top-bar a { color: var(--gold-light); }
.header-top-bar a:hover { color: var(--white); }
.header-top-bar .container { display: flex; justify-content: flex-end; gap: 2rem; align-items: center; }

.header-main {
  padding: 1rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.logo-mark {
  width: 52px;
  height: 52px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-dark);
  flex-shrink: 0;
  letter-spacing: -1px;
}
.logo-text { line-height: 1.1; }
.logo-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}
.logo-tagline {
  font-size: .72rem;
  color: var(--gold-light);
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
}

/* Primary Navigation */
#primary-navigation { display: flex; align-items: center; }

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

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

.nav-menu > li > a {
  display: block;
  padding: .6rem 1rem;
  color: rgba(255,255,255,.88);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
  color: var(--gold-light);
  background: rgba(201,164,55,.1);
}

/* Donate CTA in nav */
.nav-menu .menu-donate > a {
  background: var(--gold);
  color: var(--navy-dark) !important;
  padding: .6rem 1.25rem;
  font-weight: 700;
}
.nav-menu .menu-donate > a:hover {
  background: var(--gold-light);
}

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  background: var(--white);
  min-width: 220px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
  border-top: 3px solid var(--gold);
}
.nav-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu li a {
  display: block;
  padding: .6rem 1.25rem;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 500;
  transition: all var(--transition);
}
.sub-menu li a:hover {
  background: var(--off-white);
  color: var(--gold-dark);
  padding-left: 1.5rem;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--radius-sm);
  padding: .5rem .6rem;
  cursor: pointer;
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
}
.nav-toggle:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 50%, #1e3060 100%);
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 6rem 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(201,164,55,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(201,164,55,.06) 0%, transparent 50%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M30 0l4 28-4 4-4-4 4-28zm0 60l4-28-4-4-4 4 4 28zM0 30l28 4 4-4-4-4-28 4zm60 0l-28 4-4-4 4-4 28 4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }

.hero-content { max-width: 650px; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--gold);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero-scroll {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 3rem;
}
.hero-scroll span { display: block; width: 1px; height: 40px; background: rgba(255,255,255,.3); }

.hero-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-img img { width: 100%; height: 220px; object-fit: cover; }

.card-body { padding: 1.75rem; }
.card-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .5rem;
}
.card-body h3 { margin-bottom: .75rem; font-size: 1.25rem; }
.card-body p  { color: #4a5568; margin-bottom: 1.25rem; }

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.card-icon.gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
}

/* Program card variant */
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.program-card:hover::before { transform: scaleX(1); }
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.program-card h3 { color: var(--navy); margin-bottom: .75rem; }
.program-card p  { color: #4a5568; font-size: .95rem; margin-bottom: 1.5rem; }

/* Stat card */
.stat-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,164,55,.2);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: .25rem;
}
.stat-label { font-size: .85rem; color: rgba(255,255,255,.7); letter-spacing: .05em; text-transform: uppercase; }

/* ============================================================
   FEATURE LIST
   ============================================================ */
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .icon {
  width: 28px;
  height: 28px;
  background: rgba(201,164,55,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold-dark);
  font-weight: 700;
}

/* ============================================================
   SCRIPTURE / QUOTE BANNER
   ============================================================ */
.scripture-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.scripture-banner::before {
  content: '\201C';
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 15rem;
  color: rgba(201,164,55,.07);
  line-height: 1;
  pointer-events: none;
}
.scripture-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}
.scripture-reference {
  font-size: .9rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  padding: 5rem 0;
  text-align: center;
}
.cta-section h2 { color: var(--navy-dark); }
.cta-section p  { color: rgba(15,31,61,.75); font-size: 1.05rem; max-width: 540px; margin: 0 auto 2rem; }
.cta-section .btn { margin: .5rem; }

/* ============================================================
   PAGE HERO (INNER PAGES)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: 4rem 0;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,164,55,.1) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero .lead { color: rgba(255,255,255,.78); max-width: 580px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .83rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: .5; }

/* ============================================================
   ABOUT / TEAM
   ============================================================ */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.team-card:hover { box-shadow: var(--shadow); }
.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 700;
}
.team-name { font-family: var(--font-heading); font-size: 1.1rem; color: var(--navy); margin-bottom: .25rem; }
.team-title { font-size: .83rem; color: var(--gold-dark); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* ============================================================
   EVENTS
   ============================================================ */
.event-card {
  display: flex;
  gap: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  transition: all var(--transition);
  margin-bottom: 1.5rem;
}
.event-card:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.event-date {
  text-align: center;
  min-width: 72px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: .75rem .5rem;
  color: var(--white);
  flex-shrink: 0;
}
.event-date .month {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
}
.event-date .day {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.event-date .year { font-size: .7rem; color: rgba(255,255,255,.6); display: block; }
.event-info h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: .4rem; }
.event-info p  { color: #4a5568; font-size: .93rem; margin-bottom: .75rem; }
.event-meta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--mid-gray);
}
.event-meta span { display: flex; align-items: center; gap: .3rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item h4 { color: var(--navy); margin-bottom: .25rem; font-size: 1rem; }
.contact-info-item p, .contact-info-item a { color: #4a5568; font-size: .93rem; line-height: 1.6; }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,164,55,.15);
}
.form-control::placeholder { color: var(--mid-gray); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-check { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .75rem; }
.form-check input { margin-top: .2rem; accent-color: var(--gold); }
.form-check label { font-size: .88rem; color: #4a5568; }

/* ============================================================
   DONATE PAGE
   ============================================================ */
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.donate-amount-btn {
  padding: 1rem;
  text-align: center;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
}
.donate-amount-btn:hover,
.donate-amount-btn.active {
  border-color: var(--gold);
  background: rgba(201,164,55,.06);
}
.donate-amount-btn .amount {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
}

.impact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.impact-item:last-child { border-bottom: none; }
.impact-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,164,55,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ============================================================
   ACCORDION (FAQ)
   ============================================================ */
.accordion-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.accordion-item.open { box-shadow: var(--shadow-sm); }
.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  gap: 1rem;
}
.accordion-icon {
  width: 24px;
  height: 24px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--gold-dark);
}
.accordion-item.open .accordion-icon { background: var(--gold); color: var(--navy-dark); transform: rotate(45deg); }
.accordion-body { padding: 0 1.5rem 1.25rem; color: #4a5568; font-size: .95rem; line-height: 1.7; }
.accordion-body:not(.visible) { display: none; }

/* ============================================================
   BREADCRUMB TRAIL
   ============================================================ */
.breadcrumbs-trail {
  background: var(--off-white);
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .83rem;
}
.breadcrumbs-trail ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; align-items: center; }
.breadcrumbs-trail li { display: flex; align-items: center; gap: .25rem; color: var(--mid-gray); }
.breadcrumbs-trail li:not(:last-child)::after { content: '/'; margin-left: .25rem; opacity: .5; }
.breadcrumbs-trail a { color: var(--gold-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
}

.footer-main {
  padding: 4rem 0 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .logo-name { color: var(--white); }
.footer-brand p {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.7;
}
.footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: all var(--transition);
  text-decoration: none;
}
.social-link:hover { background: var(--gold); color: var(--navy-dark); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a {
  color: rgba(255,255,255,.62);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-contact p {
  font-size: .88rem;
  line-height: 1.6;
  margin-bottom: .75rem;
  display: flex;
  gap: .5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .83rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: var(--gold-light); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--gold);
  line-height: .8;
  display: block;
  margin-bottom: .5rem;
}
.testimonial-card p { color: #4a5568; font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
}
.testimonial-name { font-weight: 600; color: var(--navy); font-size: .93rem; }
.testimonial-title { font-size: .8rem; color: var(--mid-gray); }

/* ============================================================
   NOTICE / ALERT BANNERS
   ============================================================ */
.notice {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.notice-info    { background: #e8f0fe; border-left: 4px solid #4285f4; color: #1a3a7a; }
.notice-success { background: #e6f4ea; border-left: 4px solid #34a853; color: #1b5e20; }
.notice-warning { background: #fff8e1; border-left: 4px solid var(--gold); color: #5d4037; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .hero-two-col { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 4.5rem 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .donate-amounts { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  #primary-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 1rem;
    border-top: 2px solid var(--gold);
    box-shadow: var(--shadow-lg);
  }
  #primary-navigation.open { display: block; }
  .nav-menu { flex-direction: column; gap: 0; }
  .nav-menu > li > a { padding: .75rem 1rem; border-radius: 0; }
  .sub-menu {
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    border-radius: 0;
    box-shadow: none;
    background: rgba(255,255,255,.05);
    padding-left: 1rem;
  }
  .sub-menu li a { color: rgba(255,255,255,.75); }

  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .header-inner { position: relative; }

  .event-card { flex-direction: column; gap: 1rem; }
}

@media (max-width: 480px) {
  .donate-amounts { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   WP CORE / GUTENBERG COMPATIBILITY
   ============================================================ */
.wp-block-image { margin: 1.5rem 0; }
.wp-block-quote { border-left: 4px solid var(--gold); }
.alignfull  { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); max-width: 100vw; }
.alignwide  { margin-left: -2rem; margin-right: -2rem; }
.alignleft  { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  background: var(--gold);
  color: var(--navy-dark);
  padding: .5rem 1rem;
  font-weight: 700;
  z-index: 9999;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   MELANATED ACADEMY — ONLINE ACADEMY OVERRIDES
   ============================================================ */

/* Accent color tweak — richer, deeper gold for cultural warmth */
:root {
  --gold:       #d4a017;
  --gold-light: #e8b830;
  --gold-dark:  #b8860b;
  --navy:       #0d1b35;
  --navy-mid:   #142244;
}

/* Online badge */
.online-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(212,160,23,.15);
  color: var(--gold-dark);
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  padding: .25rem .9rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.online-badge::before { content: '🌐'; font-size: .85rem; }

/* Course card */
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.course-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 1.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.course-header::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(212,160,23,.15);
}
.course-icon { font-size: 2rem; margin-bottom: .5rem; display: block; }
.course-header h3 { color: var(--white); font-size: 1.1rem; margin: 0; }
.course-grade { font-size: .75rem; color: var(--gold-light); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: .25rem; display: block; }
.course-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.course-body p { color: #4a5568; font-size: .92rem; flex: 1; }
.course-meta { display: flex; gap: 1rem; margin: 1rem 0; font-size: .8rem; color: var(--mid-gray); flex-wrap: wrap; }
.course-meta span { display: flex; align-items: center; gap: .3rem; }

/* Instructor card */
.instructor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: box-shadow var(--transition);
}
.instructor-card:hover { box-shadow: var(--shadow); }
.instructor-avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem; font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}
.instructor-info h4 { color: var(--navy); margin-bottom: .2rem; font-size: 1rem; }
.instructor-role { font-size: .78rem; color: var(--gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; display: block; }
.instructor-info p { font-size: .88rem; color: #4a5568; margin: 0; }

/* Virtual features list */
.virtual-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  border-left: 3px solid var(--gold);
}
.virtual-icon { font-size: 1.5rem; flex-shrink: 0; }

/* Process step */
.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.2rem;
  color: var(--navy-dark);
  flex-shrink: 0;
}
.step-content h4 { color: var(--navy); margin-bottom: .4rem; }
.step-content p { color: #4a5568; font-size: .93rem; margin: 0; }

/* Pricing toggle tabs */
.pricing-tab { cursor: pointer; padding: .6rem 1.5rem; border-radius: 20px; font-weight: 600; font-size: .9rem; transition: all var(--transition); border: 2px solid var(--border); color: var(--mid-gray); }
.pricing-tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
