/* ===============================
   FACILITY OVERVIEW SECTION
   =============================== */

/* RESET */

/* SECTION WRAPPER */
/* SECTION WRAPPER */
/* FACILITIES HERO SECTION */
 





 

/* TITLE & DESCRIPTION */
/* ================= HEADER ================= */
.page-header {
  text-align:left;
  padding: 60px 80px ;
  background-color:   #0b132b;
  border-radius: 0px;
  margin-bottom: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.page-header h1 {
  font-size: 40px;
  color: white;
  margin-bottom: 12px;
  font-weight: 700;
}

.page-header p {
  text-align: left;
  font-size: 18px;
  color: white;
  line-height: 1.6;
  max-width: 800px;
  margin-left: 0;
  margin-right: 0;

}

.back-link {
  color: #22c55e;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
  opacity: 0.8;
}

/* ===== GLOBAL BACKGROUND ===== */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(
    135deg,
    #75adda 0%,
    #c6f1ea 50%,
    #e3f2ff 100%
  );
  background-size: 300% 300%;
  animation: bgMove 12s ease infinite;
  color: #fff;
}

@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== MAIN WRAPPER ===== */
.facilities-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

/* ===== FACILITY ROW ===== */
.facility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 50px;
  border-radius: 28px;
  position: relative;
  background: linear-gradient(
    135deg,
    #f3f4f6,
    #e5e7eb
  );
  backdrop-filter: blur(18px);




  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: fadeSlide 1.2s ease both;
}

/* ENTRY ANIMATION */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(80px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* GLOW BORDER */
.facility-row::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 2px;
  background: linear-gradient(120deg, #5bc0be, #6fffe9, #5bc0be);
  mask: linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

.facility-row:hover::before {
  opacity: 1;
}

/* ===== IMAGE EFFECTS ===== */
.facility-image img {
  width: 420px;
  height: 260px;
  object-fit: cover;
  border-radius: 22px;
  transition: transform 0.7s ease, box-shadow 0.7s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.facility-row:hover img {
  transform: scale(1.12) rotate(-1deg);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.9);
}

/* ===== CONTENT ===== */
.facility-content {
  max-width: 480px;
}

.facility-content h3 {
  font-size: 30px;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
  color: black;
}

/* Animated underline */
.facility-content h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #6fffe9, #5bc0be);
  transition: width 0.6s ease;
}

.facility-row:hover h3::after {
  width: 100%;
}

.facility-content p {
  font-size: 16px;
  line-height: 1.9;
  color: #212121;
  opacity: 0.9;
  transition: color 0.4s ease;
}

.facility-row:hover p {
  color: #212121;
}

/* ===== ALTERNATE ROW STYLE ===== */
.facility-row:nth-child(even) {
  flex-direction: row-reverse;
}

/* ===== DIVIDER GLOW ===== */
.facility-row:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #6fffe9, transparent);
  opacity: 0.6;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .facility-row,
  .facility-row:nth-child(even) {
    flex-direction: column;
    text-align: center;
  }

  .facility-image img {
    width: 100%;
    height: auto;
  }
}
