/* --------------------------------------------------------------------------
   13. TESTIMONIALS SECTION (Two Slanted Columns & Blue Cards)
   -------------------------------------------------------------------------- */
.testimonials-section {
  position: relative;
  padding: 6rem 0;
  background-color: #f8f9fa;
  overflow: hidden;
  z-index: 1;
}

/* Left Slanted Orange Column */
.testimonials-section::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -5%;
  width: 18%;
  height: 120%;
  background: linear-gradient(135deg, #f26522 0%, #e05310 100%);
  transform: skewX(-15deg);
  z-index: -1;
  opacity: 0.9;
  box-shadow: 10px 0 30px rgba(242, 101, 34, 0.25);
}

/* Right Slanted Orange Column */
.testimonials-section::after {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 18%;
  height: 120%;
  background: linear-gradient(135deg, #f26522 0%, #e05310 100%);
  transform: skewX(-15deg);
  z-index: -1;
  opacity: 0.9;
  box-shadow: -10px 0 30px rgba(242, 101, 34, 0.25);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* Blue Testimonial Card */
.testimonial-card {
  position: relative;
  background: var(--primary-blue, #0b132b); /* Blue Card Background */
  border-radius: 16px;
  padding: 40px 30px 35px;
  box-shadow: 0 12px 30px rgba(11, 19, 43, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  z-index: 2;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 19, 43, 0.25);
}

/* Subtled Light White Quote Icon Background */
.quote-icon {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.08); /* Light subtled white quote */
  pointer-events: none;
}

.stars {
  color: #ffb800;
  font-size: 0.9rem;
  margin-bottom: 18px;
  display: flex;
  gap: 4px;
  position: relative;
  z-index: 2;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.9); /* High contrast white text */
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 2;
}

/* Rounded Avatar with Thick White Border */
.student-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid #ffffff; /* Thick white border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.reviewer-info strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
}

.reviewer-info span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsiveness for Slanted Columns */
@media (max-width: 991px) {
  .testimonials-section::before,
  .testimonials-section::after {
    width: 12%;
  }
}

@media (max-width: 576px) {
  .testimonials-section::before,
  .testimonials-section::after {
    display: none; /* Hide background slanted columns on small phones to save space */
  }
}