/* styles.css */
:root {
  --bg1: #0b6d78;
  --bg2: #0f8a90;
  --bg3: #7fb07a;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .82);
  --muted2: rgba(255, 255, 255, .70);
  --orange: #ff9f2f;
  --orange2: #ff8c1f;
  --shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #f5f7f9;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global Typography Scaling */
h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 6vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

/* HERO WRAPPER */
.hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  height: 65vh;
  max-height: 720px;
  overflow: hidden;
  border-bottom-right-radius: 180px;
}

/* Background image + overlay */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.hero__bg::after {
  content: "";
  /* display: none; <-- Reverted */
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(7, 91, 101, .88) 0%,
      rgba(10, 117, 127, .78) 45%,
      rgba(123, 176, 122, .40) 100%);
  z-index: 2;
}


.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* User requested "don't crop" */
  object-position: bottom right;
  /* transform removed to prevent cutting off */
  z-index: 1;
}


.nav {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 38px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #111827;
  min-width: 210px;
}

.brand__mark {
  display: none;
}

/* hide the old CSS shape */

.brand__logo {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 600px) {
  .brand__logo {
    height: 50px;
  }
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .2px;
}

.brand__tag {
  font-size: 10px;
  opacity: .85;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  margin-right: 14px;
}

.nav__link {
  color: #4b5563;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 2px;
  position: relative;
  white-space: nowrap;
}

.nav__link:hover {
  color: #111827;
}

.nav__link.is-active {
  color: #111827;
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: rgba(255, 255, 255, .75);
  border-radius: 99px;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange2) 100%);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  box-shadow: 0 10px 20px rgba(255, 140, 31, .22);
  white-space: nowrap;
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(255, 140, 31, .28);
}

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(0, 0, 0, .04);
  border-radius: 12px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 5px auto;
  background: #111827;
  border-radius: 99px;
}

/* CONTENT */
/* .hero__content update */
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-start;
  /* Moved up further as requested */
  padding: 60px 38px 40px;
}

.hero__left {
  max-width: 640px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  user-select: none;
}

.eyebrow__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 10px 18px rgba(255, 140, 31, .30);
}

.eyebrow__text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .9px;
  color: rgba(255, 255, 255, .90);
}

.hero__title {
  margin: 0 0 18px;
  font-size: clamp(38px, 4.3vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.5px;
  color: #0c1015;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.hero__desc {
  margin: 0 0 26px;
  max-width: 520px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
}

.btn--primary {
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange2) 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(255, 140, 31, .26);
}

.btn--ghost {
  color: rgba(255, 255, 255, .92);
  padding: 0 10px;
  height: auto;
  border-radius: 0;
  gap: 10px;
  font-weight: 700;
}

.btn__play {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  font-size: 10px;
  transform: translateY(-.5px);
  opacity: .95;
}

/* RESPONSIVE NAVIGATION */
@media (max-width: 980px) {
  .nav {
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(5, 8, 16, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px;
    order: 2;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .nav__toggle span {
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
  }

  .nav__toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__toggle.is-active span {
    background: #ff9f2f !important;
  }

  .nav__toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav__links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #050810;
    /* Dark theme for consistency */
    flex-direction: column;
    gap: 16px;
    padding: 30px 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999999;
    margin: 0;
    display: flex;
    height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav__links.is-open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    padding: 0;
    border: none;
    color: #ffffff;
    /* Light text for dark menu */
  }

  .nav__links .nav__link--login {
    display: none !important;
  }

  .nav__links .nav__cta--register,
  .nav__links .nav__cta--profile {
    width: 100%;
    min-height: 50px;
    font-size: 16px;
    margin-top: 20px;
    display: flex !important;
  }

  /* Hide header CTAs on mobile since they are now in the drawer */
  .nav>.nav__cta,
  .nav>.nav__link {
    display: none !important;
  }

  .nav.nav--solid-mobile {
    background: rgba(5, 8, 16, 0.95) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav.nav--solid-mobile .brand {
    color: #ffffff !important;
  }

  .nav.nav--solid-mobile .brand__tag {
    color: rgba(255, 255, 255, 0.6) !important;
  }

  .brand__text {
    display: flex;
  }

  .brand__name {
    font-size: 14px;
  }

  .brand__tag {
    font-size: 9px;
  }
}

/* ===== RESPONSIVE MOBILE (DESKTOP LAYOUT MAINTAINED) ===== */

/* Tablet and below - Scale down while keeping desktop layout */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    height: auto;
    border-bottom-right-radius: 60px;
    padding-bottom: 40px;
  }

  .hero__content {
    padding: 30px 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero__left {
    max-width: 100%;
  }

  .eyebrow {
    justify-content: center;
  }

  .hero__title {
    font-size: clamp(2rem, 10vw, 3rem);
    text-underline-offset: 4px;
    margin-bottom: 20px;
  }

  .hero__desc {
    max-width: 100%;
    font-size: 14px;
    margin-bottom: 30px;
  }

  .hero__actions {
    justify-content: center;
    width: 100%;
    flex-direction: column;
    gap: 16px;
  }

  .btn {
    width: 100%;
    height: 52px;
    font-size: 15px;
  }
}

/* Phone - Specific adjustments */
@media (max-width: 600px) {
  .hero {
    border-bottom-right-radius: 40px;
  }

  .hero__bg::after {
    background: linear-gradient(180deg,
        rgba(7, 91, 101, 0.9) 0%,
        rgba(10, 117, 127, 0.85) 60%,
        rgba(10, 117, 127, 0.7) 100%);
  }
}

/* Add this at the END of styles.css */

/* ===== SECTION 2 (POPULAR COURSES) – FULL WIDTH UPDATE (PASTE THIS WHOLE BLOCK) ===== */

/* full width background like screenshot */
.courses {
  background: #eef2f4;
  padding: 32px 0 44px;
  color: #0d0f12;
}

/* remove container limit so it spans full page */
.courses__container {
  max-width: none;
  margin: 0;
  padding: 0 56px;
  /* desktop side spacing */
}

/* top row layout */
.courses__top {
  display: grid;
  grid-template-columns: 360px 1fr 220px;
  align-items: start;
  gap: 28px;
  margin-bottom: 22px;
}

.courses__kicker {
  font-size: 12px;
  font-weight: 700;
  color: #101318;
  margin-bottom: 6px;
}

.courses__title {
  margin: 0;
  font-size: 52px;
  /* bigger like screenshot */
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -1px;
}

.courses__mid {
  display: flex;
  gap: 18px;
  padding-top: 10px;
}

.courses__pipe {
  width: 2px;
  height: 48px;
  background: #ff9f2f;
  border-radius: 99px;
  margin-top: 6px;
  flex: 0 0 auto;
}

.courses__desc {
  margin: 0;
  max-width: 620px;
  font-size: 13px;
  line-height: 1.75;
  color: #58626b;
  font-weight: 500;
}

.courses__right {
  display: flex;
  justify-content: flex-end;
  padding-top: 6px;
}

.courses__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9f2f 0%, #ff8c1f 100%);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .35px;
  box-shadow: 0 12px 24px rgba(255, 140, 31, .22);
}

/* cards row */
.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.course-card {
  background: #fff;
  border: 1px solid #dfe6eb;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
}

.course-card__img {
  aspect-ratio: 3300 / 2550;
  background: #f3f4f6;
  overflow: hidden;
}

.course-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.course-card__title {
  margin: 16px 16px 14px;
  font-size: 34px;
  /* bigger like screenshot */
  line-height: 1.05;
  font-weight: 900;
  color: #0c1015;
}

.course-card__more {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  margin: 0 14px 14px;
  border-radius: 3px;
  background: #3f86c6;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.course-card__more:hover {
  filter: brightness(.95);
}

/* responsive - maintain desktop layout, only scale sizes */
@media (max-width: 1100px) {
  .courses__container {
    padding: 0 22px;
  }

  .courses__top {
    grid-template-columns: 1fr;
  }

  .courses__right {
    justify-content: flex-start;
  }
}

/* Professional Grid for Mobile */
@media (max-width: 980px) {
  .courses__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .courses__container {
    padding: 0 18px;
  }

  .courses__title {
    font-size: 44px;
  }

  .course-card__title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .courses {
    padding: 28px 0 36px;
  }

  .courses__container {
    padding: 0 16px;
  }

  .courses__title {
    font-size: 38px;
  }

  .courses__desc {
    font-size: 12px;
  }

  .course-card__title {
    font-size: 24px;
  }

  .courses__grid {
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .courses__container {
    padding: 0 12px;
  }

  .courses__title {
    font-size: 32px;
  }

  .courses__kicker {
    font-size: 10px;
  }

  .courses__desc {
    font-size: 11px;
  }

  .course-card__title {
    font-size: 20px;
    margin: 12px 12px 10px;
  }

  .course-card__more {
    height: 32px;
    font-size: 11px;
  }

  .courses__grid {
    gap: 12px;
  }
}

@media (max-width: 400px) {
  .courses__title {
    font-size: 28px;
  }

  .course-card__title {
    font-size: 18px;
  }
}

/* ===== 3rd SECTION (WHY) – UPDATED FULL-WIDTH CSS (PASTE THIS WHOLE BLOCK) ===== */

.why {
  background: #eef2f4;
  padding: 0;
}

.why__wrap {
  max-width: none;
  margin: 0;
  padding: 0;
}

.why__inner {
  position: relative;
  width: 100%;
  min-height: 240px;
  background: #0b7e8c;
  overflow: hidden;
  padding: 34px 64px;
}

/* background photo + overlay */
.why__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .18)),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1800&q=60");
  background-size: cover;
  background-position: center;
  opacity: .28;
  pointer-events: none;
}

.why__inner>* {
  position: relative;
  z-index: 1;
}

/* left 3 columns */
.why__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px;

  /* reserve space for right card */
  padding-right: 410px;
}

.why__item {
  color: #fff;
}

.why__num {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .7px;
  color: #ff9f2f;
  margin-bottom: 12px;
}

.why__h {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
}

.why__p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .85);
  max-width: 280px;
}

/* right white card */
.why__card {
  position: absolute;
  right: 64px;
  top: 9%;
  transform: translateY(-50%);
  width: 360px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .16);
  padding: 22px 24px;
}

.why__chip {
  font-size: 11px;
  font-weight: 800;
  color: #2d7f8a;
  margin-bottom: 10px;
}

.why__cardTitle {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
  color: #0c1015;
}

.why__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .35px;
  color: #0c1015;
}

.why__play {
  font-size: 10px;
  transform: translateY(-.5px);
}

/* responsive */
@media (max-width: 1100px) {
  .why__inner {
    padding: 26px 22px;
  }

  .why__features {
    grid-template-columns: 1fr;
    padding-right: 0;
    gap: 18px;
    max-width: 560px;
  }

  .why__p {
    max-width: 100%;
  }

  .why__card {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin-top: 22px;
  }
}

@media (max-width: 640px) {
  .why__inner {
    padding: 22px 16px;
  }

  .why__h {
    font-size: 18px;
  }

  .why__cardTitle {
    font-size: 22px;
  }
}

/* SECTION 3 small fix: +30px height + center the right card
   (paste AFTER your existing .why / .why__wrap / .why__inner styles) */

.why__wrap {
  padding: 15px 0;
  /* adds ~30px total height (15 top + 15 bottom) */
}

.why__inner {
  align-items: center;
  /* vertically center everything including the card */
}

.why__card {
  align-self: center;
  /* ensure the box is centered in its column */
}

/* Move the Section 3 right card UP */
.why__card {
  margin-bottom: 38px;
  /* increase/decrease value as you like */
}

/* SECTION 4 (Why Choose Us) – paste this block into styles.css */

/* full width like screenshot */
.choose {
  background: #eef2f4;
  padding: 56px 0;
}

.choose__container {
  max-width: none;
  margin: 0;
  padding: 0 56px;
  /* desktop spacing */
}

.choose__grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 56px;
  align-items: start;
}

/* left */
.choose__kicker {
  font-size: 13px;
  font-weight: 900;
  color: #0c1015;
  margin-bottom: 14px;
}

.choose__title {
  margin: 0 0 14px;
  font-size: 62px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -1.2px;
  color: #0c1015;
}

.choose__desc {
  margin: 0;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.85;
  color: #56616a;
  font-weight: 500;
}

/* dot pattern bottom-left */
.choose__dots {
  width: 168px;
  height: 168px;
  margin-top: 70px;
  opacity: .35;
  background-image: radial-gradient(#8a97a3 1.8px, transparent 2px);
  background-size: 14px 14px;
  border-radius: 12px;
}

/* right list */
.choose__right {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 8px;
}

.choose__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  max-width: 680px;
}

.choose__icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9f2f 0%, #ff8c1f 100%);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  box-shadow: 0 12px 22px rgba(255, 140, 31, .20);
}

.choose__icon svg {
  width: 18px;
  height: 18px;
}

.choose__h {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  color: #0c1015;
}

.choose__p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #56616a;
  font-weight: 500;
}

/* responsive */
@media (max-width: 1100px) {
  .choose__container {
    padding: 0 22px;
  }

  .choose__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .choose__title {
    font-size: 48px;
  }

  .choose__dots {
    margin-top: 40px;
  }
}

@media (max-width: 560px) {
  .choose__container {
    padding: 0 16px;
  }

  .choose__title {
    font-size: 40px;
  }

  .choose__h {
    font-size: 20px;
  }
}

/* ===== SECTION 5 (TESTIMONIALS) – UPDATED CSS (NO IMAGES) ===== */

.reviews {
  background: #f2f5f6;
  padding: 28px 0 110px;
}

/* NOT full width, slightly expanded */
.reviews__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.reviews__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 34px;
}

.reviews__kicker {
  font-size: 13px;
  font-weight: 900;
  color: #0c1015;
  margin-bottom: 12px;
  letter-spacing: .2px;
}

.reviews__title {
  margin: 0;
  font-size: 62px;
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -1.2px;
  color: #0c1015;
}

/* rating right */
.reviews__rating {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-top: 6px;
}

.reviews__score {
  font-size: 96px;
  line-height: 1;
  font-weight: 900;
  color: #0c1015;
}

.reviews__meta {
  padding-top: 18px;
}

.reviews__stars {
  color: #ff9f2f;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 8px;
}

.reviews__text {
  font-size: 13px;
  line-height: 1.55;
  color: #56616a;
  font-weight: 600;
}

.reviews__count {
  font-weight: 800;
  color: #0c1015;
}

.reviews__source {
  font-weight: 700;
}

/* 2x2 grid */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 56px;
}

/* card */
.review {
  position: relative;
}

.review__card {
  background: #fff;
  border-radius: 18px;
  padding: 24px 30px;
  /* reduced padding */
  box-shadow: 0 22px 54px rgba(0, 0, 0, .06);
}

.review__quote {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #000000 !important;
  font-weight: 500;
  max-width: 560px;
}

.review__name {
  font-size: 14px;
  font-weight: 900;
  color: #0c1015;
  margin-bottom: 12px;
}

.review__stars {
  color: #ff9f2f;
  letter-spacing: 2px;
  font-size: 13px;
}

/* responsive */
@media (max-width: 1100px) {
  .reviews__container {
    max-width: 100%;
    padding: 0 22px;
  }

  .reviews__top {
    flex-direction: column;
  }

  .reviews__title {
    font-size: 48px;
  }

  .reviews__score {
    font-size: 72px;
  }
}

@media (max-width: 820px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .reviews__container {
    padding: 0 16px;
  }

  .reviews__title {
    font-size: 40px;
  }

  .review__card {
    padding: 30px 20px 26px;
  }
}

/* SECTION 6 (Newsletter) – paste into styles.css */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.newsletter {
  background: #eef2f4;
  padding: 78px 0 92px;
}

.newsletter__container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px;
  text-align: center;
}

.newsletter__title {
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 900;
  color: #0c1015;
  letter-spacing: -.8px;
}

.newsletter__sub {
  margin: 0 auto 26px;
  max-width: 640px;
  font-size: 13px;
  line-height: 1.7;
  color: #56616a;
  font-weight: 600;
}

.newsletter__form {
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
  margin-top: 6px;
}

.newsletter__input {
  width: 520px;
  max-width: 100%;
  height: 42px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid #cfd7dd;
  background: #edf1f3;
  outline: none;
  font-size: 13px;
  font-weight: 600;
  color: #0c1015;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.newsletter__input::placeholder {
  color: #7a8791;
  font-weight: 600;
}

.newsletter__input:focus {
  border-color: rgba(255, 140, 31, .55);
  box-shadow: 0 0 0 4px rgba(255, 140, 31, .15);
  background: #fff;
}

.newsletter__btn {
  height: 42px;
  padding: 0 34px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  background: linear-gradient(180deg, #ff9f2f 0%, #ff8c1f 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .4px;
  box-shadow: 0 14px 26px rgba(255, 140, 31, .22);
}

.newsletter__btn:hover {
  filter: brightness(.97);
}

@media (max-width: 720px) {
  .newsletter__title {
    font-size: 36px;
  }

  .newsletter__form {
    flex-direction: column;
    gap: 12px;
  }

  .newsletter__btn {
    width: 260px;
  }
}

/* LAST SECTION (Footer) – paste into styles.css */

/* full width footer like screenshot */
.footer {
  background: #ffffff;
  color: #0c1015;
  border-top: 1px solid #e6ecef;
}

.footer__top {
  max-width: none;
  /* full width */
  margin: 0;
  padding: 38px 56px 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #0c1015;
  margin-bottom: 14px;
}

.footer__logoMark {
  width: 40px;
  height: 40px;
  border-radius: 8px 8px 8px 0;
  background: linear-gradient(180deg, #0ea5b0 0%, #0b7e8c 100%);
  clip-path: polygon(0 75%, 55% 0, 55% 42%, 100% 42%, 100% 100%, 0 100%);
}

.footer__logoText {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer__logoName {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -.4px;
  color: #0b7e8c;
}

.footer__logoTag {
  font-size: 12px;
  font-weight: 600;
  color: #7b8a93;
}

.footer__about {
  margin: 0 0 18px;
  color: #4f5b64;
  font-size: 14px;
  line-height: 1.85;
  font-weight: 500;
}

.footer__social {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-top: 15px;
}

.footer__socialBtn {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #333;
}

.footer__socialBtn--youtube {
  background: #fff;
  width: 65px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid #eef2f4;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.footer__socialBtn--youtube:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.footer__socialBtn--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.footer__socialBtn--youtube::after {
  content: "click here";
  position: absolute;
  top: -15px;
  right: -25px;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  font-weight: 700;
  text-transform: uppercase;
  pointer-events: none;
}

.footer__h {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 900;
  color: #0c1015;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__list a {
  text-decoration: none;
  color: #0c1015;
  font-size: 14px;
  font-weight: 600;
}

.footer__list a:hover {
  text-decoration: underline;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__label {
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 4px;
}

.footer__value {
  font-size: 14px;
  color: #4f5b64;
  font-weight: 600;
  line-height: 1.75;
}

.footer__value a {
  color: #4f5b64;
  text-decoration: none;
}

.footer__value a:hover {
  text-decoration: underline;
}

/* bottom bar */
.footer__bottom {
  border-top: 1px solid #eef2f4;
  padding: 18px 0;
}

.footer__bottomInner {
  max-width: none;
  margin: 0;
  padding: 0 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #4f5b64;
  font-size: 13px;
  font-weight: 600;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer__logoImg {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.footer__logoText {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer__logoName {
  font-weight: 700;
}

.footer__logoTag {
  opacity: .75;
  font-size: .92rem;
}


/* responsive */
@media (max-width: 1100px) {
  .footer__top {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 40px;
    text-align: center;
  }

  .footer__logo {
    justify-content: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__bottomInner {
    padding: 20px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .footer__top {
    padding: 28px 16px;
  }

  .footer__bottomInner {
    padding: 0 16px;
  }
}

/* Add this at END of styles.css */

/* Anim base */
[data-anim] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .75s ease,
    transform .75s cubic-bezier(.2, .8, .2, 1),
    filter .75s ease;
  will-change: opacity, transform;
}

[data-anim].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Variants */
[data-anim="fade-up"] {
  transform: translateY(22px);
}

[data-anim="fade-down"] {
  transform: translateY(-22px);
}

[data-anim="fade-left"] {
  transform: translateX(26px);
}

[data-anim="fade-right"] {
  transform: translateX(-26px);
}

[data-anim="zoom-in"] {
  transform: scale(.96);
  filter: blur(2px);
}

[data-anim="zoom-in"].in-view {
  transform: scale(1);
  filter: blur(0);
}

[data-anim="pop"] {
  transform: scale(.92);
}

[data-anim="pop"].in-view {
  transform: scale(1);
}

/* Stagger helper (add style="--d:0.1s" on elements) */
[data-anim] {
  transition-delay: var(--d, 0s);
}

/* Nice hover micro-interactions */
.course-card {
  transition: transform .25s ease, box-shadow .25s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .10);
}

.nav__cta,
.btn--primary,
.courses__cta,
.newsletter__btn {
  transition: transform .18s ease, filter .18s ease;
}

.nav__cta:hover,
.btn--primary:hover,
.courses__cta:hover,
.newsletter__btn:hover {
  transform: translateY(-1px);
  filter: brightness(.98);
}

/* subtle animated underline for links */
.footer__list a {
  position: relative;
}

.footer__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #0b7e8c;
  transition: width .22s ease;
}

.footer__list a:hover::after {
  width: 100%;
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-anim] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    filter: none !important;
  }

  .course-card,
  .review__card,
  .nav__cta,
  .btn--primary,
  .courses__cta,
  .newsletter__btn {
    transition: none !important;
  }
}

/* ===== SMOOTHER STAGGER ANIMATIONS ===== */

/* base reveal (already used by data-anim) */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(.16, 1, .3, 1);
}

[data-anim].in-view {
  opacity: 1;
  transform: none;
}

/* auto stagger for children */
.stagger>* {
  transition-delay: calc(var(--i) * 0.12s);
}

/* ===== HERO PARALLAX ===== */
.hero {
  overflow: hidden;
}

.hero__bg {
  will-change: transform;
  transition: transform .1s linear;
}

/* ===== HOVER GLOW EFFECTS ===== */

/* cards */
.course-card,
.review__card,
.choose__item {
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}

.course-card:hover,
.review__card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, .12),
    0 0 0 1px rgba(255, 255, 255, .6);
}

/* glow accent */
.course-card::after,
.review__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  box-shadow: 0 0 40px rgba(255, 159, 47, .35);
  transition: opacity .25s ease;
  pointer-events: none;
}

.course-card:hover::after,
.review__card:hover::after {
  opacity: 1;
}

/* buttons */
.btn--primary,
.nav__cta,
.courses__cta,
.newsletter__btn {
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn--primary:hover,
.nav__cta:hover,
.courses__cta:hover,
.newsletter__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255, 140, 31, .35);
}

/* ===== PAGE LOAD ANIMATION ===== */
body {
  opacity: 0;
  animation: pageIn .9s ease forwards;
}

@keyframes pageIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.nav__link--active {
  font-weight: 700;
  text-decoration: underline;
}

.nav__cta--active {
  filter: brightness(1.05);
}



/* Courses CSS*/
/* ========= COURSES PAGE (no pricing in hero) ========= */

/* Solid nav on course page too */

/* SOLID NAVBAR FOR COURSES, CONTACT, ABOUT, AND PRICING PAGES */
.page--courses .nav,
.page--contact .nav,
.page--about .nav,
.page--pricing .nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.page--courses .nav .nav__link,
.page--courses .nav .brand__name,
.page--courses .nav .brand__tag,
.page--contact .nav .nav__link,
.page--contact .nav .brand__name,
.page--contact .nav .brand__tag,
.page--about .nav .nav__link,
.page--about .nav .brand__name,
.page--about .nav .brand__tag,
.page--pricing .nav .nav__link,
.page--pricing .nav .brand__name,
.page--pricing .nav .brand__tag {
  color: #0f172a;
}

.page--courses .nav .nav__toggle span,
.page--contact .nav .nav__toggle span,
.page--about .nav .nav__toggle span,
.page--pricing .nav .nav__toggle span {
  background: #0f172a;
}

.page--courses .nav .nav__cta,
.page--contact .nav .nav__cta,
.page--about .nav .nav__cta,
.page--pricing .nav .nav__cta {
  background: #4e3bc9;
  color: #fff;
}

* Layout */ .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 24px 44px;
}

.layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 32px;
  align-items: start;
}


/* Sidebar */
.sidebar {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 14px;
  max-height: calc(100vh - 28px);
  display: flex;
  flex-direction: column;
}

.sideHead {
  padding: 18px 20px;
  font-weight: 800;
  border-bottom: 1px solid var(--border2);
  background: #fff;
  color: #111827;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.sideBody {
  padding: 8px 0 12px;
  overflow: auto;
}

.sideBody::-webkit-scrollbar {
  width: 10px
}

.sideBody::-webkit-scrollbar-thumb {
  background: #e8ecf6;
  border-radius: 999px
}

.filterSection {
  border-top: 1px solid var(--border2);
  padding: 8px 0 10px;
}

.filterSection:first-child {
  border-top: 0
}

.secTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 8px;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 12px;
}

.chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted2);
  border-bottom: 2px solid var(--muted2);
  transform: rotate(45deg);
  transition: transform .14s ease;
  margin-left: 10px;
}

.filterSection.closed .chev {
  transform: rotate(-135deg)
}

.secBody {
  padding: 0 14px;
  display: grid;
  gap: 10px;
}

.filterRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 0;
}

.filterRow label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: #111827;
}

.filterRow small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

/* Main header */
.crumb {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 8px;
}

.crumb a {
  color: var(--primary)
}

.mainHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 2px 0 14px;
}

h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  color: #111827;
}

.mainHead h1 {
  color: #000;
  font-size: 32px;
  letter-spacing: -0.5px;
}

/* Notice Box */
.notice-box {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  padding: 24px 30px;
  border-radius: 16px;
  margin-bottom: 32px;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.notice-box__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.notice-box__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.notice-box__content {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.92;
  font-weight: 400;
}

.sortWrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 260px;
}

.select {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, .10);
  background: #fff;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  outline: none;
  box-shadow: 0 6px 16px rgba(17, 24, 39, .06);
}

.select:focus {
  border-color: rgba(99, 102, 241, .35);
}


/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}


/* Card */
.card {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(17, 24, 39, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card:hover {
  border-color: rgba(99, 102, 241, .22);
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(17, 24, 39, .14);
}

.cardLink {
  display: block;
  color: inherit;
}

/* Top image area - matches 3300x2550px ratio */
.logoArea {
  width: 100%;
  aspect-ratio: 3300 / 2550;
  padding: 0;
  background: #f3f4f6;
  border-bottom: 1px solid rgba(17, 24, 39, .06);
  overflow: hidden;
}

/* Remove inner frame */
.logoImg {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

/* Image fills the area */
.logoImg img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  background: #fff;
  display: block;
}


.body {
  padding: 14px 14px 16px;
}

.title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 18px;
  color: #111827;
}

.subtitle {
  margin: 0 0 12px;
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.meta {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #111827;
}

.meta li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--primary);
  flex: 0 0 auto;
}

.meta .value strong {
  font-weight: 500;
}

/* Mobile drawer */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, .55);
  z-index: 80;
}

.drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(92vw, 340px);
  background: #fff;
  z-index: 90;
  border-right: 1px solid var(--border);
}

.drawerHead {
  padding: 14px;
  border-bottom: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.mBtn {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

@media (max-width: 1120px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .layout {
    grid-template-columns: 1fr
  }

  .sidebar {
    display: none
  }

  .grid {
    grid-template-columns: 1fr
  }

  .mainHead {
    flex-direction: column;
    align-items: stretch
  }

  .sortWrap {
    min-width: auto
  }
}

/* Course CSS*/
/* ========= COURSE PAGE (no pricing in hero) ========= */

/* Solid nav on course page too */
.page--course .nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.page--course .nav .nav__link,
.page--course .nav .brand__name,
.page--course .nav .brand__tag {
  color: #0f172a;
}

.page--course .nav .nav__toggle span {
  background: #0f172a;
}

.page--course .nav .nav__cta {
  background: #4e3bc9;
  color: #fff;
}

/* Hero */
.courseHero {
  background: #0b1220;
  color: #e5e7eb;
}

.courseHero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px 14px 26px;
}

.courseCrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.courseCrumb a {
  color: #a5b4fc;
}

.courseCrumb__current {
  color: #e5e7eb;
}

.courseHero__grid {
  display: grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 22px;
  align-items: start;
}

.courseTitle {
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
}

.courseSub {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.55;
  color: #fff;
}

.courseBadges {
  margin: 0 0 10px;
}

.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  background: #e2e8f0;
}

.courseBy {
  margin: 0 0 10px;
  font-size: 14px;
  color: #cbd5e1;
}

.courseBy a {
  color: #a5b4fc;
  text-decoration: underline;
}

.courseMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.metaItem {
  display: flex;
  align-items: center;
  gap: 8px;
}

.metaDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
  display: inline-block;
}

.courseDescBox {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 12px;
  padding: 20px 20px;
  margin-top: 22px;
}

.courseSectionTitle {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  letter-spacing: .02em;
}

/* --- Course content (the_content) styling --- */
.courseDesc {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.8;
}

/* Module headings (h2, h3) */
.courseDesc h2,
.courseDesc h3 {
  color: #f1f5f9;
  font-size: 18px;
  font-weight: 800;
  margin: 22px 0 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* First module heading — no top border/padding */
.courseDesc h2:first-child,
.courseDesc h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* Bullet lists inside course content */
.courseDesc ul {
  margin: 6px 0 14px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.courseDesc ul li {
  padding-left: 22px;
  position: relative;
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.65;
}

.courseDesc ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #818cf8;
  font-weight: 700;
  font-size: 13px;
  top: 1px;
}

/* Paragraphs */
.courseDesc p {
  margin: 0 0 12px;
  font-size: 14.5px;
}

/* Horizontal rules between sections */
.courseDesc hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin: 16px 0;
}

/* ========================================================
   ABOUT THIS COURSE — Full-Width Dark Section
   ======================================================== */
.courseAboutSection {
  background: #0d1525;
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  padding: 64px 20px 72px;
}

.courseAbout__inner {
  max-width: 1140px;
  margin: 0 auto;
}

/* Section Header */
.courseAbout__header {
  text-align: center;
  margin-bottom: 48px;
}

.courseAbout__tag {
  display: inline-block;
  background: rgba(99, 102, 241, .15);
  color: #a5b4fc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, .25);
  margin-bottom: 16px;
}

.courseAbout__title {
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 900;
  color: #f1f5f9;
  line-height: 1.2;
}

.courseAbout__subtitle {
  margin: 0;
  font-size: 15px;
  color: #e2e8f0;
  line-height: 1.6;
}

/* Content Card */
.courseAbout__body {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  padding: 40px 44px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

/* Module headings */
.courseAbout__content h2,
.courseAbout__content h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  color: #f1f5f9;
  margin: 36px 0 16px;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, .12) 0%, rgba(99, 102, 241, .04) 100%);
  border-left: 4px solid #818cf8;
  border-radius: 0 12px 12px 0;
  letter-spacing: .01em;
}

.courseAbout__content h2:first-child,
.courseAbout__content h3:first-child {
  margin-top: 0;
}

/* Bulletin lists — Premium single-column timeline */
.courseAbout__content ul {
  margin: 20px 0 30px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Vertical line connector */
.courseAbout__content ul::after {
  content: '';
  position: absolute;
  left: 24px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.2) 20%, rgba(99, 102, 241, 0.2) 80%, transparent);
  z-index: 1;
}

.courseAbout__content ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.6;
  padding: 18px 24px;
  background: transparent;
  border: none;
  border-radius: 12px;
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.courseAbout__content ul li:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(10px);
  color: #fff;
}

.courseAbout__content ul li::before {
  content: '✓';
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #1e293b;
  color: #818cf8;
  font-size: 14px;
  font-weight: 900;
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.courseAbout__content ul li:hover::before {
  background: #4f46e5;
  color: #fff;
  border-color: #818cf8;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  transform: scale(1.1) rotate(5deg);
}

/* Paragraphs */
.courseAbout__content p {
  margin: 8px 0 16px;
  font-size: 15px;
  color: #64748b;
  line-height: 1.75;
}

/* Dividers */
.courseAbout__content hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .07);
  margin: 28px 0;
}

/* Mobile */
@media (max-width: 768px) {
  .courseAbout__content ul {
    grid-template-columns: 1fr;
  }

  .courseAbout__body {
    padding: 26px 20px;
  }

  .courseAbout__title {
    font-size: 26px;
  }

  .courseAboutSection {
    padding: 44px 16px 52px;
  }
}

/* Preview card (right side) */
.coursePreview {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 86px;
}

.coursePreview__img {
  width: 100%;
  aspect-ratio: 3300 / 2550 !important;
  object-fit: contain !important;
  background: #f3f4f6;
  display: block;
}

.coursePreview__placeholder {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  background: radial-gradient(ellipse at top, rgba(99, 102, 241, .35), transparent 55%);
}

.coursePreview__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, .92);
  color: #0f172a;
  font-size: 22px;
  display: grid;
  place-items: center;
}

.coursePreview__label {
  padding: 12px 14px;
  color: #e5e7eb;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.courseBack {
  color: #a5b4fc;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .courseHero__grid {
    grid-template-columns: 1fr;
  }

  .coursePreview {
    position: relative;
    top: 0;
  }

  .courseTitle {
    font-size: 30px;
  }
}

/* Make each filter section feel like a solid block */
.filterSection {
  border-top: 0;
  padding: 12px 12px 14px;
  margin: 10px 12px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 24, 39, .05);
}

.filterSection:first-child {
  margin-top: 12px;
}

/* Stronger section header */
.secTop {
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f8faff, #eef2ff);
  font-weight: 800;
  color: #111827;
  letter-spacing: .08em;
  font-size: 11px;
}

/* More breathing space in body */
.secBody {
  padding: 10px 10px 4px;
  gap: 8px;
}

/* Clearer checkbox rows (clickable pill rows) */
.filterRow {
  padding: 8px 10px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 10px;
  background: #fafbff;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.filterRow:hover {
  background: #fff;
  border-color: rgba(99, 102, 241, .20);
  transform: translateY(-1px);
}

.filterRow label {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

.filterRow small {
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
}

/* Checkbox a bit cleaner */
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}


/* ========= COURSE PAGE: SUB-COURSES (Top Choice) ========= */
.subSection {
  margin: 22px 0 34px;
}

.subSection__title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.subGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.subCard {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(2, 6, 23, .08);
}

.subMedia {
  position: relative;
  height: 170px;
  background: #0f172a;
}

.subMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.subMedia__ph {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  padding: 18px;
  text-align: center;
}

.subTag {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #ff6b6b;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
}

.subBody {
  padding: 14px;
}

.subTitle {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.subDesc {
  margin: 0 0 12px;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.55;
}

.subMore {
  color: #4e3bc9;
  font-weight: 700;
  text-decoration: none;
}

.subMore:hover {
  text-decoration: underline;
}

.subFooter {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #eef2f7;
  padding-top: 12px;
}

.subRate__label {
  font-size: 12px;
  color: #475569;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.subRate__value {
  display: flex;
  gap: 6px;
  align-items: baseline;
  color: #0f172a;
}

.subRate__value strong {
  font-size: 18px;
}

.subRate__value span {
  font-size: 12.5px;
  color: #475569;
}

.subBtn {
  background: #4e3bc9;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.subBtn:hover {
  filter: brightness(1.05);
}

@media (max-width: 1120px) {
  .subGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .subGrid {
    grid-template-columns: 1fr;
  }
}

.page--course .coursePreview__img {
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.courseBack {
  color: #a5b4fc;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .courseHero__grid {
    grid-template-columns: 1fr;
  }

  .coursePreview {
    position: relative;
    top: 0;
  }

  .courseTitle {
    font-size: 30px;
  }
}

/* Make each filter section feel like a solid block */
.filterSection {
  border-top: 0;
  padding: 12px 12px 14px;
  margin: 10px 12px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 24, 39, .05);
}

.filterSection:first-child {
  margin-top: 12px;
}

/* Stronger section header */
.secTop {
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f8faff, #eef2ff);
  font-weight: 800;
  color: #111827;
  letter-spacing: .08em;
  font-size: 11px;
}

/* More breathing space in body */
.secBody {
  padding: 10px 10px 4px;
  gap: 8px;
}

/* Clearer checkbox rows (clickable pill rows) */
.filterRow {
  padding: 8px 10px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 10px;
  background: #fafbff;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.filterRow:hover {
  background: #fff;
  border-color: rgba(99, 102, 241, .20);
  transform: translateY(-1px);
}

.filterRow label {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

.filterRow small {
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
}

/* Checkbox a bit cleaner */
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}


/* ========= COURSE PAGE: SUB-COURSES (Top Choice) ========= */
.subSection {
  margin: 22px 0 34px;
}

.subSection__title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.subGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.subCard {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(2, 6, 23, .08);
}

.subMedia {
  position: relative;
  height: 170px;
  background: #0f172a;
}

.subMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.subMedia__ph {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  padding: 18px;
  text-align: center;
}

.subTag {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #ff6b6b;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
}

.subBody {
  padding: 14px;
}

.subTitle {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.subDesc {
  margin: 0 0 12px;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.55;
}

.subMore {
  color: #4e3bc9;
  font-weight: 700;
  text-decoration: none;
}

.subMore:hover {
  text-decoration: underline;
}

.subFooter {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #eef2f7;
  padding-top: 12px;
}

.subRate__label {
  font-size: 12px;
  color: #475569;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.subRate__value {
  display: flex;
  gap: 6px;
  align-items: baseline;
  color: #0f172a;
}

.subRate__value strong {
  font-size: 18px;
}

.subRate__value span {
  font-size: 12.5px;
  color: #475569;
}

.subBtn {
  background: #4e3bc9;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.subBtn:hover {
  filter: brightness(1.05);
}

@media (max-width: 1120px) {
  .subGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .subGrid {
    grid-template-columns: 1fr;
  }
}

.page--course .coursePreview__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* PREMIUM USER DROPDOWN (Udemy Style) */
.nav__user {
  position: relative;
  margin-left: 14px;
}

/* Avatar Trigger */
.nav__userAvatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.2s;
  letter-spacing: 0.5px;
}

.nav__userAvatar:hover {
  background: #374151;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Dropdown Container */
.nav__userDrop {
  position: absolute;
  top: 120%;
  right: -10px;
  width: 280px;
  background: #fff;
  border: 1px solid #d1d7dc;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1000;
  border-radius: 4px;
}

/* Show on hover */
.nav__user:hover .nav__userDrop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Speech bubble arrow */
.nav__userDrop::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 22px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid #d1d7dc;
  border-left: 1px solid #d1d7dc;
  transform: rotate(45deg);
}

/* Header Section */
.nav__dropHead {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #d1d7dc;
  align-items: center;
}

.nav__dropAvatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__dropMeta {
  overflow: hidden;
}

.nav__dropName {
  font-weight: 700;
  font-size: 15px;
  color: #111827;
  margin-bottom: 2px;
}

.nav__dropEmail {
  font-size: 13px;
  color: #6b7280;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Links & Groups */
.nav__dropGroup {
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}

.nav__dropGroup:last-child {
  border-bottom: none;
}

.nav__dropLink {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #1c1d1f;
  text-decoration: none;
  transition: 0.1s;
}

.nav__dropLink:hover {
  color: #5624d0;
  background: #f7f9fa;
}

/* Mobile responsive tweak */
@media (max-width: 768px) {
  .nav__userDrop {
    position: fixed;
    top: 70px;
    left: 10px;
    right: 10px;
    width: auto;
  }

  .nav__userDrop::before {
    display: none;
  }
}


/* Avatar Trigger */
.nav__userAvatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.2s;
  letter-spacing: 0.5px;
}

.nav__userAvatar:hover {
  background: #374151;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Dropdown Container */
.nav__userDrop {
  position: absolute;
  top: 120%;
  right: -10px;
  width: 280px;
  background: #fff;
  border: 1px solid #d1d7dc;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1000;
  border-radius: 4px;
}

/* Show on hover */
.nav__user:hover .nav__userDrop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Speech bubble arrow */
.nav__userDrop::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 22px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid #d1d7dc;
  border-left: 1px solid #d1d7dc;
  transform: rotate(45deg);
}

/* Header Section */
.nav__dropHead {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #d1d7dc;
  align-items: center;
}

.nav__dropAvatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__dropMeta {
  overflow: hidden;
}

.nav__dropName {
  font-weight: 700;
  font-size: 15px;
  color: #111827;
  margin-bottom: 2px;
}

.nav__dropEmail {
  font-size: 13px;
  color: #6b7280;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Links & Groups */
.nav__dropGroup {
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}

.nav__dropGroup:last-child {
  border-bottom: none;
}

.nav__dropLink {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #1c1d1f;
  text-decoration: none;
  transition: 0.1s;
}

.nav__dropLink:hover {
  color: #5624d0;
  background: #f7f9fa;
}

/* Mobile responsive tweak */
@media (max-width: 768px) {
  .nav__userDrop {
    position: fixed;
    top: 70px;
    left: 10px;
    right: 10px;
    width: auto;
  }

  .nav__userDrop::before {
    display: none;
  }
}

/* PAGE SPECIFIC TEXT COLOR OVERRIDES */
/* Ensure these pages have dark text on their light backgrounds */
.page--auth,
.page--pay,
.page--profile,
.page--settings,
.page--course {
  color: #111827;

}

.page--auth h1,
.page--pay h1,
.page--profile h1,
.page--settings h1,
.page--course h1,
.page--auth h2,
.page--pay h2,
.page--profile h2,
.page--settings h2,
.page--course h2 {
  color: white;

}

.page--auth label,
.page--pay label,
.page--profile label,
.page--settings label {
  color: #374151;

}

.page--auth input,
.page--pay input,
.page--profile input,
.page--settings input {
  color: #111827;

}


/* 3300x2550 Ratio for Course Cards (Homepage) */
.course-card__img {
  height: auto !important;
  aspect-ratio: 3300 / 2550 !important;
}

.course-card__img img {
  object-fit: contain !important;
}

/* LEGAL DOCUMENT LAYOUT */
.legal-bg {
  background: #f9fafb;
}

.legal-doc {
  max-width: 850px;
  margin: 60px auto;
  background: #fff;
  padding: 60px 80px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
  border: 1px solid #e5e7eb;
  color: #374151;
  line-height: 1.8;
  text-align: left;
}

.legal-doc h1 {
  font-size: 36px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 24px;
}

.legal-doc h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin: 32px 0 16px;
}

.legal-doc p {
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .legal-doc {
    margin: 30px 14px;
    padding: 34px 24px;
  }

  .legal-doc h1 {
    font-size: 28px;
  }
}

/* Update Footer Logo Size */
.footer__logoImg {
  height: 80px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .footer__logoImg {
    height: 50px;
  }
}

/* ===== WHY CHOOSE US SECTION ===== */
.whyChooseUs {
  padding: 100px 0;
  background: #f9fafb;
  color: #111827;
  /* Explicitly dark text for visibility */
}

.whyChooseUs__top {
  margin-bottom: 60px;
  text-align: left;
}

.whyChooseUs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.whyChooseUs__item {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(17, 24, 39, 0.05);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whyChooseUs__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.08);
}

.whyChooseUs__icon {
  width: 50px;
  height: 50px;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.whyChooseUs__icon svg {
  width: 24px;
  height: 24px;
}

.whyChooseUs__h {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 16px;
}

.whyChooseUs__p {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  /* Darker gray for better readability */
}

.whyChooseUs__card {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  padding: 60px;
  border-radius: 24px;
  text-align: center;
  color: #fff;
}

.whyChooseUs__chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.whyChooseUs__cardTitle {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced mobile for Why Choose Us section */
@media (max-width: 768px) {
  .whyChooseUs {
    padding: 50px 20px;
  }

  .whyChooseUs__top {
    margin-bottom: 40px;
  }

  .whyChooseUs__grid {
    gap: 20px;
    margin-bottom: 50px;
  }

  .whyChooseUs__item {
    padding: 30px 24px;
  }

  .whyChooseUs__icon {
    width: 45px;
    height: 45px;
    margin-bottom: 20px;
  }

  .whyChooseUs__h {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .whyChooseUs__p {
    font-size: 14px;
  }

  .whyChooseUs__card {
    padding: 40px 24px;
  }

  .whyChooseUs__cardTitle {
    font-size: 28px;
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .whyChooseUs {
    padding: 40px 16px;
  }

  .whyChooseUs__top {
    margin-bottom: 30px;
  }

  .whyChooseUs__grid {
    gap: 16px;
    margin-bottom: 40px;
  }

  .whyChooseUs__item {
    padding: 24px 20px;
  }

  .whyChooseUs__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
  }

  .whyChooseUs__h {
    font-size: 17px;
  }

  .whyChooseUs__p {
    font-size: 13.5px;
  }

  .whyChooseUs__card {
    padding: 32px 20px;
  }

  .whyChooseUs__cardTitle {
    font-size: 24px;
  }

  .whyChooseUs__chip {
    font-size: 12px;
    padding: 6px 14px;
  }
}

/* ============================================================
   GLOBAL NAV COLOR OVERRIDES — consistent on ALL pages
   ============================================================ */
.nav a,
.nav .nav__link,
.nav .nav__cats,
.nav .nav__brand-text {
    color: #ffffff !important;
    text-decoration: none !important;
}

.nav .nav__btn {
    color: #ffffff !important;
    text-decoration: none !important;
}

.nav .nav__btn--fill {
    background: #7c3aed !important;
    color: #ffffff !important;
}

.nav-sub .nav-sub__link,
.nav-sub a {
    color: #111111 !important;
    text-decoration: none !important;
}

.nav-sub .nav-sub__brand {
    color: #111111 !important;
    text-decoration: none !important;
}