.containerbox {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.btn1 {
  display: inline-block;
  background: linear-gradient(90deg, #ff9800, #ff5722);
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}
.btn1:hover {
  background: linear-gradient(90deg, #ff5722, #e91e63);
}

/* =============== HERO SECTION =============== */
.hero {
  background: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)),
  url('https://images.unsplash.com/photo-1571260899304-425eee4c7efc?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 120px 20px;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}
.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: auto;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* =============== ABOUT =============== */
.about {
  padding: 70px 0;
}
.about .grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
.about img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.about-text {
  flex: 1;
  min-width: 320px;
}
.about-text p {
  line-height: 1.8;
  margin-bottom: 20px;
}

/* =============== FEATURES =============== */
.features {
  background: #fff8ef;
  padding: 70px 0;
  text-align: center;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.feature-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.08);
  transition: 0.3s;
}
.feature-card:hover {
  transform: translateY(-8px);
}
.feature-card img {
  width: 80px;
  margin-bottom: 15px;
}

/* =============== HOSTEL LIFE =============== */
.hostel {
  background: linear-gradient(90deg,#fdf0e4,#fff3e0);
  padding: 15px 0;
}
.hostel .grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.hostel img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.hostel-text {
  flex: 1;
}
.hostel-text p {
  line-height: 1.8;
  margin-bottom: 20px;
}

/* =============== FACILITIES =============== */
.facilities {
  padding: 70px 0;
  background: #fff;
  text-align: center;
}
.facility-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}
.facility-card {
  width: 260px;
  background: #fef9f5;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.facility-card i {
  font-size: 35px;
  color: #ff9800;
  margin-bottom: 10px;
}

/* =============== ACADEMICS =============== */
.academics {
  background: #f5f9ff;
  padding: 70px 0;
}
.academics .content {
  text-align: center;
  max-width: 800px;
  margin: auto;
  line-height: 1.8;
}

/* =============== GALLERY =============== */
.gallery {
  background: #fff;
  padding: 70px 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
}
.gallery img {
  width: 100%;
  border-radius: 15px;
  height: 200px;
  object-fit: cover;
  transition: 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
}

/* =============== TESTIMONIALS =============== */
.testimonials {
  background: linear-gradient(90deg, #ffebd9, #fff);
  padding: 70px 0;
  text-align: center;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 30px;
  margin-top: 40px;
}
.testi-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  padding: 25px;
}
.testi-card img {
  width: 70px;
  border-radius: 50%;
  margin-bottom: 10px;

}

/* =============== CTA =============== */
.cta {
  background: linear-gradient(90deg, #ff9800, #ff5722);
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}
.cta h2 {
  margin-bottom: 15px;
  font-size: 28px;
}
.cta p {
  margin-bottom: 25px;
}

/* =============== FOOTER =============== */
footer {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 25px 10px;
  font-size: 14px;
}

/* Responsive */
@media (max-width:768px) {
  .about .grid, .hostel .grid { flex-direction: column; }
  .hero h1 { font-size: 2rem; }
}