/* ------------------- HERO ------------------------------ */
.hero {
  padding: 20px;

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

.hero-inner {
  position: relative;
  /* background: #fff; */
  border-radius: 20px;
  overflow: hidden;
  max-width: 50rem;
  text-align: center;
}

/* IMAGE */
.hero-inner img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.6s ease;
}

.hero-inner:hover img {
  transform: scale(1.03);
}

/* TEXT OVER IMAGE */
.hero-content {
  position: absolute;
  top: 30px;
  left: 30px;
  max-width: 50%;

  /* top: 6%;
  left: 6%;
  max-width: 42%; */
  color: #000;
}

.hero-content h1 {
  font-family: "Neuton", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;

  font-size: clamp(22px, 4vw, 38px);
}

.hero-content span {
  font-weight: 700;
  display: block;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero-inner img {
    height: auto;
  }

  .hero-content {
    top: 20px;
    left: 20px;
    max-width: 90%;
  }

  .hero-content h1 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  /* 30rem */
  .hero {
    padding: 1rem;
  }

  /* .hero-inner img {
    max-width: 20rem;
  } */

  .hero-content {
    position: static;
    max-width: 100%;
    margin-top: -2.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.375rem;
  }

  .hero-content p {
    font-size: 0.875rem;
  }
}

/*---------------------------- STATS SECTION --------------------------------*/
.stats {
  padding: 20px 25px;
}

.stats-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* Each stat item */
.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 200px;
  color: #000;
}

/* Icon */
.stat-item img {
  width: 36px;
  height: 36px;

  transition: transform 0.3s ease;
}

.stat-item:hover img {
  transform: scale(1.2) rotate(-3deg);
}

/* Text */
.stat-text h3 {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.stat-text p {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin-top: 4px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {




  .testimonial-card video {
    width: 100% !important;
    height: auto !important;
    border-radius: 20px;
    background: transparent;
}


  .stats-card {
    justify-content: center;
  }

  .stat-item {
    flex: 1 1 45%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .stats-card {
    padding: 1rem;
    gap: 1rem;
  }

  .stat-item {
    min-width: auto;
    flex: 1 1 100%;
  }
}

/* @media (min-width: 768px) and (max-width: 948px) {
  .stats-card {
    gap: 12px;
    padding: 14px 16px;
    flex-wrap: nowrap;
  }

  .stat-item {
    flex: 1;
    gap: 8px;
    min-width: 0;
  }

  .stat-item img {
    width: 28px;
    height: 28px;
  }

  .stat-text h3 {
    font-size: 16px;
  }

  .stat-text p {
    font-size: 12px;
  }
} */

/*---------------------------------- CATEGORIES -------------------------------------*/
.categories {
  text-align: center;
  padding: 40px 20px;
  color: #fff;
}

.categories h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.categories .subtitle {
  color: #ffffff;
  font-weight: 500;
  font-size: 20px;
  max-width: 650px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

/* FLEX CONTAINER */
.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

/* CARD */
.category-item {
  background: #eedcdc;

  display: flex;
  align-items: center;
  gap: 12px;
  background: #f3eaea;
  padding: 14px 20px;
  border-radius: 14px;
  color: #000;
  font-weight: 500;
  min-width: 240px;
  flex: 1 1 240px;
  max-width: 280px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

.category-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
}

/* ICON IMAGE */
.category-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  /* flex-shrink: 0; */
}

/* TEXT */
.category-item span {
  font-size: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* prevent overflow */
  color: #000000;
  font-weight: 500;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {
  .categories h2 {
    font-size: 26px;
  }

  .category-item {
    min-width: 200px;
    padding: 12px 16px;
  }

  .category-item img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .category-list {
    gap: 16px;
  }

  .category-item {
    /* min-width: 100%;
    max-width: 100%; */
    justify-content: center;

    gap: 0.75rem;
  }

  .category-item span {
    white-space: normal;
    text-align: center;
    font-size: 1rem;
  }
}

/*-------------------------------- LEARNING SECTION -----------------------------------*/
.learning-section {
  background: #0a0a2a;
  padding: 40px 20px;
  color: #fff;
  text-align: center;
}

/* HEADER */
.learning-header h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.learning-header p {
  color: #ffffff;
  font-weight: 500;
  font-size: 20px;
  max-width: 650px;
  /* max-width: auto; */
  margin: 0 auto 40px;
  opacity: 0.9;
}

/* IMAGE */
.learning-image {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.learning-image img {
  width: 100%;
  max-width: 50rem;
  height: auto;
  border-radius: 16px;
  object-fit: contain;

  /* width: auto;
  max-height: 380px;
  object-fit: cover; */
}

/* MODES (Flexbox) */
.learning-modes {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* SINGLE MODE */
.mode {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f4eaea;
  color: #000;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 500;
  min-width: 200px;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.mode:hover {
  background: #ffffff;
  transform: translateY(-5px);
}

/* ICON */
.mode img {
  width: 26px;
  height: 26px;

  transition: transform 0.3s ease;
}

.mode:hover img {
  transform: translateX(6px);
}

/* -------- RESPONSIVE -------- */

@media (max-width: 768px) {
  .learning-header h2 {
    font-size: 26px;
  }

  .learning-header p {
    font-size: 15px;
  }

  .mode {
    min-width: 180px;
    padding: 12px 18px;
  }
}

@media (max-width: 480px) {
  .learning-modes {
    gap: 16px;
  }

  .mode {
    width: 100%;
    justify-content: center;
  }

  .learning-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/*---------------------------- MENTOR SECTION -------------------------------------*/
.mentor-section {
  border-radius: 12px;
  padding: 40px 20px;
  overflow: hidden;
}

/* IMAGE */
.mentor-image {
  display: flex;
  justify-content: center;
}

.mentor-image img {
  width: 100%;
  max-width: 50rem;
  height: auto;
  border-radius: 16px;
  object-fit: contain;

  /* width: 100%;
  max-width: auto; */
  /* object-fit: cover; */
}

/* CONTENT */
.mentor-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  color: #fff;
}

.mentor-content h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.mentor-content p {
  color: #ffffff;
  font-weight: 500;
  font-size: 20px;
  max-width: 650px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

/* BUTTON */
/* .mentor-btn {
  background: #f4eaea;
  border: none;
  padding: 12px 26px;
  border-radius: 14px;
  font-size: 14px;
  cursor: pointer;

  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mentor-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.mentor-btn::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: rgba(0, 0, 0, 0.05);
  top: 100%;
  left: -10%;
  transition: 0.4s ease;
}

.mentor-btn:hover::after {
  top: -10%;
} */

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {
  .mentor-content h2 {
    font-size: 24px;
  }

  /* .mentor-image img {
    max-height: 300px;
  } */
}

@media (max-width: 480px) {
  .mentor-content h2 {
    font-size: 20px;
  }

  .mentor-content p {
    font-size: 14px;
  }
}

/*------------------------------- TESTIMONIALS  Section -----------------------------------*/
/* ================= TESTIMONIALS ================= */
.testimonials-section {
  background: #05052d;
  /* padding: 70px 20px; */
  padding-bottom: 60px;
  color: #fff;
  text-align: center;
}

.testimonials-header {
  margin-bottom: 40px;
}

.badge {
  display: inline-block;
  background: #5eead4;
  color: #000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 10px;
}

.testimonials-header h2 {
  font-size: clamp(22px, 3vw, 32px);
}

/* SLIDER */
.testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 0 10px;
}

.testimonial-card video {
  /* width: 100%; */
  width: 700px;
  height: 700px;
  border-radius: 20px;
  background: transparent;
}

/* BUTTONS */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: 0.3s;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .slider-btn {
    font-size: 22px;
    padding: 8px 12px;
  }
}

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

