* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}




/* ===============================
   HERO SLIDER (TOP)
================================ */
/* .hero-slider-wrap {
  padding: 40px 0 24px;
} */

@media (max-width: 768px) {
  .hero-slider-wrap {
    display: none;
  }
}



/* ===============================
   PAGINATION DOTS
================================ */
.hero-pagination {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-pagination .dot {
  width: 8px;
  height: 8px;
  background: #ffffff;
  opacity: 0.6;
  border-radius: 50%;
}

.hero-pagination .dot.active {
  width: 22px;
  border-radius: 6px;
  opacity: 1;
}

/* Track takes full width */
.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

/* ONE SLIDE = FULL CARD */
.hero-slide {
  flex: 0 0 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 🔥 THIS IS THE MAGIC */
}

.hero-card {
  max-width: 90%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;

  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .hero-card {
    height: 360px;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-image {
    margin-top: 24px;
  }
}

/* =====================================================
   HERO / FEATURED SECTION (FINAL – ORIGINAL STRUCTURE)
===================================================== */

.hero-content-wrap {
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-content-wrap {
    padding: 0px !important;
  }
}

/* INNER WRAPPER */
.hero-inner {
  max-width: 95%;
  margin: 0 auto;
  padding: 0 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

@media (max-width: 1024px) {
  .hero-inner {
    padding: 0 24px;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    padding: 0 20px;
    gap: 30px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    padding: 0 16px;
    gap: 20px;
  }
}

/* ===============================
   HERO TEXT
================================ */

.hero-text {
  max-width: 560px;
  color: #000000;
}

/* Trust pill */
.hero-pill {
  display: inline-block;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  font-family: Instrument Sans;
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
}

/* Heading */
.hero-text h1 {
  font-family: Instrument Sans;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 62px;
  line-height: 100%;
  letter-spacing: 0%;
}

/* Highlight box */
.highlight-box {
  display: inline-block;
  padding: 6px 16px;
  border: 2px dashed rgba(0, 0, 0, 0.4);
  border-radius: 12px;
}

/* Description */
.hero-text p {
  line-height: 1.65;
  margin-bottom: 32px;
  color: rgba(0, 0, 0, 0.85);
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 100%;

}

/* ===============================
   CTA
================================ */

.hero-actions {
  display: flex;
  margin-bottom: 40px;
  width: 208px;
  height: auto
}

.btn-primary.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #3e4095;
  color: #ffffff;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
}

.icon-circle {
  width: 53px;
  height: 53px;
  background: #ffffff;
  color: #3e4095;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ===============================
   TRUST TEXT
================================ */

.hero-trust-text {
  margin-bottom: 22px;
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;
}

/* ===============================
   STATS
================================ */

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat-item h3 {
  margin-bottom: 6px;
  font-family: Instrument Sans;
  font-weight: 500;
  font-style: Medium;
  font-size: 55px;
  line-height: 100%;
  letter-spacing: 0%;
}

.stat-item p {
  color: rgba(0, 0, 0, 0.7);
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

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

  .hero-stats {
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
  }
}



/* ===============================
   HERO IMAGE
================================ */

/* ===============================
   HERO IMAGE WITH CIRCLES
================================ */

.hero-image {
  position: relative;
  flex-shrink: 0;
  z-index: 1;
}

/* INNER GRADIENT CIRCLE */
.hero-image::before {
  content: "";
  position: absolute;
  width: 490px;
  height: 490px;
  border-radius: 50%;
  background: radial-gradient(circle at top left,
      #ffffff 0%,
      #e6e6fb 45%,
      #c9c9f3 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -2;
}

/* OUTER DOTTED CIRCLE */
.hero-image::after {
  content: "";
  position: absolute;
  width: 570px;
  height: 570px;
  border-radius: 50%;
  border: 2px dashed rgba(62, 64, 149, 0.35);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -3;
}

/* IMAGE ITSELF */
.hero-image img {
  width: 745px;
  max-width: 100%;
  display: block;
  transform: translateY(102px);
}


/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1024px) {
  .hero-inner {
    gap: 60px;
  }

  .hero-image::before {
    width: 460px;
    height: 460px;
  }

  .hero-image img {
    width: 420px;
  }
}

@media (max-width: 991px) {
  .hero-content-wrap {
    padding: 90px 0 100px;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .hero-text p {
    max-width: 100%;
  }

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

  .hero-image {
    margin-top: 40px;
  }

  .hero-image::before {
    width: 380px;
    height: 380px;
  }

  .hero-image img {
    width: 340px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 34px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 13px 24px;
    font-size: 15px;
  }
}

/* ===============================
   MOBILE HERO ADJUSTMENTS (480px and below)
================================ */

@media (max-width: 480px) {

  .hero-inner {
    padding: 0 12px;
    gap: 16px;
  }

  /* Heading smaller on mobile */
  .hero-text h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  /* Description text smaller */
  .hero-text p {
    font-size: 16px !important;
    margin-bottom: 24px;
    line-height: 1.5;
    text-align: center !important;
  }

  /* Hero pill smaller */
  .hero-pill {
    font-size: 14px;
    padding: 6px 12px;
    margin-bottom: 12px;
  }

  /* Center hero-actions button */
  .hero-actions {
    justify-content: center;
    margin: 0 auto 24px;
    width: 100%;
  }

  /* Trust text smaller */
  .hero-trust-text {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .btn-primary.btn-icon {
    width: 57% !important;
    text-align: center !important;
  }

  /* Make stats single row with smaller text */
  .hero-stats {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-around !important;
    gap: 8px !important;
    width: 100% !important;
    align-items: center !important;
  }

  .stat-item {
    flex: 1;
    min-width: 0;
    text-align: center;
  }

  .stat-item h3 {
    font-size: 22px;
    line-height: 1;
  }

  .stat-item p {
    font-size: 11px !important;
    line-height: 1.1;
    word-break: break-word;
  }

  /* Adjust hero image to avoid marquee overlap */
  .hero-image {
    margin-top: 0;
    margin-bottom: 40px;
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto;
  }

  /* Shrink background circles for mobile */
  .hero-image::before {
    width: 220px !important;
    height: 220px !important;
    top: 50% !important;
    left: 50% !important;
  }

  .hero-image::after {
    width: 250px !important;
    height: 250px !important;
    top: 50% !important;
    left: 50% !important;
  }

  /* Reduce image size and adjust translateY */
  .hero-image img {
    width: 340px !important;
    height: auto !important;
    max-height: 280px !important;
    transform: translateY(38px) !important;
  }
}


/* ===============================
   HERO MARQUEE STRIP
================================ */

.hero-marquee {
  background: #3e4095;
  padding: 14px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  animation: marquee-scroll 22s linear infinite;
}

.marquee-track span {
  color: #ffffff;
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 26px;
  line-height: 100%;
  letter-spacing: 0%;
}

.marquee-track .star {
  color: #ffffff;
  font-size: 50px;
}

/* Animation */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover (nice UX) */
.hero-marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .marquee-track span {
    font-size: 12px;
  }
  .hero-marquee{
      padding:0px;
  }
}


/* ===============================
   FEATURES SECTION
================================ */

.features-section {
  padding: 60px 0;
  background: #f7f8fc;
  font-family: 'Instrument Sans', sans-serif;
}

@media (max-width: 768px) {
  .features-section {
    padding: 10px;
  }
}



.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .features-container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .features-container {
    padding: 0 12px;
  }
}

/* ===============================
   FEATURES HEADER (2 ROW SYSTEM)
================================ */

.features-header {
  margin-bottom: 60px;
}

/* ROW 1 : PILL */
.features-pill-row {
  margin-bottom: 20px;
}


/* ROW 2 : CONTENT (50 / 50) */
.features-content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* LEFT */
.features-left h2 {
  font-size: 45px;
  font-weight: 500;
  line-height: 1.2;
  color: #000;
}

.features-left h2 span {
  color: #3E4095;
}

/* RIGHT */
.features-right {
  display: flex;
  justify-content: flex-end;
}

.features-right p {
  font-size: 22px;
  line-height: 1.6;
  color: #555;
}

/* ===============================
   FEATURES GRID
================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    display: none;
  }
  .features-header{
      margin-bottom: 20px;
  }
  
  .features-right p {
  font-size: 18px;
}
}

/* CARD */
.feature-card {
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  padding: 28px;
  background: #fff;
  transition: all 0.3s ease;
}


.feature-card {
  position: relative;
  background-image: url("../images/bgimage.png");
  /* change image path */
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 172px 138px;
}

@media (max-width: 768px) {
  .feature-card {
    padding: 20px;
  }
}

.feature-card img {
  width: 35px;
  height: 35px;
}

.feature-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-6px);
}

.feature-card h4 {
  margin-top: 16px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* ICON */
.icon {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.bg-blue {
  background: #e8edff;
}

.bg-purple {
  background: #f1e6ff;
}

.bg-green {
  background: #e7f9f1;
}

.bg-yellow {
  background: #fff6d9;
}

.bg-pink {
  background: #ffe6f1;
}

.bg-orange {
  background: #ffe9d6;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-content-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .features-right {
    justify-content: flex-start;
  }
}

@media (max-width: 576px) {
  .features-left h2 {
    font-size: 32px;
  }
}

/* Features */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  font-size: 14px;
  padding-left: 22px;
  position: relative;
  margin-bottom: 12px;
}

.feature-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #4b4bbf;
}

/* ===============================
   FEATURES CAROUSEL (MOBILE)
================================ */

.features-carousel-wrap {
  display: none;
  overflow: hidden;
}

@media (max-width: 768px) {
  .features-carousel-wrap {
    display: block;
  }
}

.features-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease;
  overflow: visible;
}

.features-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 0 16px;
  min-height: auto;
}

@media (max-width: 480px) {
  .features-carousel-slide {
    gap: 16px;
    padding: 0 12px;
  }
}

/* PAGINATION DOTS */
.features-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .features-pagination {
    margin-top: 20px;
  }
}

.features-dot {
  width: 10px;
  height: 10px;
  background: #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.features-dot.active {
  background: #3E4095;
  width: 28px;
  border-radius: 5px;
}


/* ===============================
   PRICING SECTION (FINAL)
================================ */

.pricing-section {
  position: relative;
  padding: 56px 24px 40px;
  background: #f7f8fc;
  overflow: hidden;
  font-family: "Instrument Sans", sans-serif;
}

@media (max-width: 768px) {
  .pricing-section {
    padding: 60px 16px 80px;
  }
}

@media (max-width: 480px) {
  .pricing-section {
    padding: 40px 12px 60px;
  }
}

/* Center Glow */
.pricing-section::before {
  content: "";
  position: absolute;
  top: 140px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 520px;
  background: radial-gradient(ellipse at center,
      rgba(88, 92, 210, 0.22) 0%,
      rgba(88, 92, 210, 0.14) 35%,
      rgba(88, 92, 210, 0.06) 55%,
      rgba(88, 92, 210, 0.00) 72%);
  z-index: 0;
}

/* Container */
.pricing-section .container {
  max-width: 95%;
  margin: auto;
  padding: 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Pill */
.section-pill {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid #dcdcff;
  font-size: 14px;
  color: #5b5bd6;
  margin-bottom: 16px;
  width: 154;
  height: 53;
  border-radius: 42px;
  border-width: 1px;
  padding: 10px;
  gap: 10px;
  opacity: 1;
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;



}

/* Heading */
.pricing-title {
  font-weight: 600;
  margin-bottom: 32px;
  color: #111;
  font-family: Instrument Sans;
  font-weight: 500;
  font-style: Medium;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
font-size: 22px;
}

/* Level Toggle */
.level-toggle {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3E4095 0%, #FFFFFF 100%);
  margin: 0 auto 32px;
  width: fit-content;
}

.level-toggle button {
  border: none;
  background: transparent;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  color: #2b2d42;
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.level-toggle .active {
  background: #ffffff;
  color: #000000;
}


/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
  align-items: stretch;
}

/* Pricing Card */
.pricing-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 32px;
  border: 1px solid #e1e4ff;
  text-align: left;
  position: relative;
}

@media (max-width: 768px) {
  .pricing-card {
    padding: 24px 20px;
  }
  
  .section-pill {
      font-size:20px;
}
}

@media (max-width: 480px) {
  .pricing-card {
    padding: 20px 16px;
  }
}

/* Featured Card */
.pricing-card.featured {
  position: relative;
  border: 3px solid #3E4095;
  border-radius: 28px;
  padding: 36px 32px;
  /* SAME as other cards */
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(75, 79, 207, 0.20);
  overflow: visible;
  margin-top: 20px !important;
  /* IMPORTANT */
}


.pricing-card.featured .badge {
  position: absolute;
  top: 0px;
  /* inside purple strip */
  left: 24px;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  padding: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}




.pricing-card.featured .btn-primary {
  height: 48px;
  font-size: 15px;
  font-weight: 500;
}

.pricing-card.featured::before {
  content: "";
  position: absolute;
  top: -20px;
  /* sits ABOVE card */
  left: -3px;
  width: calc(100% + 6px);
  /* include border */
  height: 50px;
  background: #3E4095;
  border-radius: 28px 28px 0 0;
  z-index: 1;
}

/* Badge */
.badge {
  position: absolute;
  top: 18px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #3E4095;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 2;
}


/* Text */
.plan-name {
  color: #111;
  font-family: Instrument Sans;
  font-weight: 500;
  font-style: Medium;
  font-size: 35px;
  line-height: 100%;
  letter-spacing: 0%;
}

.plan-sub {
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0px;
}

.price {
  color: #111;
  font-family: Instrument Sans;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 53px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;

}

.old-price {
  color: #999;
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  text-decoration: line-through;
}

/* Buttons */
.btn-primary {
  width: 100%;
  padding: 12px;
  background: #3E4095;
  color: #ffffff;
  border-radius: 999px;
  border: none;
  margin-bottom: 10px;
  cursor: pointer;
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.btn-outline {
  width: 100%;
  padding: 12px;
  background: transparent;
  border-radius: 999px;
  border: 1px solid #3E4095;
  color: #3E4095;
  margin-bottom: 24px;
  cursor: pointer;

  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;



}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;

}

.feature-list li {
  position: relative;
  padding-left: 45px;
  color: #000000;
  margin-bottom: 12px;
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 17px;
  line-height: 35px;
  letter-spacing: 0%;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 31px;
  height: 31px;
  background-image: url("../images/checkbox-circle.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}



/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-list li{
      font-size:14px;
      line-height:26px;
  }

  .pricing-title {
    font-size: 16px;
    font-weight: 100;
  }
}

.pricing-card {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.pricing-card.active-card {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* ===============================
   SWIPER FIX (CRITICAL)
================================ */

/* Let Swiper control layout */
.pricing-grid.swiper {
  display: block;
  /* NOT grid */
}

/* Swiper wrapper must be flex */
.pricing-grid .swiper-wrapper {
  display: flex;
}

/* Swiper slide sizing */
.pricing-grid .swiper-slide {
  width: auto;
  height: auto;
}

/* ===============================
   COMPARE SECTION
================================ */

.compare-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, #f5f6fb 0%, #f7f8fc 60%);
}



/*Compare Section*/

.compare-header {
  max-width: 1200px;
  margin: 0 auto 60px;
  text-align: left;
}

.compare-header h2 {
  font-family: Instrument Sans;
  font-weight: 500;
  font-size: 45px;
  line-height: 100%;
  margin-bottom: 20px;
}

.compare-header .subtitle {
  font-family: Instrument Sans;
  font-weight: 400;
  font-size: 24px;
  line-height: 130%;
  color: #00000e;
}


@media (max-width: 768px) {
  .compare-section {
    padding: 60px 16px;
  }
  
  .compare-header h2 {
  font-size: 32px;
}

.compare-header .subtitle {
  font-size: 16px;
}


}

@media (max-width: 480px) {
  .compare-section {
    padding: 40px 12px;
  }
}

@media (max-width: 576px) {
  .pricing-grid {
    margin-top: 32px;
  }

  .pricing-grid .swiper-slide {
    width: 100%;
  }
}

/* PILL */

.feature-pill {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid #dcdcf5;
  font-family: Instrument Sans;
  font-size: 16px;
  margin-bottom: 20px;
}

/* GRID WRAPPER */

.compare-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  align-items: stretch;
}

/* CARD */

.compare-card {
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  border : 1px solid #aeaeae;
}

/* HEADER INSIDE CARD */

.card-header {
  margin: 24px;
  border-radius: 999px;
  background: #3f3f98;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;

  font-family: Instrument Sans;
  font-weight: 600;
  font-size: 22px;
}

/* LIST */

.compare-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.compare-card li {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #DCDCDC;

  font-family: Instrument Sans;
  font-weight: 400;
  font-size: 18px;
}

/* FEATURES COLUMN */

.features li {
  justify-content: flex-start;
  padding-left: 32px;
  color: #3a3a55;
}

/* HIGHLIGHT CARD */

.highlight {
  box-shadow:
    0 30px 60px rgba(63, 63, 152, 0.25),
    0 0 0 10px rgba(63, 63, 152, 0.06);
}

/* DOT & CROSS */

.dot {
  width: 10px;
  height: 10px;
  background: #3f3f98;
  border-radius: 50%;
}

.cross {
  font-size: 26px;
  color: #9b9bb5;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .compare-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: stretch;
  }
.feature-pill {
  margin-bottom: 0px;
}
  .compare-card {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(25, 25, 112, 0.05);
  }

  .card-header {
    margin: 3px;
    height: 35px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
  }

  .compare-card li {
    height: 35px;
    min-height: 50px;
    padding: 12px 8px;
    border-bottom: 1px solid #DCDCDC;
    font-size: 12px;
    font-weight: 400;
  }

  .features li {
    padding-left: 12px;
    justify-content: flex-start;
    font-size: 12px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .cross {
    font-size: 16px;
  }

  .highlight {
    box-shadow: 0 15px 30px rgba(63, 63, 152, 0.15);
  }

  /* LEVEL SECTION - mobile carousel styles */
  .level-cards {
    display: none;
  }

  .level-carousel-wrap {
    display: block;
    width: 100%;
    overflow: hidden;
    margin-top: 24px;
  }

  .level-carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease;
  }

  .level-carousel-slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
  }

  .level-carousel-slide .level-item {
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
  }

  /* Tidy level item for mobile carousel */
  .level-item {
    align-items: stretch;
  }

  .level-item .item-image img {
    max-width: 100%;
    display: block;
    margin: 12px auto 0;
  }

  .level-carousel-slide .level-item {
    max-width: 360px;
  }

  .level-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  .level-dot {
    width: 10px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .level-dot.active {
    background: #3E4095;
    width: 28px;
    border-radius: 5px;
  }

  .level-carousel-wrap {
    display: block !important;
  }

}



/* ===============================
   COURSE LEVEL SECTION 
================================ */

/* SECTION */

.level-section {
  padding: 60px 20px;
  background: #f7f8fc;
}

@media (max-width: 768px) {
  .level-section {
    padding: 60px 16px;
  }
}

@media (max-width: 480px) {
  .level-section {
    padding: 40px 12px;
  }
}

/* mobile carousel wrapper hidden by default (shown only in mobile media query) */
.level-carousel-wrap {
  display: none;
}

/* HEADER */

.level-header {
  max-width: 1200px;
  margin: 0 auto 80px;
}

@media (max-width: 768px) {
  .level-header {
    margin: 0 auto 50px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .level-header {
    margin: 0 auto 40px;
    text-align: center;
  }
}

.level-pill {
  padding: 8px 18px;
  background: linear-gradient(90deg, #9A9BDA 0%, #3E4095 100%);
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
}

@media (max-width: 480px) {
  .level-pill {
    font-size: 12px;
    padding: 6px 14px;
  }
}

.level-header h2 {
  font-family: Instrument Sans;
  font-weight: 500;
  font-style: Medium;
  font-size: 47px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .level-header h2 {
    font-size: 36px;
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .level-header h2 {
    font-size: 24px;
    margin-top: 12px;
    line-height: 1.3;
  }
}

.level-header p {
  font-family: Instrument Sans;
  font-weight: 350;
  font-style: Regular;
  font-size: 21px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .level-header p {
    font-size: 16px;
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .level-header p {
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.5;
    max-width: 100%;
  }
}

/* CARDS LAYOUT */

.level-cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 768px) {
  .level-cards {
    display: none;
  }
}

@media (max-width: 480px) {
  .level-cards {
    display: none;
  }
}

/* ===============================
   MOBILE CAROUSEL (480px and below)
================================ */

@media (max-width: 480px) {
  .level-carousel-wrap {
    display: block !important;
  }

  .level-carousel-wrap {
    max-width: 100%;
    overflow: hidden;
  }

  .level-carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0;
    margin: 0;
  }

  .level-carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-width: 100%;
  }

  .level-carousel-item {
    min-height: 480px;
  }

  .level-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding: 0 16px;
  }

  .level-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .level-dot.active {
    background: #3e4095;
    width: 24px;
    border-radius: 4px;
  }
}

/* ITEM */
.item-content img {
  width: 32px;
  height: 32px;
}

.level-item {
  position: relative;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 480px) {
  .level-item {
    padding: 30px 20px;
    text-align: center;
    align-items: center;
  }
}

/* SHAPES */

.level-item.light.left {
  background: #e6e9ff;
  border-bottom-left-radius: 111px;
}

.level-item.light.right {
  background: #e6e9ff;
  border-top-right-radius: 111px;
}

.level-item.dark.center {
  background: #3f3f98;
  color: #fff;
}

/* CONTENT */

.item-content {
  text-align: left;
  width: 100%;
}

@media (max-width: 480px) {
  .item-content {
    text-align: center;
  }
}

.item-content h3 {
  margin: 14px 0;
  font-family: Instrument Sans;
  font-weight: 500;
  font-style: Medium;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0%;
}

@media (max-width: 480px) {
  .item-content h3 {
    font-size: 22px;
    margin: 12px 0;
  }
}

.item-content p {
  line-height: 1.6;
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
}

@media (max-width: 480px) {
  .item-content p {
    font-size: 14px;
    line-height: 1.5;
  }
}

.link {
  margin-top: 20px;
  display: inline-block;
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
}


.link a
{
  text-decoration: none;
  color:#000000;
}

@media (max-width: 480px) {
  .link {
    font-size: 14px;
    margin-top: 16px;
    padding: 10px 16px;
    background: #3e4095;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
  }
}

/* ICON */

.icon {
  width: 55px;
  height: 55px;
  /* background: #3f3f98; */
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .icon {
    width: 50px;
    height: 50px;
  }
}

.icon.white {
  background: #fff;
  color: #3f3f98;
}

.icon.dark {
  background:  rgb(63, 63, 152);
}

.item-image {
  margin-top: auto;
  width: 317px;
}

@media (max-width: 480px) {
  .item-image {
    width: 240px;
    margin-top: 20px;
  }
}

.item-image img {
  width: 317px;
  height: 478px;
  object-fit: contain;
  display: block;
}

@media (max-width: 480px) {
  .item-image img {
    width: 240px;
    height: auto;
    max-height: 300px;
  }
}



/* ===============================
   TESTIMONIAL SECTION
================================ */

.testimonial-section {
  padding: 60px 0;
  background: #f7f8fc;
  overflow: hidden;
}

@media (max-width: 768px) {
  .testimonial-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .testimonial-section {
    padding: 40px 0;
  }
}

/* ===============================
   HEADER
================================ */


.pill {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid #ccc;
  border-radius: 999px;
  font-size: 27px;

  font-family: Urbanist;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.02em;
}





/* ===============================
   MARQUEE (FIGMA-CORRECT)
================================ */

.testimonial-marquee {
  position: relative;
  overflow: hidden;
  margin: 0px 100px 0px;
  /* KEY FIX */
  padding-left: 120px;
  padding-right: 120px;
  max-height: 480px !important;
}

/* FADING EDGES */

.testimonial-marquee::before,
.testimonial-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 180px;
  /* wider fade */
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.testimonial-marquee::before {
  left: 0;
  background: linear-gradient(to right,
      #ffffff 30%,
      rgba(255, 255, 255, 0));
}

.testimonial-marquee::after {
  right: 0;
  background: linear-gradient(to left,
      #ffffff 30%,
      rgba(255, 255, 255, 0));
}

/* ===============================
   TRACK (INFINITE SCROLL)
================================ */

.testimonial-track {
  display: flex;
  width: max-content;
  animation: testimonial-scroll 45s linear infinite;
}

/* ===============================
   GRID & COLUMN STRUCTURE
================================ */

.testimonial-grid {
  display: flex;
  gap: 30px;
  padding-right: 30px;
  max-height: fit-content !important;
}

.testimonial-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ===============================
   CARD BASE (LOCKED WIDTH)
================================ */

.testimonial-card {
  width: 444px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background-image: url("../images/bgimage.png");
  /* change image path */
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 172px 138px;
}

/* ===============================
   VIDEO CARD (FIXED SIZE)
================================ */

.testimonial-card.video {
  height: 454px;
  position: relative;
}

.testimonial-card.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  /* correct Figma crop */
  display: block;
}

/* PLAY BUTTON */

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  z-index: 2;
}

.play::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-left: 16px solid #4f46e5;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

/* NAME TAG */

.name {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;

  font-family: Urbanist;
  font-size: 14px;
  font-weight: 500;
}

/* ===============================
   TEXT CARD (FIXED HEIGHT)
================================ */

.testimonial-card.text {
  height: 420px;
  padding: 36px 36px 36px;
  display: flex;
  flex-direction: column;
}

/* USER ROW */

.user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.user img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.user strong {
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 21px;
  line-height: 100%;
  letter-spacing: -2%;
}

/* TEXT */

.testimonial-card.text p {
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 21px;
  line-height: 100%;
  letter-spacing: -2%;

}

/* ===============================
   ANIMATION
================================ */

@keyframes testimonial-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1200px) {
  .testimonial-card {
    width: 360px;
  }
}

@media (max-width: 768px) {


  .testimonial-track {
    animation-duration: 60s;
  }

  .testimonial-card {
    width: 300px;
  }
}

/* Testimonial slider (JS-built) */
.testimonial-slider-wrap {
  margin-top: 24px;
  overflow: hidden;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.testimonial-slider-wrap::before,
.testimonial-slider-wrap::after {
  content: '';
  position: absolute;
  top: 10%;
  width: 22%;
  height: 80%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  opacity: 0.45;
}

.testimonial-slider-wrap::before {
  left: -6%;
  background: radial-gradient(closest-side at 30% 30%, rgba(79, 70, 229, 0.20), transparent 40%);
}

.testimonial-slider-wrap::after {
  right: -6%;
  background: radial-gradient(closest-side at 70% 70%, rgba(99, 102, 241, 0.18), transparent 40%);
}

.testimonial-slider-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  position: relative;
  z-index: 1;
}

.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 12px;
}

.testimonial-slide.desktop {
  display: grid;
  grid-template-columns: repeat(3, 400px);
  grid-auto-rows: auto;
  gap: 18px;
  justify-content: center;
}

.testimonial-slide.desktop .testimonial-card {
  width: 400px !important;
  height: 450px;
}

.testimonial-slide.desktop .testimonial-card.video {
  height: 450px;
}

.testimonial-slide.desktop .testimonial-card.text {
  height: 400px;
}

.testimonial-slide.mobile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px;
  align-items: center;
}

.testimonial-slide.mobile .testimonial-card {
  width: 300px;
  height: auto;
}

.testimonial-slide.mobile .testimonial-card.video {
  height: 320px;
}

.testimonial-slide.mobile .testimonial-card.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}

.testimonial-card.empty {
  visibility: hidden;
}

.testimonial-pagination {
  text-align: center;
  margin-top: 14px;
}

.testimonial-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #d1d5db;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  opacity: 0.85;
}

.testimonial-dot.active {
  background: #4f46e5;
  opacity: 1;
}

@media (max-width: 768px) {
  .testimonial-slide.desktop {
    display: none;
  }
}

@media (min-width: 769px) {
  .testimonial-slide.mobile {
    display: none;
  }
}


/* ===============================
   WHY STUDENTS TRUST US
================================ */

.trust-section {
  background: #5D60C0;
  padding: 80px 0;
}

@media (max-width: 768px) {

  /* 🔥 ORDER FIX */
  .trust-content {
    order: 1;
    text-align: center;
  }

  .trust-cards {
    order: 2;
  }





  .trust-section {
    padding: 60px 0;
  }

  .trust-container {
    flex-direction: column;
    padding: 0 20px;
    gap: 40px;
  }

  .trust-card {
    flex-direction: column;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    padding: 20px 16px !important;
    text-align: left;
    align-items: start;
  }

  .trust-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    margin: 0;
    grid-row: 1 / 3;
  }

  .trust-icon img {
    width: 24px;
    height: 24px;
  }

  .trust-text {
    font-size: 16px;
    margin-bottom: 0;
    grid-column: 2;
    grid-row: 1;
  }

  .trust-btn {
    font-size: 14px;
    padding: 8px 16px;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }

  .trust-content h2 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .trust-content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .trust-section {
    padding: 40px 0;
  }
}

.trust-container {
  margin: 0 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin: 29px !important;
}

/* ===============================
   CARDS
================================ */

.trust-cards {
  display: flex;
  gap: 24px;
}

.trust-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 24px 32px;
  width: 300px !important;
  text-align: center;
}

/* ICON CIRCLE */

.trust-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #eef0ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon img {
  width: 28px;
  height: 28px;
}

/* TEXT */

.trust-text {
  font-family: Instrument Sans;
  color: #1a1a1a;
  margin-bottom: 18px;
  line-height: 1.4;
  font-weight: 400;
  font-style: Regular;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;

}

/* BUTTON */

.trust-btn {
  display: inline-block;
  padding: 8px 18px;
  color: #5D60C0;
  border: 1px solid #5D60C0;
  border-radius: 999px;
  text-decoration: none;
  font-family: Instrument Sans;
  font-weight: 500;
  font-style: Medium;
  font-size: 21px;
  line-height: 100%;
  letter-spacing: 0%;
}

.trust-btn:hover {
  background: #5D60C0;
  color: #ffffff;
}

/* ===============================
   RIGHT CONTENT
================================ */

.trust-content h2 {
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
  font-family: Instrument Sans;
  font-weight: 500;
  font-size: 35px;
  line-height: 100%;
  letter-spacing: 0%;
}

.trust-content p {
  color: #e5e6ff;
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 25px;
  line-height: 100%;
  letter-spacing: 0%;
}

@media (max-width: 768px) {

  .trust-btn {
    color: #ffffff !important;
    background: #5D60C0 !important;
    width: 160px !important;
  }

  .trust-btn:hover {
    background: #ffffff !important;
    color: #5D60C0 !important;
  }

  .trust-text {
    font-family: Instrument Sans;
    color: #1a1a1a;
    line-height: 1.4;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    margin-bottom: 0px !important;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: left !important;
  }

  .trust-icon {
    width: 75px !important;
    height: 75px !important;

  }
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 992px) {
  .trust-container {
      margin: 0px !important;
    flex-direction: column;
    text-align: center;
  }

  .trust-cards {
    flex-direction: column;
  }

  .trust-content p {
    max-width: 100%;
  }
}



/* ===============================
   RESULTS SECTION
================================ */

.results-section {
  background: #ffffff;
  text-align: center;
}

/* HEADER */

.results-header {
  margin: 50px 0px;
  display: flex;
  justify-content: center;
  text-align: left;
}

.results-header h2 {
  font-family: Instrument Sans;
  font-weight: 500;
  font-style: Medium;
  font-size: 45px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-right:90px;

}

.results-header p {
  max-width: 694px;
  color: #666;
  line-height: 1.6;
  font-family: Urbanist;
  font-weight: 500;
  font-style: Medium;
  font-size: 26px;
  line-height: 100%;
  letter-spacing: -2%;
}

/* TOPPER CARD */

.topper-card {
  max-width: 1200px;
  margin: 95px auto 060px;
  background: #e9eaff;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #E4E7FF 0%, #A7AAFF 100%);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.50) !important;
}

.topper-left img {
  width: 315px;
  height: 315px;
  border-radius: 50%;
  object-fit: cover;
  border: 9px solid #FFFFFF;

  left: -56px;
  top: 50%;
  transform: translateY(-30%);
}

.topper-center {
  text-align: left;
  flex: 1;
  margin-left: 20px;
}

.topper-center h4 {
  font-family: Instrument Sans;
  font-weight: 500;
  font-style: Medium;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: -2%;

}

.topper-center span {
  color: #000000;
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 33px;
  line-height: 100%;
  letter-spacing: -2%;

}

.topper-center small {
  display: block;
  color: #000000;
  margin-bottom: 6px;

  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: -2%;

}

.stars {
  margin-left: -280px;
  margin-top: 70px;
  color: #f5a623;
  font-size: 45px;
}

.topper-right {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 12px 18px;
  border-radius: 20px;

  font-family: Instrument Sans;
  font-size: 18px;

  background: rgba(169, 171, 254, 0.9);
  border: 1px solid rgba(169, 171, 254, 1);
  white-space: nowrap;
}


/* ===============================
   GRID
================================ */

.rank-grid {
  max-width: 1000px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
}

/* ===============================
   CARD
================================ */

.rank-card {
  text-align: center;

  /* ✅ REQUIRED FIX */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===============================
   AVATAR
================================ */

.rank-avatar {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 12px;
}

.rank-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #5b5fe8;
}

/* ===============================
   FLOATING STAR
================================ */

.rank-star {
  position: absolute;
  top: -10px;
  right: 6px;
  font-size: 22px;
  color: #f5a623;
  line-height: 1;
  pointer-events: none;
}

/* ===============================
   NAME RIBBON (FIGMA – FIXED)
================================ */

.rank-name-ribbon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 6px auto 12px;
  padding: 7px 18px;

  background: #4b4bb5;
  color: #ffffff;

  font-family: Instrument Sans;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;

  border-radius: 4px;
  white-space: nowrap;
  width: 117px;
}

/* LEFT CUT (WHITE) */
.rank-name-ribbon::before {
  content: "";
  position: absolute;
  left: 117px;
  top: 50%;
  transform: translate(-100%, -50%);

  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #ffffff;
  /* WHITE CUT */
}

/* RIGHT CUT (WHITE) */
.rank-name-ribbon::after {
  content: "";
  position: absolute;
  right: 117px;
  top: 50%;
  transform: translate(100%, -50%);

  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #ffffff;
  /* WHITE CUT */
}


/* ===============================
   WHITE INFO CARD (FIGMA MATCH)
================================ */

.rank-info-card {
  width: 100%;
  max-width: 150px;
  /* ✅ CONTROLS AIR ALIGNMENT */
  margin-top: -25px;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 12px 12px;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);

  /* ✅ ALIGN TEXT CENTER */
  text-align: center;
}

/* AIR TEXT */
.rank-info-card strong {
  display: block;
  color: #6b6fdc;

  font-family: Instrument Sans;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.1;

  margin-bottom: 4px;
}

/* COURSE TEXT */
.rank-info-card span {
  display: block;
  color: #444;

  font-family: Instrument Sans;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.2;
}


/* FOOTER */

.results-note {
  color: #000000;
  margin:20px;

  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 26px;
  line-height: 100%;
  letter-spacing: -2%;
  text-align: center !important;
}

.results-btn {
  display: inline-block;
  padding: 10px 22px;
  background: #6b6fdc;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 29px;
  line-height: 100%;
  letter-spacing: -2%;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .results-header {
    flex-direction: column;
    text-align: center;
  }

  .rank-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
    .results-header h2 {
        margin:0px;
        font-size:32px;
    }
    
    .results-header p{
        font-size:20px;
        margin-top:10px;
    }
    .results-note{
        font-weight:200;
        font-size:20px;
    }
  .rank-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}




/* ===============================
   TEAM SECTION
================================ */

.team-section {
  background: #43469b;
  padding: 100px 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .team-section {
    padding: 60px 16px;
  }
}

@media (max-width: 480px) {
  .team-section {
    padding: 40px 12px;
  }
}

/* HEADER */

.team-header {
  max-width: 600px;
  margin: 0 auto 80px;
}

.team-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  margin-bottom: 16px;
  font-family: Instrument Sans;
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -2%;
  text-align: center;
}

.team-header h2 {
  color: #ffffff;
  margin-bottom: 14px;
  font-family: Instrument Sans;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 64px;
  line-height: 100%;
  letter-spacing: -2%;
  text-align: center;

}

.team-header p {
  color: #d8d9ff;
  font-family: Instrument Sans;
  font-weight: 500;
  font-style: Medium;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: -2%;
  text-align: center;

}

/* GRID */

.team-grid {
  /* max-width: 1200px; */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 60px;
}

/* MEMBER */

.team-member {
  text-align: center;
}

/* AVATAR */

/* AVATAR WRAPPER */
.team-avatar {
  position: relative;
  width: 220px;
  /* wider than halo */
  height: 260px;
  /* allows body below */
  margin: 0 auto 10px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* HALO (HEAD ONLY) */
.team-avatar::before {
  content: '';
  position: absolute;
  top: 0;
  width: 170px;
  height: 170px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  z-index: 1;
}

/* IMAGE (NOT CIRCULAR) */
.team-avatar img {
  position: relative;
  z-index: 2;
  height: 260px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  border-radius:10px 10px 0 0;
}

/* INFO CARD */

.team-card {
  width: 285px;
  margin-top: -10px !important;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 16px;
  align-items: center;
  justify-content: space-between;
}

/* TEXT */

.team-info strong {
  font-family: Urbanist;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: -2%;
  display: block;

}

.team-info span {
  font-family: Urbanist;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: -2%;
  margin-left: -30px !important;
}

/* SOCIALS */

.team-socials {
  display: flex;
  gap: 8px;

}

.team-socials a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0.71px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #000;
  text-decoration: none;

}

/* RESPONSIVE */

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  .team-header {
    margin-bottom: 50px;
  }

  .team-header h2 {
    font-size: 40px;
  }

  .team-header p {
    font-size: 16px;
  }

  .team-avatar {
    width: 160px;
    height: 200px;
    overflow: hidden;
  }

  .team-avatar::before {
    width: 130px;
    height: 130px;
  }

  .team-avatar img {
    height: 200px;
  }

  .team-card {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .team-info strong {
    font-size: 18px;
  }

  .team-info span {
    font-size: 14px;
    margin-left: 0 !important;
  }
}


/* ===============================
   FAQ SECTION
================================ */

.faq-section {
  padding: 100px 24px;
  background: #ffffff;
  font-family: "Instrument Sans", sans-serif;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 16px;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 40px 12px;
  }
}

.faq-container {
  max-width: 95%;
  margin: auto;
}

.faq-badge {
  display: inline-block;
  padding: 6px 14px;
  background: #4b4bb5;
  color: #ffffff;
  border-radius: 20px;
  margin-bottom: 16px;
  font-family: Outfit;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 10%;
}

.faq-title {
  margin-bottom: 40px;
  color: #111111;
  font-family: Outfit;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0%;
}

/* FAQ LIST */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #f7f8fc;
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.3s ease;
}

.faq-question {
  padding: 18px 22px;
  background: transparent;
  border: none;
  width:100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #111111;
  font-family: Outfit;
  font-weight: 600;
  font-style: Medium;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
}





.faq-icon {
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
}

.faq-answer {

  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
}

.faq-answer p {
  font-family: Instrument Sans;
  line-height: 1.7;
  color: #555555;
  margin: 0;
  font-family: Outfit;
  font-weight: 500;
  font-style: Regular;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
}

/* ACTIVE STATE */

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 22px 18px;
}

.faq-item.active .faq-icon {
  content: "−";
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .faq-title {
    font-size: 28px;
  }

  .faq-question {
    text-align: left;
  }

  .faq-answer p {
    text-align: left;
  }

  .faq-item.active .faq-answer {
    max-height: none;
  }
}


/* ===============================
   FOOTER
================================ */

.site-footer {
  background: linear-gradient(135deg, #3b3fae, #5a5cf0);
  color: #ffffff;
  font-family: "Instrument Sans", sans-serif;
  padding-top: 80px;
}

@media (max-width: 768px) {
  .site-footer {
    padding-top: 60px;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding-top: 40px;
  }
}

.footer-container {
  max-width: 95%;
  margin: auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    /* padding: 0 16px; */
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr !important;
    padding: 0 16px !important;
    gap: 24px !important;
  }

  .footer-col:not(.footer-brand) {
    text-align: left !important;
  }

  .footer-col:not(.footer-brand) h4 {
    font-size: 18px !important;
    margin-bottom: 12px !important;
    text-align: left !important;
  }

  .footer-col:not(.footer-brand) ul li {
    font-size: 14px !important;
    margin-bottom: 8px !important;
    text-align: left !important;
  }

  /* Create 2-column layout for the 4 footer-col divs */
  .footer-col:nth-child(2),
  .footer-col:nth-child(3),
  .footer-col:nth-child(4),
  .footer-col:nth-child(5) {
    display: inline-block !important;
    width: calc(50% - 12px) !important;
    vertical-align: top !important;
    margin-right: 24px !important;
  }

  .footer-col:nth-child(3),
  .footer-col:nth-child(5) {
    margin-right: 0 !important;
  }

  .footer-desc {
    font-size: 14px !important;
    margin-bottom: 16px !important;
    text-align: left !important;
  }

  .footer-logo {
    width: 100px !important;
    margin-bottom: 12px !important;
  }

  .footer-social {
    margin-bottom: 16px !important;
  }

  .footer-bottom {
    font-size: 12px !important;
    margin-top: 40px !important;
    padding: 16px 16px !important;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 12px;
    /* left column 60% and right column 40% */
    grid-template-columns: 0.6fr 0.4fr !important;
    gap: 16px !important;
  }

  /* Brand spans full width above the two-column links */
  .footer-col.footer-brand {
    grid-column: 1 / -1 !important;
  }

  /* Ensure .footer-link items behave as grid items (override older inline-block rules) */
  .footer-col:nth-child(2),
  .footer-col:nth-child(3),
  .footer-col:nth-child(4),
  .footer-col:nth-child(5) {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
  }

  /* Keep simple helper for any footer-link selector too */
  .footer-col.footer-link {
    padding: 0 8px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
}

/* BRAND */

.footer-logo {
  width: 140px;
  margin-bottom: 16px;
}

.footer-desc {
  opacity: 0.9;
  margin-bottom: 20px;
  font-family: Instrument Sans;
  font-weight: 350;
  font-style: Regular;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;

}

/* SOCIAL */

.footer-social {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: #ffffff;
  color: #4b4bb5;
}

/* APPS */

.footer-apps {
  display: flex;
  gap: 12px;
}

.footer-apps img {
  height: 40px;
  cursor: pointer;
}

/* COLUMNS */

.footer-col h4 {
  margin-bottom: 16px;
  font-family: Instrument Sans;
  font-weight: 450;
  font-style: Medium;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0%;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-family: Instrument Sans;
  font-weight: 450;
  font-style: Medium;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;
}

.footer-col ul li a {
  color: #ffffff;
  opacity: 0.9;
  text-decoration: none;
}

.footer-col ul li a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* CONTACT */

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-contact i {
  opacity: 0.8;
}

/* BOTTOM */

.footer-bottom {
  margin-top: 60px;
  padding: 20px 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-family: Instrument Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;

}

.footer-bottom p {
  text-align: center !important;
}



/* Mobile tweaks: ensure headings and list text fit two-column layout */
@media (max-width: 480px) {
  .footer-col h4 {
    font-size: 20px !important;
    margin-bottom: 12px !important;
    line-height: 1.05 !important;
  }

  .footer-col ul li {
    font-size: 15px !important;
    margin-bottom: 8px !important;
    line-height: 1.25 !important;
  }

  /* Add horizontal padding inside each column so text doesn't hug the gutter */
  .footer-col {
    padding: 0 8px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  /* Slightly increase container gap so columns breathe */
  .footer-container {
    gap: 20px !important;
  }
}


/* RESPONSIVE */

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topper-card {
    position: relative;
    flex-direction: column;
    align-items: center;
    /* reserve space so image can overlap from top */
    padding: 235px 18px 22px;
    gap: 14px;
    overflow: visible;
  }

  .topper-left {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    display: block;
    z-index: 2;
  }

  .topper-left img {
    width: 285px;
    height: 285px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid #FFFFFF;
    display: block;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  }

  /* stars overlayed at bottom center of the image */
  .topper-left::after {
    content: "★ ★ ★ ★ ★";
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffcf33;
    font-size: 21px;
    z-index: 3;
  }

  .topper-center {
    text-align: center;
    margin-left: 0;
    width: 100%;
  }

  .topper-center h4 {
    font-size: 22px;
    font-weight: 500 !important;
    margin-top: 8px;
  }

  .topper-center span {
    display: block;
    font-size: 15px;
    font-weight: 500 !important;
    margin-top: 6px;
  }

  .topper-center small {
    display: block;
    font-size: 13px;
    font-weight: 500 !important;
    margin-top: 4px;
  }

  .topper-center .stars {
    display: none;
  }

  .topper-right {
    display: none;
  }
}

