/* ================================================================
   Merit Career Guidance Academy — career-guidance.css
   Career Guidance page styles
   ================================================================ */

/* ── Variables ── */
:root {
  --gold:       #E8A020;
  --navy:       #1A2B4A;
  --teal:       #1A7A5E;
  --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;
}

/* ── Colour utilities ── */
.gold { color: var(--gold); }
.teal { color: var(--teal); }

/* ================================================================
   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-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; color: #fff !important; }
.nav-cta.active { background: var(--navy) !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;
}

/* ================================================================
   HERO — beige background, text left, image collage right
   ================================================================ */
.cg-hero {
  background: var(--beige);
  padding: 56px 0 52px;
}
.cg-hero .container {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 52px;
  align-items: center;
}
.cg-hero-left h1 {
  font-family: var(--font-h);
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 20px;
}
.cg-hero-left p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 14px;
}
.btn-cg {
  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;
  margin-top: 10px;
  transition: background .2s, transform .2s;
}
.btn-cg:hover { background: #253d6a; transform: translateY(-1px); }
.cg-hero-right {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.cg-hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================================================================
   HOW DO WE GUIDE — 3 cards with image at bottom
   ================================================================ */
.how-guide {
  padding: 64px 0 60px;
  background: #fff;
}
.how-guide h2 {
  font-family: var(--font-h);
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.how-guide-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 820px;
}
.guide-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.guide-card {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .22s;
}
.guide-card:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}
.guide-card-top {
  padding: 22px 20px 16px;
}
.guide-card-top h3 {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.guide-card-top p {
  font-size: 13px;
  color: var(--teal);
  line-height: 1.65;
}
.guide-card-img {
  flex: 1;
  min-height: 200px;
  overflow: hidden;
  background: #f5f5f5;
}
.guide-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s;
}
.guide-card:hover .guide-card-img img { transform: scale(1.04); }

/* ================================================================
   3 STEPS SECTION
   ================================================================ */
.steps-section {
  padding: 64px 0 68px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}
.steps-section h2 {
  font-family: var(--font-h);
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 52px;
  line-height: 1.3;
}
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.step-circle-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}
.step-label {
  font-family: var(--font-h);
  font-size: 10px;
  font-weight: 700;
  color: #c0392b;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.step-label::before,
.step-label::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #c0392b;
  border-radius: 50%;
}
.step-circle {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px dashed #c0392b;
  padding: 6px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}
.step-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.step-item h4 {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.step-item p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.75;
  max-width: 260px;
}
/* Arrow between steps */
.step-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  padding-top: 80px; /* align with circle center */
  padding-left: 8px;
  padding-right: 8px;
  color: var(--navy);
  font-size: 18px;
  opacity: 0.7;
}

/* ================================================================
   CTA BAND — dark navy bg, illustration left, buttons right
   ================================================================ */
.cta-band {
  background: var(--navy);
  padding: 56px 0;
}
.cta-band .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.cta-illustration {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.cta-illustration img {
  max-height: 300px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  filter: brightness(1.05);
}
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 32px;
  border-radius: 50px;
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s, background .2s;
  text-align: center;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.cta-btn--gold {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}
.cta-btn--gold:hover { background: #d4911a; border-color: #d4911a; }
.cta-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.55);
}
.cta-btn--outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--navy);
  text-align: center;
  padding: 32px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer h3 {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.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: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 16px;
  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; }
  .cg-hero .container { grid-template-columns: 1fr 300px; gap: 36px; }
  .cg-hero-left h1 { font-size: 28px; }
  .how-guide h2 { font-size: 26px; }
  .steps-section h2 { font-size: 24px; }
  .step-circle { width: 160px; height: 160px; }
  .step-arrow { padding-top: 66px; font-size: 16px; }
}

/* ================================================================
   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; }

  .cg-hero .container { grid-template-columns: 1fr; }
  .cg-hero-right { max-height: 260px; }

  .guide-cards { grid-template-columns: 1fr; }

  .steps-row { flex-direction: column; align-items: center; gap: 32px; }
  .step-arrow { padding-top: 0; transform: rotate(90deg); }
  .step-item p { max-width: 100%; }

  .cta-band .container { grid-template-columns: 1fr; gap: 32px; }
  .cta-illustration { display: none; }
  .cta-btn { font-size: 14px; padding: 15px 24px; }
}

@media (max-width: 480px) {
  .cg-hero-left h1 { font-size: 22px; }
  .how-guide h2 { font-size: 20px; }
  .steps-section h2 { font-size: 19px; }
  .step-circle { width: 140px; height: 140px; }
}

/* ================================================================
   RESPONSIVE — Small mobile ≤ 640px
   ================================================================ */
@media (max-width: 640px) {
  .nav-inner { padding: 0 20px; }
  .cg-hero-left h1 { font-size: 26px; }
  .cg-hero-left p  { font-size: 13.5px; }
  .cta-band .container { text-align: center; }
  .cta-band h2 { font-size: 22px; }
}
