/* ================================================================
   Merit Career Guidance Academy — about.css
   About Us page styles
   ================================================================ */

/* ── Variables ── */
:root {
  --gold:       #E8A020;
  --navy:       #1A2B4A;
  --teal:       #1A6B5A;
  --blue-btn:   #1A2B4A;
  --beige:      #F5E6C8;
  --white:      #ffffff;
  --text:       #1a1a1a;
  --text-body:  #444444;
  --border:     #e2e2e2;
  --font-h:     'Poppins', sans-serif;
  --font-b:     'Open Sans', sans-serif;
  --max-w:      1100px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-b); color: var(--text); background: #fff; overflow-x: hidden; }
img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-b); }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Gold utility ── */
.gold { color: var(--gold); }

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 1px 10px rgba(0,0,0,0.08);
  position: relative;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); font-weight: 700; }
.nav-cta {
  background: var(--navy) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: #253d6a !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-links.open {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  width: 100%;
  background: #fff;
  padding: 0 18px 16px;
  gap: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 1000;
  border-top: 2px solid var(--gold);
}
.nav-links.open li {
  width: 100%;
  border-bottom: 1px solid #f0f0f0;
}
.nav-links.open li:last-child { border-bottom: none; }
.nav-links.open li a {
  display: block;
  width: 100%;
  padding: 14px 6px;
  font-size: 15px;
  font-weight: 600;
}
.nav-links.open .nav-cta {
  display: inline-block !important;
  width: auto !important;
  margin-top: 8px;
  padding: 10px 22px !important;
  border-radius: 6px;
}

/* ================================================================
   ABOUT HERO — beige background
   ================================================================ */
.about-hero {
  background: var(--beige);
  padding: 56px 0 48px;
}
.about-hero .container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 52px;
  align-items: start;
}

/* Left side */
.about-title {
  font-family: var(--font-h);
  font-size: 38px;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 4px;
}
.about-subtitle {
  font-family: var(--font-h);
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
}
.about-subtitle .gold { color: var(--gold); }
.about-desc p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 8px;
}
.about-desc p:last-child { margin-bottom: 24px; }
.about-desc strong {
  font-weight: 700;
  color: var(--text);
}
.btn-about {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  padding: 13px 26px;
  border-radius: 7px;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--navy);
  transition: background .2s, transform .2s;
  margin-top: 8px;
}
.btn-about:hover { background: #253d6a; transform: translateY(-1px); }

/* Right side — founder photo + caption */
.about-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.founder-img-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #e0d0b0;
  aspect-ratio: 3/3.5;
}
.founder-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.founder-caption {
  text-align: center;
  padding-top: 14px;
}
.founder-name {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.founder-role {
  font-size: 13px;
  color: var(--text-body);
  margin-top: 2px;
}

/* ================================================================
   VISION BANNER — centered bold text
   ================================================================ */
.vision-banner {
  background: #fff;
  padding: 52px 0 40px;
  border-bottom: 1px solid #f0f0f0;
}
.vision-banner h2 {
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  line-height: 1.45;
}

/* ================================================================
   VISION & MISSION — text left, logo right
   ================================================================ */
.vision-mission {
  padding: 56px 0 52px;
  background: #fff;
}
.vision-mission .container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: center;
}
.vm-heading {
  font-family: var(--font-h);
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
}
.vm-heading .gold { color: var(--gold); }
.vm-subhead {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.vm-text {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 28px;
}
.vm-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.vm-logo {
  width: 220px;
  height: auto;
  object-fit: contain;
}

/* ================================================================
   OUR BENEFITS — 3-col × 2-row dark navy cards
   ================================================================ */
.benefits {
  padding: 16px 0 72px;
  background: #fff;
}
.benefits-heading {
  font-family: var(--font-h);
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 32px;
}
.benefits-heading .gold { color: var(--gold); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-card {
  background: var(--navy);
  border-radius: 14px;
  padding: 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .22s, box-shadow .22s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,43,74,0.25);
}
.benefit-num {
  font-family: var(--font-h);
  font-size: 42px;
  font-weight: 800;
  color: rgba(255,255,255,0.18);
  line-height: 1;
  text-align: right;
  display: block;
  margin-bottom: 4px;
}
.benefit-card h4 {
  font-family: var(--font-h);
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.benefit-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--navy);
  text-align: center;
  padding: 32px 20px;
}
.footer h3 {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.fsoc {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 15px;
  transition: transform .2s, opacity .2s;
}
.fsoc:hover { transform: translateY(-2px); opacity: .88; }
.fsoc-fb { background: #1877F2; }
.fsoc-ig { background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af); }
.fsoc-yt { background: #FF0000; }

/* ================================================================
   RESPONSIVE — Tablet ≤ 1024px
   ================================================================ */
@media (max-width: 1024px) {
  .container, .nav-inner { padding: 0 28px; }
  .about-hero .container { grid-template-columns: 1fr 280px; gap: 36px; }
  .vision-mission .container { grid-template-columns: 1fr 220px; gap: 40px; }
  .vision-banner h2 { font-size: 24px; }
}

/* ================================================================
   RESPONSIVE — Mobile ≤ 768px
   ================================================================ */
@media (max-width: 768px) {
  .container, .nav-inner { padding: 0 18px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex !important; }
  .nav-links.open { padding: 0 18px 16px; }

  .about-hero .container { grid-template-columns: 1fr; }
  .about-right { max-width: 320px; margin: 0 auto; }

  .vision-banner h2 { font-size: 20px; }

  .vision-mission .container { grid-template-columns: 1fr; gap: 32px; }
  .vm-right { order: -1; }
  .vm-logo { width: 160px; }

  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-num { font-size: 32px; }
}

@media (max-width: 480px) {
  .about-title { font-size: 30px; }
  .about-subtitle { font-size: 22px; }
  .benefits-grid { grid-template-columns: 1fr; }
}
