@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* ===== RESET & BASE ===== */
* {
  font-family: "Lato", sans-serif;
}

*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

:root {
  --primary: #e31e24;
  --primary-dark: #c01a1f;
  --secondary: #1a1a2e;
  --accent: #f5a623;
  --green: #4caf50;
  --bg-light: #f9f9f9;
  --bg-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-gray: #666666;
  --text-light: #999999;
  --border: #e0e0e0;
  --font: 'Segoe UI', 'Roboto', Arial, sans-serif;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* ---------- Popup ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 24px 12px;
  z-index: 1000;
}

.overlay.open {
  display: flex;
}

.mymodal {
  position: relative;
  margin: auto;
  width: min(420px, 100%);
  background: #fff;
  color: #1c1c1e;
  border-radius: 22px;
  padding: 20px 16px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: none;
  outline: none;
}

.mymodal .close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: #777;
  cursor: pointer;
}

.mymodal .thanks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.mymodal .thanks h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
}

.mymodal .ok {
  margin: 6px 0 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

.mymodal .hint {
  margin: 0 0 14px;
  font-size: 12px;
}

.mymodal .hint b {
  font-weight: 600;
}

.mymodal .box {
  border: 1px solid #9a9a9a;
  padding: 14px 14px 16px;
  text-align: left;
}

.mymodal .box h3 {
  margin: 0 0 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}

.mymodal .qe {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mymodal .pkgs {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.mymodal .pkg {
  position: relative;
  background: #fff;
  border: 1.5px solid #1c1c1e;
  border-radius: 6px;
  padding: 10px 4px 6px;
  font: 600 9px/1.25 "Poppins", sans-serif;
  color: #1c1c1e;
  cursor: pointer;
  text-align: center;
}

.mymodal .pkg small {
  display: block;
  margin-top: 2px;
  font-size: 8px;
  font-weight: 600;
  color: var(--green);
}

.mymodal .pkg.on {
  border-color: #e5a91a;
  box-shadow: 0 0 0 1px #e5a91a;
}

.mymodal .tag {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #e5a91a;
  color: #3a2a00;
  border-radius: 4px 4px 0 0;
  font-size: 7px;
  font-weight: 600;
  padding: 1px 10px;
}

.mymodal .dur {
  border: 1px solid #9a9a9a;
  border-radius: 6px;
  margin: 0 0 18px;
  padding: 6px 14px 18px;
}

.mymodal .dur legend {
  margin: 0 auto;
  padding: 0 6px;
  font-size: 10px;
  color: #888;
}

.mymodal .tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0 18px;
}

.mymodal .tab {
  position: relative;
  border: 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
  padding: 7px 2px;
  font: 600 12px "Poppins", sans-serif;
  color: #222;
  cursor: pointer;
  overflow: initial;
  text-align: center;
}

.mymodal .tab.on {
  background: var(--red);
  color: #fff;
  box-shadow: none;
}

.mymodal .best {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: #e5a91a;
  color: #3a2a00;
  font-size: 7px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

.mymodal .row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  margin: 0 6px 8px;
}

.mymodal .row.g {
  color: var(--green);
  font-size: 11px;
  font-weight: 500;
}

.mymodal .row.t {
  border-top: 1px solid #333;
  margin-top: 10px;
  padding-top: 12px;
  font-size: 15px;
}

.mymodal .total {
  margin: 0 6px;
}

.mymodal .coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #444;
  border-radius: 5px;
  margin: 16px 34px 4px;
  padding: 3px 10px;
}

.mymodal .coupon input {
  border: 0;
  outline: 0;
  background: none;
  font: 500 11px "Poppins", sans-serif;
  width: 100%;
  color: #1c1c1e;
}

.mymodal .coupon input::placeholder {
  color: #333;
}

.coupon button {
  border: 0;
  background: none;
  color: var(--green);
  font: 600 10px "Poppins", sans-serif;
  cursor: pointer;
}

.mymodal .msg {
  min-height: 14px;
  margin: 0 34px 8px;
  font-size: 10px;
  text-align: left;
}

.msg.ok {
  color: var(--green);
}

.msg.err {
  color: var(--red);
}

.pay {
  display: block;
  margin: 6px auto 0;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 9px 18px;
  font: 600 12px "Poppins", sans-serif;
  cursor: pointer;
}

.status {
  margin: 8px 0 0;
  font-size: 11px;
  color: #666;
  text-align: center;
  min-height: 14px;
}

button:focus-visible,
input:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .mymodal {
    animation: pop 0.22s ease-out;
  }
}

@keyframes pop {
  from {
    transform: scale(0.96);
    opacity: 0;
  }

  to {
    transform: none;
    opacity: 1;
  }
}

#FormModal .modal-content {
  background-color: transparent !important;
  border: none !important;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 500px;
  background-image: url(https://cdn.motion.ac.in/ssp/img/jee-neet-online-study-img/dekstop-bg.png);
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

/* Right side decorative curve */
.hero__side-curve {
  position: absolute;
  right: 0;
  top: 0;
  height: auto;
  width: 220px;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}

/* Inner wrapper */
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Left content */
.hero__content {
  flex: 1;
  max-width: 420px;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-block;
  background: #EEE6F5;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.hero__badge span {
  color: #000;
  font-weight: 600;
}

.hero__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.hero__title .highlight {
  color: #AE651D;
}

.hero__jee {
  font-size: 79px;
  font-weight: 900;
  color: #BF0505;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 1px;
}


/* Brush text box for STUDY PACKAGE */
.hero__study-pkg {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.hero__study-pkg img {
  display: block;
  max-width: 380px;
}

.hero__study-pkg__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* CTA box */
.hero__cta-box {
  background: #1A71B8;
  color: #fff;
  border-radius: 8px 8px 0 0;
  padding: 15px 35px;
  max-width: 500px;
  text-align: left;
}

.hero__cta-box p {
  font-size: 18px;
  text-align: left;
  font-weight: 700;
  margin-bottom: 4px;
  position: relative;
}

.hero__cta-box p::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -10px;
  width: 3px;
  height: 40px;
  background: #fff;
}

.hero__cta-box a {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

/* Center: student image */
.hero__image {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__image img {
  height: 400px;
  position: relative;
  left: 40px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.10));
}

/* Right: Register form card */
.hero__form-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
  padding: 28px 28px 24px;
  width: 320px;
  margin: auto;
  flex-shrink: 0;
  z-index: 2;
  align-self: center;
  text-align: center;
}

.right h4 {
  color: #449348;
  font-size: 30px;
  font-weight: 800;
}

.hero__form-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 18px;
  text-align: center;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 4px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font);
}

.form-group input:focus,
.form-group select:focus {
  border-color: #e31e24;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero__form-card .btn--submit {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  font-size: 16px;
  font-weight: 700;
  background: #e31e24;
  color: #fff;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s;
}

.hero__form-card .btn--submit:hover {
  background: #c01a1f;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  width: calc(100% - 120px);
  max-width: 1154px;
  margin: -30px auto 0;
  position: relative;
  z-index: 3;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

/* Desktop: hide stats bar inside hero__inner */
.hero__inner .stats-bar {
  display: none;
}

/* Desktop stats bar: shown outside hero */
.stats-bar--desktop {
  display: flex;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 40px;
  border-right: 1.5px solid var(--border);
  flex: 1;
  justify-content: center;
  cursor: default;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-item__value {
  font-size: 22px;
  font-weight: 800;
  color: #e31e24;
  line-height: 1.2;
}

.stat-item__label {
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 500;
}

.stat-item__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.mobile-bottom {
  display: none;
}

.hero__form-card .form-row .form-group select {
  background-color: #fff !important;
  color: #495057 !important;
}

.section_eight {
  padding: 60px 0;
  text-align: center;
}

.section_eight h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section_eight h3 span {
  color: #e53935;
  /* apna brand color */
}

.section_eight .para {
  max-width: 800px;
  margin: 0 auto 35px;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* Slider */
.slider_achievers {
  margin: 0 -15px;
  /* gap compensate */
  padding-bottom: 40px;
  /* dots ke liye space */
}

.slider_achievers .results_img {
  padding: 0 15px;
  /* slides ke beech gap */
  outline: none;
}

.slider_achievers .results_img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Dots */
.slider_achievers .slick-dots {
  bottom: 0;
  display: flex !important;
  justify-content: center;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.slider_achievers .slick-dots li {
  margin: 0;
  width: auto;
  height: auto;
}

.slider_achievers .slick-dots li button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  font-size: 0;
  /* number hide */
  padding: 0;
  border: 0;
  cursor: pointer;
  transition: all 0.3s;
}

.slider_achievers .slick-dots li button:before {
  display: none;
  /* slick ka default dot hatao */
}

.slider_achievers .slick-dots li.slick-active button {
  background: #e53935;
  width: 28px;
  /* active dot lamba */
  border-radius: 10px;
}


.slick-slide {
  height: auto !important;
}

.thumbnail-slider {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 50px;
  /* dots ke liye jagah */
}

/* Cards ke beech gap (slick ka recommended tarika) */
.thumbnail-slider .slick-list {
  margin: 0 -12px;
  padding: 10px 0 20px;
  /* shadow cut na ho */
}

.thumbnail-slider .slick-slide {
  margin: 0 12px;
  height: auto;
  outline: none;
}

/* Sab cards ki height barabar */
.thumbnail-slider .slick-track {
  display: flex;
}

.thumbnail-slider .slick-slide>div,
.thumbnail-slider .thumbnail_content {
  height: auto;
}

/* Card */
.thumbnail_content {
  display: flex !important;
  /* slick ke inline display ko override */
  flex-direction: column;
  justify-content: space-between;
  background: #fffdf9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 18px 18px 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}

.thumb_desc {
  font-size: 15px;
  line-height: 1.55;
  color: #333;
  margin: 0 0 22px;
}

.thumb_desc .read_more {
  display: none;
  /* screenshot me "..." ke baad text nahi dikh raha */
}

/* Bottom row: photo left, text right */
.thumb_con {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
}

.thumb_img {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #8b1e2d;
  /* maroon border */
  overflow: hidden;
  background: #fff;
}

.thumb_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb_text {
  text-align: right;
}

.thumb_name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #000;
}

.thumbCourse {
  margin: 0;
  font-size: 13px;
  color: #666;
}

/* Dots */
.thumbnail-slider .slick-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex !important;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.thumbnail-slider .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}

.thumbnail-slider .slick-dots li button {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c4c4c4;
  font-size: 0;
  /* number text hide */
  cursor: pointer;
  transition: background 0.3s;
}

.thumbnail-slider .slick-dots li button:before {
  display: none;
  /* slick ka default dot hatao */
}

.thumbnail-slider .slick-dots li.slick-active button {
  background: #111;
}

/* Mobile */
@media (max-width: 640px) {
  .thumb_img {
    width: 70px;
    height: 70px;
  }

  .thumb_desc {
    font-size: 14px;
  }

  .thumbnail-slider .slick-dots {
    gap: 8px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .section_eight {
    padding: 40px 0;
  }

  .section_eight h3 {
    font-size: 26px;
  }

  .section_eight .br_remove {
    display: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .navbar {
    padding: 12px 30px;
  }

  .hero__inner {
    padding: 30px 30px;
    gap: 16px;
  }

  .hero__jee {
    font-size: 44px;
  }

  .hero__image img {
    height: 300px;
  }

  .hero__form-card {
    width: 260px;
    padding: 20px 18px;
  }

  .stats-bar {
    padding: 0 20px;
    flex-wrap: wrap;
  }

  .stat-item {
    padding: 16px 24px;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    justify-content: space-between;
  }

  .hero__content {
    max-width: 50%;
  }
}

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

  .navbar__links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    gap: 16px;
    z-index: 999;
  }

  .hero__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 10px;
  }

  /* Mobile order: content → image → stats → form */
  .hero__content {
    max-width: 100%;
    order: 1;
  }

  .hero__image {
    display: flex;
    order: 2;
  }

  .hero__image img {
    height: 340px;
    left: 0px;
  }

  .mobile-bottom {
    position: absolute;
    bottom: 0;
    display: block;
  }

  /* Mobile: hide desktop stats bar, show inside hero */
  .stats-bar--desktop {
    display: none;
  }

  .hero__inner .stats-bar {
    display: flex;
    order: 3;
    margin: 0;
    width: 100%;
    border-radius: 10px;
    padding: 0 0px;
  }

  .hero__form-card {
    order: 1;
    width: 100%;
    max-width: 360px;
  }

  .hero__jee {
    font-size: 48px;
  }

  .stats-bar {
    flex-wrap: wrap;
    margin: 0 15px;
    width: auto;
  }

  .stat-item {
    width: 25%;
    padding: 14px 10px;
    display: block;
  }

  .stat-item:nth-child(even) {
    border-right: none;
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .stat-item__value {
    font-size: 12px;
  }

  .stat-item__icon {
    width: 26px;
    height: 26px;
  }

  .form-group label {
    text-align: left;
  }

  .hero__cta-box p::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__side-curve {
    width: 140px;

  }

  .hero__jee {
    font-size: 30px;
  }

  .hero__badge {
    font-size: 14px;
    padding: 5px 14px;
  }

  .hero__title {
    font-size: 26px;
  }

  .hero__study-pkg img {
    max-width: 100%;
  }

  .hero__study-pkg__text {
    font-size: 20px;
  }

  .hero__cta-box {
    width: 100%;
    max-width: 100%;
    padding: 10px 20px;
    text-align: center;
  }

  .hero__cta-box p {
    font-size: 16px;
  }

  .hero__cta-box a {
    font-size: 16px;
  }



  .btn--large {
    padding: 12px 24px;
    font-size: 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
    display: block !important;
  }

  .hero {
    background: none;
  }
}

/* ===== PACKAGE BUILDER SECTION ===== */
.pkg-builder {
  padding: 70px 60px;
  background: #fff;
}

.pkg-builder__header {
  text-align: center;
  margin-bottom: 40px;
}

.pkg-builder__title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.pkg-builder__subtitle {
  font-size: 15px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Layout: left modules + right summary */
.pkg-builder__body {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
}

.pkg-builder__modules {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 45px;
}

/* ---- Module Card ---- */
.pkg-module {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 25px 20px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  background: #fff;
}

.pkg-module[data-selected="true"] {
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Module color themes */
.pkg-module[data-module="learn"][data-selected="true"] {
  background: linear-gradient(180deg, #BBDEFB -20.89%, #F4FAFF 122.95%);
  border: 1px solid #64B5F6;
}

.pkg-module[data-module="practice"][data-selected="true"] {
  background: linear-gradient(180deg, #FFEDD8 -10.48%, #FFFCFA 111.9%);
  border: 1px solid #E7BC91;
}

.pkg-module[data-module="testseries"][data-selected="true"] {
  background: linear-gradient(180deg, #ECE0F5 -12.38%, #FBF5FF 115.24%);
  border: 1px solid #A874D2
}

.pkg-module__top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* Custom Checkbox */
.pkg-module__check {
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
}

.pkg-module__check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pkg-module__checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 2px solid #ccc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
}

.pkg-module__checkbox::after {
  content: '';
  display: none;
  width: 6px;
  height: 11px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

/* Checked state per module */
.pkg-module[data-module="learn"] .pkg-module__check input:checked~.pkg-module__checkbox {
  background: #2196f3;
  border-color: #2196f3;
}

.pkg-module[data-module="learn"] .pkg-module__check input:checked~.pkg-module__checkbox::after {
  display: block;
}

.pkg-module[data-module="practice"] .pkg-module__check input:checked~.pkg-module__checkbox {
  background: #c68a2a;
  border-color: #c68a2a;
}

.pkg-module[data-module="practice"] .pkg-module__check input:checked~.pkg-module__checkbox::after {
  display: block;
}

.pkg-module[data-module="testseries"] .pkg-module__check input:checked~.pkg-module__checkbox {
  background: #7c3aed;
  border-color: #7c3aed;
}

.pkg-module[data-module="testseries"] .pkg-module__check input:checked~.pkg-module__checkbox::after {
  display: block;
}

.pkg-module .pkg-module__features {
  display: none !important;
  margin-top: 10px;
}

.pkg-module .pkg-module__features.active {
  display: block !important;
  max-height: none !important;
  opacity: 1 !important;
  overflow: visible !important;
}

/* Check icons */
.check-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

.check-icon--lg {
  width: 32px;
  height: 32px;
}

/* Module info */
.pkg-module__info {
  flex: 1;
}

.pkg-module__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pkg-module__summary {
  font-size: 16px;
  color: #2D2D2D;
  line-height: 1.5;

}

.pkg-module__toggle {
  background: none;
  border: none;
  color: #e31e24;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-family: var(--font);
}

.pkg-module__toggle:hover {
  text-decoration: underline;
}

/* Features grid (expanded) */
.pkg-module__features {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pkg-module__features.open {
  display: block;
}

.pkg-module__features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 12px;
}

.pkg-module__features-grid span {
  font-size: 16px;
  color: #2D2D2D;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pkg-module__features-grid span i {
  color: var(--green);
  font-size: 12px;
  flex-shrink: 0;
}

.pkg-module__toggle--less {
  display: block;
  margin-top: 4px;
}

/* ---- Right: Package Summary Card ---- */
.pkg-summary {
  width: 300px;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
  position: sticky;
  top: 80px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.pkg-summary__title {
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 18px;
  color: var(--text-dark);
}

/* Duration selector */
.pkg-duration__label {
  text-align: center;
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.pkg-duration__label::before,
.pkg-duration__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.pkg-duration__btns {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.pkg-dur-btn {
  flex: 1;
  padding: 0px 4px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  background: #fff;
  font-size: 14px;
  line-height: 30px;

  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark);
  transition: all 0.2s;
  position: relative;
  font-family: var(--font);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.pkg-dur-btn.active {
  background: #e31e24;
  border-color: #e31e24;
  color: #fff;
}

.pkg-dur-btn:hover:not(.active) {
  border-color: #e31e24;
  color: #e31e24;
}

.pkg-dur-btn__badge {
  background: var(--accent);
  color: #fff;
  font-size: 8px;
  line-height: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.3px;
  position: absolute;
  top: -10px;
}

/* Price breakdown */
.pkg-summary__breakdown {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-bottom: 16px;
}

.pkg-breakdown__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-dark);
}

.pkg-breakdown__row--total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 10px;
  font-weight: 700;
}

.pkg-breakdown__row--total .pkg-breakdown__price {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-dark);
}

.pkg-breakdown__discount {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

/* Empty state */
.pkg-summary__empty {
  text-align: center;
  padding: 28px 10px;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
}

.pkg-summary__empty i {
  font-size: 32px;
  color: #bbb;
  margin-bottom: 10px;
}

.pkg-summary__empty p {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pkg-summary__empty span {
  font-size: 13px;
  color: var(--text-gray);
}

/* Buy Now button */
.pkg-summary__buy {
  width: 100%;
  padding: 14px;
  background: #e31e24;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s, transform 0.1s;
}

.pkg-summary__buy:hover {
  background: #c01a1f;
  transform: translateY(-1px);
}

.pkg-summary__buy:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* ===== PACKAGE BUILDER RESPONSIVE ===== */
@media (max-width: 900px) {
  .pkg-builder {
    padding: 50px 30px;
  }

  .pkg-builder__body {
    flex-direction: column;
  }

  .pkg-summary {
    width: 100%;
    position: static;
  }
}

@media (max-width: 600px) {
  .pkg-builder {
    padding: 40px 16px;
  }

  .pkg-builder__title {
    font-size: 24px;
  }

  .pkg-module__features-grid {
    grid-template-columns: 1fr;
  }

  .pkg-duration__btns {
    gap: 6px;
  }
}

/* ===== MOBILE PACKAGE BUILDER ===== */

/* Desktop pe hide */
.pkg-mobile {
  display: none;
}

@media (max-width: 768px) {

  /* Desktop layout hide, mobile show */
  .pkg-builder__body {
    display: none;
  }

  .pkg-mobile {
    display: block;
    padding-bottom: 40px;
    /* space for sticky bar */
  }

  .pkg-builder {
    padding: 40px 16px 0;
  }

  .pkg-builder__title {
    font-size: 22px;
  }

  .pkg-builder__subtitle {
    font-size: 13px;
  }

  .pkg-mobile__hint {
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
    margin: 16px 0 12px;
  }

  .pkg-mobile__section-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
  }

  /* ---- Icon Cards ---- */
  .pkg-mobile__cards {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
  }

  .pkg-mobile__card {
    flex: 1;
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 14px 8px 10px;
    text-align: center;
    cursor: pointer;
    position: relative;
    background: #fff;
    transition: all 0.2s;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
  }

  .pkg-mobile__card-check {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
    transition: all 0.2s;
  }

  .pkg-mobile__card-check.packegss {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 4px;
    position: relative;
  }

  .pkg-mobile__card-check.packegss.on.active::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: #fff;
  }

  .pkg-mobile__card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    background: #f0f0f0;
  }

  .pkg-mobile__card-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

  /* Selected states */
  .pkg-mobile__card[data-module="learn"].selected {
    background: #e8f4fd;
    border-color: #2196f3;
  }

  .pkg-mobile__card[data-module="learn"] .pkg-mobile__card-check.packegss.on.active {
    background: #2196f3;
    border-color: #2196f3;
  }

  .pkg-mobile__card[data-module="learn"] .pkg-mobile__card-check.packegss.on.active .pkg-mobile__card-icon {
    background: #bbdefb;
  }

  .pkg-mobile__card[data-module="practice"] .selected {
    background: #fdf3e3;
    border-color: #c68a2a;
  }

  .pkg-mobile__card[data-module="practice"] .pkg-mobile__card-check.packegss.on.active {
    background: #c68a2a;
    border-color: #c68a2a;
  }

  .pkg-mobile__card[data-module="practice"] .pkg-mobile__card-check.packegss.on.active .pkg-mobile__card-icon {
    background: #ffe0b2;
  }

  .pkg-mobile__card[data-module="testseries"].selected {
    background: #f0eafd;
    border-color: #7c3aed;
  }

  .pkg-mobile__card[data-module="testseries"] .pkg-mobile__card-check.packegss.on.active {
    background: #7c3aed;
    border-color: #7c3aed;
  }

  .pkg-mobile__card[data-module="testseries"] .pkg-mobile__card-check.packegss.on.active .pkg-mobile__card-icon {
    background: #e9d5ff;
  }

  .pkg-mobile__card .pkg-mobile__card-check.packegss.on.active .pkg-mobile__card-check::after {
    display: block;
  }

  /* ---- Quick Picks ---- */
  .pkg-mobile__quickpicks {
    margin-bottom: 24px;
  }

  .pkg-mobile__chips {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 5px 0 10px;
  }

  .pkg-chip {
    padding: 7px 14px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.2s;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .pkg-chip.active {
    background: #fff0f0;
    border-color: #e31e24;
    color: #e31e24;
  }

  /* ---- Duration ---- */
  .pkg-mobile__duration {
    margin-bottom: 24px;
  }

  .pkg-mobile__dur-btns {
    display: flex;
    gap: 10px;
  }

  .pkg-mobile__dur-btn {
    flex: 1;
    padding: 10px 4px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    font-family: var(--font);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    transition: all 0.2s;
    position: relative;
  }

  .pkg-mobile__dur-btn.active {
    border-color: var(--accent);
    background: #fff8ee;
    color: var(--text-dark);
  }

  .pkg-mobile__dur-btn .pkg-dur-btn__badge {
    font-size: 9px;
    background: var(--accent);
    color: #000;
    padding: 2px 5px;
    border-radius: 3px;
  }

  /* ---- Accordion ---- */
  .pkg-mobile__accordion {
    margin-bottom: 24px;
  }

  .pkg-acc-item {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
  }

  .pkg-acc-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-dark);
    user-select: none;
  }

  .pkg-acc-item__arrow {
    font-size: 20px;
    color: var(--text-gray);
    transition: transform 0.3s;
    line-height: 1;
  }

  .pkg-acc-item.open .pkg-acc-item__arrow {
    transform: rotate(180deg);
  }

  .pkg-acc-item__body {
    display: none;
    padding: 0 16px 16px;
    border-top: 1px solid var(--border);
  }

  .pkg-acc-item.open .pkg-acc-item__body {
    display: block;
  }

  .pkg-acc-item__desc {
    font-size: 13px;
    color: var(--text-gray);
    margin: 10px 0 10px;
  }

  .pkg-acc-item__body ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .pkg-acc-item__body ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-dark);
  }

  /* ---- Sticky Bottom Bar ---- */
  .pkg-mobile__sticky {

    background: #fff;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    z-index: 999;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.10);
  }

  .pkg-mobile__sticky-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .pkg-mobile__sticky-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
  }

  .pkg-mobile__sticky-meta {
    font-size: 12px;
    color: var(--text-gray);
  }

  .pkg-mobile__sticky-buy {
    background: #e31e24;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    font-family: var(--font);
    text-align: center;
    line-height: 1.4;
    min-width: 110px;
  }

  .pkg-mobile__sticky-buy span {
    display: block;
    font-size: 15px;
    font-weight: 900;
  }

}

/* ===== WHY CHOOSE SECTION ===== */
.why-choose {
  padding: 70px 60px;
  background: #fff;
}

.why-choose__header {
  text-align: center;
  margin-bottom: 48px;
}

.why-choose__title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-dark);
}

/* 3-column grid */
.why-choose__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Card */
.why-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.why-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
}

.why-card__num {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #e31e24;
  background: #fff0f0;
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.why-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.why-card__desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
  .why-choose {
    padding: 50px 30px;
  }

  .why-choose__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-choose {
    padding: 40px 16px;
  }

  .why-choose__title {
    font-size: 24px;
  }

  .why-choose__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FAQ SECTION ===== */
.faq {
  padding: 70px 60px;
  background: #fff;
}

.faq__header {
  text-align: center;
  margin-bottom: 48px;
}

.faq__title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-dark);
}

.faq__list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* FAQ Item */
.faq__item {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}

.faq__item.open {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  font-family: var(--font);
  line-height: 1.4;
}

.faq__question:hover {
  background: #fafafa;
}

.faq__icon {
  font-size: 18px;
  color: var(--text-gray);
  flex-shrink: 0;
  transition: transform 0.35s ease;
  line-height: 1;
  transform: rotate(90deg);
}

/* Open state — rotate down arrow to point right */
.faq__item.open .faq__icon {
  transform: rotate(-90deg);
}

/* Answer */
.faq__answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq__item.open .faq__answer {
  max-height: 300px;
  padding: 0 24px 20px;
  border-top: 1px solid var(--border);
}

.faq__answer p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  padding-top: 14px;
  transition: opacity 0.3s ease;
}

/* Responsive */
@media (max-width: 900px) {
  .faq {
    padding: 50px 30px;
  }
}

@media (max-width: 600px) {
  .faq {
    padding: 40px 16px;
  }

  .faq__title {
    font-size: 24px;
  }

  .faq__question {
    font-size: 14px;
    padding: 16px 16px;
  }

  .faq__answer {
    padding: 0 16px 16px;
  }
}