:root {
  --blue: #082d9a;
  --blue2: #1659f5;
  --deep: #07143f;
  --gold: #f6b51d;
  --gold2: #ffe08a;
  --ink: #121d39;
  --muted: #647089;
  --light: #f4f7ff;
  --white: #fff;
  --shadow: 0 24px 70px rgba(7, 20, 63, .14);
  --shadow2: 0 14px 35px rgba(7, 20, 63, .1);
  --radius: 30px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: Manrope, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden
}

.skip-link {
  position: absolute;
  left: -999px
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 9999
}

.topbar {
  background: linear-gradient(90deg, var(--deep), #0a3abd);
  color: #dfe8ff;
  font-size: .88rem;
  padding: .65rem 0
}

.glass-nav {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 32px rgba(7, 20, 63, .08)
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain
}

.navbar-brand span {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  color: var(--blue);
  font-size: 1.55rem
}

.nav-link {
  font-weight: 800;
  color: #263653 !important;
  padding: .7rem .85rem !important
}

.nav-link.active,
.nav-link:hover {
  color: var(--blue2) !important
}

.btn {
  transition: .28s ease
}

.btn-brand {
  background: linear-gradient(135deg, var(--blue2), var(--blue));
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: .85rem 1.35rem;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(20, 82, 232, .25)
}

.btn-brand:hover,
.btn-gold:hover,
.btn-soft:hover {
  transform: translateY(-2px)
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #ffcf56);
  color: #141d42 !important;
  border: none;
  border-radius: 999px;
  padding: .85rem 1.35rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(246, 181, 29, .25)
}

.btn-soft {
  background: #eef3ff;
  color: var(--blue) !important;
  border-radius: 999px;
  padding: .85rem 1.35rem;
  font-weight: 900
}

.section {
  padding: 96px 0
}

.section-soft {
  background: linear-gradient(180deg, #f8faff 0%, #fff 100%)
}

.eyebrow {
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue2);
  font-weight: 900;
  font-size: .78rem
}

.eyebrow.light {
  color: var(--gold2)
}

.display-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  color: var(--deep);
  line-height: 1.03
}

.lead-text {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8
}

.text-white-75 {
  color: rgba(255, 255, 255, .78) !important
}

.hero-slider-wrap {
  position: relative;
  background: #07143f
}

.hero-slide {
  min-height: 790px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(105deg, rgba(7, 20, 63, .92), rgba(8, 45, 154, .72), rgba(8, 45, 154, .34)), var(--slide-img);
  background-size: cover;
  background-position: center
}

.hero-slide:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(246, 181, 29, .28), transparent 28%), radial-gradient(circle at 80% 15%, rgba(255, 255, 255, .16), transparent 20%)
}

.hero-content {
  position: relative;
  z-index: 2
}

.hero-panel {
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 34px;
  padding: 32px;
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .22)
}

.hero-logo-orb {
  width: min(360px, 80vw);
  height: min(360px, 80vw);
  margin: auto;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(236, 242, 255, .9));
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite
}

.hero-logo-orb img {
  width: 78%;
  height: 78%;
  object-fit: contain
}

.floating-badge {
  background: #fff;
  border-radius: 20px;
  padding: 14px 18px;
  box-shadow: var(--shadow2);
  font-weight: 900;
  display: inline-flex;
  gap: 10px;
  align-items: center
}

.floating-badge i {
  color: var(--gold);
  font-size: 1.25rem
}

.hero-indicators {
  bottom: 26px
}

.hero-indicators [data-bs-target] {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  opacity: .45
}

.hero-indicators .active {
  background: var(--gold);
  opacity: 1
}

.hero-control {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  top: 50%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  margin: 0 20px
}

.stat-strip {
  margin-top: -56px;
  position: relative;
  z-index: 5;
  background: #fff;
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid #edf2ff
}

.stat-box {
  text-align: center
}

.stat-box strong {
  font-size: 1.75rem;
  color: var(--blue);
  display: block
}

.stat-box span {
  color: var(--muted);
  font-weight: 700
}

.card-premium,
.category-card,
.tier-card,
.timeline-card,
.testimonial-card,
.form-card,
.icon-card {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  background: #fff;
  height: 100%;
  transition: .32s ease
}

.card-premium:hover,
.category-card:hover,
.tier-card:hover,
.icon-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow)
}

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--blue2), var(--blue));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  margin-bottom: 20px
}

.icon-circle.gold {
  background: linear-gradient(135deg, var(--gold), #ffcf56);
  color: #17214b
}

.category-card {
  padding: 30px;
  position: relative;
  overflow: hidden
}

.category-card:after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(246, 181, 29, .2)
}

.category-card>* {
  position: relative
}

.image-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  grid-auto-rows: minmax(250px, auto);
  gap: 24px
}

.photo-tile {
  min-height: 300px;
  border-radius: 34px;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: var(--shadow2);
  display: flex;
  align-items: flex-end
}

.photo-tile:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 63, .08), rgba(7, 20, 63, .84))
}

.photo-tile.tall {
  min-height: 500px;
  grid-row: span 2
}

.photo-tile.blue:before {
  background: linear-gradient(135deg, rgba(8, 45, 154, .84), rgba(7, 20, 63, .88))
}

.photo-tile.gold:before {
  background: linear-gradient(135deg, rgba(246, 181, 29, .82), rgba(7, 20, 63, .35))
}

.photo-tile-content {
  position: relative;
  color: #fff;
  padding: 34px
}

.photo-tile-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800
}

.photo-tile-content p {
  margin: 0;
  color: rgba(255, 255, 255, .82)
}

.inner-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: linear-gradient(105deg, rgba(7, 20, 63, .92), rgba(8, 45, 154, .65)), var(--hero-img);
  background-size: cover;
  background-position: center
}

.inner-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 15%, rgba(246, 181, 29, .24), transparent 26%)
}

.inner-hero-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px
}

.glass-card {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 28px;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .2);
  color: #fff
}

.hero-mark {
  width: 120px;
  background: #fff;
  border-radius: 26px;
  padding: 12px
}

.inner-hero-card span {
  display: block;
  color: rgba(255, 255, 255, .78)
}

.process-roadmap {
  position: relative;
  display: grid;
  gap: 20px
}

.process-roadmap:before {
  content: "";
  position: absolute;
  left: 35px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: linear-gradient(var(--blue2), var(--gold));
  border-radius: 3px
}

.process-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  background: #fff;
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow2)
}

.process-index {
  width: 70px;
  height: 70px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue2), var(--blue));
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  z-index: 2
}

.process-card h5 {
  font-weight: 900;
  color: var(--deep);
  margin-bottom: 8px
}

.process-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.7
}

.tier-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-top: 6px solid var(--gold)
}

.price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--blue);
  margin-top: auto
}

.subject-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin: 6px;
  border-radius: 999px;
  background: #eef3ff;
  color: #243b72;
  font-weight: 800;
  font-size: .92rem
}

.subject-pill:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold)
}

.course-hero {
  background-image: linear-gradient(105deg, rgba(7, 20, 63, .92), rgba(8, 45, 154, .76)), url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?auto=format&fit=crop&w=1400&q=85');
  background-size: cover;
  background-position: center;
  border-radius: 38px;
  color: #fff;
  padding: 54px;
  position: relative;
  overflow: hidden
}

.course-hero:after {
  content: "";
  position: absolute;
  right: -70px;
  top: -180px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(246, 181, 29, .25)
}

.feature-list {
  padding-left: 0;
  list-style: none
}

.feature-list li {
  margin-bottom: 13px;
  padding-left: 34px;
  position: relative;
  font-weight: 750
}

.feature-list li:before {
  content: "\F26A";
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700
}

.timeline-card {
  padding: 28px;
  border-left: 5px solid var(--gold)
}

.timeline-card span {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(8, 45, 154, .14)
}

.timeline-card h4 {
  font-weight: 900;
  color: var(--deep)
}

.testimonial-card {
  padding: 30px
}

.quote-icon {
  font-size: 2.4rem;
  color: var(--gold)
}

.cta-band {
  border-radius: 38px;
  background-image: linear-gradient(135deg, rgba(8, 45, 154, .94), rgba(7, 20, 63, .96)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1400&q=85');
  background-size: cover;
  background-position: center;
  padding: 58px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.form-card {
  padding: 34px
}

.form-control,
.form-select {
  border-radius: 16px;
  border: 1px solid #dce5ff;
  padding: .88rem 1rem
}

.form-control:focus,
.form-select:focus {
  border-color: var(--blue2);
  box-shadow: 0 0 0 .18rem rgba(20, 82, 232, .15)
}

.form-label {
  font-weight: 800;
  color: #27385d
}

.nav-pills .nav-link {
  border-radius: 999px;
  background: #eef3ff;
  color: var(--blue) !important
}

.nav-pills .nav-link.active {
  background: linear-gradient(135deg, var(--blue2), var(--blue));
  color: #fff !important
}

.premium-accordion .accordion-item {
  border: 0;
  margin-bottom: 15px;
  border-radius: 22px !important;
  box-shadow: var(--shadow2);
  overflow: hidden
}

.accordion-button {
  font-weight: 900
}

.accordion-button:not(.collapsed) {
  background: #cfdfff;
  color: var(--blue)
}

.faq-image-card {
  min-height: 410px;
  border-radius: 34px;
  background-image: linear-gradient(180deg, rgba(7, 20, 63, .08), rgba(7, 20, 63, .86)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1000&q=85');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  color: #fff;
  box-shadow: var(--shadow2)
}

.swiper {
  padding: 10px 4px 58px
}

.swiper-pagination-bullet-active {
  background: var(--blue) !important
}

.footer {
  background: #07143f;
  color: #d8e2ff
}

.footer-logo {
  width: 270px
}

.footer h5,
.footer h6 {
  color: #fff;
  font-weight: 900
}

.footer a {
  color: #d8e2ff;
  text-decoration: none
}

.footer a:hover {
  color: var(--gold)
}

.footer-links li {
  margin-bottom: 10px
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  display: grid;
  place-items: center
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #162045;
  display: none;
  box-shadow: var(--shadow);
  z-index: 999
}

.back-to-top.show {
  display: grid;
  place-items: center
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-16px)
  }
}

@media(max-width:991px) {
  .section {
    padding: 42px 0
  }

  .hero-slide {
    min-height: auto;
    padding: 92px 0 120px
  }

  .hero-panel {
    margin-top: 30px
  }

  .stat-strip {
    margin-top: 0;
    border-radius: 0
  }

  .image-grid {
    grid-template-columns: 1fr
  }

  .photo-tile.tall {
    min-height: 380px
  }

  .inner-hero {
    min-height: auto;
    padding: 72px 0
  }

  .course-hero,
  .cta-band {
    padding: 34px
  }

  .faq-image-card {
    min-height: 350px
  }
}

@media(max-width:575px) {
  .brand-logo {
    width: 44px;
    height: 44px
  }

  .navbar-brand span {
    font-size: 1.25rem
  }

  .display-title {
    font-size: 1.75rem
  }

  .hero-slide {
    padding: 70px 0 110px
  }

  .hero-panel,
  .form-card {
    padding: 22px;
    border-radius: 24px
  }

  .hero-logo-orb {
    width: 260px;
    height: 260px
  }

  .section {
    padding: 56px 0
  }

  .process-card {
    grid-template-columns: 58px 1fr;
    padding: 18px
  }

  .process-index {
    width: 56px;
    height: 56px;
    border-radius: 18px
  }

  .process-roadmap:before {
    left: 28px
  }

  .photo-tile-content {
    padding: 24px
  }

  .course-hero,
  .cta-band {
    border-radius: 28px
  }

  .subject-pill {
    font-size: .8rem
  }

  .inner-hero-card {
    display: block;
    text-align: center
  }

  .hero-mark {
    margin-bottom: 12px
  }
}

/* Upgrade pass: alignment, premium hero, new image/course sections */
.hero-slide {
  min-height: 720px;
  padding: 88px 0;
  background-image: linear-gradient(105deg, rgba(7, 20, 63, .92) 0%, rgba(8, 45, 154, .78) 48%, rgba(8, 45, 154, .25) 100%), var(--slide-img)
}

.hero-copy {
  max-width: 720px;
  position: relative;
  z-index: 4
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.035em;
  font-size: clamp(3rem, 6vw, 5.7rem);
  text-wrap: balance
}

.hero-subtitle {
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.75;
  max-width: 640px
}

.hero-panel {
  max-width: 520px;
  margin-left: auto
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.floating-badge {
  justify-content: center;
  padding: 13px 14px;
  border-radius: 16px;
  font-size: .95rem
}

.hero-control {
  z-index: 6
}

.achievement-section {
  margin-top: -48px;
  position: relative;
  z-index: 8
}

.achievement-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e9efff;
  border-radius: 26px;
  padding: 28px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: .3s ease
}

.achievement-card:hover {
  transform: translateY(-6px)
}

.achievement-card strong {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--blue);
  display: block;
  line-height: 1
}

.achievement-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45
}

.stacked-image-wrap {
  position: relative;
  padding: 0 28px 34px 0
}

.main-rounded-img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 42px;
  box-shadow: var(--shadow)
}

.stacked-image-wrap:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  height: 56%;
  border-radius: 38px;
  background: linear-gradient(135deg, var(--gold), #fff1b4);
  z-index: -1
}

.floating-stat {
  position: absolute;
  right: 0;
  bottom: 44px;
  background: #fff;
  border-radius: 24px;
  padding: 22px 26px;
  box-shadow: var(--shadow);
  max-width: 280px
}

.floating-stat strong {
  display: block;
  color: var(--blue);
  font-size: 1.12rem
}

.floating-stat span {
  color: var(--muted);
  font-weight: 700
}

.mini-offer-card {
  height: 100%;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e8efff;
  box-shadow: 0 12px 30px rgba(7, 20, 63, .07);
  transition: .3s ease
}

.mini-offer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow2)
}

.mini-offer-card i {
  font-size: 1.8rem;
  color: var(--gold);
  display: block;
  margin-bottom: 12px
}

.mini-offer-card h5 {
  font-weight: 900;
  color: var(--deep);
  font-size: 1rem
}

.mini-offer-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0
}

.gallerySwiper .swiper-slide {
  height: auto
}

.image-box-card {
  min-height: 430px;
  border-radius: 34px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow2);
  isolation: isolate
}

.image-box-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 63, .04), rgba(7, 20, 63, .88));
  z-index: -1
}

.image-box-card div {
  padding: 34px;
  color: #fff
}

.image-box-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 2rem
}

.image-box-card p {
  color: rgba(255, 255, 255, .82);
  margin: 0
}

.small-img-card {
  min-height: 340px
}

.value-card,
.mission-box,
.course-feature-card {
  height: 100%;
  background: #fff;
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow2);
  border: 1px solid #edf2ff;
  transition: .32s ease
}

.value-card:hover,
.mission-box:hover,
.course-feature-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow)
}

.value-card h4,
.mission-box h4,
.course-feature-card h4 {
  font-weight: 900;
  color: var(--deep)
}

.value-card p,
.mission-box p,
.course-feature-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0
}

.mission-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 42px;
  box-shadow: var(--shadow)
}

.mission-box i,
.course-feature-card i {
  font-size: 2.3rem;
  color: var(--gold);
  display: block;
  margin-bottom: 16px
}

.subject-panel {
  padding: 34px
}

.course-feature-card {
  background: linear-gradient(180deg, #fff, #f8faff)
}

.contact-info-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 20px 0
}

.contact-info-row i {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: #eef3ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.35rem
}

.contact-info-row strong {
  display: block;
  color: var(--deep)
}

.contact-info-row span {
  color: var(--muted);
  font-weight: 700
}

.map-card {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 10px solid #fff
}

.map-card iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block
}

.about-grid .photo-tile.tall {
  min-height: 400px
}

.testimonial-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.topbar {
  font-weight: 600
}

.navbar {
  min-height: 82px
}

.navbar-brand span {
  letter-spacing: -.03em
}

@media(max-width:1199px) {
  .hero-title {
    font-size: clamp(2.8rem, 6.8vw, 4.8rem)
  }

  .hero-panel {
    max-width: 460px
  }

  .hero-logo-orb {
    width: 300px;
    height: 300px
  }
}

@media(max-width:991px) {
  .hero-slide {
    padding: 76px 0 110px;
    min-height: auto
  }

  .hero-panel {
    max-width: 100%;
    margin-top: 18px
  }

  .achievement-section {
    margin-top: 0;
    padding: 22px 12px
  }

  .main-rounded-img,
  .mission-img {
    min-height: 420px;
    height: 420px
  }

  .stacked-image-wrap {
    padding-right: 0
  }

  .floating-stat {
    left: 24px;
    right: auto
  }

  .hero-mini-grid {
    grid-template-columns: 1fr 1fr
  }

  .image-box-card {
    min-height: 360px
  }
}

@media(max-width:575px) {
  .hero-title {
    font-size: 2.65rem
  }

  .hero-subtitle {
    font-size: 1rem
  }

  .hero-mini-grid {
    grid-template-columns: 1fr
  }

  .hero-panel {
    padding: 20px
  }

  .achievement-card {
    border-radius: 20px;
    padding: 22px 12px
  }

  .achievement-card span {
    font-size: .86rem
  }

  .main-rounded-img,
  .mission-img {
    height: 340px;
    min-height: 340px;
    border-radius: 28px
  }

  .floating-stat {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -42px 18px 0
  }

  .image-box-card {
    min-height: 310px;
    border-radius: 26px
  }

  .image-box-card div {
    padding: 26px
  }

  .map-card iframe {
    height: 340px
  }

  .subject-panel {
    padding: 22px
  }
}

/* Final enhancement pass: rebuilt home hero, visible testimonials, richer images and course detail layout */
.premium-hero-carousel {
  position: relative;
  background: #07143f;
  overflow: hidden
}

.premium-hero-slide {
  position: relative;
  min-height: 760px;
  background-image: linear-gradient(110deg, rgba(7, 20, 63, .97) 0%, rgba(8, 45, 154, .83) 47%, rgba(8, 45, 154, .34) 100%), var(--slide-img);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden
}

.premium-hero-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 18%, rgba(246, 181, 29, .23), transparent 27%), radial-gradient(circle at 86% 12%, rgba(255, 255, 255, .18), transparent 24%);
  pointer-events: none
}

.min-vh-hero {
  min-height: 760px;
  padding: 86px 0 120px
}

.hero-bg-shapes span {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  filter: blur(.2px)
}

.hero-bg-shapes span:nth-child(1) {
  width: 360px;
  height: 360px;
  right: 9%;
  top: 10%
}

.hero-bg-shapes span:nth-child(2) {
  width: 180px;
  height: 180px;
  left: 4%;
  bottom: 12%
}

.hero-bg-shapes span:nth-child(3) {
  width: 80px;
  height: 80px;
  right: 42%;
  bottom: 22%;
  background: rgba(246, 181, 29, .28)
}

.hero-kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 10px 16px;
  color: #ffe08a;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  backdrop-filter: blur(12px)
}

.premium-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5.6vw, 6.4rem);
  line-height: .96;
  font-weight: 800;
  letter-spacing: -.045em;
  margin: 22px 0 18px;
  max-width: 760px;
  text-wrap: balance;
  text-shadow: 0 10px 35px rgba(0, 0, 0, .23)
}

.premium-hero-text {
  font-size: clamp(1.04rem, 1.35vw, 1.28rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, .86);
  max-width: 640px
}

.hero-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0
}

.btn-hero-light {
  border: 1px solid rgba(255, 255, 255, .36);
  color: #fff !important;
  border-radius: 999px;
  padding: .85rem 1.45rem;
  font-weight: 900;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px)
}

.btn-hero-light:hover {
  background: #fff;
  color: var(--blue) !important;
  transform: translateY(-3px)
}

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
  max-width: 650px
}

.hero-trust-row div {
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 16px;
  backdrop-filter: blur(14px)
}

.hero-trust-row strong {
  display: block;
  color: #fff;
  font-size: 1.08rem
}

.hero-trust-row span {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: .86rem;
  font-weight: 700;
  margin-top: 3px
}

.hero-showcase-card {
  position: relative;
  border-radius: 42px;
  padding: 18px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 36px 90px rgba(0, 0, 0, .28);
  backdrop-filter: blur(24px);
  overflow: hidden
}

.hero-showcase-image {
  height: 520px;
  border-radius: 32px;
  background-size: cover;
  background-position: center;
  filter: saturate(1.08);
  position: relative
}

.hero-showcase-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 63, .05), rgba(7, 20, 63, .5));
  border-radius: 32px
}

.hero-logo-float {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 235px;
  height: 235px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: grid;
  place-items: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  border: 10px solid rgba(255, 255, 255, .3)
}

.hero-logo-float img {
  width: 76%;
  height: 76%;
  object-fit: contain
}

.hero-showcase-bottom {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 38px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px
}

.hero-showcase-bottom span {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .92);
  color: var(--deep);
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12)
}

.hero-showcase-bottom i {
  color: var(--gold)
}

.hero-control-new {
  width: 54px;
  height: 54px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .2);
  opacity: 1;
  margin: 0 18px
}

.hero-dot-controls {
  bottom: 26px;
  z-index: 10
}

.hero-dot-controls [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  opacity: .65
}

.hero-dot-controls .active {
  width: 44px;
  background: var(--gold);
  opacity: 1
}

.achievement-section-new {
  margin-top: -62px
}

.achievement-card i {
  font-size: 1.4rem;
  color: var(--gold);
  display: block;
  margin-bottom: 10px
}

.premium-image-collage {
  position: relative;
  min-height: 620px
}

.premium-image-collage .img-main {
  width: 78%;
  height: 560px;
  object-fit: cover;
  border-radius: 44px;
  box-shadow: var(--shadow)
}

.premium-image-collage .img-small {
  position: absolute;
  object-fit: cover;
  border: 10px solid #fff;
  box-shadow: var(--shadow2)
}

.premium-image-collage .img-a {
  right: 0;
  top: 70px;
  width: 42%;
  height: 250px;
  border-radius: 34px
}

.premium-image-collage .img-b {
  right: 48px;
  bottom: 40px;
  width: 48%;
  height: 250px;
  border-radius: 34px
}

.collage-badge {
  position: absolute;
  left: 34px;
  bottom: 18px;
  background: #fff;
  border-radius: 26px;
  padding: 24px 26px;
  box-shadow: var(--shadow);
  max-width: 320px
}

.collage-badge strong {
  display: block;
  color: var(--blue);
  font-size: 1.4rem
}

.collage-badge span {
  color: var(--muted);
  font-weight: 800
}

.mini-offer-card.enhanced {
  border-top: 5px solid var(--gold)
}

.category-card-image {
  position: relative;
  overflow: hidden
}

.category-card-image:before {
  content: "";
  position: absolute;
  right: -45px;
  top: -45px;
  width: 130px;
  height: 130px;
  background: linear-gradient(135deg, rgba(246, 181, 29, .22), rgba(22, 89, 245, .13));
  border-radius: 50%
}

.feature-image-box {
  min-height: 260px;
  border-radius: 34px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow2);
  isolation: isolate
}

.feature-image-box.tall-box {
  min-height: 548px
}

.feature-image-box:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 63, .04), rgba(7, 20, 63, .86));
  z-index: -1
}

.feature-image-box div {
  padding: 32px;
  color: #fff
}

.feature-image-box span {
  color: #ffe08a;
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em
}

.feature-image-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 800;
  max-width: 620px
}

.premium-swiper {
  padding-top: 18px
}

.upgraded-course-hero {
  background-image: linear-gradient(105deg, rgba(7, 20, 63, .92), rgba(8, 45, 154, .76)), url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1500&q=85')
}

.enhanced-timeline {
  background: #fff;
  border-left: 0;
  border-top: 5px solid var(--gold);
  border-radius: 28px;
  box-shadow: var(--shadow2)
}

.testimonials-section {
  background: linear-gradient(180deg, #fff, #f5f8ff)
}

.testimonial-carousel-visible {
  padding: 18px 4px 30px !important
}

.upgraded-testimonial {
  background: #fff;
  border: 1px solid #e7eeff;
  border-radius: 30px;
  box-shadow: var(--shadow2);
  min-height: 320px;
  transition: .3s ease
}

.upgraded-testimonial:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow)
}

.stars {
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: .15em;
  margin-bottom: 10px
}

.testimonial-carousel-visible .swiper-pagination {
  bottom: 16px !important
}

.testimonial-carousel-visible .swiper-pagination-bullet {
  width: 12px;
  height: 12px
}

.testimonial-carousel-visible .swiper-pagination-bullet-active {
  width: 34px;
  border-radius: 999px
}

.course-hero-split {
  background-image: linear-gradient(105deg, rgba(7, 20, 63, .94), rgba(8, 45, 154, .78)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1500&q=85')
}

.course-feature-list-box {
  background: rgba(255, 255, 255, .94);
  color: var(--deep);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .2)
}

.course-feature-list-box h4 {
  font-weight: 900;
  margin-bottom: 18px
}

.course-feature-list-box .feature-list li {
  color: var(--ink)
}

.enhanced-subject-panel {
  background: linear-gradient(180deg, #fff, #f8faff);
  border: 1px solid #e5edff
}

.enhanced-subject-panel h3 {
  font-weight: 900;
  color: var(--deep)
}

.course-side-image {
  min-height: 330px;
  border-radius: 34px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow2);
  margin-top: 30px;
  isolation: isolate
}

.course-side-image.small {
  min-height: 270px
}

.course-side-image:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 63, .04), rgba(7, 20, 63, .86));
  z-index: -1
}

.course-side-image div {
  padding: 28px;
  color: #fff
}

.course-side-image h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 2rem
}

.course-side-image p {
  color: rgba(255, 255, 255, .82);
  margin: 0
}

.course-feature-card {
  position: relative;
  overflow: hidden
}

.course-feature-card:after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(246, 181, 29, .13)
}

@media(max-width:1199px) {
  .premium-hero-title {
    font-size: clamp(2.8rem, 6.4vw, 5.1rem)
  }

  .hero-showcase-image {
    height: 470px
  }

  .hero-logo-float {
    width: 205px;
    height: 205px
  }

  .min-vh-hero {
    min-height: 720px
  }
}

@media(max-width:991px) {

  .premium-hero-slide,
  .min-vh-hero {
    min-height: auto
  }

  .min-vh-hero {
    padding: 72px 0 115px
  }

  .hero-trust-row {
    grid-template-columns: 1fr
  }

  .hero-showcase-card {
    margin-top: 18px
  }

  .hero-showcase-image {
    height: 390px
  }

  .achievement-section-new {
    margin-top: 0;
    padding-top: 24px
  }

  .premium-image-collage {
    min-height: auto
  }

  .premium-image-collage .img-main {
    width: 100%;
    height: 430px
  }

  .premium-image-collage .img-small {
    display: none
  }

  .collage-badge {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -58px 24px 0
  }

  .feature-image-box.tall-box,
  .feature-image-box {
    min-height: 330px
  }

  .hero-control-new {
    display: none
  }

  .course-feature-list-box {
    padding: 24px
  }

  .hero-showcase-bottom {
    left: 28px;
    right: 28px;
    bottom: 28px
  }
}

@media(max-width:575px) {
  .premium-hero-title {
    font-size: 2.75rem
  }

  .premium-hero-text {
    font-size: 1rem
  }

  .hero-action-row .btn {
    width: 100%;
    text-align: center
  }

  .hero-showcase-image {
    height: 340px
  }

  .hero-logo-float {
    width: 168px;
    height: 168px
  }

  .hero-showcase-bottom {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 14px
  }

  .hero-showcase-card {
    padding: 14px;
    border-radius: 30px
  }

  .hero-showcase-image {
    border-radius: 24px
  }

  .hero-kicker {
    font-size: .68rem
  }

  .collage-badge {
    margin: -42px 16px 0
  }

  .premium-image-collage .img-main {
    height: 340px;
    border-radius: 30px
  }

  .feature-image-box div {
    padding: 24px
  }

  .feature-image-box h3 {
    font-size: 1.8rem
  }

  .upgraded-testimonial {
    min-height: 280px
  }

  .course-side-image {
    min-height: 260px
  }
}


/* ===============================
   Premium UI Upgrade v5
   Clean hero, stronger cards, modern spacing
   =============================== */
:root {
  --navy: #07143f;
  --royal: #0b48d9;
  --sky: #eaf2ff;
  --gold-2: #ffca45;
  --cream: #fff8e7;
}

body {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 44%, #ffffff 100%);
}

.section {
  position: relative;
  padding: 96px 0;
}

.section-soft {
  background: linear-gradient(180deg, #f6f9ff 0%, #edf4ff 100%);
}

.display-title {
  letter-spacing: -.035em;
  text-wrap: balance;
}

.lead-text {
  font-size: 1.02rem;
  line-height: 1.85;
}

.glass-nav {
  box-shadow: 0 16px 40px rgba(7, 20, 63, .08);
  border-bottom: 1px solid rgba(11, 72, 217, .08);
}

.navbar .nav-link {
  position: relative;
  padding: .9rem .82rem !important;
}

.navbar .nav-link:after {
  content: "";
  position: absolute;
  left: .82rem;
  right: .82rem;
  bottom: .55rem;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: .25s ease;
}

.navbar .nav-link:hover:after,
.navbar .nav-link.active:after {
  transform: scaleX(1);
}

.btn-brand,
.btn-gold,
.btn-outline-brand,
.btn-white-glow {
  border-radius: 999px;
  font-weight: 900;
  padding: .88rem 1.5rem;
  transition: .28s ease;
}

.btn-brand {
  background: linear-gradient(135deg, var(--blue), #0832a0);
  box-shadow: 0 16px 38px rgba(11, 72, 217, .22);
}

.btn-brand:hover,
.btn-gold:hover,
.btn-white-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(7, 20, 63, .22);
}

.btn-outline-brand {
  border: 1.6px solid rgba(11, 72, 217, .25);
  color: var(--blue);
  background: #fff;
}

.btn-outline-brand:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

.btn-white-glow {
  background: rgba(255, 255, 255, .94);
  color: var(--navy) !important;
  border: 1px solid rgba(255, 255, 255, .6);
}

.home-hero-v5 {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 18% 18%, rgba(255, 202, 69, .22), transparent 28%), linear-gradient(135deg, #061139 0%, #0a2b86 48%, #0b56f0 100%);
}

.home-hero-v5:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .22));
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: .65;
}

.orb-a {
  width: 360px;
  height: 360px;
  right: -90px;
  top: 70px;
  background: rgba(255, 202, 69, .26);
}

.orb-b {
  width: 430px;
  height: 430px;
  left: -160px;
  bottom: -120px;
  background: rgba(73, 132, 255, .28);
}

.hero-v5-carousel {
  position: relative;
  z-index: 2;
}

.hero-v5-wrap {
  min-height: 720px;
  padding: 96px 0 138px;
}

.hero-v5-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .11);
  backdrop-filter: blur(16px);
  color: #ffe291;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}

.hero-v5-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.1rem, 3.2vw, 6.1rem);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.052em;
  margin: 24px 0 18px;
  max-width: 780px;
  text-shadow: 0 16px 48px rgba(0, 0, 0, .24);
}

.hero-v5-text {
  max-width: 640px;
  color: rgba(255, 255, 255, .86);
  font-size: 1.16rem;
  line-height: 1.8;
  margin: 0;
}

.hero-v5-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 32px 0;
}

.hero-v5-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 690px;
}

.hero-v5-mini-grid div {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  padding: 17px 16px;
  backdrop-filter: blur(14px);
}

.hero-v5-mini-grid i {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 9px;
  display: block;
}

.hero-v5-mini-grid strong {
  display: block;
  color: #fff;
  font-size: 1.02rem;
}

.hero-v5-mini-grid span {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-weight: 700;
  font-size: .86rem;
  margin-top: 2px;
}

.hero-v5-visual {
  position: relative;
  min-height: 560px;
  border-radius: 46px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08));
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .30);
  backdrop-filter: blur(22px);
}

.hero-v5-visual>img {
  width: 100%;
  height: 524px;
  object-fit: cover;
  border-radius: 34px;
  display: block;
  filter: saturate(1.08) contrast(1.03);
}

.hero-v5-visual:after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 52%;
  border-radius: 34px;
  /*background: linear-gradient(180deg, transparent, rgba(6, 17, 57, .12));*/
  pointer-events: none;
}

.hero-v5-logo {
  position: absolute;
  left: 38px;
  top: 38px;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .94);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .20);
  z-index: 3;
}

.hero-v5-logo img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.hero-v5-card {
  position: absolute;
  z-index: 4;
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, .94);
  color: var(--navy);
  border-radius: 20px;
  padding: 15px 18px;
  font-weight: 900;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .18);
}

.hero-v5-card i {
  color: var(--gold);
  font-size: 1.45rem;
}

.card-top {
  right: -18px;
  top: 171px;
}

.card-bottom {
  left: -18px;
  bottom: 116px;
}

.hero-v5-subjects {
  position: absolute;
  z-index: 4;
  left: 38px;
  right: 38px;
  bottom: 42px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-v5-subjects span {
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  font-size: .85rem;
}

.hero-v5-controls {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 10px 14px;
  backdrop-filter: blur(16px);
}

.hero-v5-controls .carousel-control-prev,
.hero-v5-controls .carousel-control-next {
  position: static;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  opacity: 1;
  transform: none;
}

.hero-v5-controls .carousel-indicators {
  position: static;
  margin: 0;
  gap: 7px;
}

.hero-v5-controls .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  margin: 0;
  opacity: .6;
}

.hero-v5-controls .carousel-indicators button.active {
  width: 34px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 1;
}

.achievement-section-new {
  position: relative;
  z-index: 5;
  margin-top: -56px;
}

.achievement-section-new .row {
  background: #fff;
  border: 1px solid #e9efff;
  border-radius: 34px;
  padding: 20px;
  box-shadow: 0 24px 70px rgba(7, 20, 63, .12);
}

.achievement-card {
  height: 100%;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid #e8efff;
  border-radius: 26px;
  padding: 26px 20px;
  text-align: center;
  transition: .28s ease;
}

.achievement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(7, 20, 63, .12);
}

.achievement-card strong {
  font-size: 2.1rem;
  line-height: 1;
  color: var(--blue);
  display: block;
}

.achievement-card span {
  color: var(--muted);
  font-weight: 800;
  font-size: .94rem;
}

.home-premium-program-strip {
  padding: 74px 0 20px;
  background: #fff;
}

.program-strip-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(135deg, #fff7df, #eef5ff);
  border: 1px solid #f0e3bd;
  box-shadow: 0 24px 70px rgba(7, 20, 63, .08);
}

.program-strip-card h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  letter-spacing: -.04em;
  margin: 6px 0 0;
  color: var(--navy);
}

.program-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.program-badges span {
  background: #fff;
  border: 1px solid #e5edff;
  color: var(--blue);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(7, 20, 63, .08);
}

.card-premium,
.category-card,
.value-card,
.mission-box,
.form-card,
.course-feature-card,
.route-card {
  border: 1px solid #e5edff !important;
  box-shadow: 0 20px 60px rgba(7, 20, 63, .09) !important;
  transition: .28s ease;
}

.card-premium:hover,
.category-card:hover,
.value-card:hover,
.mission-box:hover,
.course-feature-card:hover,
.route-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 76px rgba(7, 20, 63, .14) !important;
}

.category-card,
.course-feature-card,
.route-card {
  border-radius: 30px;
  background: #fff;
}

.category-card {
  padding: 30px;
  min-height: 230px;
}

.icon-circle,
.route-icon {
  background: linear-gradient(135deg, var(--blue), #6aa0ff);
  color: #fff;
  box-shadow: 0 16px 34px rgba(11, 72, 217, .22);
}

.icon-circle.gold,
.route-card.featured .route-icon {
  background: linear-gradient(135deg, var(--gold), #ffdd80);
  color: var(--navy);
}

.feature-image-box,
.image-box-card,
.course-side-image,
.mission-img,
.map-card {
  box-shadow: 0 30px 80px rgba(7, 20, 63, .15) !important;
}

.image-box-card {
  min-height: 390px;
  border-radius: 34px;
  transition: .32s ease;
}

.image-box-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.image-box-card:before {
  background: linear-gradient(180deg, rgba(7, 20, 63, .08), rgba(7, 20, 63, .88));
}

.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-card:before {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(246, 181, 29, .18);
}

.upgraded-testimonial {
  padding: 34px !important;
}

.quote-icon {
  font-size: 2.5rem;
  color: rgba(11, 72, 217, .13);
}

.subject-panel {
  padding: 32px;
}

.subject-pill {
  display: inline-flex;
  margin: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dfe8ff;
  color: #16306b;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(7, 20, 63, .05);
}

.premium-course-comparison {
  background: #fff;
}

.route-card {
  height: 100%;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.route-card.featured {
  background: linear-gradient(180deg, #fff, #fff9ea);
  border-color: #f5d889 !important;
}

.route-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  margin-bottom: 4px;
}

.route-card h3 {
  font-weight: 900;
  color: var(--navy);
  margin: 0;
}

.route-card p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.route-card ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.route-card li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-weight: 800;
  color: #23345c;
}

.route-card li:before {
  content: "\F26A";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 18%, rgba(255, 202, 69, .24), transparent 24%);
  pointer-events: none;
}

.form-control,
.form-select {
  border-radius: 16px;
  border: 1px solid #dfe8ff;
  padding: .88rem 1rem;
  box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 .25rem rgba(11, 72, 217, .08) !important;
}

.footer {
  background: radial-gradient(circle at 20% 0, rgba(255, 202, 69, .12), transparent 26%), linear-gradient(135deg, #061139, #0a236f);
}

.back-to-top {
  box-shadow: 0 16px 34px rgba(7, 20, 63, .25);
}

@media(max-width:1199px) {
  .hero-v5-title {
    font-size: clamp(3rem, 6vw, 5rem)
  }

  .hero-v5-wrap {
    min-height: 680px
  }

  .hero-v5-visual {
    min-height: 510px
  }

  .hero-v5-visual>img {
    height: 474px
  }

  .card-top {
    right: 10px
  }

  .card-bottom {
    left: 10px
  }
}

@media(max-width:991px) {
  .section {
    padding: 76px 0
  }

  .hero-v5-wrap {
    min-height: auto;
    padding: 76px 0 124px
  }

  .hero-v5-mini-grid {
    grid-template-columns: 1fr
  }

  .hero-v5-visual {
    margin-top: 16px
  }

  .achievement-section-new {
    margin-top: -26px
  }

  .program-strip-card {
    grid-template-columns: 1fr
  }

  .program-badges {
    justify-content: flex-start
  }

  .card-top,
  .card-bottom {
    left: 28px;
    right: 28px;
    top: auto;
    bottom: auto
  }

  .card-top {
    top: 138px
  }

  .card-bottom {
    bottom: 106px
  }
}

@media(max-width:575px) {
  .topbar {
    display: none !important
  }

  .hero-v5-title {
    font-size: 2.82rem
  }

  .hero-v5-text {
    font-size: 1rem
  }

  .hero-v5-actions .btn {
    width: 100%;
  }

  .hero-v5-visual {
    border-radius: 30px;
    padding: 12px;
    min-height: 410px
  }

  .hero-v5-visual>img {
    height: 386px;
    border-radius: 24px
  }

  .hero-v5-logo {
    width: 86px;
    height: 86px;
    left: 24px;
    top: 24px;
    border-radius: 20px
  }

  .hero-v5-card {
    font-size: .84rem;
    padding: 12px 14px
  }

  .card-top {
    top: 118px
  }

  .hero-v5-subjects {
    left: 22px;
    right: 22px;
    bottom: 24px
  }

  .achievement-section-new .row {
    padding: 12px;
    border-radius: 24px
  }

  .achievement-card {
    padding: 20px 12px
  }

  .program-strip-card {
    padding: 24px;
    border-radius: 26px
  }

  .program-badges span {
    padding: 10px 13px
  }

  .subject-pill {
    display: flex;
    margin: 8px 0
  }

  .section {
    padding: 64px 0
  }
}

/* === v6 refinement: compact premium UI, clean alignment, responsive centering === */
:root {
  --radius: 24px;
  --shadow: 0 18px 50px rgba(7, 20, 63, .12);
  --shadow2: 0 10px 28px rgba(7, 20, 63, .08)
}

body {
  font-size: 15.5px;
  line-height: 1.65
}

.section {
  padding: 52px 0
}

.section-heading {
  margin-bottom: 2.2rem !important
}

.display-title {
  letter-spacing: -.025em;
  line-height: 1.14
}

.section-heading .display-title.h1 {
  font-size: clamp(1.8rem, 3vw, 2.55rem)
}

.lead-text {
  font-size: .98rem;
  line-height: 1.75
}

.btn-lg {
  font-size: 1rem;
  padding: .78rem 1.25rem
}

.btn-brand,
.btn-gold,
.btn-soft,
.btn-white-glow {
  font-size: .92rem;
  padding: .75rem 1.15rem
}

.navbar-brand span {
  font-size: 1.32rem
}

.brand-logo {
  width: 230px;
    height: 66px;
}

.nav-link {
  font-size: .94rem;
  padding: .65rem .78rem !important
}

.home-hero-v5 {
  background: radial-gradient(circle at 12% 12%, rgba(246, 181, 29, .2), transparent 26%), linear-gradient(135deg, #07143f 0%, #0b318f 56%, #1058df 100%)
}

.hero-v5-wrap {
  min-height: 650px;
  padding: 74px 0 112px
}

.hero-v5-badge {
  font-size: .7rem;
  padding: 8px 13px;
  letter-spacing: .11em
}

.hero-v5-title {
  font-size: clamp(2.35rem, 3.65vw, 4rem) !important;
  line-height: 1.06;
  letter-spacing: -.035em;
  max-width: 640px;
  margin: 18px 0 14px
}

.hero-v5-text {
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 590px
}

.hero-v5-actions {
  margin: 24px 0 22px;
  gap: 12px
}

.hero-v5-mini-grid {
  max-width: 610px;
  gap: 12px
}

.hero-v5-mini-grid div {
  padding: 14px 13px;
  border-radius: 18px
}

.hero-v5-mini-grid i {
  font-size: 1.12rem;
  margin-bottom: 6px
}

.hero-v5-mini-grid strong {
  font-size: .92rem
}

.hero-v5-mini-grid span {
  font-size: .78rem
}

.hero-v5-visual {
  min-height: 470px;
  border-radius: 34px;
  padding: 14px
}

.hero-v5-visual>img {
  height: 442px;
  border-radius: 26px
}

.hero-v5-logo {
  width: 75px;
  height: 70px;
  border-radius: 22px;
  left: 28px;
  top: 28px
}

.hero-v5-card {
  border-radius: 17px;
  padding: 12px 14px;
  font-size: .86rem;
  line-height: 1.25
}

.hero-v5-card i {
  font-size: 1.18rem
}

.card-top {
  right: -8px;
  top: 171px
}

.card-bottom {
  left: -8px;
  bottom: 96px
}

.hero-v5-subjects {
  left: 28px;
  right: 28px;
  bottom: 32px;
  gap: 8px
}

.hero-v5-subjects span {
  font-size: .76rem;
  padding: 8px 11px
}

.hero-v5-controls {
  bottom: 41px;
    padding: 7px 21px;
    gap: 32px;
}

.hero-v5-controls .carousel-control-prev,
.hero-v5-controls .carousel-control-next {
  width: 34px;
  height: 34px
}

.hero-v5-controls .carousel-indicators button {
  width: 8px;
  height: 8px
}

.hero-v5-controls .carousel-indicators button.active {
  width: 28px
}

.achievement-section-new {
  margin-top: -22px
}

.achievement-section-new .row {
  border-radius: 28px;
  padding: 16px
}

.achievement-card {
  border-radius: 22px;
  padding: 21px 16px
}

.achievement-card i {
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 8px;
  display: block
}

.achievement-card strong {
      font-size: 1.95rem;
    font-weight: 900;
}

.achievement-card span {
  font-size: .86rem;
  line-height: 1.45;
  display: block
}

.program-strip-card {
  padding: 28px;
  border-radius: 26px
}

.program-strip-card h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.18
}

.program-badges span {
  font-size: .86rem;
  padding: 10px 14px
}

.premium-image-collage .img-main {
  height: 470px
}

.premium-image-collage img,
.feature-image-box,
.image-box-card,
.course-side-image,
.mission-img,
.faq-image-card,
.map-card {
  border-radius: 26px !important
}

.mini-offer-card.enhanced,
.category-card,
.timeline-card,
.process-card,
.testimonial-card,
.route-card,
.course-feature-card,
.value-card,
.mission-box,
.form-card {
  border-radius: 22px !important
}

.mini-offer-card.enhanced {
  padding: 20px
}

.mini-offer-card.enhanced h5 {
  font-size: 1rem
}

.mini-offer-card.enhanced p {
  font-size: .9rem
}

.category-card {
  padding: 24px;
  min-height: 200px
}

.category-card h5 {
  font-size: 1.02rem
}

.feature-image-box h3,
.image-box-card h3,
.course-side-image h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.45rem)
}

.feature-image-box div,
.image-box-card div,
.course-side-image div {
  padding: 24px
}

.image-box-card {
  min-height: 330px
}

.process-card {
  padding: 19px;
  grid-template-columns: 62px 1fr
}

.process-index {
  width: 58px;
  height: 58px;
  border-radius: 18px
}

.process-card h5 {
  font-size: 1rem
}

.timeline-card {
  padding: 22px
}

.timeline-card h4 {
  font-size: 1.08rem
}

.testimonials-section {
  background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
  position: relative;
  overflow: hidden
}

.testimonials-section:before {
  content: "";
  position: absolute;
  right: -120px;
  top: 40px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(11, 72, 217, .07)
}

.testimonial-carousel-visible {
  padding: 10px 4px 54px;
  overflow: hidden
}

.testimonial-carousel-visible .swiper-wrapper {
  align-items: stretch
}

.testimonial-carousel-visible .swiper-slide {
  height: auto
}

.upgraded-testimonial {
  min-height: 270px !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #e5edff !important;
  box-shadow: 0 16px 42px rgba(7, 20, 63, .1) !important;
  padding: 26px !important
}

.quote-icon {
  font-size: 1.9rem
}

.stars {
  color: var(--gold);
  letter-spacing: .06em;
  margin-bottom: 10px
}

.testimonial-card strong {
  color: var(--deep);
  font-size: .95rem
}

.testimonial-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 4px
}

.testimonial-carousel-controls .testi-prev,
.testimonial-carousel-controls .testi-next {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(7, 20, 63, .13);
  display: grid;
  place-items: center
}

.testimonial-carousel-controls .swiper-pagination {
  position: static;
  width: auto !important
}

.testimonial-carousel-controls .swiper-pagination-bullet {
  background: var(--blue);
  opacity: .28
}

.testimonial-carousel-controls .swiper-pagination-bullet-active {
  background: var(--gold);
  opacity: 1
}

.inner-hero {
  min-height: 260px
}

.inner-hero .display-title.display-3 {
  font-size: clamp(2rem, 4vw, 3.1rem)
}

.inner-hero-card {
  padding: 19px
}

.hero-mark {
  width: 92px;
  border-radius: 20px
}

.course-feature-list-box,
.subject-panel {
  border-radius: 24px
}

.subject-pill {
  font-size: .85rem;
  padding: 8px 11px
}

.form-control,
.form-select {
  font-size: .94rem;
  padding: .78rem .9rem;
  border-radius: 13px
}

@media(max-width:1199px) {
  .hero-v5-title {
    font-size: clamp(2.25rem, 4.6vw, 3.4rem) !important
  }

  .hero-v5-wrap {
    min-height: 620px
  }

  .hero-v5-visual {
    min-height: 430px
  }

  .hero-v5-visual>img {
    height: 404px
  }

  .card-top {
    right: 8px
  }

  .card-bottom {
    left: 8px
  }
}

@media(max-width:991px) {
  body {
    text-align: left
  }

  .section {
    padding: 66px 0
  }

  .hero-v5-wrap {
    padding: 60px 0 96px;
    text-align: center
  }

  .hero-v5-title,
  .hero-v5-text {
    margin-left: auto;
    margin-right: auto
  }

  .hero-v5-actions {
    justify-content: center
  }

  .hero-v5-mini-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-left: auto;
    margin-right: auto
  }

  .hero-v5-mini-grid div,
  .mini-offer-card.enhanced,
  .category-card,
  .icon-card,
  .image-box-card,
  .feature-image-box,
  .timeline-card,
  .route-card,
  .course-feature-card,
  .value-card,
  .mission-box {
    text-align: center
  }

  .hero-v5-mini-grid i,
  .icon-circle,
  .route-icon {
    margin-left: auto;
    margin-right: auto
  }

  .hero-v5-visual {
    max-width: 560px;
    margin: 22px auto 0
  }

  .achievement-section-new {
    margin-top: -22px
  }

  .program-strip-card {
    text-align: center
  }

  .program-badges {
    justify-content: center
  }

  .premium-image-collage {
    max-width: 560px;
    margin: 0 auto
  }

  .section-heading.text-start {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
    max-width: 760px
  }

  .inner-hero {
    text-align: center
  }

  .inner-hero-card {
    justify-content: center;
    max-width: 520px;
    margin: 0 auto
  }

  .process-roadmap:before {
    display: none
  }

  .process-card {
    grid-template-columns: 1fr;
    text-align: center
  }

  .process-index {
    margin: 0 auto
  }

  .course-side-image div,
  .feature-image-box div,
  .image-box-card div {
    text-align: center
  }

  .footer {
    text-align:left;
  }

  .footer .d-flex {
    justify-content: left;
  }

  .card-top,
  .card-bottom {
    left: 24px;
    right: 24px
  }

  .card-top {
    top: 171px
  }

  .card-bottom {
    bottom: 92px
  }
}

@media(max-width:767px) {
  .topbar {
    display: none !important
  }

  .section {
    padding: 56px 0
  }

  .section-heading .display-title.h1 {
    font-size: 1.75rem
  }

  .lead-text {
    font-size: .94rem
  }
  
  .navbar-brand span {
    font-size: 1.16rem
  }

  .brand-logo {
   width: 173px;
   height: 54px;
  }

  .hero-v5-wrap {
    padding: 30px 0 40px
  }

  .hero-v5-title {
    font-size: 2.12rem !important;
    line-height: 1.12
  }

  .hero-v5-text {
    font-size: .95rem
  }

  .hero-v5-actions .btn {
    width: 100%;
    max-width: 300px
  }

  .hero-v5-mini-grid {
    grid-template-columns: 1fr;
    max-width: 330px
  }

  .hero-v5-visual {
    min-height: 360px;
    border-radius: 26px;
    padding: 10px
  }

  .hero-v5-visual>img {
    height: 340px;
    border-radius: 20px
  }

  .hero-v5-logo {
    width: 72px;
    height: 72px;
    left: 18px;
    top: 18px;
    border-radius: 17px
  }

  .hero-v5-card {
    position: static;
    margin: 10px auto 0;
    justify-content: center;
    width: 100%;
    max-width: 280px
  }

  .hero-v5-visual:after {
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 20px
  }

  .hero-v5-subjects {
    left: 20px;
    right: 20px;
    bottom: 20px;
    justify-content: center
  }

  .hero-v5-controls {
    bottom: 18px
  }

  .achievement-section-new .row {
    border-radius: 22px;
    padding: 10px
  }

  .achievement-card {
    padding: 18px 10px
  }

  .achievement-card strong {
    font-size: 1.92rem
  }

  .home-premium-program-strip {
    padding: 50px 0 10px
  }

  .program-strip-card {
    padding: 22px
  }

  .premium-image-collage .img-main {
    height: 320px
  }

  .premium-image-collage .img-small {
    display: none
  }

  .collage-badge {
    text-align: center
  }

  .feature-image-box,
  .image-box-card {
    min-height: 260px
  }

  .testimonial-carousel-visible {
    padding-bottom: 48px
  }

  .upgraded-testimonial {
    min-height: 245px !important
  }

  .inner-hero {
    min-height: 330px
  }

  .inner-hero .display-title.display-3 {
    font-size: 1.95rem
  }

  .hero-mark {
    width: 78px
  }

  .subject-pill {
    display: flex;
    justify-content: center;
    margin: 8px 0;
    width: 100%
  }
  .social-icons{
      margin:10px 0px;
  }
  .mobile-center{
     text-align: center; 
  }
}

@media(max-width:575px) {
  .container {
    padding-left: 18px;
    padding-right: 18px
  }

  .hero-v5-title {
    font-size: 1.95rem !important
  }

  .hero-v5-badge {
    font-size: .62rem
  }

  .hero-v5-visual {
    min-height: auto
  }

  .hero-v5-visual>img {
    height: 300px
  }

  .hero-v5-subjects span {
    font-size: .7rem;
    padding: 7px 9px
  }

  .achievement-section-new {
   margin-top: 25px;
  }

  .achievement-section-new .col-6 {
    width: 50%
  }

  .testimonial-carousel-controls .testi-prev,
  .testimonial-carousel-controls .testi-next {
    width: 38px;
    height: 38px
  }

  .display-title {
    letter-spacing: 0em
  }
  .hero-v5-controls{
    display: none;
  }
  .course-hero:after {
  content: "";
  position: absolute;
    right: -110px;
    top: 229px;
    width: 280px;
    height: 280px;
  border-radius: 50%;
  background: rgba(246, 181, 29, .25)
}

}

.testimonials-section {
  overflow: hidden;
}

.testimonialSwiper {
  width: 100%;
  overflow: hidden;
}

.testimonialSwiper .swiper-wrapper {
  align-items: stretch;
}

.testimonialSwiper .swiper-slide {
  width: 100% !important;
  flex-shrink: 0;
  display: flex;
  justify-content: center;

}

.testimonial-card {
  width: 100%;
  max-width: 850px;
  margin: auto;
  padding: 40px;
  border-radius: 24px;
  background: #fff;
  height: 100%;
}

.testimonial-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}


.testimonial-top{
    display: flex;
    align-items: center;
    gap: 15px;
      justify-content:center;
    margin-bottom: 20px;
}

.client-image{
    width: 65px;
    height: 65px;

    border-radius: 50%;

    overflow: hidden;

    flex-shrink: 0;
}

.client-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-name{
    display: block;

    font-size: 16px;
    font-weight: 700;

    margin-top: 4px;
}

.quote-icon{
    font-size: 34px;

    color: #0d2c91;

    margin-bottom: 15px;

    display: inline-block;
}


.bi-quote::before {
    content: "\f6b0";
    position: absolute;
    top: 25px;
    /*right: 29px;*/
    font-size: 58px;
}



.swiper-slide {
 
 margin-right: 0px !important;
}
.slide1{
   margin-right: 20px !important;  
}

@media(max-width:575px) {
 .swiper-slide {
 
 margin-right: -15px !important;

}
    
.bi-quote::before {
    display:none;
}    
    
    
}
.testimonial-card  .lead-text {
    text-align:center;
    
}

.btn-gold1{
    font-size: 1.12rem;
    padding: 1.15rem 1.85rem;
}

@media (max-width: 575px) {
    .swiper-slide {
        margin-right: 25px !important;
    }
    .btn-gold1 {
    font-size: 1.02rem;
    padding: 0.95rem 1.45rem;
}
}






.about-grid{
  grid-template-columns: none;
      grid-auto-rows: minmax(180px, auto);
}




















/* 1. Global Box-Sizing & Viewport Fix */
html, body {
    overflow-x: hidden !important;
    max-width: 100%;
    width: 100%;
}

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

/* 2. Floating Card Mobile Fix */
@media (max-width: 768px) {
    .about-floating-card {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 15px;
        max-width: 100%;
    }
}

/* 3. Animation Overflow Safety Wrapper */
/* Add this class to the sections containing your reveal animations */
.overflow-safe-section {
    overflow-x: hidden;
    width: 100%;
}

@media (min-width: 1200px) {
    .h4, h4 {
        font-size: 1.3rem;
    }
}
