
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy:     #061830;
  --navy-mid: #0d2b4e;
  --navy-lt:  #1a3f66;
  --gold:     #b8962e;
  --gold-lt:  #d4b96a;
  --white:    #ffffff;
  --off-white:#f8f6f1;
  --grey-lt:  #f0eeea;
  --grey-mid: #9a9a9a;
  --grey-dk:  #444444;
  --text:     #1a1a1a;
  --serif:    'Playfair Display', Georgia, serif;
  --sans:     'DM Sans', Helvetica, sans-serif;
  --transition: 0.35s 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(--sans);
  background-color: var(--off-white);
  color: var(--text);
  overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 72px;
  background: rgba(6, 24, 48, 0.0);
  border-bottom: 1px solid rgba(255,255,255,0.0);
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.top-nav.scrolled {
  background: rgba(6, 24, 48, 0.96);
  border-bottom: 1px solid rgba(184, 150, 46, 0.25);
  backdrop-filter: blur(12px);
}

.nav-brand {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active { color: var(--gold-lt); }
.nav-links a.active::after { width: 100%; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scaleX(-1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 24, 48, 0.92) 0%,
    rgba(6, 24, 48, 0.75) 50%,
    rgba(6, 24, 48, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  padding: 0 80px;
  animation: heroFadeUp 1.1s ease both;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding-left: 42px;
  position: relative;
}

.hero-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 30px; height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 48px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 16px 36px;
  border: 1px solid rgba(184, 150, 46, 0.6);
  background: transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform var(--transition);
  z-index: -1;
}

.hero-cta:hover { border-color: var(--gold); color: var(--navy); }
.hero-cta:hover::before { transform: translateX(0); }

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 80px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero-scroll::before {
  content: '';
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.4));
  animation: scrollLine 2s ease-in-out infinite;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}

.page-hero .hero-image { transform: scaleX(-1); }

.page-hero .hero-overlay {
  background: linear-gradient(
    to top,
    rgba(6, 24, 48, 0.95) 0%,
    rgba(6, 24, 48, 0.6) 60%,
    rgba(6, 24, 48, 0.3) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 80px;
}

.page-hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-hero-content p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================
   SECTION LAYOUTS
   ============================================ */
section { padding: 100px 80px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-title.light { color: var(--white); }

.divider {
  width: 48px; height: 2px;
  background: var(--gold);
  margin-bottom: 32px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--grey-dk);
  font-weight: 300;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stat-card {
  padding: 36px 28px;
  border: 1px solid rgba(6, 24, 48, 0.1);
  background: var(--off-white);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.stat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(6,24,48,0.08); }
.stat-card:hover::before { width: 100%; }

.stat-number {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

/* ============================================
   VISION / MISSION / VALUES
   ============================================ */
.vmv-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.vmv-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,150,46,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.vmv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 60px auto 0;
}

.vmv-card {
  padding: 52px 44px;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
  position: relative;
}

.vmv-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.5s ease;
}

.vmv-card:hover { background: rgba(255,255,255,0.07); }
.vmv-card:hover::after { width: 100%; }

.vmv-number {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgb(255, 255, 255);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

.vmv-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.vmv-card p {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}

.vmv-card ul {
  list-style: none;
  padding: 0;
}

.vmv-card ul li {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
}

.vmv-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 0.35em;
}

/* ============================================
   LEADERSHIP STRIP
   ============================================ */
.leadership-section {
  background: var(--grey-lt);
  padding: 60px 20px; /* Added some padding so it doesn't touch the screen edges */
}

.leadership-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.leadership-grid {
  display: grid;
  /* CHANGED: repeat(3, 1fr) creates 3 equal-width columns */
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; /* CHANGED: Increased from 2px to 20px to give cards breathing room */
  margin-top: 56px;
}

.leader-card {
  background: var(--white);
  padding: 44px 40px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.leader-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--navy);
  transition: width var(--transition);
}

.leader-card:hover { transform: translateY(-2px); box-shadow: 0 20px 60px rgba(6,24,48,0.1); }
.leader-card:hover::before { width: 3px; }

/* ============================================
   NEW: CIRCULAR IMAGE STYLES
   ============================================ */
.leader-img-wrapper {
  width: 80px;         /* Adjust this to make the circle bigger/smaller */
  height: 80px;        /* Must match width for a perfect circle */
  border-radius: 50%;  /* Makes it a circle */
  overflow: hidden;    /* Ensures the image doesn't spill out of the circle */
  margin-bottom: 24px; /* Space between image and title */
  border: 2px solid var(--gold); /* Optional: adds a nice colored ring around the photo */
}

.leader-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the circle without squishing */
  object-position: center top; /* Focuses on the face area if the image is tall */
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.leader-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.leader-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.leader-bio {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--grey-dk);
  font-weight: 300;
}

/* ============================================
   NEW: MOBILE RESPONSIVENESS
   Ensures the 3 cards stack on smaller screens
   ============================================ */
@media (max-width: 992px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 768px) {
  .leadership-grid {
    grid-template-columns: 1fr; /* 1 column on mobile phones */
  }
}

/* ============================================
   PILLARS OVERVIEW
   ============================================ */
.pillars-section {
  background: var(--white);
}

.pillars-inner { max-width: 1200px; margin: 0 auto; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.pillar-card {
  padding: 44px 32px;
  background: var(--off-white);
  transition: all var(--transition);
  border-top: 2px solid transparent;
  cursor: default;
}

.pillar-card:hover {
  background: var(--navy);
  border-top-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(6,24,48,0.15);
}

.pillar-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(6,24,48,0.08);
  line-height: 1;
  margin-bottom: 24px;
  transition: color var(--transition);
}

.pillar-card:hover .pillar-num { color: rgba(184,150,46,0.25); }

.pillar-card h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 16px;
  transition: color var(--transition);
}

.pillar-card:hover h3 { color: var(--white); }

.pillar-card p {
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--grey-mid);
  font-weight: 300;
  transition: color var(--transition);
}

.pillar-card:hover p { color: rgba(255,255,255,0.65); }

/* ============================================
   PROGRAMS PAGE — ACCORDION
   ============================================ */
.programs-section {
  background: var(--off-white);
}

.programs-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.accordion {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.accordion-item {

}

.accordion-header {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  border-left: 3px solid transparent;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.accordion-header:hover {
  background: var(--navy);
  border-left-color: var(--gold);
}

.accordion-header.open {
  background: var(--navy);
  border-left-color: var(--gold);
}

.accordion-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.accordion-pillar-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color var(--transition);
}

.accordion-header:hover .accordion-pillar-tag,
.accordion-header.open .accordion-pillar-tag { color: var(--gold-lt); }

.accordion-header h2 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  transition: color var(--transition);
}

.accordion-header:hover h2,
.accordion-header.open h2 { color: var(--white); }

.accordion-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid rgba(6,24,48,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  margin-left: 24px;
}

.accordion-header:hover .accordion-icon,
.accordion-header.open .accordion-icon {
  border-color: rgba(184,150,46,0.5);
  background: rgba(184,150,46,0.1);
}

.accordion-icon span {
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1;
  transition: all var(--transition);
  display: block;
  transform: rotate(0deg);
}

.accordion-header:hover .accordion-icon span,
.accordion-header.open .accordion-icon span { color: var(--gold); }

.accordion-header.open .accordion-icon span {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--white);
}

.accordion-content-inner {
  padding: 0 40px 40px;
}

/* ============================================
   TABLE (Programs)
   ============================================ */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 0.88rem;
}

thead tr {
  background: var(--navy);
}

th {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  border: none;
}

th:first-child { color: var(--gold-lt); }

td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(6,24,48,0.06);
  vertical-align: top;
  color: var(--grey-dk);
  font-weight: 300;
  line-height: 1.6;
}

td:first-child {
  font-weight: 500;
  color: var(--navy);
  min-width: 200px;
}

td:last-child {
  white-space: nowrap;
  color: var(--gold);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

tr:nth-child(even) td { background: rgba(6,24,48,0.018); }
tr:hover td { background: rgba(184, 150, 46, 0.04); }

table ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

table ul li {
  padding-left: 14px;
  position: relative;
  margin-bottom: 4px;
  font-size: 0.85rem;
  line-height: 1.6;
}

table ul li::before {
  content: '·';
  position: absolute;
  left: 2px;
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1.3;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--navy);
  padding: 56px 80px;
  border-top: 1px solid rgba(184,150,46,0.2);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
  letter-spacing: 0.06em;
}

.footer-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.12);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.2); }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  section { padding: 80px 40px; }
  .top-nav { padding: 0 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .vmv-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 64px 24px; }
  .top-nav { padding: 0 24px; }
  .hero-content { padding: 0 40px; }
  .page-hero-content { padding: 0 40px; }
  .hero-scroll { left: 40px; }
  .nav-links { gap: 24px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-divider { display: none; }
  .accordion-header { padding: 20px 24px; }
  .accordion-content-inner { padding: 0 24px 32px; }
  footer { padding: 48px 24px; }
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */
.contact-section {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  background-color: #ffffff;
}

.contact-inner {
  max-width: 800px;
  width: 100%;
  background: #f9fafb;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #1f2937;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold); 
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2); 
}

.submit-btn {
  background-color: #1f2937;
  color: white;
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: var(--gold);
}

.submit-btn:active {
  transform: scale(0.98);
}

.form-status {
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  border-radius: 6px;
  display: none;
}

.status-success {
  display: block;
  background-color: #d1fae5;
  color: #065f46;
}

.status-error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
}

@media (max-width: 600px) {
  .contact-inner {
    padding: 30px 20px;
  }
}