/* ===============================
   BASE SECTION
================================ */
.facilities-section {
  background: #fffaf5 url("../../../Assets/facilites/background image.png")
    no-repeat bottom center;
  background-size: cover;
  padding: 100px 0;
}

.facilities-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 60px;
}

/* ===============================
   LEFT SIDE
================================ */
.facilities-left {
  flex: 1;
}

.facilities-left h2 {
  font-size: 40px;
  font-weight: 700;
  color: #063a4a;
  margin-bottom: 10px;
}

.subtitle {
  max-width: 420px;
  font-size: 15px;
  color: #4f6d75;
  margin-bottom: 30px;
}

/* FEATURED CARD (BIGGER IMAGE) */
.featured-card {
  background: #e9f8fb;
  border-radius: 24px;
  padding: 24px;
  width: 400px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.featured-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 14px;
}

.featured-card h4 {
  margin: 0;
  font-size: 18px;
  color: #063a4a;
}

.featured-card a {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  color: #1aa6b7;
  text-decoration: none;
}

/* ===============================
   RIGHT GRID
================================ */
.facilities-right {
  flex: 1.2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.facility-card {
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.facility-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 10px;
}

.facility-card span {
  font-size: 14px;
  font-weight: 500;
  color: #355b66;
}

/* ===============================
   RESPONSIVE STYLES
================================ */

/* LARGE LAPTOPS */
@media (max-width: 1200px) {
  .facilities-container {
    padding: 0 24px;
    gap: 40px;
  }

  .featured-card {
    width: 380px;
  }
}

/* TABLETS */
@media (max-width: 992px) {
  .facilities-container {
    flex-direction: column;
    align-items: center;
  }

  .facilities-left,
  .facilities-right {
    width: 100%;
  }

  .facilities-left {
    text-align: center;
  }

  .subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .featured-card {
    margin: 0 auto 40px;
    width: 440px;
  }

  .facilities-right {
    max-width: 720px;
    margin: auto;
  }
}

/* LARGE PHONES */
@media (max-width: 768px) {
  .facilities-section {
    padding: 70px 0;
  }

  .facilities-left h2 {
    font-size: 34px;
  }

  .featured-card {
    width: 100%;
    max-width: 420px;
  }

  .featured-card img {
    height: 230px;
  }

  .facilities-right {
    grid-template-columns: 1fr;
  }

  .facility-card img {
    height: 180px;
  }
}

/* SMALL PHONES */
@media (max-width: 480px) {
  .facilities-left h2 {
    font-size: 28px;
  }

  .subtitle {
    font-size: 14px;
  }

  .featured-card {
    padding: 20px;
  }

  .featured-card img {
    height: 200px;
  }

  .facility-card span {
    font-size: 13px;
  }
}
