/* ============================================================
   EDULOGIX — MAIN STYLESHEET
   Color Palette:
     --blue-dark:   #003580  (navy, primary brand)
     --blue-mid:    #004a99
     --orange:      #E87722  (CTA / accent)
     --white:       #FFFFFF
     --gray-light:  #F5F5F5
     --gray-text:   #555555
   ============================================================ */

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

:root {
  --blue-dark:   #003580;
  --blue-mid:    #004a99;
  --orange:      #E87722;
  --orange-dark: #c95f0f;
  --white:       #ffffff;
  --gray-light:  #f5f7fa;
  --gray-border: #e0e4ea;
  --gray-text:   #555555;
  --font-primary:  'Inter', sans-serif;
  --font-display:  'Satoshi', 'Inter', sans-serif;
  --radius:      8px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --transition:  0.25s ease;

  /* Theme Colors */
  --color-green:  #10b981;
  --color-blue:   #3b82f6;
  --color-orange: #f59e0b;
  --color-purple: #8b5cf6;
}

/* ---------- THEME CLASSES ---------- */
.theme--green  { --theme-color: var(--color-green); }
.theme--blue   { --theme-color: var(--color-blue); }
.theme--orange { --theme-color: var(--color-orange); }
.theme--purple { --theme-color: var(--color-purple); }

.course-card.theme--green  { border-top: 5px solid var(--color-green); }
.course-card.theme--blue   { border-top: 5px solid var(--color-blue); }
.course-card.theme--orange { border-top: 5px solid var(--color-orange); }

/* Static headers remain navy (default) */

.course-card.theme--green .course-card__btn:hover  { background: var(--color-green); }
.course-card.theme--blue .course-card__btn:hover   { background: var(--color-blue); }
.course-card.theme--orange .course-card__btn:hover { background: var(--color-orange); }

.promise-card__icon.theme--green  { color: var(--white); background: var(--color-green); }
.promise-card__icon.theme--blue   { color: var(--white); background: var(--color-blue); }
.promise-card__icon.theme--orange { color: var(--white); background: var(--color-orange); }
.promise-card__icon.theme--purple { color: var(--white); background: var(--color-purple); }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  color: var(--gray-text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition);
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
}
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  letter-spacing: 0.05em;
}
.btn--ghost:hover { background: var(--white); color: var(--blue-dark); }

.btn-text-link {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition), color var(--transition);
}
.btn-text-link:hover { gap: 0.6rem; color: var(--orange-dark); }

/* ---------- SECTION SHARED ---------- */
.section-header { text-align: left; margin-bottom: 2.5rem; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  max-width: 760px;
  font-size: 0.95rem;
  color: var(--gray-text);
  line-height: 1.7;
}

/* ============================================================
   NAVBAR
   ============================================================ */
/*.navbar {*/
/*  position: sticky;*/
/*  top: 0;*/
/*  z-index: 1000;*/
/*  background: var(--white);*/
/*  border-bottom: 1px solid #e8edf4;*/
/*  box-shadow: 0 2px 16px rgba(0,0,0,0.07);*/
/*}*/

/* ============================================================
   HERO — Cinematic video bg, ProHealth-inspired editorial layout
   ============================================================ */
.hero {
  position: relative;
  min-height: 580px;
  max-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Video fills the frame */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Multi-layer overlay: left strong dark → right lighter blue tint */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,  rgba(0,18,50,0.82) 0%, rgba(0,40,100,0.52) 55%, rgba(0,60,140,0.22) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.35) 100%);
}

/* ---- FLOATING BADGE (top-right, like reference) ---- */
.hero__badge {
  position: absolute;
  top: 2.2rem;
  right: 2.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 0.65rem 1rem 0.65rem 0.75rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.hero__badge-avatars {
  display: flex;
}
.hero__badge-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -8px;
}
.hero__badge-avatar:first-child { margin-left: 0; }
.hero__badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.hero__badge-text strong { font-size: 0.9rem; font-weight: 700; color: #001232; font-family: var(--font-display); }
.hero__badge-text span   { font-size: 0.68rem; color: #555; }
.hero__badge-check {
  width: 22px;
  height: 22px;
  background: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- MAIN BODY (left-side text stack) ---- */
.hero__body {
  position: relative;
  z-index: 5;
  padding-top: 6rem;
  padding-bottom: 8rem; /* leaves room for stats bar */
  max-width: 640px;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 0.2em;
}
.hero__hl-thin {
  display: block;
  font-weight: 400;      /* weight contrast — editorial */
  color: rgba(255,255,255,0.88);
}

/* 2-col descriptor row (brand label | text body) */
.hero__descriptor {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.4rem;
  align-items: start;
  border-top: 1px solid rgba(255,255,255,0.25);
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  margin-bottom: 1.8rem;
}
.hero__descriptor-brand {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: 0.1rem;
  white-space: nowrap;
}
.hero__descriptor-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin: 0;
}

/* Play-style text link */
.hero__play-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  font-weight: 500;
  font-family: var(--font-primary);
  transition: gap var(--transition), color var(--transition);
  margin-bottom: 1.4rem;
}
.hero__play-link:hover { gap: 1rem; color: var(--white); }

.hero__play-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}
.hero__play-link:hover .hero__play-icon {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.85);
}

/* Primary CTA — solid white fill, dark text (editorial premium) */
.hero__cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: #001232;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.hero__cta-primary::after { content: ' \2192'; }
.hero__cta-primary:hover {
  background: #e8f0ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
}

/* ---- BOTTOM STATS BAR ---- */
.hero__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 1.4rem 2rem;
}
.hero__stat {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero__stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero__stat span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  margin: 0 1rem;
}

/* Floating Social Buttons */
.hero__social-float {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.social-float {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform var(--transition);
}
.social-float:hover { transform: scale(1.12); }
.social-float--yt  { background: #ff0000; }
.social-float--wa  { background: #25d366; }
.social-float img  { width: 22px; height: 22px; }

/* ============================================================
   COURSES
   ============================================================ */
.courses { padding: 5rem 0; background: var(--white); }

.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* ---- CARD BASE ---- */
.course-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  height: 100%;
}
.course-card:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(232,119,34,0.2);
}
.course-card:hover .course-card__title,
.course-card:hover .course-card__tagline,
.course-card:hover .course-card__features li,
.course-card:hover .price__amount,
.course-card:hover .price__from {
  color: var(--white);
}
.course-card:hover .course-card__header,
.course-card:hover .course-card__footer,
.course-card:hover .course-card__tagline,
.course-card:hover .course-card__features li {
  background: var(--orange);
  border-color: rgba(255,255,255,0.2);
}
.course-card:hover .course-card__btn {
  background: var(--white);
  color: var(--orange);
}

/* Course card image wrap — REVEAL ON HOVER */
.course-card__img-wrap {
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}
.course-card:hover .course-card__img-wrap {
  max-height: 200px;
  opacity: 1;
}
.course-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.course-card:hover .course-card__img { transform: scale(1.1); }

/* ---- DARK NAVY HEADER ---- */
.course-card__header {
  background: var(--blue-dark);
  padding: 1.6rem 1.5rem;
  text-align: center;
}
.course-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.course-card__tagline {
  font-size: 0.85rem;
  color: var(--gray-text);
  padding: 1rem 1.4rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--gray-border);
  transition: color var(--transition);
}

/* ---- FEATURE LIST — each item separated by a border ---- */
.course-card__features {
  list-style: disc;
  padding: 0;
  margin: 0;
  flex: 1;
}
.course-card__features li {
  font-size: 0.88rem;
  color: #1a1a2e;
  line-height: 1.55;
  padding: 0.8rem 1.4rem;
  border-bottom: 1px solid var(--gray-border);
}
.course-card__features li:last-child { border-bottom: none; }

/* ---- CARD FOOTER: price + button ---- */
.course-card__footer {
  border-top: 1px solid var(--gray-border);
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;   /* centers the pill button */
  gap: 1rem;
  background: var(--white);
  text-align: center;
}
.course-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.price__from   { font-size: 0.85rem; color: var(--gray-text); }
.price__amount { font-size: 1.25rem; font-weight: 800; color: #1a1a2e; }

.course-card__btn {
  display: inline-block;
  width: auto;
  min-width: 180px;
  text-align: center;
  background: var(--blue-dark);
  color: var(--white);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.72rem 2.5rem;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.course-card__btn:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232,119,34,0.35);
}

/* ---- FEATURED CARD (NCLEX Assured) ---- */
.course-card--featured .course-card__header { background: var(--blue-dark); }
.course-card--featured .course-card__btn    { background: var(--blue-dark); }
.course-card--featured .course-card__btn:hover { background: var(--orange); }

/* ---- ROW LAYOUT (3 columns) ---- */
.courses__grid--three {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}


/* ============================================================
   PROMISE SECTION — Light theme + brand highlights
   ============================================================ */
.promise {
  padding: 4.5rem 0 4rem;
  background: #f6f8fc;   /* very light blue-tinted white */
}

.promise__header {
  text-align: center;
  margin-bottom: 2.8rem;
}

.promise__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.promise__sub {
  font-size: 0.97rem;
  color: #666;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 1.2rem;
}

/* Orange text utilities */
.promise__title--orange { color: var(--orange); }
.text-orange { color: var(--orange); }

/* Blue — dot — Blue divider (brand accent) */
.promise__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.promise__divider span {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  opacity: 0.4;
}
.promise__divider-dot {
  width: 8px !important;
  height: 8px !important;
  background: var(--blue-dark) !important;
  border-radius: 50% !important;
  opacity: 1 !important;
}

/* 4-col grid */
.promise__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Card: white, subtle border + shadow */
.promise-card {
  background: var(--white);
  border: 1px solid #dde5f4;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,53,128,0.07);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.promise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(232,119,34,0.18);
  border-color: var(--orange);
}

/* Orange glow top strip on hover */
.promise-card::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-dark), var(--orange));
  transition: opacity var(--transition);
  opacity: 0.6;
}
.promise-card:hover::before { opacity: 1; }

/* Photo */
.promise-card__photo {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.promise-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.promise-card:hover .promise-card__photo img { transform: scale(1.05); }

/* Blue icon bubble that half-overlaps the photo */
.promise-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -26px auto 0.85rem;
  position: relative;
  z-index: 2;
  border: 3px solid var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.14);
  transition: transform var(--transition);
}
.promise-card:hover .promise-card__icon { transform: scale(1.1); }
.promise-card__icon svg { color: inherit; }

/* Brand color icon variants (handled by .theme-- classes) */

.promise-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.45rem;
  line-height: 1.3;
  padding: 0 1.2rem;
  text-align: center;
}

.promise-card__desc {
  font-size: 0.84rem;
  color: #666;
  line-height: 1.65;
  padding: 0 1.2rem 1.5rem;
  text-align: center;
}


/* ============================================================
   SERVICES — Reference card layout
   ============================================================ */
.services {
  padding: 5rem 0;
  background: var(--white);
}

.services__label {
  display: inline-block;
  background: rgba(232,119,34,0.1);
  border: 1px solid rgba(232,119,34,0.3);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.9rem;
  display: block;
  width: fit-content;
  margin-inline: auto;
}

.services .section-header {
  text-align: center;
  margin-bottom: 2.8rem;
}

.services__grid {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  align-items: start;
}

.services__grid .service-card {
  flex: 0 1 400px; /* Max width for single card */
}

/* ---- BASE CARD ---- */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--gray-light);
  border: 1px solid #dde5f4;
  border-radius: 18px;
  overflow: hidden;
  padding: 1.4rem 1.4rem 0;
  min-height: 320px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}
.service-card:hover {
  background: var(--theme-color, var(--orange));
  border-color: var(--theme-color, var(--orange));
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.service-card:hover .service-card__title,
.service-card:hover .service-card__desc {
  color: var(--white);
}
.service-card:hover .service-card__arrow {
  background: var(--white);
  color: var(--theme-color, var(--orange));
  border-color: var(--white);
}
.service-card:hover .service-card__badge {
  background: var(--white);
}
.service-card:hover .service-card__badge svg {
  stroke: var(--orange);
}

/* Top row: title left, arrow right */
.service-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.25;
}

.service-card__arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #c8d5ea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #1a1a2e;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  line-height: 1;
}
.service-card:hover .service-card__arrow {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.service-card__desc {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* Image at the BOTTOM — REVEAL ON HOVER */
.service-card__img-wrap {
  margin-top: auto;
  width: calc(100% + 2.8rem);
  margin-left: -1.4rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  border-radius: 0;
}
.service-card:hover .service-card__img-wrap {
  max-height: 155px;
  opacity: 1;
}
.service-card__img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.service-card:hover .service-card__img { transform: scale(1.07); }

/* Icon badge bottom-left over the image — REVEAL ON HOVER */
.service-card__badge {
  position: absolute;
  bottom: calc(155px - 20px);
  left: 1.4rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.16);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.service-card:hover .service-card__badge {
  opacity: 1;
}
.service-card:hover .service-card__badge svg {
  stroke: var(--theme-color, var(--orange));
}

/* ---- FEATURED CARD (orange bg) ---- */
.service-card--featured {
  background: var(--theme-color, var(--orange));
  border-color: var(--theme-color, var(--orange));
  color: var(--white);
}
.service-card--featured .service-card__title { color: var(--white); }
.service-card--featured .service-card__desc  { color: rgba(255,255,255,0.82); }
.service-card--featured .service-card__arrow {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.service-card--featured:hover {
  box-shadow: 0 16px 40px rgba(232,119,34,0.4);
  border-color: var(--orange-dark);
}
.service-card--featured:hover .service-card__arrow {
  background: var(--white);
  border-color: var(--white);
  color: var(--orange);
}
.service-card--featured .service-card__badge { background: var(--white); }
.service-card--featured .service-card__badge svg { stroke: var(--orange); }


/* ============================================================
   REGISTRATION SERVICE — Professional Integrated Section
   ============================================================ */
.registration-service {
  padding: 6rem 0;
  background: var(--white);
}

.registration-service__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.registration-service__img-col {
  position: relative;
}

.registration-service__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 53, 128, 0.1);
}

.registration-service__experience {
  position: absolute;
  bottom: 2rem;
  right: -2rem;
  background: var(--orange);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(232, 119, 34, 0.3);
  text-align: center;
  line-height: 1.2;
}

.registration-service__experience strong {
  display: block;
  font-size: 2rem;
  font-family: var(--font-display);
  font-weight: 800;
}

.registration-service__experience span {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.registration-service__content-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.registration-service__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.15;
}

.registration-service__desc {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  color: var(--gray-text);
  line-height: 1.7;
}

.registration-service__features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0.5rem 0 1rem;
}

.reg-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--gray-light);
  border-radius: 10px;
  border: 1px solid var(--gray-border);
  transition: transform var(--transition);
}

.reg-feature:hover {
  transform: translateX(8px);
  border-color: var(--orange);
}

.reg-feature__icon {
  font-size: 1.4rem;
}

.reg-feature__text {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--blue-dark);
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .registration-service__layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .registration-service__img {
    height: 300px;
    max-width: 500px;
    margin: 0 auto;
    display: block;
  }
  .registration-service__experience {
    position: relative;
    right: 0;
    bottom: 0;
    margin: -2rem auto 0;
    width: fit-content;
    z-index: 5;
  }
  .registration-service__features {
    align-items: stretch;
    text-align: left;
  }
}
.community {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
}

.community__img { width: 100%; height: 100%; object-fit: cover; }

.community__content-col {
  background: var(--blue-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem;
}

.community__title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.community__desc { font-size: 0.9rem; color: rgba(255,255,255,0.8); line-height: 1.8; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
/* ============================================================
   TESTIMONIALS — Off-white bg, left heading, quote cards
   ============================================================ */
.testimonials {
  padding: 5rem 0;
  background: #faf9f7;
}

.testimonials__top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}

.testimonials__left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonials__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
}
.testimonials__title--orange { color: var(--orange); }

/* Google badge - Premium Upgrade */
.testimonials__google-badge {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--white);
  border: 1px solid #edf2f7;
  border-radius: 16px;
  padding: 1rem 1.4rem;
  width: fit-content;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.testimonials__google-badge::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.5s;
}
.testimonials__google-badge:hover {
  box-shadow: 0 12px 30px rgba(0, 53, 128, 0.1);
  transform: translateY(-4px);
  border-color: var(--orange);
}
.testimonials__google-badge:hover::before {
  left: 100%;
}

.google-badge__icon {
  background: #f8fafc;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.testimonials__google-badge:hover .google-badge__icon {
  transform: scale(1.1) rotate(5deg);
}

.google-badge__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.google-badge__score {
  font-weight: 800;
  color: #1a1a2e;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.google-badge__score .stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.google-badge__label {
  font-size: 0.85rem;
  color: #475569;
  font-weight: 600;
}
.google-badge__count {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Nav arrows */
.testimonials__nav {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.5rem;
}
.tcard-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  background: var(--white);
  cursor: pointer;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.tcard-btn:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 119, 34, 0.2);
}
.tcard-btn svg {
  transition: transform 0.3s ease;
}
.tcard-btn:hover svg {
  transform: scale(1.1);
}

/* Cards row - slider support */
.testimonials__cards-wrapper {
  overflow: hidden;
  width: 100%;
}
.testimonials__cards {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
  width: 100%;
}

.tcard {
  flex: 0 0 calc(50% - 0.75rem); /* Show 2 cards on desktop */
  background: var(--white);
  border: 1px solid rgba(232, 238, 248, 0.8);
  border-radius: 24px;
  padding: 2.8rem;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 53, 128, 0.04);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tcard:hover {
  box-shadow: 0 20px 60px rgba(0, 53, 128, 0.08);
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(232, 119, 34, 0.2);
}

.tcard__quote-mark {
  color: var(--orange);
  opacity: 0.15;
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  transition: all 0.5s ease;
}
.tcard:hover .tcard__quote-mark {
  opacity: 0.3;
  transform: rotate(-10deg) scale(1.2);
}

.tcard__text {
  font-size: 1rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.tcard__footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.5rem;
}
.tcard__avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.tcard:hover .tcard__avatar {
  transform: scale(1.1);
}
.tcard__name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--blue-dark);
  font-style: normal;
  display: block;
  margin-bottom: 2px;
}
.tcard__stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 5rem 0;
  background: var(--white);
  border-top: 1px solid #f0f2f5;
}

.faq__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 5rem;
  align-items: start;
}

/* Left */
.faq__label {
  display: inline-block;
  background: rgba(232,119,34,0.12);
  border: 1px solid rgba(232,119,34,0.35);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.faq__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.25;
  margin-bottom: 0.9rem;
}
.faq__title--orange { color: var(--orange); }
.faq__sub { font-size: 0.9rem; color: #666; line-height: 1.7; margin-bottom: 1.8rem; }
.faq__cta {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.faq__cta:hover { color: var(--orange); }

/* Accordion */
.faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e8edf4;
  border-radius: 12px;
  overflow: hidden;
}

.faq__item {
  border-bottom: 1px solid #e8edf4;
}
.faq__item:last-child { border-bottom: none; }

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a2e;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}
.faq__question:hover {
  background: #fafbff;
  color: var(--blue-dark);
}
.faq__question[aria-expanded="true"] {
  background: #f0f5ff;
  color: var(--blue-dark);
}

.faq__icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}
.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq__answer.is-open {
  max-height: 300px;
  padding: 0.1rem 1.5rem 1.2rem;
}
.faq__answer p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.75;
}


/* ============================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ============================================================ */

/* --- TABLET (Under 1024px) --- */
@media (max-width: 1024px) {
  .container { padding: 0 1.25rem; }



  .hero { min-height: 500px; max-height: none; }
  .hero__body { padding-top: 4rem; padding-bottom: 6rem; }
  .hero__badge { top: 1.5rem; right: 1.5rem; }

  .courses__grid { grid-template-columns: 1fr; gap: 2rem; max-width: 500px; margin-inline: auto; }
  .promise__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .services__grid { grid-template-columns: 1fr; }

  .testimonials__top { grid-template-columns: 1fr; gap: 2.5rem; }
  .testimonials__cards { display: flex; gap: 1.5rem; }

  .faq__layout { grid-template-columns: 1fr; gap: 2.5rem; }

}

/* --- MOBILE LANDSCAPE (Under 768px) --- */
@media (max-width: 768px) {


  .hero__body { text-align: center; margin: 0 auto; }
  .hero__descriptor { grid-template-columns: 1fr; text-align: center; gap: 0.5rem; }
  .hero__descriptor-brand { padding-top: 0; }
  .hero__play-link { justify-content: center; }
  .hero__cta-primary { width: 100%; justify-content: center; }
  .hero__badge { display: none; } /* Hide floating badge to clear space */

  .hero__stats {
    position: relative;
    background: var(--blue-dark);
    flex-wrap: wrap;
    padding: 2rem 1rem;
    gap: 1.5rem;
  }
  .hero__stat { flex: 0 0 45%; }
  .hero__stat-divider { display: none; }

  .hero__social-float { top: auto; bottom: 100px; right: 1rem; transform: none; }

  .courses__grid, .promise__grid, .services__grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials__cards {
    flex-direction: row;
    gap: 0;
  }
  .tcard {
    flex: 0 0 100%;
  }

  /* Make hover elements visible by default on mobile */
  .course-card__img-wrap, .service-card__img-wrap {
    max-height: 180px;
    opacity: 1;
  }
  .service-card__badge { opacity: 1; bottom: 160px; }

  .community { grid-template-columns: 1fr; }
  .community__img-col { height: 250px; }
  .community__content-col { padding: 3rem 1.5rem; text-align: center; }

  .testimonials__left { text-align: center; align-items: center; }
  .testimonials__nav { display: none; } /* Hide carousel nav on mobile if stacked */

  .faq__left { text-align: center; }
  .faq__cta { display: block; margin-top: 1rem; }

}

/* --- MOBILE PORTRAIT (Under 480px) --- */
@media (max-width: 480px) {
  .hero__headline { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero__stat { flex: 0 0 100%; text-align: center; }

  .tcard { padding: 1.5rem; }
  .faq__question { font-size: 0.88rem; padding: 1rem; }

}

