
a {
  text-decoration: none;
}

.facility-container {
  width: min(100% - 90px, 1580px);
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #b98212;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label span {
  width: 42px;
  height: 2px;
  background: #b98212;
}

.section-label.justify-center {
  justify-content: center;
}

.light-label {
  color: #f4b72a;
}

.light-label span {
  background: #f4b72a;
}

/* Hero */

.facility-hero-section {
  position: relative;
  padding: 20px 0 20px;
  background:
    radial-gradient(circle at 88% 12%, rgba(244, 183, 42, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7f9fd 100%);
  overflow: hidden;
}

.facility-hero-section::after {
  content: "";
  position: absolute;
  right: 80px;
  top: 120px;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(rgba(217, 154, 0, 0.45) 1.4px, transparent 1.4px);
  background-size: 17px 17px;
  opacity: 0.35;
}

.facility-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.facility-hero-content h1 {
  color: #07162d;
/*  font-size: clamp(44px, 4.4vw, 72px); */
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -2px;
  margin: 0 0 24px;
}

.facility-hero-content h1 strong {
  color: #c79327;
  display: block;
}

.facility-hero-content p {
  color: #465066;
  font-size: 18px;
  line-height: 1.7;
  max-width: 850px;
  margin: 0 0 34px;
}

.facility-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.facility-primary-btn,
.facility-outline-btn,
.facility-view-btn,
.student-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  padding: 16px 30px;
  font-size: 15px;
  font-weight: 900;
}

.facility-primary-btn {
  background: #07162d;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 22, 45, 0.18);
}

.facility-primary-btn:hover {
  background: #f4b72a;
  color: #07162d;
}

.facility-outline-btn {
  color: #07162d;
  border: 1px solid rgba(7, 22, 45, 0.22);
}

.facility-outline-btn:hover {
  background: #07162d;
  color: #ffffff;
}

.facility-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.facility-quick-stats div {
  background: #ffffff;
  border: 1px solid rgba(7, 22, 45, 0.08);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(7, 22, 45, 0.06);
}

.facility-quick-stats i {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #07162d;
  color: #f4b72a;
  display: grid;
  place-items: center;
  font-size: 23px;
  margin-bottom: 14px;
}

.facility-quick-stats h4 {
  color: #07162d;
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 5px;
}

.facility-quick-stats p {
  color: #465066;
  font-size: 14px;
  margin: 0;
}

.facility-hero-image {
  position: relative;
  height: 540px;
  border-radius: 26px;
  overflow: hidden;
  background: #07162d;
  box-shadow: 0 28px 70px rgba(7, 22, 45, 0.16);
}

.facility-hero-image img {
  height: 100%;
  object-fit: cover;
}

.facility-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 22, 45, 0.92) 100%);
}

.facility-floating-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  z-index: 2;
}

.facility-floating-card i {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #07162d;
  color: #f4b72a;
  display: grid;
  place-items: center;
  font-size: 26px;
}

.facility-floating-card h4 {
  color: #07162d;
  font-size: 23px;
  font-weight: 900;
  margin: 0 0 4px;
}

.facility-floating-card p {
  color: #465066;
  margin: 0;
}

/* Navigation */

.facility-nav-section {
  position: sticky;
  top: 0;
  z-index: 700;
  background: #ffffff;
  border-top: 1px solid rgba(7, 22, 45, 0.08);
  border-bottom: 1px solid rgba(7, 22, 45, 0.08);
}

.facility-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 0;
}

.facility-nav a {
  white-space: nowrap;
  background: #f5f7fb;
  color: #07162d;
  border-radius: 50px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 800;
}

.facility-nav a i {
  color: #b98212;
  margin-right: 6px;
}

.facility-nav a:hover {
  background: #07162d;
  color: #ffffff;
}

.facility-nav a:hover i {
  color: #f4b72a;
}

/* Overview */

.facility-overview-section {
  padding: 20px 0;
  background: #ffffff;
}

.facility-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
  margin-bottom: 40px;
}

.facility-section-header h2,
.section-head-center h2,
.hostel-content h2,
.student-cta-content h2 {
  color: #07162d;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -1px;
  margin: 0 0 14px;
}

.facility-section-header h2 strong,
.section-head-center h2 strong,
.hostel-content h2 strong,
.student-cta-content h2 strong {
  color: #c79327;
}

.facility-section-header p,
.section-head-center p,
.hostel-content p,
.student-cta-content p {
  color: #465066;
  font-size: 17px;
  line-height: 1.6;
 /* max-width: 850px; */
  margin: 0;
}

.facility-view-btn {
  background: #07162d;
  color: #ffffff;
  white-space: nowrap;
}

.facility-view-btn:hover {
  background: #f4b72a;
  color: #07162d;
}

/* Featured Grid */

.facility-featured-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.9fr;
  grid-template-rows: 270px 270px;
  gap: 24px;
}

.facility-large-card,
.facility-video-card,
.facility-small-image {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #07162d;
  box-shadow: 0 16px 45px rgba(7, 22, 45, 0.12);
  color: #ffffff;
}

.facility-large-card {
  grid-row: span 2;
}

.facility-video-card {
  grid-row: span 2;
}

.facility-large-card img,
.facility-video-card img,
.facility-small-image img {
  height: 100%;
  object-fit: cover;
  transition: 0.45s ease;
}

.facility-large-card:hover img,
.facility-video-card:hover img,
.facility-small-image:hover img,
.facility-card:hover .facility-img img {
  transform: scale(1.07);
}

.facility-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 45, 0.04) 0%, rgba(7, 22, 45, 0.48) 45%, rgba(2, 11, 23, 0.96) 100%);
  z-index: 1;
}

.facility-card-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
  background: #ffffff;
  color: #07162d;
  padding: 12px 18px;
  border-radius: 8px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 900;
}

.facility-card-badge i {
  color: #c79327;
}

.facility-card-content {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 3;
}

.facility-card-content span,
.facility-small-content span,
.facility-info-card span {
  display: inline-block;
  color: #f4b72a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.facility-card-content h3 {
  color: #ffffff;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 900;
  margin: 0 0 12px;
}

.facility-card-content p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.facility-play-circle {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #f4b72a;
  color: #07162d;
  display: grid;
  place-items: center;
  font-size: 44px;
  box-shadow: 0 20px 50px rgba(244, 183, 42, 0.35);
}

.facility-play-circle i {
  margin-left: 5px;
}

.facility-info-card {
  background: #ffffff;
  color: #07162d;
  border: 1px solid rgba(7, 22, 45, 0.10);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 14px 40px rgba(7, 22, 45, 0.08);
}

.facility-info-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #07162d;
  color: #f4b72a;
  display: grid;
  place-items: center;
  font-size: 30px;
  margin-bottom: 22px;
}

.facility-info-card h3 {
  color: #07162d;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 12px;
}

.facility-info-card p {
  color: #465066;
  line-height: 1.6;
  margin-bottom: 20px;
}

.facility-info-card a {
  color: #07162d;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.facility-small-image {
  min-height: 270px;
}

.facility-small-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 3;
}

.facility-small-content h4 {
  color: #ffffff;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 900;
  margin: 0;
}

/* Facility Cards */

.all-facilities-section {
  padding: 20px 0;
  background:
    radial-gradient(circle at top right, rgba(244, 183, 42, 0.10), transparent 30%),
    #fbfcff;
}

.section-head-center {
  text-align: center;
/*  max-width: 980px; */
  margin: 0 auto 46px;
}

.facility-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
}

.facility-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(7, 22, 45, 0.10);
  box-shadow: 0 14px 40px rgba(7, 22, 45, 0.08);
  transition: 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(7, 22, 45, 0.14);
}

.facility-img {
  height: 245px;
  position: relative;
  overflow: hidden;
  background: #07162d;
}

.facility-img img {
  height: 100%;
  object-fit: cover;
  transition: 0.45s ease;
}

.facility-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 22, 45, 0.80) 100%);
}

.facility-img span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  background: #f4b72a;
  color: #07162d;
  padding: 8px 15px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.facility-body {
  padding: 28px;
}

.facility-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #07162d;
  color: #f4b72a;
  display: grid;
  place-items: center;
  font-size: 27px;
  margin-bottom: 18px;
}

.facility-body h3 {
  color: #07162d;
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 12px;
}

.facility-body p {
  color: #465066;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 22px;
}

.facility-body a {
  color: #07162d;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.facility-body a:hover {
  color: #b98212;
}

/* Hostel */

.hostel-section {
  padding: 20px 0;
  background: #ffffff;
}

.hostel-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.hostel-feature-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.hostel-feature-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fbfcff;
  border: 1px solid rgba(7, 22, 45, 0.08);
  border-radius: 12px;
  padding: 15px 18px;
  color: #07162d;
  font-weight: 800;
}

.hostel-feature-list i {
  color: #b98212;
  font-size: 20px;
}

.hostel-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.hostel-type-card {
  background: #ffffff;
  border: 1px solid rgba(7, 22, 45, 0.10);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 14px 40px rgba(7, 22, 45, 0.08);
  transition: 0.3s ease;
}

.hostel-type-card:hover {
  transform: translateY(-6px);
  background: #07162d;
  color: #ffffff;
}

.hostel-type-card i {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #07162d;
  color: #f4b72a;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.hostel-type-card:hover i {
  background: #ffffff;
  color: #07162d;
}

.hostel-type-card h3 {
  font-size: 23px;
  font-weight: 900;
  margin-bottom: 10px;
}

.hostel-type-card p {
  color: inherit;
  opacity: 0.78;
  line-height: 1.6;
  margin: 0;
}

/* Student CTA */

.student-life-cta {
  padding: 95px 0;
  background: #fbfcff;
}

.student-cta-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  background:
    radial-gradient(circle at right, rgba(244, 183, 42, 0.16), transparent 34%),
    #07162d;
  border-radius: 26px;
  overflow: hidden;
  color: #ffffff;
}

.student-cta-image {
  height: 420px;
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0% 100%);
}

.student-cta-image img {
  height: 100%;
  object-fit: cover;
}

.student-cta-content {
  padding: 56px;
}

.student-cta-content h2 {
  color: #ffffff;
}

.student-cta-content p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
}

.student-cta-btn {
  background: #f4b72a;
  color: #07162d;
}

.student-cta-btn:hover {
  background: #ffffff;
  color: #07162d;
}

/* Responsive */

@media (max-width: 1199px) {
  .facility-hero-grid,
  .hostel-layout,
  .student-cta-box {
    grid-template-columns: 1fr;
  }

  .facility-quick-stats,
  .facility-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facility-featured-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .facility-large-card {
    grid-column: span 2;
    min-height: 520px;
  }

  .facility-video-card {
    min-height: 520px;
  }

  .student-cta-image {
    clip-path: none;
  }
}

@media (max-width: 991px) {
  .facility-container {
    width: min(100% - 40px, 820px);
  }

  .facility-hero-section,
  .facility-overview-section,
  .all-facilities-section,
  .hostel-section,
  .student-life-cta {
    padding: 65px 0;
  }

  .facility-hero-image {
    height: 430px;
  }

  .facility-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .facility-section-header h2,
  .section-head-center h2,
  .hostel-content h2,
  .student-cta-content h2 {
    font-size: 38px;
  }
}

@media (max-width: 767px) {
  .facility-quick-stats,
  .facility-featured-grid,
  .facility-card-grid,
  .hostel-type-grid {
    grid-template-columns: 1fr;
  }

  .facility-large-card,
  .facility-video-card {
    grid-column: auto;
    min-height: 430px;
  }

  .facility-small-image {
    min-height: 260px;
  }

  .section-label {
    font-size: 12px;
    letter-spacing: 3px;
    gap: 10px;
  }

  .section-label span {
    width: 24px;
  }

  .facility-hero-content h1,
  .facility-section-header h2,
  .section-head-center h2,
  .hostel-content h2,
  .student-cta-content h2 {
    font-size: 34px;
    letter-spacing: -0.8px;
  }

  .facility-primary-btn,
  .facility-outline-btn,
  .facility-view-btn,
  .student-cta-btn {
    width: 100%;
  }

  .student-cta-content {
    padding: 32px 24px;
  }
}

@media (max-width: 575px) {
  .facility-container {
    width: calc(100% - 26px);
  }

  .facility-hero-image {
    height: 360px;
    border-radius: 18px;
  }

  .facility-floating-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .facility-card-content,
  .facility-small-content {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .facility-card-content h3 {
    font-size: 26px;
  }

  .facility-img {
    height: 220px;
  }

  .student-cta-image {
    height: 280px;
  }
}