/* ── GIT EDUTECH – SHARED STYLESHEET ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&family=Bebas+Neue&display=swap');

:root {
  --red: #C8102E;
  --red-deep: #9B0B20;
  --red-light: #E8192E;
  --white: #FFFFFF;
  --off-white: #F8F6F3;
  --cream: #F2EDE8;
  --navy: #0D1B3E;
  --navy-mid: #162547;
  --navy-light: #1E3264;
  --gold: #B8963E;
  --gold-light: #D4AF6A;
  --grey: #6B7280;
  --grey-light: #E5E7EB;
  --dark-bg: #080F22;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--off-white); color: var(--navy); overflow-x: hidden; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
img { max-width: 100%; }

/* ── TOPBAR ── */
.topbar {
  background: var(--navy); color: var(--white);
  font-size: 12px; font-weight: 400; letter-spacing: .05em;
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 60px;
}
.topbar a { color: var(--gold-light); text-decoration: none; margin-left: 18px; }
.topbar a:hover { color: white; }

/* ── NAVIGATION ── */
nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white); border-bottom: 3px solid var(--red);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 76px;
  box-shadow: 0 4px 30px rgba(13,27,62,.08);
  transition: box-shadow .3s;
}
.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-icon {
  width: 48px; height: 48px; background: var(--red); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px;
}
.brand-text strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 700; color: var(--navy); }
.brand-text span { font-size: 10px; font-weight: 500; color: var(--red); letter-spacing: .14em; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; position: relative; padding-bottom: 4px;
  transition: color .25s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--red); transition: width .3s;
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--red); }
.nav-cta {
  background: var(--red) !important; color: white !important;
  padding: 10px 22px; border-radius: 6px;
  font-size: 12px !important; letter-spacing: .1em !important;
  transition: background .25s, transform .2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-deep) !important; transform: translateY(-1px); color: white !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--navy); display: block; transition: all .3s; }
@media (max-width: 768px) {
  .topbar { display: none; }
  nav { padding: 0 20px; height: 64px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #navLinks.open {
    display: flex; flex-direction: column; position: fixed;
    top: 64px; left: 0; right: 0; background: white;
    padding: 24px; gap: 18px; border-bottom: 3px solid var(--red);
    box-shadow: 0 20px 40px rgba(0,0,0,.1); z-index: 999;
  }
  #navLinks.open a { font-size: 15px; }
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy); padding: 80px 60px 70px;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(200,16,46,.15) 0%, transparent 70%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 2; max-width: 780px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.4); margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold-light); }
.page-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,16,46,.15); border: 1px solid rgba(200,16,46,.3);
  border-radius: 30px; padding: 5px 14px;
  color: var(--gold-light); font-size: 10px; letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 18px;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px); font-weight: 700;
  color: white; line-height: 1.05; letter-spacing: -.01em;
  margin-bottom: 18px;
}
.page-hero p {
  font-size: 16px; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,.55); max-width: 600px;
}
.page-hero-meta {
  display: flex; flex-wrap: wrap; gap: 28px;
  margin-top: 36px;
}
.hero-meta-item { }
.hero-meta-label { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 5px; }
.hero-meta-value { font-size: 15px; font-weight: 600; color: white; }

/* ── SECTION ── */
section { padding: 90px 60px; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}
.section-label::before { content: ''; width: 28px; height: 2px; background: var(--red); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3.5vw, 48px); font-weight: 700;
  color: var(--navy); line-height: 1.1; letter-spacing: -.01em; margin-bottom: 14px;
}
.section-sub { font-size: 15px; font-weight: 300; color: var(--grey); max-width: 620px; line-height: 1.7; margin-bottom: 54px; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--red); color: white; border: none;
  padding: 14px 32px; border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: all .3s; box-shadow: 0 8px 30px rgba(200,16,46,.3);
}
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--grey-light); padding: 14px 32px; border-radius: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: inline-block; transition: all .3s;
}
.btn-outline:hover { border-color: var(--navy); }
.btn-outline-white {
  background: transparent; color: white;
  border: 1.5px solid rgba(255,255,255,.3); padding: 14px 32px; border-radius: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: inline-block; transition: all .3s;
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,.06); }

/* ── COURSE DETAIL PAGE ── */
.course-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.course-main {}
.course-sidebar { position: sticky; top: 100px; }

/* Curriculum */
.curriculum-block { margin-bottom: 48px; }
.curriculum-heading {
  font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 700;
  color: var(--navy); margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--grey-light);
}
.module-list { list-style: none; }
.module-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--grey-light);
  transition: background .2s;
}
.module-item:last-child { border-bottom: none; }
.module-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 18px;
  color: var(--red); min-width: 28px; line-height: 1.3;
}
.module-content {}
.module-title { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.module-desc { font-size: 13px; font-weight: 300; color: var(--grey); line-height: 1.6; }

/* Sidebar card */
.sidebar-card {
  background: var(--white); border-radius: 16px;
  border: 1px solid var(--grey-light); overflow: hidden;
  box-shadow: 0 8px 32px rgba(13,27,62,.07);
}
.sidebar-header { background: var(--navy); padding: 28px; }
.sidebar-header-label { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 8px; }
.sidebar-course-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 700; color: white; }
.sidebar-body { padding: 28px; }
.sidebar-item { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--grey-light); font-size: 14px; }
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item-label { color: var(--grey); font-weight: 400; }
.sidebar-item-value { color: var(--navy); font-weight: 600; }
.sidebar-cta { padding: 24px 28px; border-top: 1px solid var(--grey-light); display: flex; flex-direction: column; gap: 10px; }

/* Outcomes */
.outcomes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.outcome-card {
  background: var(--white); border: 1px solid var(--grey-light);
  border-radius: 12px; padding: 24px;
  transition: border-color .3s, box-shadow .3s;
}
.outcome-card:hover { border-color: var(--red); box-shadow: 0 8px 30px rgba(200,16,46,.08); }
.outcome-icon { font-size: 28px; margin-bottom: 12px; }
.outcome-title { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.outcome-desc { font-size: 13px; color: var(--grey); line-height: 1.6; font-weight: 300; }

/* Who is it for */
.who-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.who-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--grey-light);
  border-radius: 10px; padding: 16px 18px;
  font-size: 14px; font-weight: 500; color: var(--navy);
}
.who-item::before { content: '✓'; color: var(--red); font-weight: 700; font-size: 13px; flex-shrink: 0; }

/* ── ABOUT PAGE ── */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-intro-text {}
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.about-stat-card {
  background: var(--navy); border-radius: 16px; padding: 30px;
  text-align: center; position: relative; overflow: hidden;
}
.about-stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red);
}
.about-stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 52px; color: white; line-height: 1; }
.about-stat-label { font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar-card {
  background: var(--white); border: 1px solid var(--grey-light);
  border-radius: 16px; padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(13,27,62,.1); }
.pillar-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.pillar-card:hover::after { transform: scaleX(1); }
.pillar-num { font-family: 'Bebas Neue', sans-serif; font-size: 60px; color: var(--grey-light); line-height: 1; margin-bottom: 16px; }
.pillar-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.pillar-desc { font-size: 14px; color: var(--grey); line-height: 1.7; font-weight: 300; }
.faculty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.faculty-card {
  background: var(--white); border: 1px solid var(--grey-light); border-radius: 16px; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.faculty-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(13,27,62,.1); }
.faculty-photo {
  height: 80px; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; letter-spacing: 1px;
}
.faculty-body { padding: 22px; }
.faculty-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.faculty-role { font-size: 11px; color: var(--red); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.faculty-bio { font-size: 13px; color: var(--grey); line-height: 1.65; font-weight: 300; }

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--red); padding: 60px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-item { text-align: center; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 56px; color: white; line-height: 1; }
.stat-unit { font-size: 26px; color: rgba(255,255,255,.65); }
.stat-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 500; margin-top: 8px; }

/* ── CTA BLOCK ── */
.cta-block {
  background: var(--navy); padding: 90px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; right: -100px; top: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,16,46,.12) 0%, transparent 70%);
}
.cta-block-left { max-width: 560px; position: relative; z-index: 1; }
.cta-block-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.cta-block-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 3.5vw, 50px); font-weight: 700; color: white; line-height: 1.1; margin-bottom: 14px; }
.cta-block-sub { font-size: 15px; color: rgba(255,255,255,.5); font-weight: 300; line-height: 1.7; }
.cta-block-right { position: relative; z-index: 1; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }

/* ── FOOTER ── */
footer { background: var(--dark-bg); padding: 70px 60px 28px; color: rgba(255,255,255,.4); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-brand-text { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: white; margin-bottom: 12px; }
.footer-brand-sub { font-size: 13px; line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-parent { display: inline-block; background: rgba(200,16,46,.15); border: 1px solid rgba(200,16,46,.25); color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .1em; padding: 5px 12px; border-radius: 4px; }
.footer-heading { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: rgba(255,255,255,.4); text-decoration: none; font-size: 13.5px; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .03em; }
.footer-bottom span { color: var(--red); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav, .topbar { padding-inline: 32px; }
  section, .page-hero, .cta-block, .stats-strip, footer { padding-inline: 32px; }
  .course-layout { grid-template-columns: 1fr; }
  .course-sidebar { position: static; }
  .about-intro { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-block { flex-direction: column; }
}
@media (max-width: 768px) {
  section, .page-hero, .cta-block, .stats-strip, footer { padding-inline: 24px; }
  .page-hero { padding-block: 60px; }
  .outcomes-grid, .who-list { grid-template-columns: 1fr; }
  .pillar-grid, .faculty-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── ANIMATE HERO ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }
.anim-1 { animation: fadeUp .6s ease both; }
.anim-2 { animation: fadeUp .6s .12s ease both; }
.anim-3 { animation: fadeUp .6s .24s ease both; }
.anim-4 { animation: fadeUp .6s .36s ease both; }
