/* =====================================================
   Edzorb Law · Hero section
   Mobile first: the base styles are the phone design
   (up to 600px). Tablet and desktop are added below.
   ===================================================== */

/* ---------- Phone (default, designed at 390 to 425px) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 26px;
  background:
    radial-gradient(120% 70% at 85% 0%, var(--sky-light) 0%, rgba(230, 243, 252, 0) 60%),
    linear-gradient(180deg, var(--sky-50), #fff 70%);
}

/* text column: items stacked with a 16px gap */
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* "#1 most downloaded" pill with stars */
.rating-claim {
  display: inline-flex;
  align-items: center;
  /* align-self: flex-start; */
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.rating-claim img {
  width: auto;
  height: 14px;
}

.hero-title {
  font-size: 38px;
  line-height: 1.06;
  letter-spacing: -.02em;
  text-align: center;
}

.hero-lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

/* buttons stacked, full width */
.cta-row {
  display: grid;
  gap: 10px;
}

.hero .btn-gradient {
  box-shadow: 0 16px 26px -12px rgba(122, 105, 230, .9);
}

/* avatars + "Joined by 10,000+ students" */
.joined-students {
  display: flex;
  align-items: center;
  gap: 12px;
}

.joined-students img {
  width: auto;
  height: 34px;
}

.joined-students p {
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink);
}

.joined-students b {
  color: var(--navy);
}

.joined-students span {
  display: block;
}

/* hero illustration: full width, no card, tucked up under the text */
.hero-art {
  margin: 0px -26px 0;
}

.hero-art img {
  width: 100%;
  height: auto;
}

/* very small phones */
@media (max-width: 360px) {
  .hero-title {
    font-size: 34px;
  }
}

/* ---------- Tablet (601px and up) ----------
   One column, bigger text, buttons side by side,
   illustration in a rounded card. */
@media (min-width: 601px) {
  .hero {
    padding: 48px 0 56px;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-lede {
    max-width: 560px;
    font-size: 18px;
  }

  .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0;
  }

  .hero-art {
    max-width: 640px;
    margin: 36px auto 0;
    padding: 18px;
    border-radius: 32px;
    background: radial-gradient(circle at 50% 40%, var(--sky), var(--sky-light));
    box-shadow: var(--shadow-card);
  }

  .hero-art img {
    border-radius: 22px;
  }
}

/* ---------- Desktop (961px and up) ----------
   Text on the left, illustration card on the right. */
@media (min-width: 961px) {
  .hero {
    padding: 64px 0 76px;
    background: linear-gradient(180deg, var(--sky-50), #fff);
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
  }

  .hero-text {
    gap: 0;
  }

  .rating-claim {
    gap: 10px;
    margin-bottom: 22px;
    font-size: 13px;
    color: var(--ink);
  }

  .rating-claim img {
    height: 18px;
  }

  .hero-title {
    font-size: 60px;
  }

  .hero-lede {
    margin-top: 18px;
    font-size: 18px;
  }

  .cta-row {
    margin: 28px 0 24px;
  }

  .hero .btn-outline {
    border-color: var(--sky);
    background: #fff;
  }

  .joined-students img {
    height: 38px;
  }

  .joined-students p {
    font-size: 14px;
    color: var(--muted);
  }

  /* on desktop the sentence is one plain line, not bold + line break */
  .joined-students b {
    font-weight: 400;
    color: inherit;
  }

  .joined-students span {
    display: inline;
  }

  .hero-art {
    max-width: none;
    margin: 0;
  }
}



/* ============================== Hero CTA new Layout ================================ */

/* New Hero Buttons Layout */
.hero .cta-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 85%;
  align-self: center;
}

.hero .cta-row .btn {
  flex: 1;
  min-width: 0;
  min-height: unset;
  padding: 0 12px;
  font-size: 15px;
  white-space: nowrap;
}

/* First Button - Gradient Background */
.hero .cta-row .btn-gradient {
  background: linear-gradient(180deg,#14a0ec,#0a7fcf);
  color: #fff;
  border: 1.5px solid transparent;
}

/* Second Button - Gradient Border */
.hero .cta-row .btn-outline {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--royal);
}

/* Tablet and Desktop */
@media (min-width: 601px) {
  .hero .cta-row {
    flex-wrap: nowrap;
  }
}

/* Small Mobile Screens */
@media (max-width: 360px) {
  .hero .cta-row {
    gap: 8px;
  }

  .hero .cta-row .btn {
    padding: 0 8px;
    font-size: 13px;
  }
}


/* ============================================= */


/* CTA Variation 2 - Gradient Outline + Filled Button */

.hero .cta-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 85%;
  align-self: center;
}

/* First Button - Gradient Border */
.hero .cta-row .btn-outline {
  flex: 1;
  min-width: 0;
  padding: 14px 50px;
  border: 2px solid transparent;
  border-radius: 50px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #246BFD 0%, #D72BEF 100%) border-box;
  color: #246BFD;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Gradient Text on First Button */
.hero .cta-row .btn-outline {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #246BFD 0%, #D72BEF 100%) border-box;
  -webkit-background-clip: padding-box, border-box;
}

/* Second Button - Filled Gradient */
.hero .cta-row .btn-gradient {
  flex: 1;
  min-width: 0;
  padding: 14px 50px;
  border: 2px solid transparent;
  border-radius: 50px;
  background: linear-gradient(
    100deg,
    #246BFD 0%,
    #7950F5 55%,
    #D72BEF 100%
  );
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover Effects */
.hero .cta-row .btn-outline:hover {
  box-shadow: 0 5px 18px rgba(80, 90, 220, 0.15);
  transform: translateY(-2px);
}

.hero .cta-row .btn-gradient:hover {
  box-shadow: 0 8px 22px rgba(121, 80, 245, 0.25);
  transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .hero .cta-row {
    gap: 10px;
  }

  .hero .cta-row .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}


.hero .cta-row .btn-outline {
  background: #fff;
  background-image: linear-gradient(#fff, #fff),
    linear-gradient(90deg, #246BFD, #D72BEF);
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent;
  -webkit-text-fill-color: transparent;
  background-clip: padding-box, border-box;
  position: relative;
}

.hero .cta-row .btn-outline {
  color: #7950F5;
  -webkit-text-fill-color: #7950F5;
}


/* ============================================ */






/* ==========================================
   HERO VARIATION — CENTERED LAYOUT
   Edzorb Law | Existing assets and content
   ========================================== */

.hero-topper-variation {
  position: relative;
  overflow: hidden;
  padding: 42px 0 0;
  background:
    radial-gradient(
      circle at 100% 0%,
      var(--sky-light) 0%,
      transparent 36%
    ),
    radial-gradient(
      circle at 0% 70%,
      rgba(153, 218, 255, 0.18) 0%,
      transparent 32%
    ),
    linear-gradient(180deg, var(--sky-50), #fff 85%);
}

.hero-topper-variation .hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Centered content */
.hero-topper-variation .hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 850px;
  gap: 0;
}

/* Rating badge */
.hero-topper-variation .rating-claim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  text-align: center;
}

/* Main heading */
.hero-topper-variation .hero-title {
  max-width: 800px;
  margin: 0;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-align: center;
  color: var(--navy);
}

/* Existing gradient remains unchanged */
.hero-topper-variation .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description */
.hero-topper-variation .hero-lede {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
  text-align: center;
}

/* Existing small toppers' images */
.hero-topper-variation .hero-topper-students {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
  text-align: center;
}

.hero-topper-variation .hero-topper-students img {
  display: block;
  width: min(100%, 280px);
  height: auto;
  object-fit: contain;
}

.hero-topper-variation .hero-topper-students p {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.hero-topper-variation .hero-topper-students b {
  color: var(--navy);
  font-weight: 900;
}

/* Both CTAs side by side */
.hero-topper-variation .hero-topper-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 440px);
  margin: 26px auto 0;
}

.hero-topper-variation .hero-topper-actions .btn {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 12px 14px;
  font-size: 15px;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-topper-variation .hero-topper-actions .btn-gradient {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(85, 127, 230, 0.7);
}

.hero-topper-variation .hero-topper-actions .btn-outline {
  border: 1.5px solid var(--violet);
  background: #fff;
  color: var(--violet);
}

.hero-topper-variation .hero-topper-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* Illustration below the centered content */
.hero-topper-variation .hero-art {
  width: 100%;
  max-width: 720px;
  margin: 28px auto 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.hero-topper-variation .hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

/* Tablet */
@media (min-width: 601px) {
  .hero-topper-variation {
    padding-top: 54px;
  }

  .hero-topper-variation .hero-topper-students {
    flex-direction: row;
    gap: 16px;
  }

  .hero-topper-variation .hero-topper-students img {
    width: 220px;
  }

  .hero-topper-variation .hero-topper-students p {
    text-align: left;
  }

  .hero-topper-variation .hero-art {
    margin-top: 34px;
  }
}

/* Desktop */
@media (min-width: 961px) {
  .hero-topper-variation {
    padding-top: 60px;
  }

  .hero-topper-variation .hero-title {
    font-size: 62px;
  }

  .hero-topper-variation .hero-lede {
    font-size: 19px;
  }

  .hero-topper-variation .hero-art {
    max-width: 850px;
    margin-top: 38px;
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .hero-topper-variation {
    padding-top: 28px;
  }

  .hero-topper-variation .hero-title {
    font-size: 34px;
  }

  .hero-topper-variation .rating-claim {
    gap: 6px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .hero-topper-variation .hero-topper-actions {
    gap: 8px;
  }

  .hero-topper-variation .hero-topper-actions .btn {
    padding: 10px 8px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-topper-variation .hero-topper-actions .btn {
    transition: none;
  }
}


/* =============================== */


/* ==========================================
   HERO TOPPER GRID VARIATION
   Original hero remains unchanged
   ========================================== */

.hero-topper-grid-variation {
  position: relative;
  overflow: hidden;
  padding: 36px 0 30px;
  background:
    radial-gradient(
      circle at 100% 0%,
      #e1efff 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 0% 70%,
      #e4f6f7 0%,
      transparent 30%
    ),
    linear-gradient(180deg, #f5faff, #fff 75%);
}

.hero-topper-grid-variation,
.hero-topper-grid-variation * {
  box-sizing: border-box;
}

.hero-topper-grid-variation .htv-content {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

/* Rating */
.hero-topper-grid-variation .htv-rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 50px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.hero-topper-grid-variation .htv-rating img {
  width: 78px;
  height: auto;
  flex-shrink: 0;
}

/* Heading */
.hero-topper-grid-variation .htv-title {
  margin: 0;
  color: var(--navy);
  font-family: Lato, sans-serif;
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-align: center;
}

.hero-topper-grid-variation .htv-title .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-topper-grid-variation .htv-description {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  text-align: center;
}

/* Topper cards: 3 columns */
.hero-topper-grid-variation .htv-topper-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin-top: 30px;
}

.hero-topper-grid-variation .htv-topper-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  /* min-height: 218px; */
  padding: 8px 8px 8px;
  border: 1px solid rgba(0, 65, 102, 0.08);
  border-radius: 24px;
  box-shadow: 0 7px 18px rgba(0, 65, 102, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-topper-grid-variation .htv-topper-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 65, 102, 0.12);
}

.hero-topper-grid-variation .htv-blue {
  background: #e6f3ff;
}

.hero-topper-grid-variation .htv-pink {
  /* background: #fff0f3; */
   background: #e6f3ff;
}

.hero-topper-grid-variation .htv-green {
  /* background: #e7f7ef; */
   background: #e6f3ff;
}

.hero-topper-grid-variation .htv-peach {
  /* background: #fff4e6; */
   background: #e6f3ff;
}

.hero-topper-grid-variation .htv-lilac {
  /* background: #f0eaff; */
   background: #e6f3ff;
}

/* Small E badge */
.hero-topper-grid-variation .htv-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid #f2a900;
  border-radius: 50%;
  background: #ffca28;
  color: #092c43;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 3px 7px rgba(0, 0, 0, .08);
}

/* Topper photos */
.hero-topper-grid-variation .htv-face {
  display: block;
  width: 82px;
  height: 82px;
  max-width: 100%;
  flex-shrink: 0;
  border: 4px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
}

.hero-topper-grid-variation .htv-topper-card h3 {
  width: 100%;
  margin: 13px 0 0;
  color: #08334c;
  font-family: Lato, sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.hero-topper-grid-variation .htv-topper-card p {
  margin: 6px 0 0;
  color: #49667e;
  font-size: 13px;
  line-height: 1.35;
}

/* More toppers */
.hero-topper-grid-variation .htv-more-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  /* min-height: 218px; */
  padding: 12px 6px;
  border: 2px dashed #c6ddf6;
  border-radius: 24px;
  background: rgba(255, 255, 255, .8);
  color: #16436b;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.hero-topper-grid-variation .htv-more-card:hover {
  background: #eaf4ff;
  transform: translateY(-3px);
}

.hero-topper-grid-variation .htv-more-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #e2efff;
  color: #3979ed;
  font-size: 32px;
  font-weight: 400;
}

.hero-topper-grid-variation .htv-more-card strong {
  color: #3979ed;
  font-size: 28px;
  line-height: 1.15;
}

.hero-topper-grid-variation .htv-more-card > span:nth-last-child(2) {
  margin-top: 5px;
  font-size: 13px;
}

.hero-topper-grid-variation .htv-more-arrow {
  margin-top: 7px;
  color: #3979ed;
  font-size: 27px;
  line-height: 1;
}

/* Two CTAs side by side */
.hero-topper-grid-variation .htv-cta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 440px);
  margin: 26px auto 0;
}

.hero-topper-grid-variation .htv-cta-row .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  /* min-height: 52px; */
  padding: 12px 0px;
  border-radius: 999px;
  font-family: Lato, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-topper-grid-variation .htv-cta-row .btn-gradient {
  border: 1.5px solid transparent;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(85, 127, 230, .7);
}

.hero-topper-grid-variation .htv-cta-row .btn-outline {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #246bfd, #d72bef) border-box;
  color: #7950f5;
  -webkit-text-fill-color: #7950f5;
}

.hero-topper-grid-variation .htv-cta-row .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(85, 127, 230, .18);
}

/* Bottom highlights */
.hero-topper-grid-variation .htv-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 65, 102, .12);
}

.hero-topper-grid-variation .htv-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  padding: 0 10px;
}

.hero-topper-grid-variation .htv-highlight + .htv-highlight {
  border-left: 1px solid rgba(0, 65, 102, .16);
}

.hero-topper-grid-variation .htv-highlight-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: #e3efff;
  color: #3979ed;
  font-size: 23px;
  font-weight: 900;
}

.hero-topper-grid-variation .htv-highlight p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

/* Tablet */
@media (min-width: 601px) {
  .hero-topper-grid-variation {
    padding: 48px 0 42px;
  }

  .hero-topper-grid-variation .htv-topper-grid {
    gap: 20px;
  }

  .hero-topper-grid-variation .htv-topper-card,
  .hero-topper-grid-variation .htv-more-card {
    min-height: 250px;
  }

  .hero-topper-grid-variation .htv-face {
    width: 125px;
    height: 125px;
  }

  .hero-topper-grid-variation .htv-topper-card h3 {
    font-size: 17px;
  }

  .hero-topper-grid-variation .htv-topper-card p {
    font-size: 14px;
  }

  .hero-topper-grid-variation .htv-highlight p {
    font-size: 14px;
  }
}

/* Desktop */
@media (min-width: 961px) {
  .hero-topper-grid-variation {
    padding: 56px 0 48px;
  }

  .hero-topper-grid-variation .htv-topper-grid {
    gap: 22px;
    margin-top: 34px;
  }

  .hero-topper-grid-variation .htv-topper-card,
  .hero-topper-grid-variation .htv-more-card {
    min-height: 270px;
    border-radius: 28px;
  }

  .hero-topper-grid-variation .htv-face {
    width: 145px;
    height: 145px;
  }

  .hero-topper-grid-variation .htv-topper-card h3 {
    font-size: 18px;
  }

  .hero-topper-grid-variation .htv-topper-card p {
    font-size: 15px;
  }

  .hero-topper-grid-variation .htv-cta-row {
    width: 440px;
  }

  .hero-topper-grid-variation .htv-highlight p {
    font-size: 15px;
  }
}

/* Small phones: retain three cards per row */
@media (max-width: 425px) {
  .hero-topper-grid-variation {
    padding: 28px 0 24px;
  }

  .hero-topper-grid-variation .htv-rating {
    gap: 5px;
    margin-bottom: 18px;
    padding: 7px 9px;
    font-size: 10px;
  }

  .hero-topper-grid-variation .htv-rating img {
    width: 65px;
  }

  .hero-topper-grid-variation .htv-title {
    font-size: clamp(31px, 8vw, 36px);
  }

  .hero-topper-grid-variation .htv-description {
    margin-top: 12px;
    font-size: 14px;
  }

  .hero-topper-grid-variation .htv-topper-grid {
    gap: 8px;
    margin-top: 22px;
  }

  .hero-topper-grid-variation .htv-topper-card,
  .hero-topper-grid-variation .htv-more-card {
    min-height: 176px;
    padding: 12px 4px;
    border-radius: 17px;
  }

  .hero-topper-grid-variation .htv-face {
    width: clamp(58px, 18vw, 76px);
    height: clamp(58px, 18vw, 76px);
    border-width: 3px;
  }

  .hero-topper-grid-variation .htv-badge {
    top: 7px;
    left: 7px;
    width: 25px;
    height: 25px;
    border-width: 1.5px;
    font-size: 10px;
  }

  .hero-topper-grid-variation .htv-topper-card h3 {
    margin-top: 9px;
    font-size: 11px;
    line-height: 1.25;
  }

  .hero-topper-grid-variation .htv-topper-card p {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.3;
  }

  .hero-topper-grid-variation .htv-more-icon {
    width: 38px;
    height: 38px;
    font-size: 25px;
  }

  .hero-topper-grid-variation .htv-more-card strong {
    font-size: 23px;
  }

  .hero-topper-grid-variation .htv-more-card > span:nth-last-child(2) {
    font-size: 10px;
  }

  .hero-topper-grid-variation .htv-more-arrow {
    font-size: 22px;
  }

  .hero-topper-grid-variation .htv-cta-row {
    gap: 9px;
    margin-top: 22px;
  }

  .hero-topper-grid-variation .htv-cta-row .btn {
    /* min-height: 46px; */
    padding: 10px 5px;
    font-size: 13px;
  }

  .hero-topper-grid-variation .htv-highlights {
    margin-top: 24px;
    padding-top: 16px;
  }

  .hero-topper-grid-variation .htv-highlight {
    flex-direction: column;
    gap: 6px;
    padding: 0 4px;
  }

  .hero-topper-grid-variation .htv-highlight-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 19px;
  }

  .hero-topper-grid-variation .htv-highlight p {
    font-size: 9px;
    text-align: center;
  }
}

/* Extra-small phones */
@media (max-width: 340px) {
  .hero-topper-grid-variation .htv-topper-grid {
    gap: 5px;
  }

  .hero-topper-grid-variation .htv-topper-card,
  .hero-topper-grid-variation .htv-more-card {
    padding-right: 3px;
    padding-left: 3px;
  }

  .hero-topper-grid-variation .htv-topper-card h3 {
    font-size: 10px;
  }

  .hero-topper-grid-variation .htv-topper-card p {
    font-size: 9px;
  }

  .hero-topper-grid-variation .htv-cta-row .btn {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-topper-grid-variation *,
  .hero-topper-grid-variation *::before,
  .hero-topper-grid-variation *::after {
    transition: none !important;
  }
}


/* =============================================== */



/* ==========================================
   EDZORB HERO + TOPPERS CAROUSEL
   ========================================== */

.edzorb-carousel,
.edzorb-carousel * {
  box-sizing: border-box;
}

.edzorb-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}

.edzorb-carousel-track {
  display: flex;
  width: 100%;
  align-items: stretch;
  transition: transform 0.45s ease-in-out;
  will-change: transform;
}

.edzorb-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  position: relative;
}

/* Sections should fill their slide */
.edzorb-slide > .hero,
.edzorb-slide > .hero-topper-grid-variation {
  width: 100%;
  height: 100%;
  margin: 0;
}

/* ==========================================
   CENTER ARROWS
   ========================================== */

.edzorb-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;
  padding: 0;

  border: 1px solid rgba(0, 50, 80, 0.15);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.94);
  color: #07334c;

  font-family: Arial, sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1;

  box-shadow: 0 3px 12px rgba(0, 40, 65, 0.13);
  cursor: pointer;

  transform: translateY(-50%);
  transition: background 0.2s ease,
              box-shadow 0.2s ease;
}

.edzorb-prev {
  left: 8px;
}

.edzorb-next {
  right: 8px;
}

.edzorb-arrow:hover {
  background: #e8f3ff;
  box-shadow: 0 5px 15px rgba(0, 40, 65, 0.18);
}

.edzorb-arrow:focus-visible,
.edzorb-dot:focus-visible {
  outline: 2px solid #3979ed;
  outline-offset: 3px;
}

/* ==========================================
   SLIDE INDICATORS
   ========================================== */

.edzorb-dots {
  position: absolute;
  z-index: 21;
  bottom: 10px;
  left: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  transform: translateX(-50%);
}

.edzorb-dot {
  width: 7px;
  height: 7px;
  padding: 0;

  border: 0;
  border-radius: 50%;
  background: #b8c9d9;
  cursor: pointer;

  transition: width 0.2s ease, background 0.2s ease;
}

.edzorb-dot.active {
  width: 20px;
  border-radius: 10px;
  background: #3979ed;
}

/* ==========================================
   TOPPERS CTA — MATCH HERO BUTTON LAYOUT
   Keep the original font and card styles
   ========================================== */

.hero-topper-grid-variation .htv-cta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;

  width: 85%;
  max-width: none;
  margin: 26px auto 0;
}

.hero-topper-grid-variation .htv-cta-row .btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-width: 0;
  /* min-height: 55px; */
  padding: 12px 14px;

  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

/* Filled CTA */
.hero-topper-grid-variation .htv-cta-row .btn-gradient {
  border: 1.5px solid transparent;
  background:linear-gradient(    100deg,    #246BFD 0%,    #7950F5 55%,    #D72BEF 100%  );
  color: #fff;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 12px 24px -12px rgba(85, 127, 230, 0.7);
}

/* Outline CTA */
.hero-topper-grid-variation .htv-cta-row .btn-outline {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #246bfd, #d72bef) border-box;
  color: #7950f5;
  -webkit-text-fill-color: #7950f5;
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 480px) {
  .edzorb-arrow {
    width: 30px;
    height: 30px;
    font-size: 17px;
  }

  .edzorb-prev {
    left: 5px;
  }

  .edzorb-next {
    right: 5px;
  }

  .hero-topper-grid-variation .htv-cta-row {
    width: 85%;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-topper-grid-variation .htv-cta-row .btn {
    /* min-height: 55px; */
    padding: 12px 8px;
    font-size: 14px;
  }
}

/* Smaller screens */
@media (max-width: 360px) {
  .hero-topper-grid-variation .htv-cta-row {
    gap: 8px;
  }

  .hero-topper-grid-variation .htv-cta-row .btn {
    padding: 10px 5px;
    font-size: 12px;
  }
}

/* Desktop */
@media (min-width: 961px) {
  .edzorb-arrow {
    width: 40px;
    height: 40px;
    font-size: 21px;
  }

  .edzorb-prev {
    left: 16px;
  }

  .edzorb-next {
    right: 16px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .edzorb-carousel-track,
  .edzorb-arrow,
  .edzorb-dot {
    transition: none;
  }
}

/* ======================= */


/* More Toppers card */
.hero-topper-grid-variation .htv-more-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-width: 0;
  min-height: 180px;
  padding: 14px 8px;

  background: #e5f2ff;
  border: 1.5px solid #cfe5fb;
  border-radius: 30px;

  color: #164e86;
  text-align: center;
  text-decoration: none;

  transition: transform .25s ease, box-shadow .25s ease;
}

/* Faint topper photo behind the text */
.hero-topper-grid-variation .htv-more-card::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;

  background-image: url("images/t-aparna.jpg");
  background-repeat: no-repeat;
  background-position: center 24%;
  background-size: cover;

  opacity: .20;
}

/* Light overlay: keeps the text easy to read */
.hero-topper-grid-variation .htv-more-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;

  background: rgba(229, 242, 255, .68);
}

/* Remove the old plus icon */
.hero-topper-grid-variation .htv-more-card strong {
  display: none;
}

/* More Toppers text stays prominent */
.hero-topper-grid-variation .htv-more-card span {
  position: relative;
  z-index: 1;

  display: block;
  max-width: 100%;

  color: #164e86;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(255, 255, 255, .7);
}

/* Hover */
.hero-topper-grid-variation .htv-more-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(30, 90, 150, .12);
}

.hero-topper-grid-variation .htv-more-card:hover::before {
  opacity: .27;
}

/* Mobile */
@media (max-width: 480px) {
  .hero-topper-grid-variation .htv-more-card span {
    font-size: 20px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-topper-grid-variation .htv-more-card {
    transition: none;
  }
}


/* More Toppers card */
.hero-topper-grid-variation .htv-more-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-width: 0;
  min-height: 180px;
  padding: 16px 8px;

  background: #e5f2ff;
  border: 1.5px solid #cfe5fb;
  border-radius: 30px;

  text-align: center;
  text-decoration: none;
}

/* Round topper photo — like the other cards */
.hero-topper-grid-variation .htv-more-image {
  position: relative;
  z-index: 0;

  display: block;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;

  object-fit: cover;
  object-position: center top;

  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 40, 65, .12);

  opacity: .45;
}

/* Clear, prominent text */
.hero-topper-grid-variation .htv-more-text {
  position: relative;
  z-index: 1;

  display: block;
  color: #164e86;

  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

@media (max-width: 480px) {
  .hero-topper-grid-variation .htv-more-image {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
  }

  .hero-topper-grid-variation .htv-more-text {
    font-size: 19px;
  }
}





/* =================================================== */

/* quick access */
.quick{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:-22px;position:relative}
.qtile{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);color:var(--ink);box-shadow:var(--shadow);min-width:0}
.qtile:hover{text-decoration:none;border-color:var(--blue)}
.qtile img{width:65px;height:65px;object-fit:contain}
.qtile b{font-family:var(--f-display);font-size:.98rem;line-height:1.2}
.qtile small{color:var(--ink-soft);font-size:.78rem;line-height:1.35}


@media (max-width:1060px){ 
  .quick{grid-template-columns:repeat(3,1fr)} 
}

@media (max-width:760px){
  .quick{grid-template-columns:repeat(2,1fr);margin-top:-16px}
}

:root{
  --blue:#0a93e0;        /* logo wordmark */
  --blue-deep:#1f61e9;   /* "Concentration Power" post */
  --teal:#00a8d0;        /* logo mark gradient */
  --leaf:#5fcf8f;        /* logo mark gradient end */
  --red:#e1323f;         /* EL post red */
  --gold:#ffc614;        /* Nunc Pro Tunc yellow */
  --sky:#d4e7f5;         /* cover background */
  --sky-2:#a7d3f0;       /* brush stroke */
  --cream:#f8edc0;
  --ink:#1f3b4f;         /* cover title slate */
  --ink-soft:#4f6a7d;
  --bg:#ffffff;
  --surface:#f4f9fd;
  --card:#ffffff;
  --line:#d6e5f0;
  --on-brush:#1f3b4f;
  --on-accent:#ffffff;
  --logo-chip:transparent;
  --shadow:0 6px 18px rgba(18,70,110,.10);
  --grad:linear-gradient(120deg,#0a93e0 0%,#00a8d0 55%,#5fcf8f 100%);
  --f-display:"Quicksand","Nunito","Varela Round",system-ui,sans-serif;
  --f-body:"Poppins","Segoe UI",system-ui,-apple-system,sans-serif;
  --r:14px;
}

.wrap{max-width:var(--maxw);margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}





/* ========================== Hero moving carousal =========================== */



/* ===== Moving Toppers inside Hero ===== */

/* ===== Hero Topper Orbit: Reference Design ===== */
.hero-topper-orbit {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 50% 45%, #fff8df 0%, transparent 48%),
    linear-gradient(180deg, #f7fbff, #f0f7fc);
}

.hero-topper-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: pan-y;
}

/* Two orbit lines */
.hero-topper-ring {
  position: absolute;
  left: 50%;
  top: 43%;
  width: 96%;
  height: 72%;
  border: 1px dashed #b9def3;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-topper-ring-gold {
  position: absolute;
  left: 50%;
  top: 43%;
  width: 78%;
  height: 57%;
  border: 1px solid rgba(237, 164, 4, .65);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Topper portraits */
.hero-topper-item {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--topper-size, 78px);
  height: var(--topper-size, 78px);
  margin: calc(var(--topper-size, 78px) / -2) 0 0
         calc(var(--topper-size, 78px) / -2);
  border: 3px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 7px 18px rgba(1, 50, 78, .22);
  will-change: transform;
}

.hero-topper-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hero-topper-item.is-front {
  border-color: #eda404;
  box-shadow: 0 0 0 4px rgba(237,164,4,.18),
              0 9px 22px rgba(1,50,78,.22);
}

/* Center logo */
.hero-topper-center {
  position: absolute;
  z-index: 20;
  left: 50%;
  top: 43%;
  width: 178px;
  height: 178px;
  padding: 5px;
  transform: translate(-50%, -50%);
  border: 2px solid #eda404;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(237,164,4,.10),
              0 14px 30px rgba(1,50,78,.17);
  pointer-events: none;
}

.hero-topper-center img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* Small decorative law symbols */
.hero-topper-decoration {
  position: absolute;
  z-index: 2;
  font-size: 19px;
  opacity: .65;
  pointer-events: none;
}

.hero-topper-decoration.d1 { left: 7%; top: 23%; }
.hero-topper-decoration.d2 { left: 28%; top: 8%; }
.hero-topper-decoration.d3 { right: 31%; top: 5%; }
.hero-topper-decoration.d4 { right: 10%; top: 20%; }
.hero-topper-decoration.d5 { left: 2%; top: 48%; }
.hero-topper-decoration.d6 { right: 22%; bottom: 22%; }

/* Selected topper info panel */
.hero-topper-selected {
  position: absolute;
  z-index: 25;
  left: 50%;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(88%, 380px);
  min-height: 58px;
  padding: 7px 12px;
  transform: translateX(-50%);
  border: 1px solid #d5e5f2;
  border-radius: 40px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 6px 18px rgba(1,50,78,.10);
}

.hero-topper-selected img {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 2px solid #eda404;
  border-radius: 50%;
}

.hero-topper-selected-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-topper-selected-name {
  overflow: hidden;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-topper-selected-state {
  overflow: hidden;
  color: #60788b;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .hero-topper-orbit {
    height: 520px;
  }

  .hero-topper-center {
    width: 148px;
    height: 148px;
  }

  .hero-topper-item {
    --topper-size: 64px;
  }

  .hero-topper-selected {
    width: 64%;
    min-height: 55px;
    bottom: 0px;
  }

  .hero-topper-selected-name {
    font-size: 13px;
  }

  .hero-topper-selected-state {
    font-size: 11px;
  }
}

@media (min-width: 961px) {
  .hero-topper-orbit {
    height: 560px;
  }

  .hero-topper-center {
    width: 185px;
    height: 185px;
  }
}


/* ==========================================================
   Is poori file ko apni CSS ke bilkul END me paste karo
   (taaki purane CTA styles override ho jayein)
   ========================================================== */


/* ---------- 1) CTA colours = client ke buttons ----------
   Size / padding / width tumhare wahi rahenge.
   Sirf background, border aur text colour change hua hai. */

/* Enroll Now  (client: btn-primary) */
.hero .cta-row .btn-gradient {
  background: linear-gradient(180deg, #14a0ec, #0a7fcf);
  border: 2px solid transparent;
  color: #fff;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 14px 28px -14px rgba(10, 127, 207, .95),
              inset 0 1px 0 rgba(255, 255, 255, .25);
}

.hero .cta-row .btn-gradient:hover {
  box-shadow: 0 16px 30px -14px rgba(10, 127, 207, 1),
              inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* Free Resources  (client: btn-ghost) */
.hero .cta-row .btn-outline {
  background: #fff;
  background-image: none;
  background-clip: border-box;
  border: 2px solid #dbe8f2;
  color: #0b5fa8;
  -webkit-text-fill-color: #0b5fa8;
  box-shadow: none;
}

.hero .cta-row .btn-outline:hover {
  border-color: #e8b931;
  box-shadow: none;
}


/* ---------- 2) Orbit (client ka moving toppers section) ---------- */

.ej-orbit {
  --ej-ink: #16324a;
  --ej-ink-soft: #4a6578;
  --ej-gold: #e8b931;
  --ej-gold-deep: #b98a00;
  --ej-line: #dbe8f2;
  --ej-shadow: 0 1px 2px rgba(16, 58, 88, .05), 0 14px 34px -18px rgba(16, 70, 110, .30);
  position: relative;
  color: var(--ej-ink);
}

/* purane .hero-art ka card / padding reset */
.hero .hero-art.ej-orbit {
  margin: 0 -26px;
  padding: 0;
  max-width: none;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

@media (min-width: 601px) {
  .hero .hero-art.ej-orbit {
    margin: 20px auto 0;
    max-width: 640px;
  }
}

@media (min-width: 961px) {
  .hero .hero-art.ej-orbit {
    margin: 0;
    max-width: none;
  }
}

.ej-orbit *,
.ej-orbit *::before,
.ej-orbit *::after {
  box-sizing: border-box;
}

.ej-stage {
  position: relative;
  height: 430px;
  margin-top: 10px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.ej-stage.dragging { cursor: grabbing; }

.ej-stage:focus-visible {
  outline: 3px solid var(--ej-gold);
  outline-offset: 3px;
  border-radius: 12px;
}

.ej-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ej-ring.r1 { border: 1.5px solid rgba(232, 185, 49, .55); }
.ej-ring.r2 { border: 1px dashed rgba(10, 147, 224, .28); }

/* topper photo */
.ej-orb {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  will-change: transform;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.ej-orb .ph {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 18px 26px -12px rgba(16, 58, 88, .40);
}

.ej-orb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.ej-orb .ph::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.ej-orb.front .ph::after,
.ej-orb:hover .ph::after {
  border-color: var(--ej-gold);
  box-shadow: 0 0 0 7px rgba(232, 185, 49, .16);
}

.ej-orb .tag {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translate(-50%, 6px);
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--ej-line);
  box-shadow: var(--ej-shadow);
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}

.ej-orb .tag b { font-size: .86rem; font-weight: 700; line-height: 1.25; }
.ej-orb .tag small { font-size: .72rem; color: var(--ej-ink-soft); line-height: 1.25; }

.ej-orb .tag::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid var(--ej-line);
  border-top: 1px solid var(--ej-line);
  transform: translateX(-50%) rotate(45deg);
}

.ej-orb:not(.front):hover .tag {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* chhote icons (crown, scales, books...) */
.ej-deco {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  pointer-events: none;
  will-change: transform;
}

.ej-deco img { width: 100%; height: 100%; object-fit: contain; }

/* beech ka logo */
.ej-emblem {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  z-index: 20;
  pointer-events: none;
}

.ej-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--ej-gold),
              0 24px 40px -18px rgba(16, 58, 88, .45);
}

.ej-disc img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* niche ka box: topper ka naam */
.ej-now {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0 auto 30px;
  padding: 6px 18px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--ej-line);
  box-shadow: var(--ej-shadow);
  white-space: nowrap;
  pointer-events: none;
}

.ej-av { position: relative; width: 40px; height: 40px; flex: none; }

.ej-av img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ej-gold);
}

.ej-now p { margin: 0; line-height: 1.25; font-size: .9rem; color: var(--ej-ink); }
.ej-now p b { font-weight: 700; }
.ej-now p small { display: block; color: var(--ej-ink-soft); font-size: .74rem; }

.ej-spin {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
  margin-left: 2px;
  border-left: 1px solid var(--ej-line);
  font-size: .76rem;
  color: var(--ej-ink-soft);
}

.ej-spin svg { width: 20px; height: 20px; }

.ej-swap { animation: ejSwap .45s ease; }

@keyframes ejSwap {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  .ej-stage { height: 400px; }
  .ej-emblem { width: 150px; height: 150px; }
  .ej-spin { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ej-orb .tag { transition: none; }
}

/* ==========================================================
   DESKTOP (961px+) : sara content beech me, toppers uske
   charon taraf ellipse me ghoomte hain (client jaisa).
   Isko 2-orbit-and-cta.css ke BAAD, CSS ke end me paste karo.
   Mobile / tablet par kuch change nahi hoga.
   ========================================================== */
@media (min-width: 961px) {

  /* 1) Hero ek fixed-height stage ban jata hai */
  .hero,
  .edzorb-slide > .hero {
    height: clamp(700px, 92vh, 840px);
    min-height: 700px;
    padding: 0;
    background:
      radial-gradient(34% 38% at 50% 50%, rgba(255, 246, 214, .95), rgba(255, 246, 214, 0) 70%),
      radial-gradient(60% 70% at 50% 55%, rgba(10, 147, 224, .10), transparent 72%),
      linear-gradient(180deg, #ffffff 0%, #f3f8fc 100%);
  }

  /* grid band, taaki children .hero ke andar absolute ho sakein */
  .hero .hero-grid {
    display: block;
    position: static;
  }

  /* 2) Text beech me (orbit ke upar) */
  .hero .hero-text {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    width: min(700px, calc(100% - 40px));
    transform: translate(-50%, -58%);
    align-items: center;
    text-align: center;
    pointer-events: none;          /* drag niche stage tak pahunche */
  }

  .hero .hero-text a,
  .hero .hero-text button {
    pointer-events: auto;          /* links / buttons click hote rahein */
  }

  .hero .hero-text .joined-students {
    justify-content: center;
  }

  .hero .hero-text .cta-row {
    width: auto;
    max-width: 440px;
    margin: 24px 0 22px;
  }

  /* 3) Orbit poore hero ko bharta hai, text ke peeche */
  .hero .hero-art.ej-orbit {
    position: absolute;
    inset: 0;
    z-index: 2;                    /* orbs apne hi layer me rahein */
    margin: 0;
    max-width: none;
  }

  .ej-stage {
    position: absolute;
    inset: 0;
    height: auto;
    margin: 0;
  }

  /* beech ka logo desktop par nahi, text hai */
  .ej-emblem { display: none; }

  /* niche ka topper box: hero ke bottom me center */
  .ej-now {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    margin: 0;
    z-index: 30;
  }

  .ej-spin { display: flex; }

  /* neeche halka fade (client jaisa) */
  .hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 56px;
    background: linear-gradient(180deg, rgba(243, 248, 252, 0), #f3f8fc);
    pointer-events: none;
    z-index: 3;
  }
}