/* ============================================
   STAR STUDENTS CAROUSEL
   ============================================ */
.star-students-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.star-students-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(245,166,35,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.star-students-section .section-tag { background: rgba(245,166,35,0.15); border-color: rgba(245,166,35,0.3); }
.star-students-section .section-title { color: var(--white); }
.star-students-section .section-subtitle { color: rgba(255,255,255,0.7); }
.star-students-section .divider-gold { margin: 0 auto 1.5rem; }

/* ---- Carousel Wrapper ---- */
.star-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
}
.star-carousel-track-wrap {
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius-lg);
}
.star-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
  padding: 0.5rem 0 1.5rem;
  will-change: transform;
}

/* Each card width */
.star-carousel-track .star-card { flex: 0 0 calc(33.333% - 1rem); min-width: 240px; }
@media(max-width: 991px) { .star-carousel-track .star-card { flex: 0 0 calc(50% - .75rem); } }
@media(max-width: 600px)  { .star-carousel-track .star-card { flex: 0 0 100%; } }

/* ---- Star Card ---- */
.star-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform 0.3s, box-shadow 0.3s;
}
.star-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.star-card-img-wrap {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
}
.star-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.star-card:hover .star-card-img-wrap img { transform: scale(1.05); }

.star-card-ribbon {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(245,166,35,0.45);
}
.star-card-body {
  padding: 1.4rem;
}
.star-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.star-placement {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}
.star-school {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}
.star-school .text-gold { color: var(--gold); }
.star-quote {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  line-height: 1.6;
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 0.75rem;
}

/* ---- Prev / Next Buttons ---- */
.star-carousel-btn {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s;
  backdrop-filter: blur(4px);
}
.star-carousel-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.star-carousel-btn:disabled { opacity: .25; cursor: default; }

/* ---- Dots ---- */
.star-carousel-dots {
  display: flex; justify-content: center; gap: .5rem; margin-top: 1.2rem;
}
.star-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none; cursor: pointer;
  transition: background .2s, transform .2s, width .2s;
  padding: 0;
}
.star-carousel-dot.active {
  background: var(--gold);
  transform: scale(1.3);
  width: 22px;
  border-radius: 4px;
}

/* ============================================
   TESTIMONIALS SLIDER
   ============================================ */
.testi-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.testi-slider-track-wrap {
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius-lg);
}
.testi-slider-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
  padding: 0.5rem 0 1.5rem;
  will-change: transform;
}
.testi-slider-track .testimonial-card { flex: 0 0 calc(33.333% - 1rem); min-width: 260px; }
@media(max-width: 991px) { .testi-slider-track .testimonial-card { flex: 0 0 calc(50% - .75rem); } }
@media(max-width: 600px)  { .testi-slider-track .testimonial-card { flex: 0 0 100%; } }

.testi-carousel-btn {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s;
  box-shadow: var(--shadow-sm);
}
.testi-carousel-btn:hover { background: var(--navy); color: var(--white); }
.testi-carousel-btn:disabled { opacity: .25; cursor: default; }

.testi-carousel-dots {
  display: flex; justify-content: center; gap: .5rem; margin-top: 1.2rem;
}
.testi-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-light);
  border: none; cursor: pointer;
  transition: background .2s, transform .2s, width .2s;
  padding: 0;
}
.testi-carousel-dot.active {
  background: var(--navy);
  width: 22px;
  border-radius: 4px;
}
