/* ============================================================
   IMAGE Institute — Main Stylesheet
   Instrument Serif (headings) + Montserrat Thin (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Montserrat:wght@100;200;300;400;500;600;700&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #C9A227;
  --gold-light:  #E4C46A;
  --gold-dark:   #9A7A1A;
  --navy:        #0F172A;
  --black:       #111111;
  --white:       #FFFFFF;
  --ivory:       #F8F6F0;
  --grey:        #6B7280;
  --grey-lt:     #E5E7EB;
  --font-serif:  'Instrument Serif', Georgia, serif;
  --font-sans:   'Montserrat', sans-serif;
  --nav-h:       120px;
  --max-w:       1440px;
  --ease-silk:   cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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: inherit; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0;
  background: var(--navy);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s var(--ease-silk), visibility 0.6s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { width: 100px; opacity: 0; animation: loaderFadeIn 0.8s 0.3s forwards; }
@keyframes loaderFadeIn { to { opacity: 1; } }
.loader-progress {
  width: 180px; height: 1px;
  background: rgba(255,255,255,0.15);
  margin-top: 36px; overflow: hidden;
}
.loader-bar {
  height: 100%;
  background: var(--gold);
  width: 0;
  animation: loaderGrow 1.6s 0.4s var(--ease-silk) forwards;
}
@keyframes loaderGrow { to { width: 100%; } }
.loader-text {
  color: rgba(255,255,255,0.35);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-top: 20px;
  font-weight: 200;
}

/* ---------- Navigation ---------- */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
  padding: 0 5vw;
}
#nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-inner {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto;
  display: flex; align-items: center; gap: 48px;
}
.nav-logo { flex-shrink: 0; }
.nav-logo img { width: 300px; height: auto; }
.nav-links {
  display: flex; align-items: center; gap: 36px;
  margin-left: auto;
}
.nav-links a {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-silk);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }

/* Courses dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 6px; }
.nav-dropdown > a::before {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-silk);
}
.nav-dropdown:hover > a { color: var(--gold); }
.nav-dropdown:hover > a::before { transform: scaleX(1); }
.dropdown-menu {
  position: absolute; top: calc(100% + 20px); left: -24px;
  background: var(--white);
  border-top: 2px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  min-width: 240px;
  padding: 8px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease-silk);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 12px 24px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--black);
  transition: color 0.2s, padding-left 0.2s;
}
.dropdown-menu li a::after { display: none; }
.dropdown-menu li a:hover { color: var(--gold); padding-left: 32px; }

.btn-nav-enroll {
  display: inline-flex; align-items: center;
  padding: 12px 28px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-left: 12px;
  transition: background 0.2s, transform 0.2s;
  border: 1px solid var(--gold);
  flex-shrink: 0;
}
.btn-nav-enroll:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  margin-left: auto;
}
.hamburger span {
  display: block; height: 1px;
  background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--white);
  padding: 40px 8vw;
  z-index: 998;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-silk);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block;
  font-size: 28px;
  font-family: var(--font-serif);
  color: var(--black);
  padding: 16px 0;
  border-bottom: 1px solid var(--grey-lt);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .mobile-enroll {
  display: inline-block;
  margin-top: 32px;
  padding: 16px 40px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 5vw;
}
.section-pad { padding: 120px 0; }
.section-pad-sm { padding: 80px 0; }

.label {
  display: inline-block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--black);
}
.h2 em { font-style: italic; color: var(--gold); }
.h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.2;
}
.body-text {
  font-size: 16px;
  font-weight: 200;
  line-height: 1.9;
  color: #444;
}
.body-text-sm {
  font-size: 14px;
  font-weight: 200;
  line-height: 1.8;
  color: var(--grey);
}
.gold-line {
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 24px 0;
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 40px;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold-dark);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease-silk);
  z-index: 0;
}
.btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary span, .btn-primary > *:not(::before) { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,162,39,0.35); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 40px;
  background: transparent;
  color: var(--black);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1px solid rgba(0,0,0,0.25);
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--black);
  text-transform: uppercase;
  transition: color 0.2s, gap 0.2s;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  padding-bottom: 4px;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); gap: 14px; }

.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 40px;
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1px solid var(--white);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.btn-white:hover { background: var(--gold); color: var(--white); border-color: var(--gold); transform: translateY(-2px); }

/* ---------- Hero ---------- */
#hero {
  position: relative;
  height: 100vh; min-height: 700px;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--white);
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,162,39,0.04) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 90% 10%, rgba(201,162,39,0.06) 0%, transparent 50%);
}
.hero-plane {
  position: absolute;
  width: clamp(500px, 52vw, 860px);
  left: -8vw;
  top: 50%;
  transform: translateY(-48%);
  transform-origin: center center;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,0.07));
  will-change: transform;
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  padding-left: 5vw;
  max-width: 680px;
}
.hero-eyebrow {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: block;
}
.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(52px, 7vw, 112px);
  font-weight: 400;
  line-height: 1.0;
  color: var(--black);
  margin-bottom: 32px;
}
.hero-h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 15px;
  font-weight: 200;
  line-height: 1.9;
  color: #555;
  max-width: 480px;
  margin-bottom: 44px;
}
.hero-ctas {
  display: flex; align-items: center; gap: 28px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 5vw;
  display: flex; align-items: center; gap: 12px;
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--grey);
}
.hero-scroll-line {
  width: 40px; height: 1px;
  background: var(--gold);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; width: 40px; }
  50% { opacity: 1; width: 60px; }
}
.hero-badge {
  position: absolute;
  bottom: 40px; right: 5vw;
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,0.3);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  animation: rotateBadge 20s linear infinite;
}
.hero-badge span {
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--grey);
}
.hero-badge strong {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--gold);
  display: block;
}

/* ---------- Stats ---------- */
#stats {
  background: var(--navy);
  padding: 60px 0;
  position: relative; z-index: 1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 40px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-number-wrap {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 400;
  color: var(--gold);
  display: flex; align-items: baseline; justify-content: center;
  gap: 2px;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-number { display: inline; }
.stat-suffix { font-size: 0.5em; color: var(--gold-light); }
.stat-label {
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ---------- About Teaser ---------- */
/* ---------- About Teaser — Full-bleed video ---------- */
#about-teaser {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.about-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-bg-video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.75);
}
.about-video-fade { display: none; }
.about-teaser-inner {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  display: flex;
  align-items: center;
}
.about-text-card {
  max-width: 560px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 60px 52px;
  border-top: 3px solid var(--gold);
}
.about-text-card .h2 { margin-bottom: 28px; }
.about-text-card p { margin-bottom: 20px; }

/* ---------- Courses ---------- */
#courses-section { padding: 120px 0 140px; background: var(--ivory); }
.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.course-card {
  padding: 48px 36px;
  border: 1px solid var(--grey-lt);
  border-right: none;
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-silk), box-shadow 0.4s;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.course-card:last-child { border-right: 1px solid var(--grey-lt); }
.course-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-silk);
}
.course-card:hover::before { transform: scaleX(1); }
.course-card:hover { transform: translateY(-8px); box-shadow: 0 30px 80px rgba(0,0,0,0.08); }
.course-icon {
  width: 44px; height: 44px;
  margin-bottom: 32px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.course-card:hover .course-icon { opacity: 1; }
.course-num {
  position: absolute; top: 32px; right: 32px;
  font-family: var(--font-serif);
  font-size: 64px;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  font-weight: 400;
  transition: color 0.3s;
}
.course-card:hover .course-num { color: rgba(201,162,39,0.08); }
.course-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--black);
}
.course-card p {
  font-size: 13px;
  font-weight: 200;
  line-height: 1.8;
  color: var(--grey);
  flex: 1;
  margin-bottom: 28px;
}
.course-card .course-link {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 8px;
  transition: gap 0.2s;
  margin-top: auto;
}
.course-card:hover .course-link { gap: 14px; }
.course-duration {
  display: inline-flex; align-items: center;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--grey);
  gap: 6px;
  margin-bottom: 16px;
}

/* ---------- Why Choose ---------- */
#why-image { padding: 140px 0; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.why-left .h2 { margin-bottom: 32px; }
.why-left p { max-width: 480px; }
.why-right { display: flex; flex-direction: column; gap: 0; }
.why-item {
  display: flex; gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--grey-lt);
  position: relative;
}
.why-item:first-child { border-top: 1px solid var(--grey-lt); }
.why-num {
  font-family: var(--font-serif);
  font-size: 11px;
  color: var(--gold);
  font-weight: 400;
  padding-top: 3px;
  flex-shrink: 0;
  width: 24px;
}
.why-text h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 8px;
}
.why-text p {
  font-size: 13px;
  font-weight: 200;
  line-height: 1.8;
  color: var(--grey);
}

/* ---------- Transformation ---------- */
#transformation {
  background: var(--navy);
  padding: 120px 0;
  position: relative; overflow: hidden;
}
.transform-bg-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: 20vw;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  pointer-events: none;
  font-weight: 400;
}
.transform-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  position: relative; z-index: 1;
}
.transform-col h4 {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.transform-col.before h4 { color: rgba(255,255,255,0.35); }
.transform-col.after h4 { color: var(--gold); }
.transform-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.transform-item .ti-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0; margin-top: 7px;
}
.before .ti-dot { background: rgba(255,255,255,0.2); }
.after .ti-dot { background: var(--gold); }
.transform-item p {
  font-size: 14px;
  font-weight: 200;
  line-height: 1.7;
}
.before .transform-item p { color: rgba(255,255,255,0.5); }
.after .transform-item p { color: rgba(255,255,255,0.85); }
.transform-arrow {
  display: flex; align-items: center; justify-content: center;
  padding-top: 60px;
}
.transform-arrow svg { width: 48px; opacity: 0.3; }
.transform-header {
  text-align: center;
  margin-bottom: 80px;
}
.transform-header .h2 { color: var(--white); }
.transform-header .h2 em { color: var(--gold); }
.transform-header .label { color: var(--gold); }

/* ---------- Partners Marquee ---------- */
#partners { padding: 80px 0; border-top: 1px solid var(--grey-lt); }
.partners-header {
  text-align: center;
  margin-bottom: 56px;
}
.partners-header p {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--grey);
}
.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex; align-items: center; gap: 80px;
  width: max-content;
  animation: marqueeScroll 20s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.partner-logo {
  height: 140px; width: auto;
  opacity: 1;
  filter: none;
  transition: opacity 0.3s;
  flex-shrink: 0;
}
.partner-logo:hover { opacity: 0.85; }

/* ---------- Testimonials ---------- */
#testimonials { padding: 140px 0; background: var(--ivory); }
.testimonials-header { margin-bottom: 72px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial-card {
  background: var(--white);
  padding: 48px 40px;
  position: relative;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s, transform 0.4s var(--ease-silk), box-shadow 0.4s;
}
.testimonial-card:hover {
  border-bottom-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.06);
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.75;
  color: var(--black);
  margin-bottom: 36px;
}
.testimonial-person {
  display: flex; align-items: center; gap: 16px;
}
.testimonial-photo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--grey-lt);
  transition: border-color 0.3s;
}
.testimonial-card:hover .testimonial-photo { border-color: var(--gold); }
.testimonial-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.05em;
}
.testimonial-role {
  font-size: 11px;
  font-weight: 200;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-top: 3px;
}
.testimonial-stars {
  display: flex; gap: 4px;
  margin-bottom: 20px;
}
.testimonial-stars span {
  color: var(--gold);
  font-size: 12px;
}

/* ---------- Journey CTA ---------- */
#journey-cta {
  padding: 160px 0;
  background: var(--white);
  text-align: center;
  position: relative; overflow: hidden;
}
.journey-bg-plane {
  position: absolute;
  width: 600px;
  opacity: 0.025;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.journey-cta-inner { position: relative; z-index: 1; }
.journey-cta-inner .h2 { margin-bottom: 24px; max-width: 700px; margin-left: auto; margin-right: auto; }
.journey-cta-inner p { max-width: 500px; margin: 0 auto 48px; }
.journey-cta-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
#footer {
  background: var(--navy);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px;
}
.footer-brand .nav-logo img { width: 330px; height: auto; margin-bottom: 24px; }
.footer-brand p {
  font-size: 13px;
  font-weight: 200;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  max-width: 300px;
  margin-bottom: 28px;
}
.footer-social {
  display: flex; gap: 16px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.footer-social a:hover { border-color: var(--gold); background: rgba(201,162,39,0.1); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.6); }
.footer-col h5 {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col a {
  display: block;
  font-size: 13px;
  font-weight: 200;
  color: rgba(255,255,255,0.45);
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-col address {
  font-style: normal;
  font-size: 13px;
  font-weight: 200;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}
.footer-col address strong {
  display: block;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p {
  font-size: 11px;
  font-weight: 200;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}
.footer-bottom .footer-legal {
  display: flex; gap: 28px;
}
.footer-bottom .footer-legal a {
  font-size: 11px;
  font-weight: 200;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-bottom .footer-legal a:hover { color: var(--gold); }

/* ---------- WhatsApp Float ---------- */
.wa-float {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 900;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  transition: transform 0.3s var(--ease-silk), box-shadow 0.3s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.wa-float svg { width: 28px; height: 28px; fill: white; }
.wa-float::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.35);
  animation: waPulse 2s ease-in-out infinite;
}
@keyframes waPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0; }
}

/* ---------- Inquiry Modal ---------- */
#inquiry-modal {
  position: fixed; inset: 0;
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
#inquiry-modal.open { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,23,42,0.75);
  backdrop-filter: blur(8px);
}
.modal-box {
  position: relative; z-index: 1;
  background: var(--white);
  width: 100%; max-width: 560px;
  padding: 56px 48px;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-silk);
}
#inquiry-modal.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--grey);
  transition: color 0.2s;
  font-size: 20px;
}
.modal-close:hover { color: var(--black); }
.modal-box .label { margin-bottom: 8px; }
.modal-box h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 8px;
}
.modal-box > p {
  font-size: 13px;
  font-weight: 200;
  color: var(--grey);
  margin-bottom: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--grey-lt);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.modal-submit { width: 100%; padding: 18px; margin-top: 8px; }
.form-success {
  text-align: center;
  padding: 20px 0;
  display: none;
}
.form-success h4 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--black);
  margin-bottom: 12px;
}
.form-success p { font-size: 14px; font-weight: 200; color: var(--grey); }
.form-success .gold-check {
  width: 56px; height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 22px; color: white;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 100px;
  background: var(--white);
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(201,162,39,0.04), transparent);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .label { margin-bottom: 16px; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--black);
  max-width: 700px;
  margin-bottom: 24px;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p {
  font-size: 16px;
  font-weight: 200;
  line-height: 1.9;
  color: #555;
  max-width: 560px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--grey); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold-light); }

/* ---------- Course Detail ---------- */
.course-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}
.course-sidebar {
  position: sticky; top: calc(var(--nav-h) + 32px);
}
.sidebar-card {
  background: var(--ivory);
  padding: 40px;
  border-top: 2px solid var(--gold);
}
.sidebar-card h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--black);
}
.sidebar-detail {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  font-size: 13px;
}
.sidebar-detail:last-of-type { border-bottom: none; margin-bottom: 28px; }
.sidebar-detail span:first-child { font-weight: 200; color: var(--grey); }
.sidebar-detail span:last-child { font-weight: 400; color: var(--black); }
.sidebar-cta { margin-top: 24px; }
.sidebar-cta .btn-primary { width: 100%; justify-content: center; margin-bottom: 12px; }
.sidebar-cta .btn-outline { width: 100%; justify-content: center; }
.course-modules { margin: 48px 0; }
.course-modules h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--grey-lt);
}
.module-item {
  display: flex; gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--grey-lt);
}
.module-num {
  font-size: 11px;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  width: 32px;
  padding-top: 3px;
}
.module-content h5 {
  font-size: 15px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 6px;
}
.module-content p {
  font-size: 13px;
  font-weight: 200;
  color: var(--grey);
  line-height: 1.7;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.outcome-item {
  display: flex; gap: 12px;
  align-items: flex-start;
  padding: 20px;
  background: var(--ivory);
}
.outcome-item svg { width: 18px; flex-shrink: 0; margin-top: 2px; }
.outcome-item p { font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--black); }

/* ---------- About Page ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.value-item {
  padding: 48px 40px;
  border-right: 1px solid var(--grey-lt);
  border-bottom: 1px solid var(--grey-lt);
  transition: background 0.3s;
}
.value-item:hover { background: var(--ivory); }
.value-num {
  font-family: var(--font-serif);
  font-size: 48px;
  color: rgba(201,162,39,0.12);
  line-height: 1;
  margin-bottom: 20px;
  font-weight: 400;
}
.value-item h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
}
.value-item p {
  font-size: 13px;
  font-weight: 200;
  line-height: 1.8;
  color: var(--grey);
}

/* ---------- Placements ---------- */
.placement-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--grey-lt);
  margin: 48px 0;
}
.placement-logo-item {
  background: var(--white);
  padding: 48px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.placement-logo-item:hover { background: var(--ivory); }
.placement-logo-item img {
  height: 100px; width: auto;
  filter: none;
  opacity: 1;
  transition: opacity 0.3s;
}
.placement-logo-item:hover img { opacity: 0.8; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info { padding-right: 40px; }
.contact-item {
  display: flex; gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--grey-lt);
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 18px; }
.contact-item h5 {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 6px;
}
.contact-item p { font-size: 14px; font-weight: 200; line-height: 1.7; color: var(--black); }
.contact-item a { color: var(--black); transition: color 0.2s; }
.contact-item a:hover { color: var(--gold); }
.contact-form-wrap {
  background: var(--ivory);
  padding: 48px;
}
.contact-form-wrap h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 32px;
}

/* ---------- Animations (initial states) ---------- */
.anim-fade-up { opacity: 0; transform: translateY(32px); }
.anim-fade-in { opacity: 0; }
.anim-slide-left { opacity: 0; transform: translateX(-32px); }
.anim-slide-right { opacity: 0; transform: translateX(32px); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid .course-card:nth-child(2) { border-right: 1px solid var(--grey-lt); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 1024px) {
  .about-text-card { padding: 40px 28px; max-width: 100%; }
  .about-teaser-inner { padding: 80px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 60px; }
  .course-detail-grid { grid-template-columns: 1fr; }
  .course-sidebar { position: static; }
  .nav-links, .btn-nav-enroll { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .transform-grid { grid-template-columns: 1fr; }
  .transform-arrow { padding: 0; transform: rotate(90deg); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 80px; }
  .nav-logo img { width: 180px; }
  .footer-brand .nav-logo img { width: 160px; height: auto; }
  .hero-plane { width: 90vw; opacity: 0.18; right: 50%; transform: translateY(-50%) translateX(50%); }
  .hero-content { padding: 0 6vw; max-width: 100%; text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-badge { display: none; }
  .courses-grid { grid-template-columns: 1fr; }
  .courses-grid .course-card { border-right: 1px solid var(--grey-lt); border-bottom: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .placement-logos { grid-template-columns: 1fr 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-box { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; }

  /* --- Video section mobile: split into stacked blocks --- */
  #about-teaser {
    display: block;
    min-height: unset;
    padding: 0;
    overflow: visible;
    position: static;
  }
  .about-video-bg {
    position: relative;
    inset: unset;
    height: 260px;
    z-index: 0;
    overflow: hidden;
  }
  .about-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.85);
  }
  .about-teaser-inner {
    position: static;
    z-index: 1;
    padding: 0;
    display: block;
    width: 100%;
  }
  .about-text-card {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 40px 24px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--ivory, #f8f5ef);
    border-top: 3px solid var(--gold);
  }
  .about-text-card .h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .about-text-card p { font-size: 0.95rem; margin-bottom: 14px; }

  /* --- Stats --- */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-item { padding: 32px 16px; }
  .stat-number { font-size: 2.4rem; }

  /* --- Sections padding --- */
  #courses-section { padding: 72px 0 80px; }
  #testimonials { padding: 72px 0; }
  #placement-section { padding: 72px 0; }

  /* --- Footer social icons --- */
  .footer-social { flex-wrap: wrap; gap: 12px; }
  .footer-social a { width: 40px; height: 40px; }
  .footer-social img { width: 20px; height: 20px; }

  /* --- Section headings --- */
  .section-header { margin-bottom: 48px; }
  h2, .h2 { font-size: clamp(1.7rem, 7vw, 2.5rem); }

  /* --- Marquee partners --- */
  .marquee-track img { height: 80px; }
}

@media (max-width: 480px) {
  .about-text-card {
    max-width: calc(100% - 24px);
    width: calc(100% - 24px);
    padding: 28px 20px;
  }
  .footer-social { gap: 10px; }
  .placement-logos { grid-template-columns: 1fr 1fr; gap: 16px; }
  .placement-logos img { height: 60px; }
}
