/* ----------------------------HERO SECTION ------------------------------ */
.results-showcase {
  padding: 80px 20px;
}

.results-container {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  padding: 0 40px;
}

/* TEXT */
.results-content {
  flex: 1;
  z-index: 3;
}

.results-content h2 {
  font-family: "Neuton", serif;
  font-size: clamp(26px, 3vw, 35px);
  line-height: 1.25;
  text-align: center;
}

/* IMAGES WRAPPER */
.results-images {
  flex: 1;
  position: relative;
  min-height: auto;
}

/* COMMON IMAGE STYLE */
.results-images img {
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);

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

/* IMAGE 1 */
.img-one {
  width: 83%;
  position: relative;
  z-index: 1;
}

/* IMAGE 2 */
.img-two {
  width: 83%;
  position: absolute;
  top: 92%;
  left: -15%;
  z-index: 2;
}

/* IMAGE 3 */
.img-three {
  width: 83%;
  position: absolute;
  top: 40%;
  left: -92%;
  z-index: 3;
}

.results-images:hover .img-one {
  transform: translateY(-6px) scale(1.02);
}

.results-images:hover .img-two {
  transform: translateY(-12px) scale(1.03);
}

.results-images:hover .img-three {
  transform: translateY(-18px) scale(1.04);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .results-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
  }

  .results-images {
    position: static;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
    align-items: center;
  }

  .results-images img {
    position: static;
    width: 100%;
    max-width: 360px;
  }
}

/*------------------------------- STUDENTS RESULTS SECTION ----------------------------------------------*/
.results-students {
  padding: 80px 20px 20px 20px;
  margin-top: 15%;
}

.results-wrapper {
  /* max-width: 1200px; */
  margin: auto;
  text-align: center;
}

.results-title {
  display: block;
  max-width: 100%;
  margin: 0 auto 1.25rem;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;

  background: #f4e7e7;
  color: #000;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;

  box-sizing: border-box;

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

.results-title:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.results-desc {
  max-width: auto;
  margin: 0 auto 50px;
  font-size: 16px;
  line-height: 1.6;
  color: #e5e7eb;
}

/* GRID */
.students-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  background-color: #eedcdc;
  border-radius: 1.25rem;
  padding: 1.25rem;
}

/* CARD */
.student-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: transform 0.3s ease;
}

.student-card:hover {
  transform: translateY(-0.4rem);
}

.student-card img {
  width: 100%;
  /* height: 28rem; */
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 0.6rem;

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

.student-card:hover img {
  transform: scale(1.02);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.35);
}

.student-info {
  background: #3c3b3b;
  color: #fff;
  padding: 0.6rem 0.75rem;
  border-radius: 0.6rem;
  margin-top: 10px;
  text-align: center;
  position: relative;

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

.student-card:hover .student-info {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  transform: translateY(-0.2rem);
}

.student-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.student-info span {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .results-students {
    margin-top: 0px;
    padding-top: 20px;
  }
  .students-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .students-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
  }

  .student-info h4 {
    font-size: 0.9rem;
  }

  .student-info span {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .results-title {
    font-size: 1rem;
    padding: 0.5rem 0.9rem;
    border-radius: 1.6rem;
  }
}
/*----------------------------------------- TESTIMONIALS SECTION ----------------------------*/
.testimonials {
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f2e2de;
  margin: 20px;
  margin-bottom: 80px;
  border-radius: 16px;
}

.testimonials-title {
  color: #000;
  font-size: clamp(22px, 3vw, 32px);
  /* margin-bottom: 20px; */
  text-align: center;
}

.testimonials-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  background: #f2e2de;
  padding: 40px;
  border-radius: 24px;
}

.testimonial-card {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}

.testimonial-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #000;
  margin-bottom: 14px;
  text-align: center;
}

.stars {
  color: #fbbf24;
  font-size: 18px;
  text-align: center;
}

.stars img {
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.testimonial-card:hover .stars img {
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.9));
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }
}

@media (max-width: 480px) {
  .testimonials-grid {
    padding: 1.5rem;
  }

  .testimonials {
    margin: 1rem;
  }
  .testimonials {
    padding: 60px 16px;
  }

  .testimonials-title {
    padding: 12px 24px;
  }

  .testimonial-card p {
    font-size: 14px;
  }
}
