
/* Hero Section */
#hero {
  position: relative;
}

#hero img {
  height: 100vh;
  object-fit: cover;
}

#hero .carousel-caption {
  bottom: 40%;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

#hero .carousel-caption h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--secondary-yellow);
}

#hero .carousel-caption p {
  font-size: 1.2rem;
  color: #fff;
}

.carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.6),
      rgba(24, 19, 15, 0.9));
}

#about,
#vision-mission,
#learning-philosophy,
#highlights,
#safety,
#salient-features,
#admissions {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-orange);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* About Section */
#about p {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Highlight Cards */
.highlight-card {
  background: #fff;
  border: none;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.highlight-card:hover {
  transform: translateY(-10px);
  background: var(--secondary-yellow);
  color: var(--primary-dark);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.highlight-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

/* Buttons */
.btn-custom {
  background: var(--secondary-orange);
  color: #fff;
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 500;
  transition: 0.3s ease;
}

.btn-custom:hover {
  background: var(--secondary-yellow);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* List group for salient features */
.list-group-item {
  font-size: 1.05rem;
  border: none;
  color: var(--primary-dark);
  padding-left: 1.2rem;
}

.list-group-item::marker {
  color: var(--secondary-orange);
}

/* Popup Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup Box */
.popup-content {
  background: #fae0c8;
  padding: 25px;
  width: 450px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 10px;
  border: 3px solid #f5b903;
  color: #18130f;
  position: relative;
}

/* Close Button */
.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 25px;
  cursor: pointer;
  color: #e46c0b;
}

/* Inputs */
form input, form select, form textarea {
  width: 100%;
  padding: 8px;
  margin: 6px 0 15px 0;
  border: 2px solid #18130f;
  border-radius: 5px;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 10px;
  background: #e46c0b;
  color: white;
  border: none;
  font-size: 18px;
  cursor: pointer;
  border-radius: 6px;
}

.open-popup-btn {
  background: #f5b903;
  color: #18130f;
  padding: 10px 18px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
}
