/* ===== GLOBAL ===== */
body {
  font-family: 'Hubot Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
}

/* ===== HERO SECTION ===== */
.infrastructure-hero {
  position: relative;
  min-height: 60vh;
  background: url('https://it.teramor.in/vijetha/infra.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
}

.infrastructure-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(232,64,42,0.50),
    rgba(167,0,0,0.65)
  );
}

.infrastructure-hero .hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.infrastructure-hero h1 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
}

.infrastructure-hero p {
  font-size: 20px;
  opacity: 0.95;
}

/* ===== SECTIONS ===== */
.library-section {
  padding: 100px 0;
  background: white;
}

.laboratories-section {
  padding: 100px 0;
  background: #F7F6EC;
}

.campus-facilities-section {
  padding: 100px 0;
  background: white;
}

/* ===== FACILITY CONTENT ===== */
.facility-label {
  display: inline-block;
  background: rgba(232,64,42,0.1);
  color: #E8402A;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  border: 1px solid rgba(232,64,42,0.2);
}

.facility-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000000;
}

.facility-intro {
  font-size: 18px;
  line-height: 1.8;
  color: #000000;
  margin-bottom: 40px;
}

/* ===== FACILITY IMAGE ===== */
.facility-image {
  position: relative;
}

.facility-image img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  width: 100%;
}

.facility-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: white;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 15px;
  border-left: 4px solid #E8402A;
}

.facility-badge i {
  font-size: 32px;
  color: #E8402A;
}

.facility-badge span {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
}

/* ===== FEATURE ITEMS ===== */
.facility-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-item i {
  font-size: 30px;
  color: #E8402A;
  min-width: 45px;
  margin-top: 5px;
}

.feature-item h5 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #000000;
}

.feature-item p {
  font-size: 15px;
  color: #000000;
  margin: 0;
  line-height: 1.6;
}

/* ===== CAMPUS FACILITIES ===== */
.section-desc {
  font-size: 17px;
  color: #000000;
  max-width: 700px;
  margin: 15px auto 0;
  line-height: 1.7;
}

.campus-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.campus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.campus-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.campus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.campus-card:hover .campus-image img {
  transform: scale(1.1);
}

.campus-content {
  padding: 35px 30px;
}

.campus-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #E8402A, #F08C1C);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.campus-icon i {
  font-size: 28px;
  color: white;
}

.campus-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000000;
}

.campus-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.campus-content ul li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  font-size: 15px;
  color: #000000;
  line-height: 1.6;
}

.campus-content ul li:before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #E8402A;
  font-size: 14px;
}

/* ===== CTA SECTION ===== */
.infrastructure-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #E8402A, #A70000);
  color: white;
}

.infrastructure-cta h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}

.infrastructure-cta p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.infrastructure-cta .btn-dark-primary {
  background: white;
  color: #E8402A;
  padding: 16px 35px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.infrastructure-cta .btn-dark-primary:hover {
  background: #F7F6EC;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.infrastructure-cta .btn-outline-light {
  padding: 16px 35px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.8);
  color: white;
  background: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
}

.infrastructure-cta .btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .infrastructure-hero h1 {
    font-size: 38px;
  }

  .facility-content h2,
  .infrastructure-cta h2 {
    font-size: 32px;
  }

  .facility-badge {
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
  }

  .facility-badge i {
    font-size: 24px;
  }

  .facility-badge span {
    font-size: 14px;
  }

  .library-section,
  .laboratories-section,
  .campus-facilities-section,
  .infrastructure-cta {
    padding: 70px 0;
  }

  .campus-image {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .infrastructure-hero h1 {
    font-size: 32px;
  }

  .infrastructure-hero p {
    font-size: 16px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}
