/* ══════════════════════════════════════
   VARIABLES
══════════════════════════════════════ */
:root {
  --gold: #c9972c;
  --gold-light: #f0c040;
  --gold-glow: rgba(201, 151, 44, 0.35);
  --orange: #e07b20;
  --black: #080808;
  --dark: #111111;
  --dark2: #181818;
  --dark3: #222222;
  --white: #f5f5f5;
  --gray: #888;
  --gray-light: #ccc;
  --font-display: 'Bebas Neue', sans-serif;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --radius: 12px;
  --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 {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ══════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
::selection { background: var(--gold); color: var(--black); }

/* ══════════════════════════════════════
   UTILITIES
══════════════════════════════════════ */
.gold { color: var(--gold-light); }

.section-label {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-sub {
  font-size: .98rem;
  color: var(--gray-light);
  max-width: 600px;
  line-height: 1.75;
}
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  border-radius: 2px;
  margin: 18px 0 30px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-101%);
  transition: transform .4s ease;
}
.btn:hover::after { transform: translateX(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--black);
  box-shadow: 0 4px 24px var(--gold-glow);
}
.btn-gold:hover { box-shadow: 0 8px 40px rgba(201, 151, 44, 0.55); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover { background: var(--gold-glow); transform: translateY(-2px); }

.btn-dark {
  background: var(--dark3);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-dark:hover { background: var(--dark2); transform: translateY(-2px); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 22px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
#navbar.scrolled {
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(16px);
  padding: 14px 5%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: .08em;
  background: linear-gradient(90deg, var(--gold-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo span { color: var(--white); -webkit-text-fill-color: var(--white); }

.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color .3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .3s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 10px 22px !important; font-size: .78rem !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 26px; height: 2px; background: var(--gold-light); border-radius: 2px; transition: .3s; }

/* ══════════════════════════════════════
   HERO  —  CENTERED LAYOUT
══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;        /* ← CENTER horizontally */
  position: relative;
  overflow: hidden;
  padding: 120px 5% 80px;
  text-align: center;             /* ← CENTER text */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(201, 151, 44, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 60%, rgba(224, 123, 32, 0.07) 0%, transparent 55%),
    linear-gradient(165deg, #0e0e0e 0%, #080808 100%);
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 151, 44, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 151, 44, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 151, 44, 0.14) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: .7; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;            /* ← CENTER children */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 151, 44, 0.12);
  border: 1px solid rgba(201, 151, 44, 0.3);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
  animation: fadeDown .8s ease forwards;
}
.hero-badge i { font-size: .7rem; }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 1.0;
  letter-spacing: .03em;
  margin-bottom: 24px;
  animation: fadeUp .9s .2s ease both;
}
.hero-title .line2 {
  background: linear-gradient(90deg, var(--gold-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--gray-light);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 42px;
  animation: fadeUp .9s .4s ease both;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;        /* ← CENTER buttons */
  animation: fadeUp .9s .6s ease both;
}

/* ── STATS — CENTERED & BIGGER ── */
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 70px;
  animation: fadeUp .9s .8s ease both;
  flex-wrap: wrap;
  justify-content: center;        /* ← CENTER stats */
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 151, 44, 0.15);
  border-radius: 20px;
  padding: 36px 20px;
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 140px;
  padding: 10px 20px;
  position: relative;
}

/* Vertical dividers between stats */
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(201, 151, 44, 0.2);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.8rem);    /* ← BIGGER numbers */
  letter-spacing: .04em;
  background: linear-gradient(135deg, var(--gold-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
  transition: all 0.1s ease;
}

.stat-label {
  font-size: .8rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-top: 10px;
  font-weight: 600;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gray);
  animation: bounce 2s infinite;
}
.hero-scroll i { font-size: 1.1rem; color: var(--gold); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════
   MARQUEE STRIP
══════════════════════════════════════ */
.marquee-strip {
  background: linear-gradient(90deg, var(--gold), var(--orange), var(--gold));
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}
.marquee-item {
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0 40px;
}
.marquee-item i { margin-right: 10px; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   COURSES SECTION
══════════════════════════════════════ */
#courses {
  padding: 100px 5%;
  background: var(--dark);
}
.section-header { margin-bottom: 60px; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.course-card {
  background: var(--dark2);
  border: 1px solid rgba(201, 151, 44, 0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}
.course-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1.5px solid transparent;
  background: linear-gradient(135deg, var(--gold), var(--orange)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.course-card:hover::before { opacity: 1; }
.course-card:hover { transform: translateY(-10px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--gold-glow); }

.course-badge-top {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--black);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}
.course-img-wrap {
  height: 200px;
  background: var(--dark3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.course-icon-bg {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 151, 44, 0.15), rgba(224, 123, 32, 0.1));
  border: 2px solid rgba(201, 151, 44, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--gold-light);
  transition: transform .4s;
}
.course-card:hover .course-icon-bg { transform: scale(1.1) rotate(5deg); }
.course-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--dark2) 0%, transparent 60%);
}
.course-body { padding: 28px; }
.course-level {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.course-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--white);
}
.course-desc {
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 22px;
}
.course-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 26px;
}
.course-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--gray-light);
}
.course-feature i { color: var(--gold); font-size: .75rem; }

.course-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  gap: 12px;
  flex-wrap: wrap;
}
.price-tag {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: .03em;
  background: linear-gradient(90deg, var(--gold-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.price-emi {
  font-size: .72rem;
  color: var(--gold);
  margin-top: 4px;
  font-weight: 600;
}
.course-card .btn { padding: 12px 26px; font-size: .8rem; }

/* ══════════════════════════════════════
   MODALS
══════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  backdrop-filter: blur(8px);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal-box {
  background: var(--dark2);
  border: 1px solid rgba(201, 151, 44, 0.2);
  border-radius: 20px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(.92) translateY(20px);
  transition: transform .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.modal-overlay.active .modal-box { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--gray-light);
  transition: .3s;
  z-index: 2;
}
.modal-close:hover { background: rgba(201, 151, 44, 0.2); color: var(--gold-light); }

.modal-hero-img {
  height: 200px;
  background: linear-gradient(135deg, #1a1408, #0e0e0e);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.modal-hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(201, 151, 44, 0.22) 0%, transparent 70%);
}
.modal-hero-icon {
  font-size: 4rem;
  color: var(--gold-light);
  position: relative;
  z-index: 1;
  opacity: .85;
}
.modal-content { padding: 40px; }

.modal-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.modal-price-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.modal-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  background: linear-gradient(90deg, var(--gold-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.modal-emi-badge {
  background: rgba(201, 151, 44, 0.12);
  border: 1px solid rgba(201, 151, 44, 0.25);
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
}
.modal-section-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 28px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(201, 151, 44, 0.15);
}
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--gray-light);
  line-height: 1.55;
}
.modal-item i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.modal-desc { font-size: .9rem; color: var(--gray-light); line-height: 1.8; }

.modal-cert-box {
  background: linear-gradient(135deg, rgba(201, 151, 44, 0.08), rgba(224, 123, 32, 0.05));
  border: 1px solid rgba(201, 151, 44, 0.2);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.modal-cert-icon { font-size: 2.4rem; color: var(--gold-light); flex-shrink: 0; }
.modal-cert-text h4 { font-family: var(--font-head); font-weight: 700; margin-bottom: 4px; }
.modal-cert-text p { font-size: .83rem; color: var(--gray); }

.modal-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; justify-content: center; }

/* ══════════════════════════════════════
   CTA SECTION
══════════════════════════════════════ */
#cta {
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(201, 151, 44, 0.1) 0%, transparent 70%),
    var(--black);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-inner .section-label { justify-content: center; display: block; text-align: center; }
.cta-inner .section-title { text-align: center; }
.cta-inner .divider { margin: 18px auto 28px; }
.cta-inner .section-sub { margin: 0 auto 48px; text-align: center; }
.cta-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.cta-actions .btn { min-width: 180px; justify-content: center; }

/* CALL FORM */
#callModal .modal-box { max-width: 500px; }
.call-form { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-light);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.form-group input {
  background: var(--dark3);
  border: 1px solid rgba(201, 151, 44, 0.2);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--white);
  outline: none;
  transition: border-color .3s;
}
.form-group input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 151, 44, 0.12); }
.form-group input::placeholder { color: #555; }
.form-error { font-size: .78rem; color: #e05050; display: none; }
.form-success { text-align: center; padding: 30px; display: none; }
.form-success i { font-size: 3rem; color: var(--gold-light); margin-bottom: 16px; display: block; }
.form-success h3 { font-family: var(--font-head); font-weight: 700; margin-bottom: 8px; }
.form-success p { font-size: .9rem; color: var(--gray); }

/* ══════════════════════════════════════
   VIDEO SECTION
══════════════════════════════════════ */
#videos {
  padding: 100px 5%;
  background: var(--dark);
}
/* ══════════════════════════════════════
   VIDEO SECTION (NATIVE TOUCH SLIDER)
══════════════════════════════════════ */
#videos {
  padding: 100px 5%;
  background: var(--dark);
  overflow: hidden; 
}

.videos-slider-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.videos-track-container {
  overflow: hidden;
  width: 100%;
}

/* 🔥 The New Native Touch Slider Track */
.videos-track {
  display: flex;
  gap: 24px;
  overflow-x: auto; /* Enables horizontal swiping */
  scroll-snap-type: x mandatory; /* Snaps perfectly to each card */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Buttery smooth scrolling on iOS */
  padding-bottom: 20px; /* Gives room for the scrollbar */
  transform: none !important; /* Overrides the old JS */
}

/* Custom Gold Scrollbar for the Slider */
.videos-track::-webkit-scrollbar {
  height: 6px;
}
.videos-track::-webkit-scrollbar-thumb {
  background: rgba(201, 151, 44, 0.5); /* Gold color */
  border-radius: 10px;
}

/* Video Card Styling + Snap Settings */
.video-card {
  scroll-snap-align: start; /* Where it snaps */
  flex: 0 0 calc(25% - 18px); /* 4 cards visible on Desktop */
  min-width: 280px; /* Prevents cards from getting too squished */
  background: var(--dark2);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(201, 151, 44, 0.1);
  transition: var(--transition);
}

.video-card:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); 
  border-color: rgba(201, 151, 44, 0.3); 
}

/* Video Wrapper for perfect vertical ratio */
.video-wrap {
  position: relative;
  padding-bottom: 115%; /* Creates a vertical 9:16 Instagram/Reel ratio */
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-wrap iframe, .video-wrap video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  object-fit: cover; /* Forces the video to fill the space without stretching */
}

/* Text and Tag Styling */
.video-info { padding: 18px 20px; }
.video-info h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 4px;
  color: var(--white);
}
.video-info p { font-size: .8rem; color: var(--gray); }
.video-tag {
  display: inline-block;
  background: rgba(201, 151, 44, 0.12);
  color: var(--gold);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
}

/* Hide the old buttons */
.video-nav-btn { display: none !important; }

/* ── Responsive Mobile Behavior ── */
@media (max-width: 1024px) {
  .video-card { flex: 0 0 calc(33.333% - 16px); } /* Show 3 on Tablets */
}

@media (max-width: 768px) {
  .video-card { 
    flex: 0 0 75%; /* Takes up 75% of screen so the next card "peeks" in */
    scroll-snap-align: center; 
  }
}

@media (max-width: 480px) {
  .video-card { flex: 0 0 85%; } /* Slightly wider for tiny phones */
}

/* ══════════════════════════════════════
   TESTIMONIALS (NATIVE TOUCH SLIDER)
══════════════════════════════════════ */
#testimonials {
  padding: 100px 5%;
  background: var(--black);
  overflow: hidden;
}

.testimonial-slider { 
  position: relative; 
  width: 100%;
}

/* 🔥 The New Native Touch Slider Track */
.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto; /* Enables horizontal swiping */
  scroll-snap-type: x mandatory; /* Snaps to cards */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Smooth iOS scrolling */
  padding-bottom: 20px; /* Room for scrollbar */
  transform: none !important; /* Overrides old JS */
}

/* Custom Gold Scrollbar */
.testimonial-track::-webkit-scrollbar {
  height: 6px;
}
.testimonial-track::-webkit-scrollbar-thumb {
  background: rgba(201, 151, 44, 0.5);
  border-radius: 10px;
}

/* Testimonial Card Styling */
.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 calc(33.333% - 16px); /* 3 cards visible on Desktop */
  min-width: 300px;
  background: var(--dark2);
  border: 1px solid rgba(201, 151, 44, 0.1);
  border-radius: 16px;
  padding: 34px;
  position: relative;
  transition: border-color .3s;
}

.testimonial-card:hover { border-color: rgba(201, 151, 44, 0.35); }

.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 0;
  color: rgba(201, 151, 44, 0.2);
  font-family: Georgia, serif;
  position: absolute;
  top: 30px;
  right: 28px;
}

/* Text and Author Styling */
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.stars i { color: var(--gold); font-size: .85rem; }
.testimonial-text { font-size: .9rem; color: var(--gray-light); line-height: 1.8; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--black);
  flex-shrink: 0;
}
.author-info h5 { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--white); }
.author-info span { font-size: .78rem; color: var(--gold); }

/* ── Responsive Mobile Behavior ── */
@media (max-width: 1024px) {
  .testimonial-card { flex: 0 0 calc(50% - 12px); } /* Show 2 on tablets */
}

@media (max-width: 768px) {
  .testimonial-card { 
    flex: 0 0 85%; /* Peek effect so users know they can swipe */
    scroll-snap-align: center;
  }
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(201, 151, 44, 0.1);
  padding: 70px 5% 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: .08em;
  background: linear-gradient(90deg, var(--gold-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  display: block;
}
.footer-desc { font-size: .85rem; color: var(--gray); line-height: 1.8; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px;
  height: 40px;
  background: var(--dark3);
  border: 1px solid rgba(201, 151, 44, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: .95rem;
  transition: .3s;
}
.social-link:hover { background: var(--gold); color: var(--black); border-color: var(--gold); transform: translateY(-3px); }
.footer-col h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  font-size: .85rem;
  color: var(--gray);
  transition: color .3s;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-links a i { font-size: .65rem; color: var(--gold); }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; }
.contact-item i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.contact-item span { font-size: .85rem; color: var(--gray); line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p { font-size: .8rem; color: #555; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: .78rem; color: #555; transition: color .3s; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ══════════════════════════════════════
   MOBILE MENU
══════════════════════════════════════ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(8, 8, 8, 0.98);
  z-index: 850;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  backdrop-filter: blur(16px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: color .3s;
}
.mobile-menu a:hover { color: var(--gold-light); }
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 5%;
  font-size: 1.6rem;
  color: var(--gray);
  cursor: pointer;
  transition: color .3s;
}
.mobile-menu-close:hover { color: var(--gold-light); }

/* ══════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════ */
#backTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 800;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--gold-glow);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
}
#backTop.show { opacity: 1; transform: translateY(0); }
#backTop:hover { transform: translateY(-3px); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card { flex: 0 0 calc(50% - 14px); }
  .modal-grid { grid-template-columns: 1fr; }
  .stat-item:not(:last-child)::after { display: none; }
  .hero-stats { gap: 10px; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 90%; }
  .hero-stats { flex-direction: column; align-items: center; padding: 24px 16px; gap: 20px; }
  .stat-item { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .modal-content { padding: 24px; }
}



/*Contactus */

/* ══════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════ */
#contact {
  padding: 100px 5%;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 20% 50%, rgba(201,151,44,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 85% 30%, rgba(224,123,32,0.05) 0%, transparent 55%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Contact Info Cards */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--dark2);
  border: 1px solid rgba(201,151,44,0.12);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}
.contact-info-card:hover {
  border-color: rgba(201,151,44,0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201,151,44,0.18), rgba(224,123,32,0.1));
  border: 1px solid rgba(201,151,44,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--gold-light);
  flex-shrink: 0;
}
.contact-info-text h5 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-info-text a,
.contact-info-text span {
  font-size: .9rem;
  color: var(--white);
  display: block;
  transition: color .3s;
  line-height: 1.6;
}
.contact-info-text a:hover { color: var(--gold-light); }

.contact-hours {
  background: linear-gradient(135deg, rgba(201,151,44,0.08), rgba(224,123,32,0.04));
  border: 1px solid rgba(201,151,44,0.15);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-hours i { color: var(--gold); font-size: 1rem; }
.contact-hours span { font-size: .85rem; color: var(--gray-light); }
.contact-hours strong { color: var(--gold-light); }

/* Enquiry Form */
.enquiry-form-wrap {
  background: var(--dark2);
  border: 1px solid rgba(201,151,44,0.14);
  border-radius: 20px;
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.enquiry-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.enquiry-form-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 6px;
}
.enquiry-form-sub {
  font-size: .85rem;
  color: var(--gray);
  margin-bottom: 30px;
  line-height: 1.6;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.enquiry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.enquiry-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.enquiry-group label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray-light);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.enquiry-group input,
.enquiry-group select,
.enquiry-group textarea {
  background: var(--dark3);
  border: 1px solid rgba(201,151,44,0.18);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--white);
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  resize: none;
}
.enquiry-group select {
  appearance: none;
  -webkit-appearance: none;
  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 fill='%23c9972c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.enquiry-group select option { background: var(--dark2); color: var(--white); }
.enquiry-group input:focus,
.enquiry-group select:focus,
.enquiry-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,151,44,0.12);
}
.enquiry-group input::placeholder,
.enquiry-group textarea::placeholder { color: #444; }

.enquiry-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: .9rem;
  margin-top: 4px;
}

.enquiry-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.enquiry-success i {
  font-size: 3.5rem;
  color: var(--gold-light);
  display: block;
  margin-bottom: 18px;
  animation: popIn .5s ease;
}
.enquiry-success h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.enquiry-success p { font-size: .9rem; color: var(--gray); line-height: 1.7; }
@keyframes popIn {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ── RESPONSIVE ABOUT + CONTACT ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .enquiry-row { grid-template-columns: 1fr; }
  .about-cta-strip { flex-direction: column; text-align: center; }
  .enquiry-form-wrap { padding: 28px; }
}

@media (max-width: 640px) {
  /* Your existing code */
  .about-harry-card { flex-direction: column; align-items: center; text-align: center; }
  .about-cta-strip { padding: 28px 20px; }
  .enquiry-row { grid-template-columns: 1fr; }

  /* ── ADDED: Mobile Centering for Headers & Contact Cards ── */
  .section-header, .about-left .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .divider { 
    margin: 18px auto 30px; 
  }
  .contact-info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .contact-hours {
    flex-direction: column;
    text-align: center;
  }
  .enquiry-form-wrap {
    text-align: center;
  }
  .enquiry-group label {
    text-align: left;
  }
}
/* ══════════════════════════════════════
   ABOUT SECTION STYLES (Moved from Index)
══════════════════════════════════════ */
#about { padding: 100px 5%; background: var(--dark); position: relative; overflow: hidden; }
#about::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 80% 20%, rgba(201,151,44,0.07) 0%, transparent 60%), radial-gradient(ellipse 40% 40% at 10% 80%, rgba(224,123,32,0.05) 0%, transparent 55%); pointer-events: none; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; position: relative; z-index: 1; }
.about-left .section-header { margin-bottom: 32px; }
.about-intro { font-size: 1rem; color: var(--gray-light); line-height: 1.85; margin-bottom: 24px; }
.about-harry-card { background: linear-gradient(135deg, rgba(201,151,44,0.1), rgba(224,123,32,0.06)); border: 1px solid rgba(201,151,44,0.25); border-radius: 16px; padding: 28px; margin-bottom: 32px; display: flex; gap: 20px; align-items: center; }
.about-harry-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--orange)); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--black); flex-shrink: 0; }
.about-harry-info h4 { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--white); margin-bottom: 4px; }
.about-harry-info p { font-size: .82rem; color: var(--gold); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.5; }
.about-why-choose { background: rgba(255,255,255,0.02); border: 1px solid rgba(201,151,44,0.1); border-radius: 16px; padding: 28px; margin-top: 8px; }
.about-why-choose h4 { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--gold-light); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.about-why-choose h4 i { color: var(--gold); }
.about-why-list { display: flex; flex-direction: column; gap: 12px; }
.about-why-item { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--gray-light); line-height: 1.6; }
.about-why-item i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.about-right { display: flex; flex-direction: column; gap: 20px; }
.key-point-card { background: var(--dark2); border: 1px solid rgba(201,151,44,0.1); border-radius: 14px; padding: 24px 26px; display: flex; gap: 20px; align-items: flex-start; transition: var(--transition); position: relative; overflow: hidden; }
.key-point-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--gold), var(--orange)); border-radius: 3px 0 0 3px; opacity: 0; transition: opacity .3s; }
.key-point-card:hover { transform: translateX(6px); border-color: rgba(201,151,44,0.3); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.key-point-card:hover::before { opacity: 1; }
.key-point-num { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, var(--gold), var(--orange)); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.4rem; color: var(--black); flex-shrink: 0; letter-spacing: .02em; }
.key-point-body h4 { font-family: var(--font-head); font-weight: 800; font-size: .95rem; color: var(--gold-light); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.key-point-body p { font-size: .85rem; color: var(--gray); line-height: 1.7; }
.key-point-body p strong { color: var(--gold-light); font-weight: 700; }
.about-cta-strip { margin-top: 60px; background: linear-gradient(135deg, rgba(201,151,44,0.1), rgba(224,123,32,0.06)); border: 1px solid rgba(201,151,44,0.2); border-radius: 18px; padding: 36px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.about-cta-text h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--white); margin-bottom: 6px; }
.about-cta-text p { font-size: .88rem; color: var(--gray); }
.about-cta-text p em { color: var(--gold-light); font-style: italic; font-weight: 600; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-cta-strip { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .about-harry-card { flex-direction: column; align-items: center; text-align: center; }
  .about-cta-strip { padding: 28px 20px; }
}

/* ══════════════════════════════════════
   STANDALONE COURSE PAGE STYLES
══════════════════════════════════════ */
.course-page-wrapper {
  padding: 100px 5% 100px;  /* Changed from 140px to 100px */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  background: var(--dark);
}

.course-page-card {
  background: var(--dark2);
  border: 1px solid rgba(201, 151, 44, 0.2);
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: fadeUp 0.8s ease forwards;
}

.about-harry-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--black);
  flex-shrink: 0;
  overflow: hidden; /* <-- ADD THIS LINE so the image stays in the circle */
}

/* ADD THIS NEW BLOCK so the image fits perfectly */
.about-harry-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This stops the image from looking stretched/squished */
  display: block;
}

/* ══════════════════════════════════════
   PLACEMENTS SECTION (FINAL)
══════════════════════════════════════ */
#placements { 
  padding: 100px 5%; 
  background: var(--dark); 
  overflow: hidden; 
}

/* ── 1. Top Hiring Partners ── */
.placement-partners { text-align: center; }
.partners-title { 
  font-family: var(--font-head); 
  font-size: 1.1rem; 
  color: var(--gold); 
  margin-bottom: 30px; 
  text-transform: uppercase; 
  letter-spacing: 0.15em; 
}
.partners-container { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.partners-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.partner-logo { 
  background: rgba(255, 255, 255, 0.03); 
  border: 1px solid rgba(255, 255, 255, 0.08); 
  border-radius: 10px; 
  padding: 20px 30px; 
  font-family: var(--font-display); 
  font-size: 1.5rem; 
  color: var(--gray); 
  letter-spacing: 0.05em; 
  min-width: 170px; 
  transition: var(--transition); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  cursor: default; 
}
.partner-logo:hover { 
  background: rgba(201, 151, 44, 0.08); 
  border-color: var(--gold); 
  color: var(--gold-light); 
  transform: translateY(-3px); 
  box-shadow: 0 8px 20px rgba(0,0,0,0.3); 
}

/* ── 2. Placed Students Grid (Desktop) ── */
.placed-students-wrap { text-align: center; }
.placed-grid { 
  display: grid; 
  grid-template-columns: repeat(5, 1fr); 
  gap: 20px; 
  margin-bottom: 40px; 
  
  /* 🔥 INCREASED WIDTH: Changed from 1100px to 1400px */
  max-width: 1400px; 
  margin-left: auto;
  margin-right: auto;
}
.placed-card { 
  background: var(--dark2); 
  border-radius: 14px; 
  overflow: hidden; 
  border: 1px solid rgba(201, 151, 44, 0.1); 
  transition: var(--transition); 
  text-align: left; 
}
.placed-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5); border-color: rgba(201, 151, 44, 0.3); }

/* 🔥 DESKTOP IMAGE SHAPE: Perfect portrait ratio, NO forced heights */
.placed-img { 
  width: 100%; 
  aspect-ratio: 4 / 4.5; 
  height: auto; 
  overflow: hidden; 
  background: #000; 
}
.placed-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.placed-card:hover .placed-img img { transform: scale(1.05); }

.placed-info { padding: 16px; }
.placed-package { display: inline-block; background: rgba(201, 151, 44, 0.12); color: var(--gold); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 50px; margin-bottom: 10px; }
.placed-info h4 { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--white); margin-bottom: 4px; }
.placed-info p { font-size: .8rem; color: var(--gray); }
.placed-info p i { color: var(--gold); margin-right: 4px; }
.view-more-wrap { display: flex; justify-content: center; margin-top: 20px; }

/* ── 3. Placement Stats ── */
.placement-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 60px; }
.place-stat-card { background: var(--dark2); border-radius: 16px; padding: 40px 20px; text-align: center; border: 1px solid rgba(201, 151, 44, 0.12); transition: var(--transition); }
.place-stat-icon { font-size: 2.5rem; color: var(--gold-light); margin-bottom: 15px; opacity: 0.8; }
.place-num { font-family: var(--font-display); font-size: 3.5rem; background: linear-gradient(135deg, var(--gold-light), var(--orange)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 5px; }
.place-stat-card p { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--gray-light); text-transform: uppercase; letter-spacing: 0.1em; }


/* ══════════════════════════════════════
   MOBILE FIXES FOR PLACEMENTS & STATS
══════════════════════════════════════ */

@media (max-width: 768px) {
  /* ── 1. Force Hiring Partners into 3 Columns ── */
  .partners-container { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .partners-row { display: contents; }
  .partner-logo { flex: 0 0 calc(33.333% - 8px); min-width: 0; font-size: 0.85rem; padding: 14px 6px; }

  /* ── 2. Placed Grid & PERFECT Mobile Slider ── */
  .placed-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; max-width: 100%; }
  
  .mobile-slider { display: flex !important; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; gap: 16px; padding-bottom: 20px; margin-bottom: 20px; }
  .mobile-slider::-webkit-scrollbar { height: 6px; }
  .mobile-slider::-webkit-scrollbar-thumb { background: rgba(201, 151, 44, 0.5); border-radius: 10px; }
  .mobile-slider .placed-card { flex: 0 0 75%; scroll-snap-align: center; max-width: none; }

  .placed-info { padding: 12px 10px; }
  .placed-package { font-size: 0.6rem; padding: 3px 8px; white-space: nowrap; }
  .placed-info h4 { font-size: 0.9rem; margin-bottom: 2px; }
  .placed-info p { font-size: 0.75rem; }
  
  /* ── 3. Stats ── */
  .place-num { font-size: 2.2rem; }
  .place-stat-icon { font-size: 1.8rem; margin-bottom: 10px; }
  .place-stat-card { padding: 24px 16px; }
  .placement-stats-grid { gap: 16px; }
}

@media (max-width: 480px) {
  .partner-logo { flex: 0 0 calc(33.333% - 6px); font-size: 0.65rem; padding: 10px 4px; border-radius: 6px; letter-spacing: 0; }
  .placed-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .mobile-slider .placed-card { flex: 0 0 85%; }
  .placed-package { font-size: 0.55rem; padding: 3px 6px; }
  .placed-info h4 { font-size: 0.8rem; }
  .placed-info p { font-size: 0.65rem; }
  .place-num { font-size: 2rem; }
  .place-stat-card { padding: 20px 15px; }
}

/* ══════════════════════════════════════
   DEDICATED STORIES PAGE (GRID LAYOUT)
══════════════════════════════════════ */
.stories-page-wrap {
  padding: 140px 5% 100px; 
  background: var(--dark);
  min-height: 100vh;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 40px auto 0;
}

/* 🔥 THE FIX: Stop the cards from acting like the slider! */
.stories-grid .video-card {
  min-width: 0 !important; /* Removes the 280px minimum width so they can shrink */
  width: 100%;
  flex: none !important; /* Stops the flex sizing from the homepage */
}

/* ── Responsive Mobile Behavior for the Grid ── */
@media (max-width: 1024px) {
  .stories-grid { 
    grid-template-columns: repeat(3, 1fr); 
  }
}

@media (max-width: 768px) {
  .stories-grid { 
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 12px; 
  }
  
  /* Shrink text/padding slightly so it fits perfectly in the smaller cards */
  .stories-grid .video-info { padding: 12px 10px; }
  .stories-grid .video-info h4 { font-size: 0.85rem; margin-bottom: 2px; }
  .stories-grid .video-tag { font-size: 0.55rem; padding: 3px 6px; }
}

@media (max-width: 480px) {
  .stories-grid { 
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 10px;
  }
}

/* ══════════════════════════════════════
   DEDICATED REVIEWS PAGE (GRID LAYOUT)
══════════════════════════════════════ */
.reviews-page-wrap {
  padding: 140px 5% 100px; 
  background: var(--black); 
  min-height: 100vh;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns for text cards */
  gap: 30px;
  max-width: 1400px;
  margin: 40px auto 0;
}

/* 🔥 THE FIX: Stop the cards from acting like the swipeable slider */
.reviews-grid .testimonial-card {
  flex: none !important;
  margin-right: 0 !important;
  min-width: 0 !important;
  width: 100%;
}

/* ── Responsive Mobile Behavior ── */
@media (max-width: 1024px) {
  .reviews-grid { 
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 768px) {
  .reviews-grid { 
    grid-template-columns: 1fr; /* 1 column on phones so text is easy to read! */
    gap: 20px;
  }
}


/* ══════════════════════════════════════
   6. CERTIFICATE GALLERY & LIGHTBOX
══════════════════════════════════════ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 15px;
}

.cert-thumb {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 151, 44, 0.15);
  border-radius: 6px;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cert-thumb:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201, 151, 44, 0.15);
}

.cert-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 297 / 210; 
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 8px;
  background-color: #1a1a1a; 
}

.cert-thumb span {
  display: block;
  font-size: 0.65rem;
  color: var(--gray-light);
  font-weight: 600;
  text-transform: uppercase;
}

/* ── The Full-Screen Popup (BULLETPROOF CENTERING) ── */
.cert-modal {
  display: none; 
  position: fixed !important;
  z-index: 9999999 !important; /* Forces it over EVERYTHING */
  left: 0 !important;
  top: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.9) !important; 
  backdrop-filter: blur(5px);
  align-items: center !important;
  justify-content: center !important;
}

.cert-modal-content {
  position: relative !important;
  width: 895px !important;    
  height: 654px !important;   
  max-width: 95vw !important; 
  max-height: 90vh !important; 
  object-fit: contain !important; 
  background-color: #fff !important; 
  border: 2px solid var(--gold) !important;
  border-radius: 8px !important;
  box-shadow: 0 0 50px rgba(0,0,0,1) !important;
  animation: zoomIn 0.3s ease forwards;
  margin: auto !important;
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ── The "Cut/Close" Button ── */
.cert-close {
  position: absolute !important;
  top: 20px !important;
  right: 30px !important;
  color: var(--white) !important;
  font-size: 50px !important;
  font-weight: 300 !important;
  cursor: pointer !important;
  transition: 0.3s;
  z-index: 10000000 !important;
  line-height: 1 !important;
}

.cert-close:hover {
  color: var(--gold) !important;
}

/* ── Mobile Size Override for the Popup ── */
@media (max-width: 768px) {
  .cert-modal-content {
    width: 372px !important;  
    height: 277px !important; 
  }
}

/* ══════════════════════════════════════
   DEDICATED "BOOK A CALL" PAGE
══════════════════════════════════════ */
.book-page-wrap {
  padding: 160px 5% 100px; /* High top padding to clear the navbar */
  background: var(--dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: radial-gradient(circle at center, rgba(201, 151, 44, 0.05) 0%, transparent 70%);
}

.book-page-wrap .modal-box {
  background: var(--dark2);
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(201, 151, 44, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* ══════════════════════════════════════
   CUSTOM DROPDOWN STYLING
══════════════════════════════════════ */
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--gray-light);
  font-family: inherit;
  font-size: 0.95rem;
  appearance: none; /* Removes the ugly default Windows/Mac dropdown styles */
  
  /* Custom Gold Arrow Icon */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23C9972C%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 16px top 50%;
  background-size: 12px auto;
  cursor: pointer;
  transition: var(--transition, 0.3s ease);
}

/* Glow effect when clicked */
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(201, 151, 44, 0.02);
}

/* Make sure the options list stays dark when it drops down */
.form-group select option {
  background-color: var(--dark);
  color: var(--white);
  padding: 10px;
}