:root {
  --primary-blue: #263489;
  --accent-red: #ec1d25;
  --bg-light: #f4f6f9;
}

/* WRAPPER */
.facility-wrapper {
  background: var(--bg-light);
  padding: 60px 20px;
}

/* CARD */
.facility-card {
  max-width: 1200px;
  margin: auto;
  background: #fff;
  border-radius: 25px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: 0.3s;
  position: relative;
}

/* HOVER EFFECT */
.facility-card:hover {
  transform: translateY(-6px);
}

/* CLEAR FLOAT */
.facility-card::after {
  content: "";
  display: block;
  clear: both;
}

/* ========================= */
/* IMAGE FLOAT */
/* ========================= */

.facility-image.left {
  float: left;
  width: 320px;
  margin: 0 30px 20px 0;
}

.facility-image.right {
  float: right;
  width: 320px;
  margin: 0 0 20px 30px;
}

/* IMAGE STYLE */
.facility-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  border: 6px solid #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: 0.3s;
}

.facility-image img:hover {
  transform: scale(1.04);
}

/* ========================= */
/* TEXT */
/* ========================= */

/* TITLE */
.facility-card h2 {
  color: var(--primary-blue);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
}



/* PARAGRAPH */
.facility-card p {
  color: #444;
  line-height: 1.85;
  margin-bottom: 14px;
  text-align: justify;
  font-size: 15.5px;
}

/* LIST (if used later) */
.facility-card ul {
  padding-left: 20px;
  margin-top: 10px;
}

.facility-card ul li {
  margin-bottom: 10px;
  line-height: 1.7;
}

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

@media (max-width: 992px) {

  .facility-card {
    padding: 25px;
    text-align: center;
  }

  /* REMOVE FLOAT */
  .facility-image.left,
  .facility-image.right {
    float: none;
    width: 100%;
    margin: 0 auto 20px;
  }

  .facility-image img {
    width: 100%;
    height: auto;
  }

  /* CENTER TITLE LINE */
  .facility-card h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .facility-card p {
    text-align: justify;
  }
}






/* IMAGE CAPTION */
.img-caption {
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
  color: #666;
}

/* ========================= */
/* SLIDER CONTAINER */
/* ========================= */
.library-slider {
  margin-top: 30px;
  clear: both; /* keeps below floated content */
}

/* SLIDE */
.library-slider .swiper-slide {
  border-radius: 12px;
  overflow: hidden;
}

/* IMAGE */
.library-slider img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  transition: 0.3s;
  cursor: pointer;
}

/* HOVER EFFECT */
.library-slider img:hover {
  transform: scale(1.05);
}

/* ========================= */
/* NAVIGATION (ARROWS) */
/* ========================= */
.swiper-button-next,
.swiper-button-prev {
  color: #ec1d25; /* accent-red */
}

/* ========================= */
/* PAGINATION (DOTS) */
/* ========================= */
.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #263489; /* primary-blue */
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */
@media (max-width: 768px) {
  .library-slider img {
    height: 120px;
  }
}


/* Wrapper */
.pdf-wrapper {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .pdf-wrapper object {
    height: 500px;
  }

  .course-title {
    font-size: 24px;
  }
}