/* =========================================================
   Bharat School of Learning — Site Stylesheet
   ========================================================= */

:root {
  --green-dark:   #0f3d24;
  --green:        #1a5c34;
  --green-light:  #2e8b53;
  --green-pale:   #eaf5ee;
  --gold:         #d4a017;
  --gold-light:   #f4c430;
  --cream:        #fdfaf2;
  --ink:          #1c2b22;
  --muted:        #5c6b62;
  --white:        #ffffff;
  --radius-lg:    22px;
  --radius-md:    14px;
  --shadow-soft:  0 10px 30px rgba(15,61,36,.10);
  --shadow-hover: 0 18px 40px rgba(15,61,36,.18);
  --font-head:    'Baloo 2', 'Poppins', sans-serif;
  --font-body:    'Poppins', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green-dark);
}

a { text-decoration: none; }

img { max-width: 100%; height: auto; }

.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .section-sm { padding: 36px 0; }
}

.bg-pale { background: var(--green-pale); }
.bg-cream { background: var(--cream); }
.bg-dark-green { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; }
.bg-dark-green h1, .bg-dark-green h2, .bg-dark-green h3 { color: #fff; }

/* -------- Eyebrow / section labels -------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,160,23,.12);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.eyebrow::before { content: "\f6fe"; font-family: "bootstrap-icons"; }

.section-title { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 12px; }
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 640px; }

/* =========================================================
   Top utility bar
   ========================================================= */
.topbar {
  background: var(--green-dark);
  color: #d9ead9;
  font-size: .85rem;
  padding: 8px 0;
}
.topbar a { color: #d9ead9; margin-left: 18px; }
.topbar a:hover { color: var(--gold-light); }

/* =========================================================
   Navbar
   ========================================================= */
.main-navbar {
  background: #fff;
  box-shadow: 0 2px 18px rgba(15,61,36,.08);
  padding: 10px 0;
  z-index: 1030;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-brand img { height: 56px; width: 56px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 800; color: var(--green-dark); font-size: 1.15rem; }
.brand-sub { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.main-navbar .nav-link {
  font-weight: 600;
  color: var(--ink);
  padding: 10px 16px !important;
  position: relative;
}
.main-navbar .nav-link.active,
.main-navbar .nav-link:hover { color: var(--green); }
.main-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}
.btn-enquire {
  background: var(--gold);
  color: var(--green-dark) !important;
  font-weight: 700;
  border-radius: 50px;
  padding: 10px 22px !important;
  border: none;
  transition: .25s;
}
.btn-enquire:hover { background: var(--green); color: #fff !important; transform: translateY(-2px); }

/* =========================================================
   Hero carousel
   ========================================================= */
.hero-carousel { position: relative; }
.hero-carousel .carousel-item img {
  width: 100%;
  height: 78vh;
  min-height: 420px;
  max-height: 680px;
  object-fit: cover;
}
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%; background: var(--gold);
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next { width: 6%; opacity: .8; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,40,24,.92) 0%, rgba(10,40,24,.72) 38%, rgba(10,40,24,.30) 66%, rgba(10,40,24,.08) 100%);
  display: flex; align-items: center;
}
.hero-content { max-width: 640px; color: #fff; }
.hero-content .eyebrow { background: rgba(244,196,48,.22); }
.hero-content h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.15; margin-bottom: 16px; }
.hero-content p { color: #e4efe6; font-size: 1.08rem; max-width: 520px; margin-bottom: 28px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 767px) {
  .hero-content { max-width: 100%; }
  .hero-overlay { background: linear-gradient(180deg, rgba(10,40,24,.55) 0%, rgba(10,40,24,.88) 65%, rgba(10,40,24,.94) 100%); align-items: flex-end; padding-bottom: 50px; }
}

/* Page (inner) hero banner */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green) 60%, var(--green-light));
  color: #fff;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(244,196,48,.18), transparent 45%),
                     radial-gradient(circle at 10% 90%, rgba(244,196,48,.12), transparent 40%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero .breadcrumb { justify-content: center; }
.page-hero .breadcrumb a { color: #d9ead9; }
.page-hero .breadcrumb-item.active { color: var(--gold-light); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: #d9ead9; }

/* =========================================================
   Buttons
   ========================================================= */
.btn-brand {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 30px;
  border: 2px solid var(--green);
  transition: .25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-brand:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn-brand-outline {
  background: transparent;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 30px;
  border: 2px solid #fff;
  transition: .25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-brand-outline:hover { background: #fff; color: var(--green-dark); }
.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 30px;
  border: 2px solid var(--gold);
  transition: .25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-gold:hover { background: transparent; color: var(--gold); transform: translateY(-2px); }
.btn-cta-white {
  background: #fff;
  color: var(--green-dark);
  font-weight: 700;
  border-radius: 50px;
  padding: 13px 30px;
  border: none;
  white-space: nowrap;
  transition: .25s;
}
.btn-cta-white:hover { background: var(--gold); color: var(--green-dark); transform: translateY(-2px); }

/* =========================================================
   Feature / value cards (homepage top strip)
   ========================================================= */
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  height: 100%;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15,61,36,.06);
  transition: .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feature-icon {
  width: 62px; height: 62px;
  border-radius: 16px;
  background: var(--green-pale);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.feature-card:nth-child(2n) .feature-icon { background: rgba(212,160,23,.14); color: var(--gold); }

/* =========================================================
   About section
   ========================================================= */
.about-image-wrap { position: relative; }
.about-image-wrap img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.about-badge {
  position: absolute;
  bottom: -24px; left: -24px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-hover);
  font-family: var(--font-head);
}
.about-badge .num { font-size: 1.8rem; font-weight: 800; color: var(--gold-light); display: block; }
.about-badge .lbl { font-size: .8rem; letter-spacing: .04em; }
@media (max-width: 767px) {
  .about-badge { position: static; margin-top: 16px; display: inline-block; }
}
.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.check-list li i { color: var(--green); font-size: 1.2rem; margin-top: 2px; }

/* =========================================================
   Stats counter
   ========================================================= */
.stats-strip {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 46px 20px;
  margin-top: -70px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-hover);
}
.stat-item { text-align: center; padding: 10px; }
.stat-item .stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold-light);
  display: block;
}
.stat-item .stat-label { font-size: .9rem; letter-spacing: .03em; color: #eaf5ee; }

/* =========================================================
   Academics age-group cards
   ========================================================= */
.age-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: .3s;
  border: 1px solid rgba(15,61,36,.06);
}
.age-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.age-card .age-img { position: relative; overflow: hidden; height: 210px; }
.age-card .age-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.age-card:hover .age-img img { transform: scale(1.08); }
.age-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 700;
  font-size: .8rem;
  padding: 6px 14px;
  border-radius: 50px;
}
.age-card .age-body { padding: 22px 24px 26px; }
.age-card h5 { margin-bottom: 6px; }
.age-card .age-stage { color: var(--green); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; display: block; }

/* =========================================================
   Facility cards
   ========================================================= */
.facility-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-soft);
}
.facility-card img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.facility-card:hover img { transform: scale(1.1); }
.facility-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,61,36,.92) 0%, rgba(15,61,36,.15) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  color: #fff;
}
.facility-overlay .fac-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gold);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; font-size: 1.2rem;
}
.facility-overlay h5 { color: #fff; margin-bottom: 4px; }
.facility-overlay p { font-size: .88rem; color: #dcecdf; margin: 0; }

/* =========================================================
   Motto values strip
   ========================================================= */
.motto-card {
  text-align: center;
  padding: 30px 20px;
  height: 100%;
}
.motto-card .motto-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 2px dashed var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 2rem; color: var(--gold-light);
}
.motto-card h5 { color: #fff; }
.motto-card p { color: #d9ead9; font-size: .92rem; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
  display: block;
}
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: .4s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-zoom {
  position: absolute; inset: 0;
  background: rgba(15,61,36,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: .3s;
  color: #fff; font-size: 1.6rem;
}
.gallery-item:hover .gallery-zoom { opacity: 1; }

/* =========================================================
   Why choose us / value props (replaces testimonials)
   ========================================================= */
.value-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border-left: 5px solid var(--gold);
  box-shadow: var(--shadow-soft);
}
.value-card i { font-size: 1.8rem; color: var(--green); margin-bottom: 12px; display: block; }

/* =========================================================
   CTA strip
   ========================================================= */
.cta-strip {
  background: linear-gradient(120deg, var(--gold), #e8b83b);
  color: var(--green-dark);
  padding: 34px 0;
}
.cta-strip h3 { color: var(--green-dark); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--green-dark);
  color: #cfe3d4;
  padding: 60px 0 24px;
  font-size: .93rem;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.footer-brand img { height: 50px; }
.footer-brand span { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.footer-heading { color: #fff; font-family: var(--font-head); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #cfe3d4; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; }
.footer-contact i { color: var(--gold-light); margin-top: 3px; }
.footer-contact a { color: #cfe3d4; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-map { border-radius: var(--radius-md); overflow: hidden; filter: grayscale(.15); }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: .25s;
}
.social-links a:hover { background: var(--gold); color: var(--green-dark); }
.site-footer hr { border-color: rgba(255,255,255,.12); margin: 30px 0 18px; }
.footer-bottom { font-size: .85rem; color: #a9c4af; }

/* =========================================================
   Floating buttons
   ========================================================= */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  z-index: 1040;
  animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.back-to-top {
  position: fixed; bottom: 26px; left: 26px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: .3s;
  z-index: 1040;
  box-shadow: var(--shadow-soft);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* =========================================================
   Forms
   ========================================================= */
.form-control, .form-select {
  border-radius: 10px;
  padding: 12px 16px;
  border: 1.5px solid #dde5e0;
}
.form-control:focus, .form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 .2rem rgba(26,92,52,.15);
}
.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 40px;
}
@media (max-width: 575px) { .contact-card { padding: 26px; } }
.info-pill {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
}
.info-pill .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--green-pale); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.2rem;
}

/* =========================================================
   Misc
   ========================================================= */
.breadcrumb { --bs-breadcrumb-divider: '/'; }
.divider-icon { color: var(--gold); font-size: 1.4rem; margin: 0 auto 14px; display: block; text-align: center; }
