body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, rgba(5, 80, 60, 0.7), rgba(6, 95, 70, 0.65)),
              url('image/BeNHS Homepage.jpg') center/cover fixed;
  color: #1f2a40;
}

* {
  box-sizing: border-box;
}

/* NAVBAR */
.navbar {
  transition: 0.3s ease;
  background: transparent;
  padding: 1rem 0;
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.navbar-logo {
  height: 50px;
  width: auto;
  display: inline-block;
  border-radius: 8px;
}
.navbar .nav-link {
  color: rgba(255,255,255,0.92);
  transition: color 0.25s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #a7f3d0;
}
.navbar.scrolled {
  background: rgba(5, 80, 60, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(16, 185, 129, 0.12);
  padding: 0.75rem 0;
}

/* HERO */
.hero {
  min-height: 92vh;
  background: linear-gradient(180deg, rgba(5, 80, 60, 0.7), rgba(6, 95, 70, 0.65)),
              url('image/BeNHS Homepage.jpg') center/cover;
  color: white;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 30%),
              radial-gradient(circle at bottom left, rgba(167, 243, 208, 0.08), transparent 28%);
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(167, 243, 208, 0.15);
  color: #fafcff;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
}
.hero h1 {
  max-width: 820px;
  margin: 0 auto;
  text-shadow: 0 18px 40px rgba(0,0,0,0.4);
  letter-spacing: 0.04em;
}
.hero p {
  max-width: 720px;
  margin: 1.4rem auto 0;
  opacity: 0.92;
  font-size: 1.1rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* BUTTON */
.btn-main {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  border-radius: 999px;
  padding: 14px 34px;
  color: white;
  font-weight: 600;
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(5, 150, 105, 0.32);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}
.btn-secondary-alt {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
}
.btn-secondary-alt:hover {
  background: rgba(255,255,255,0.24);
}

/* SECTION */
.section-title {
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 0.08em;
  color: white;
}

/* CARDS */
.card-modern {
  border: none;
  border-radius: 18px;
  transition: 0.3s;
  background: linear-gradient(180deg, #ffffff, #f0fdf4);
  border: 1px solid rgba(16, 185, 129, 0.1);
}
.card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(16, 185, 129, 0.15);
}

/* STATS */
.stats {
  margin-top: -70px;
  padding-bottom: 3rem;
}
.stat-box {
  background: rgba(255,255,255,0.98);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 22px 50px rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.12);
}
.stat-box h3 {
  color: #047857;
  margin-bottom: 0.75rem;
}
.stat-box p {
  color: #586286;
  margin-bottom: 0;
}

/* TESTIMONIAL */
.testimonial {
  background: linear-gradient(180deg, #ffffff, #f0fdf4);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.12);
  min-height: 220px;
}
.testimonial p {
  font-size: 1rem;
  line-height: 1.8;
}
.testimonial h6 {
  margin-top: 1.8rem;
  color: #047857;
}

/* PARTNERS */
.partner-logo {
  opacity: 0.7;
  transition: 0.3s ease;
  filter: grayscale(20%);
}
.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* FOOTER */
footer {
  background: #047857;
  color: #d8f5e8;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* CARDS */
.card-modern {
  border: none;
  border-radius: 15px;
  transition: 0.3s;
}
.card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.program-card {
  overflow: hidden;
  background: white;
  border-radius: 18px;
  text-align: left;
}

.program-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 1rem;
}

.program-card-content {
  position: relative;
}

.program-card h5,
.program-card p {
  color: #1f2a40;
}

/* STATS */
.stats {
  margin-top: 0;
}
.stat-box {
  background: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* TESTIMONIAL */
.testimonial {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 15px;
}

/* FACULTY */
.faculty img {
  border-radius: 15px;
}

.zoomable-image {
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoomable-image:hover {
  transform: scale(1.02);
}

.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: 1.5rem;
  z-index: 1050;
  overflow: auto;
}

.image-modal.active {
  display: flex;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.image-modal img.zoomed {
  max-width: none;
  max-height: none;
  transform: scale(1.8);
  cursor: zoom-out;
}

.image-modal::before {
  content: 'Click anywhere to close';
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #f8fafc;
  font-size: 0.95rem;
  opacity: 0.8;
}

/* SHS CARDS */
.shs-card {
  border-radius: 20px;
  overflow: hidden;
  background: white;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shs-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.shs-card-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.shs-content {
  padding: 25px;
}

/* PARTNERS */
.partner-logo {
  opacity: 0.7;
  transition: 0.3s;
}
.partner-logo:hover {
  opacity: 1;
}

/* FOOTER */
footer {
  background: #111;
  color: white;
}