  
  /* ---------- HERO ---------- */
  .hero-section {
    background: linear-gradient(rgba(0, 67, 143, 0.6), rgba(0, 67, 143, 0.6)), 
                url('images/cbse-boarding-school-banner.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
  }

  .hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
  }

  .hero-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: auto;
  }

  /* ---------- SECTIONS ---------- */
  section {
    max-width: 1200px;
    margin: auto;
    padding: 70px 20px;
  }

  /* ---------- ABOUT ---------- */
  .about-school {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
  }

  .about-school img {
    flex: 1;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .about-content {
    flex: 1;
  }

  /* ---------- FACILITIES ---------- */
  
  /* ---------- GALLERY ---------- */
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 40px;
  }

  .gallery img {
    width: 100%;
    border-radius: 10px;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s;
  }

  .gallery img:hover {
    transform: scale(1.05);
  }

  .cta-section {
    background: linear-gradient(135deg, #F63, #F90);
    color: #fff;
    text-align: center;
    padding: 70px 20px;
  }

  .cta-btn {
    background: #fff;
    color: #0078d4;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
  }

  .cta-btn:hover {
    background: #004a99;
    color: #fff;
  }
  
  .routine-modern-section {
  background: linear-gradient(135deg, #f7fbff, #fff5ec);
  padding: 80px 20px;
}

.routine-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.routine-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #1b3a7a;
  margin-bottom: 15px;
}

.routine-subtext {
  color: #555;
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.routine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.routine-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border-top: 4px solid #ff6b35;
}

.routine-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-top-color: #ff8a50;
}

.routine-time {
  display: inline-block;
  font-weight: 700;
  color: #ff6b35;
  font-size: 1rem;
  margin-bottom: 8px;
}

.routine-activity {
  color: #333;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .routine-heading {
    font-size: 1.6rem;
  }

  .routine-grid {
    grid-template-columns: 1fr;
  }
}

  
  
.features-section {
  background: linear-gradient(135deg, #f0f7ff, #fff8f0);
  padding: 70px 20px;
  
}

.features-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.features-heading {
  font-size: 2rem;
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
}

.features-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ff7043;
  margin: 12px auto 0;
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  justify-items: center;
}

.feature-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 300px;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #ff7043, #ffb74d);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(255, 112, 67, 0.3);
}

.feature-title {
  font-size: 1.1rem;
  color: #1a237e;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .feature-card {
    max-width: 100%;
  }
}




  @media (max-width: 768px) {
    .about-school { flex-direction: column; }
    .hero-section h1 { font-size: 2rem; }
  }