/*--------------- Hero Section ---------------*/
.facilities-hero {
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #eef7fb;
  padding: 4rem 1.5rem;
  text-align: center;
}

.facilities-hero-content {
  max-width: 56rem;
  margin: 0 auto;
}

.facilities-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #0b2b4c;
  margin-bottom: 1rem;
}

.facilities-hero p {
  font-size: 1.75rem;
  color: #126782;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 48rem) {
  .facilities-hero {
    padding: 3rem 1rem;
  }

  .facilities-hero h1 {
    font-size: 1.75rem;
  }

  .facilities-hero p {
    font-size: 1rem;
  }
}

/*---------------------- School Facilities Section ----------------------*/
.school-facilities {
  background-color: #f4f6f8;
  padding: 4rem 1.5rem;
  text-align: center;
}

.section-title {
  margin-bottom: 3rem;

  font-size: clamp(2rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #023047;
}

.facilities-grid {
  max-width: 48rem;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.facility-card {
  /* max-width: 18rem;
  margin: 0 auto; */

  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
}

.facility-card img {
  width: 5rem;
  height: auto;
  margin-bottom: 1.25rem;
}

.facility-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #023047;
}

.facility-card p {
  font-size: 1rem;
  font-weight: 500;
  color: #126782;
  /* line-height: 1.6; */
}

@media (max-width: 64rem) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 40rem) {
  .facilities-grid {
    grid-template-columns: 1fr;
  }
}

/*----------------- Learning Environment -----------------*/
.learning-environment {
  background-color: #fff;
  padding: 4rem 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;

  font-size: clamp(2rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #023047;
}

.learning-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 75rem;
  margin: 0 auto;
}

.learning-text p {
  margin-bottom: 0.75rem;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: #126782;
  max-width: 42rem;
}

.learning-text ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.learning-text li {
  margin-bottom: 0.75rem;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: #126782;
  max-width: 42rem;
}

.learning-image img {
  width: 100%;
  border-radius: 1rem;
  display: block;
}

@media (max-width: 48rem) {
  .learning-content {
    grid-template-columns: 1fr;
  }

  .learning-image {
    order: -1;
  }
}

/*----------------- Student Support Facilities Section -----------------*/
.student-support {
  background-color: #f3f5f7;
  padding: 4rem 1.5rem;
  text-align: center;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(18rem, 22rem));
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
}

.support-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.support-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.08);
}

.support-card img {
  width: 5rem;
  height: auto;
  margin-bottom: 1.5rem;
}

.support-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #023047;
}

.support-card p {
  line-height: 1.6;

  font-size: 1rem;
  font-weight: 500;
  color: #126782;
}

@media (max-width: 64rem) {
  .support-grid {
    grid-template-columns: repeat(2, minmax(16rem, 20rem));
  }
}

@media (max-width: 40rem) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

/*----------------- CTA Section -----------------*/
.cta-section {
  background-color: #eaf6fb;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #023047;
  margin-bottom: 1.5rem;
}

.cta-btn {
  display: inline-block;
  background-color: #ffc107;
  color: #000000;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.cta-btn:hover {
  background-color: #e0a800;
  transform: translateY(-0.125rem);
}

@media (max-width: 48rem) {
  .cta-section h2 {
    font-size: 1.4rem;
  }

  .cta-btn {
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
  }
}
