/* Testimonials Page Styling */

/* Header Styles */
.testimonials-header {
  background-color: #003264;
  color: #ffffff;
  padding: 60px 0 40px;
  margin-bottom: 40px;
  position: relative;
}

.testimonials-header:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #F4C430;
}

.testimonials-header .page-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.testimonials-header .lead {
  font-size: 1.4rem;
  font-weight: 300;
}

.title-underline {
  height: 4px;
  width: 80px;
  background-color: #F4C430;
  margin: 0 auto 25px;
}

/* Introduction Section Styles */
.intro-section {
  padding: 20px 0 50px;
}

.intro-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.intro-content p {
  color: #495057;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Section Styles */
.testimonials-section {
  padding: 60px 0;
}

.student-section {
  background-color: #f9fafb;
}

.parent-section {
  background-color: #ffffff;
}

.alumni-section {
  background-color: #f9fafb;
}

.teacher-section {
  background-color: #ffffff;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #003264;
  margin-bottom: 15px;
}

.section-underline {
  height: 4px;
  width: 60px;
  background-color: #F4C430;
  margin: 0 auto 25px;
}

.section-description {
  font-size: 1.1rem;
  color: #4B5563;
  max-width: 800px;
  margin: 0 auto;
}

/* Testimonial Card Styles */
.testimonial-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 5px solid #f0f0f0;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  text-align: center;
}

.quote-icon {
  font-size: 2rem;
  color: #F4C430;
  margin-bottom: 15px;
}

.testimonial-content p {
  color: #4B5563;
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #003264;
  margin-bottom: 5px;
}

.testimonial-author p {
  color: #6B7280;
  font-size: 0.9rem;
  font-style: normal;
  margin-bottom: 0;
}

/* Submit Testimonial Section Styles */
.submit-testimonial-section {
  padding: 60px 0;
  background-color: #f9fafb;
}

.testimonial-form-container {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 40px;
}

.form-label {
  font-weight: 500;
  color: #374151;
}

.form-control, .form-select {
  border: 1px solid #D1D5DB;
  border-radius: 5px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #003264;
  box-shadow: 0 0 0 0.25rem rgba(0, 50, 100, 0.25);
}

.submit-btn {
  background-color: #003264;
  border-color: #003264;
  padding: 12px 30px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
  background-color: #002040;
  border-color: #002040;
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .testimonials-header .page-title {
    font-size: 2.4rem;
  }
  
  .testimonials-header .lead {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .testimonial-form-container {
    padding: 30px;
  }
}

@media (max-width: 767.98px) {
  .testimonials-header {
    padding: 40px 0 30px;
  }
  
  .testimonials-header .page-title {
    font-size: 2rem;
  }
  
  .testimonials-header .lead {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .intro-content {
    padding: 20px;
  }
  
  .testimonials-section {
    padding: 40px 0;
  }
  
  .testimonial-form-container {
    padding: 20px;
  }
}

@media (max-width: 575.98px) {
  .testimonials-header .page-title {
    font-size: 1.8rem;
  }
  
  .testimonials-header .lead {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .testimonial-image {
    width: 100px;
    height: 100px;
  }
  
  .testimonial-author h4 {
    font-size: 1.1rem;
  }
}