



.hero {
  background: linear-gradient(120deg, #ffb703, #fb8500);
  color: white;
  text-align: center;
  padding: 70px 20px;
}
.hero h1 {
  font-size: 2.5rem;
  margin: 0;
}
.hero p {
  font-size: 1.1rem;
  margin-top: 10px;
}

/* Facility Section */
.facility-section {
  padding: 50px 20px;
  text-align: center;
}
.facility-section h2 {
  color: #003366;
  font-size: 2rem;
  margin-bottom: 40px;
}
.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}
.facility-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 25px;
  transition: transform 0.3s ease;
}
.facility-card:hover {
  transform: translateY(-8px);
}
.facility-card i {
  font-size: 2.5rem;
  color: #ff8500;
  margin-bottom: 15px;
}
.facility-card h4 {
  color: #003366;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.facility-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Mini Routine Section */
.routine {
  background: #f0f8ff;
  padding: 50px 20px;
  text-align: center;
}
.routine h2 {
  color: #003366;
  font-size: 2rem;
  margin-bottom: 30px;
}
.routine-table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 90%;
  max-width: 700px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}
.routine-table th, .routine-table td {
  border: 1px solid #ccc;
  padding: 12px 15px;
  text-align: center;
}
.routine-table th {
  background: #ffb703;
  color: white;
  font-weight: 600;
}
.routine-table tr:nth-child(even) {
  background: #f9f9f9;
}

/* Contact Section */
.contact {
  background: linear-gradient(120deg, #219ebc, #023047);
  color: white;
  text-align: center;
  padding: 60px 20px;
}
.contact h2 {
  margin-bottom: 15px;
}
.contact p {
  margin: 8px 0;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .facility-section h2, .routine h2 {
    font-size: 1.6rem;
  }
}











.hostel-feature-section {
    line-height: 1.7;
    color: #333;
  }

  /* Hero Image */
  .hostel-hero-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    margin-top: 20px;
  }

  /* Main heading */
  .hostel-main-heading {
    color: #003366;
    font-weight: 700;
    font-size: 2rem;
    border-left: 5px solid #f58220;
    padding-left: 10px;
    margin-bottom: 1.5rem;
  }

  /* Sub-heading */
  .hostel-sub-heading {
    color: #00509e;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
  }

  .hostel-sub-heading::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f58220, #ffb703);
    bottom: -6px;
    left: 0;
    border-radius: 2px;
  }

  /* Feature Items */
  .feature-item {
    background: #f8faff;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }

  .feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
  }

  .icon-container {
    background: linear-gradient(135deg, #00509e, #00b4d8);
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Introduction image */
  .intro-img {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .intro-img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  }

  /* Facility Section */
  .hostel-facilities-section {
    background: #f0f6ff;
    padding: 40px 20px;
    border-radius: 15px;
  }

  .facility-card {
    background: #fff;
    border-radius: 14px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  }

  .facility-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
  }

  /* Typography */
  .facility-card h5 {
    color: #003366;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .facility-card p {
    color: #555;
    font-size: 0.95rem;
  }

  /* Gallery Section */
  .hostel-gallery {
    background: linear-gradient(180deg, #f8fbff, #eef5ff);
    padding: 40px 20px;
    border-radius: 14px;
  }
  .gallery-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    height: 230px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  }

  /* Responsive */
  @media (max-width: 768px) {
    .hostel-hero-image img {
      height: 250px;
    }
    .hostel-main-heading {
      font-size: 1.6rem;
    }
    .hostel-sub-heading {
      font-size: 1.3rem;
    }
    .intro-img {
      margin-top: 20px;
    }
    .facility-card {
      padding: 20px 15px;
    }
  }