/* ================================================================
   BRD Public School - Main Stylesheet
   Color Palette: Deep Navy #1a2e5a | Gold #c8a84b | White #fff | Light Grey #f4f6fb
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --primary: #1a2e5a;
  --primary-dark: #0f1c3a;
  --gold: #c8a84b;
  --gold-light: #e8d08a;
  --accent: #2563c0;
  --red: #cc1f1a;
  --red-dark: #a81714;
  --saffron: #e8500a;
  --light-bg: #f4f6fb;
  --white: #ffffff;
  --text: #2d2d2d;
  --text-muted: #6b7280;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(26,46,90,0.10);
  --shadow-lg: 0 12px 48px rgba(26,46,90,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

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

/* ---- TOP BAR ---- */
.top-bar {
  background: var(--red);
  color: rgba(255,255,255,0.92);
  font-size: 0.78rem;
  padding: 7px 0;
  position: relative;
  z-index: 1100;
}
.top-bar a { color: rgba(255,255,255,0.92); }
.top-bar a:hover { color: var(--gold-light); }
.top-contact { display: flex; gap: 18px; flex-wrap: wrap; padding-left: 16px; }
.top-contact a { display: flex; align-items: center; gap: 5px; }
.top-contact i { color: var(--gold-light); }
.top-social { display: flex; align-items: center; gap: 10px; justify-content: flex-end; padding-right: 16px; }
.top-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.18); color: #fff; font-size: 0.7rem;
  transition: var(--transition);
}
.top-social a:hover { background: var(--gold); color: #fff; }
.disclosure-link {
  background: #fff;
  color: var(--red) !important;
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.72rem;
}
.disclosure-link:hover { background: var(--gold-light); color: var(--red-dark) !important; }

/* Ticker */
.ticker-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
}
.ticker span { color: #fff; font-size: 0.77rem; letter-spacing: 0.02em; }
@keyframes ticker-scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ---- NAVBAR ---- */
.main-navbar {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(26,46,90,0.10);
  padding: 8px 0;
  transition: var(--transition);
  z-index: 1050;
}
.main-navbar.scrolled {
  box-shadow: 0 4px 30px rgba(26,46,90,0.18);
}
.nav-logo {
  height: auto;
  max-height: 60px;
  width: auto;
  object-fit: contain;
}
.navbar-brand { display: flex; align-items: center; gap: 4px; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}
.brand-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.navbar-nav .nav-link {
  color: var(--primary) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: var(--light-bg);
  color: var(--gold) !important;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s;
  border-radius: 2px;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: translateX(-50%) scaleX(1); }

.disclosure-nav-btn {
  background: var(--saffron) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 7px 16px !important;
}
.disclosure-nav-btn:hover { background: var(--primary) !important; color: #fff !important; }
.disclosure-nav-btn::after { display: none !important; }

/* Dropdown */
.dropdown-menu {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 4px;
  min-width: 220px;
  animation: fadeInDown 0.2s ease;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition);
}
.dropdown-item:hover { background: var(--light-bg); color: var(--gold); padding-left: 22px; }
.dropdown-header { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); padding: 6px 16px 2px; }

/* ---- HERO / SLIDER ---- */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
  height: 88vh;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 8s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08) translate(-2%, -1%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,28,58,0.75) 0%, rgba(26,46,90,0.4) 60%, transparent 100%);
}
.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 60px;
  z-index: 2;
}
.hero-caption h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  color: #fff;
  font-weight: 900;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  line-height: 1.1;
  max-width: 700px;
}
.hero-caption p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  margin: 16px 0 28px;
  max-width: 540px;
}
.hero-caption .hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  max-width: fit-content;
  white-space: nowrap;
}
.carousel-control-prev, .carousel-control-next {
  width: 50px; height: 50px;
  top: 50%; transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
  bottom: auto;
  transition: var(--transition);
}
.carousel-control-prev { left: 20px; }
.carousel-control-next { right: 20px; }
.carousel-control-prev:hover, .carousel-control-next:hover { background: var(--gold); border-color: var(--gold); }
.carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  margin: 0 4px;
}
.carousel-indicators .active { background: var(--gold); transform: scale(1.3); }

/* ---- WELCOME STRIP ---- */
.welcome-strip {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-bottom: 3px solid var(--gold);
  padding: 28px 0;
}
.welcome-strip .text-muted { color: rgba(255,255,255,0.7) !important; }
.welcome-strip strong { color: #fff !important; }
.welcome-strip i { color: #fff !important; }
.welcome-strip .btn-gold { background: #fff; color: var(--red) !important; }
.welcome-strip .btn-gold:hover { background: var(--gold-light); color: var(--red-dark) !important; }

/* ---- SECTION COMMON ---- */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--primary); }
.section-subtitle { color: var(--text-muted); font-size: 1rem; margin-top: 8px; }
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.gold-line {
  width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 12px 0 24px;
}
.gold-line.center { margin-left: auto; margin-right: auto; }
.bg-light-blue { background: var(--light-bg); }
.bg-navy { background: var(--primary); }
.bg-navy * { color: rgba(255,255,255,0.9); }

/* ---- CARDS ---- */
.card-hover {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  height: 100%;
}
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img-top { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s ease; }
.card-hover:hover .card-img-top { transform: scale(1.05); }

/* ---- STATS ---- */
.stats-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.stat-card {
  text-align: center;
  padding: 36px 20px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin: 10px 0 6px;
}
.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
  font-weight: 500;
}
.stat-icon { font-size: 2rem; color: var(--gold); margin-bottom: 10px; opacity: 0.7; }

/* ---- TEAM CARDS (Portrait) ---- */
.team-card {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0 0 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  overflow: hidden;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-img {
  width: 100%;
  height: 260px;
  border-radius: 0;
  object-fit: cover;
  object-position: top;
  border: none;
  margin: 0 auto 0;
  display: block;
}
.team-name { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; padding: 14px 12px 0; }
.team-title { font-size: 0.78rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.team-desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; padding: 0 10px; }

/* ---- ACADEMIC ACHIEVEMENTS ---- */
.topper-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.topper-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.topper-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.topper-body { padding: 22px; }
.topper-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---- TESTIMONIAL ---- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: -10px; left: 20px;
  line-height: 1;
}
.testimonial-avatar {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold);
}
.testimonial-text { font-style: italic; color: var(--text-muted); margin: 14px 0; }
.testimonial-name { font-weight: 700; color: var(--primary); font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }
.stars { color: var(--gold); font-size: 0.8rem; }

/* ---- GALLERY ---- */
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  filter: brightness(0.95);
}
.gallery-grid img:hover { transform: scale(1.03); filter: brightness(1.05); box-shadow: var(--shadow-lg); }
.gallery-activity-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.gallery-activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-activity-card img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.4s; }
.gallery-activity-card:hover img { transform: scale(1.07); }
.gallery-activity-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(15,28,58,0.85));
  padding: 30px 16px 16px;
  color: #fff;
}
.gallery-activity-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin: 0; }

/* ---- VIDEO SECTION BACKGROUND ---- */
.video-section-bg {
  background: linear-gradient(135deg, #0f1c3a 0%, #1a2e5a 60%, #243b6e 100%);
}
.video-section-bg .section-label { color: var(--gold-light); }
.video-section-bg h3 { color: #fff; }
.video-section-bg p { color: rgba(255,255,255,0.8); }

/* ---- BUTTONS ---- */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary-custom:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,46,90,0.3); color: #fff; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--primary-dark);
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(200,168,75,0.4); color: var(--primary); }
.btn-outline-custom {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 11px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  background: transparent;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-custom:hover { background: var(--primary); color: #fff; }
.btn-red {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(204,31,26,0.4); color: #fff; }

/* ---- PRE-FOOTER CTA BAND ---- */
.pre-footer-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 60%, #1a3a8a 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.pre-footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ---- BREADCRUMB SECTION ---- */
.breadcrumb-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 50px 0 40px;
  position: relative;
  overflow: hidden;
}
.breadcrumb-title {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 10px;
}
.breadcrumb { background: transparent; }
.breadcrumb-item a { color: var(--gold-light); }
.breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }
/* Animated shapes */
.breadcrumb-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  animation: floatShape 8s ease-in-out infinite;
}
.shape.s1 { width: 200px; height: 200px; top: -80px; right: 10%; animation-delay: 0s; }
.shape.s2 { width: 120px; height: 120px; bottom: -40px; right: 25%; animation-delay: 2s; }
.shape.s3 { width: 80px; height: 80px; top: 20px; right: 40%; animation-delay: 4s; }
.shape.s4 { width: 300px; height: 300px; top: -150px; right: -50px; background: rgba(200,168,75,0.06); animation-delay: 1s; }
@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* ---- PARALLAX ---- */
.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 100px 0;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,28,58,0.7);
}

/* ---- FOOTER ---- */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 60px 0 40px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: var(--gold); }
.footer-logo { height: 64px; width: auto; margin-bottom: 12px; object-fit: contain; }
.site-footer h5 { color: #fff; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 8px; }
.site-footer p { font-size: 0.85rem; margin-bottom: 6px; }
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--gold); }
.footer-heading { color: var(--gold); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; margin-bottom: 14px; font-family: var(--font-body); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.85rem; display: flex; align-items: center; gap: 6px; }
.footer-links a::before { content: '›'; color: var(--gold); font-size: 1rem; }
.footer-links a:hover { padding-left: 6px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8);
  font-size: 0.8rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--primary-dark); transform: translateY(-3px); }
.affil-badge { font-size: 0.75rem !important; color: var(--gold-light) !important; }

/* ---- STICKY BUTTONS ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25D366;
  color: #fff;
  width: 56px; height: 56px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: var(--transition);
  animation: pulse-green 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,0.7); }
}
.sticky-social {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sticky-social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  font-size: 0.85rem; color: #fff;
  transition: var(--transition);
}
.ss-fb { background: #1877f2; }
.ss-yt { background: #ff0000; }
.ss-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.sticky-social a:hover { width: 46px; color: #fff; }

/* ---- MODAL ---- */
.modal-content { border-radius: var(--radius-lg); overflow: visible; border: none; position: relative; }
.modal-img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; display: block; }
.modal-body-content { padding: 28px; }
.modal-close-btn {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  background: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  cursor: pointer;
  z-index: 1060;
  transition: var(--transition);
  line-height: 1;
  padding: 0;
}
.modal-close-btn:hover { background: var(--red); color: #fff; transform: scale(1.1); }

/* ---- INFRA PAGE ---- */
.infra-lead { display: flex; gap: 30px; align-items: center; margin-bottom: 48px; }
.infra-lead img { width: 45%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.infra-lead-text { flex: 1; }
.infra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
.infra-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); cursor: pointer; transition: var(--transition); }
.infra-grid img:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }

/* ---- CAREER ---- */
.career-card {
  background: #fff;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.career-card:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.career-card h5 { color: var(--primary); margin-bottom: 6px; }
.career-badge { background: var(--light-bg); color: var(--primary); font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; display: inline-block; margin-bottom: 10px; }

/* ---- CONTACT ---- */
.contact-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  height: 100%;
}
.contact-icon { width: 48px; height: 48px; background: var(--light-bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--gold); margin-bottom: 12px; }
.contact-form input, .contact-form textarea, .contact-form select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 100%;
  margin-bottom: 14px;
  transition: var(--transition);
  background: var(--white);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(200,168,75,0.12); }

/* ---- KINDERGARTEN PAGE ---- */
.kinder-hero {
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.kinder-floating {
  position: absolute;
  animation: floatKinder 3s ease-in-out infinite;
  font-size: 2rem;
  pointer-events: none;
  user-select: none;
}
@keyframes floatKinder {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}
.kinder-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transition: var(--transition);
  border-top: 5px solid var(--gold);
}
.kinder-card:hover { transform: translateY(-8px); box-shadow: 0 16px 50px rgba(0,0,0,0.18); }
.kinder-img { width: 100%; height: 220px; object-fit: cover; }
.kinder-section-color-1 { background: linear-gradient(135deg, #fff5f5 0%, #fff 100%); }
.kinder-section-color-2 { background: linear-gradient(135deg, #f0fff4 0%, #fff 100%); }
.kinder-section-color-3 { background: linear-gradient(135deg, #eff6ff 0%, #fff 100%); }
.kinder-feature-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  transition: var(--transition);
}
.kinder-feature-icon:hover { transform: scale(1.1) rotate(10deg); }
.kinder-bounce {
  animation: bounceKinder 1.5s ease-in-out infinite;
}
@keyframes bounceKinder {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---- MISC ---- */
.dummy-img {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: 2rem;
}
.map-wrapper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-wrapper iframe { display: block; }

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: opacity 0.8s ease; }
.fade-in.visible { opacity: 1; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .hero-slide { height: 60vh; }
  .hero-caption { padding: 0 30px; }
  .infra-lead { flex-direction: column; }
  .infra-lead img { width: 100%; }
  .sticky-social { display: none; }
  .section-pad { padding: 50px 0; }
  .top-contact { display: none; }
}

@media (max-width: 767px) {
  .hero-slide { height: 50vh; min-height: 360px; }
  .hero-caption h1 { font-size: 1.6rem; }
  .infra-grid { grid-template-columns: repeat(2,1fr); }
  .stat-number { font-size: 2.4rem; }
  .team-img { height: 200px; }

  /* Modal: smaller image on phones */
  .modal-img { height: 200px; }
  .modal-body-content { padding: 18px; }
  .modal-dialog { margin: 12px; }
  .modal-close-btn { top: -12px; right: -8px; width: 32px; height: 32px; font-size: .85rem; }

  /* Footer: center-align everything on mobile */
  .site-footer .col-lg-4,
  .site-footer .col-lg-2,
  .site-footer .col-lg-3 { text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-logo { margin: 0 auto 12px; }
  .footer-links { text-align: center; }
  .footer-links a { justify-content: center; }
  .footer-links a::before { display: none; }
  .footer-social { justify-content: center; }
  .footer-bottom .col-md-8,
  .footer-bottom .col-md-4 { text-align: center !important; }
  .footer-bottom .row { flex-direction: column; gap: 6px; }
  .affil-badge { text-align: center; }

  /* Footer contact lines center */
  .site-footer p { text-align: center; }
  .footer-heading { text-align: center; }
}

@media (max-width: 480px) {
  .hero-caption { padding: 0 18px; }
  .infra-grid { grid-template-columns: 1fr; }
  .whatsapp-float { right: 16px; bottom: 16px; }

  /* Modal even smaller on very small screens */
  .modal-img { height: 160px; }
  .modal-body-content { padding: 14px; }
  .modal-body-content h4 { font-size: 1rem; }
  .modal-body-content p { font-size: .82rem; }
  .modal-body-content .btn-primary-custom,
  .modal-body-content .btn-gold { padding: 9px 16px; font-size: .82rem; }
}
