/* ===== Base / Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root{
  --blue:#004080;         /* school blue */
  --gold:#f4c430;         /* school gold (for accents if needed) */
  --bg:#ffffff;           /* light background so transparent logo is visible */
  --text:#0b1f3a;
}
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ===== Header ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: var(--bg);
  border-bottom: 1px solid #e6e9ef;
}

.left-header{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.logo{
  height: 64px;
  width: auto;
  display: block;
}
.school-info{
  display: flex;
  flex-direction: column;
}
.school-name{
  color: var(--blue);
  font-size: clamp(1.05rem, 2.5vw, 1.5rem);
  line-height: 1.15;
  margin: 0;
  white-space: nowrap;
}
.motto{
  margin-top: 2px;
  font-size: 0.9rem;
  color: #2c4f8a;
}

/* Right: menu as pill buttons with blue outline */
.main-nav ul{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.btn-link{
  display: inline-block;
  padding: 8px 14px;
  border: 2px solid var(--blue);
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  color: var(--blue);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-link:hover,
.btn-link:focus-visible{
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  outline: none;
}

/* ===== Hero Section ===== */
/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* full screen */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
        /* dim video so text is visible */
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
}

/* TEXT STYLES */
.hero-content h1 {
  font-size: 3rem;
  color: #ffffff;      /* white text since background is dark */
  margin-bottom: 15px;
  font-weight: 900;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
  color: #f0f0f0;     /* light grey text for readability */
}

/* BUTTON STYLES */
.btn {
  display: inline-block;
  background: #0056b3;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #004494;
}

/* ===== Hamburger Menu ===== */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  padding: 5px 10px;
  color: var(--blue);
  border: none;
  background: transparent;
}

/* ===== Responsive Mobile Menu ===== */
@media (max-width: 720px){
  /* Keep header items in one row */
  .site-header {
    flex-wrap: nowrap;
  }
  .left-header {
    flex: 1;
  }

  /* Hide normal menu by default */
  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .main-nav.active {
    display: block;
  }

  /* Menu links stacked full width */
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav ul li {
    width: 100%;
  }
  .main-nav ul li a {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    background: white;
    color: var(--blue);
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
  }
  .main-nav ul li a:hover {
    background: var(--blue);
    color: white;
  }

  /* Show hamburger on mobile */
  .hamburger {
    display: block;
    align-self: centre;
  }
}
.about {
  background: #f8f9fa;
  padding: 50px 20px;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  color: var(--blue);
  font-size: 2rem;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 700;
}

.about-image {
  flex: 1;
  min-width: 280px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.about-section {
  padding: 50px 20px;
  background-color: #f5f5f5;
  text-align: center;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #004080;
}
p{
font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.about-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.about-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.about-extra {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.about-extra h3 {
  margin-bottom: 10px;
}

.about-extra ul {
  list-style: none;
  padding: 0;
}

.about-extra li {
  flex-direction: left;
  background: #f3f4f5b7;
  color: rgb(255, 255, 255);
  padding: 10px;
  margin-bottom: 5px;
  border-radius: 5px;
}

.about-extra .btn {
  display: inline-block;
  margin-top: 15px;
  background: #007bff;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
}

.about-extra .btn:hover {
  background: #0056b3;
}
.about-extra ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-extra li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #080808;
  font-size: 1rem;
}

.checkmark {
  color: green;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2rem;
}
/* === EVENTS (vertical on mobile, 3-in-a-row on desktop) === */
.events {
  padding: 50px 20px;
  background: #f9f9f9;
}

.events h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #3f4fca;
}

/* Center the grid container and control width */
.event-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Grid layout for event cards */
.events-carousel {
  display: grid;
  grid-template-columns: 1fr;      /* mobile: stacked */
  gap: 24px;
}

/* Desktop: all three side-by-side */
@media (min-width: 992px) {
  .events-carousel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Event card */
.event-slide {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.event-title {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: #444;
}

/* Image area: one shows at a time (fading) */
.event-images {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;            /* keeps box proportional */
  overflow: hidden;
  border-radius: 10px;
}

/* Fallback if aspect-ratio isn't supported */
@supports not (aspect-ratio: 4 / 3) {
  .event-images { height: 240px; }
}

.event-images img {
  position: absolute;
  inset: 0;                       /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.event-images img.active {
  opacity: 1;
}
/* Admission Section */
.admission {
  padding: 60px 20px;
  background: #f0eded;
}

.admission-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Left text */
.admission-text {
  flex: 1;
  text-align: left;
}

.admission-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #5a4da8;
}

.admission-text p {
  margin-bottom: 20px;
  color: #555;
}

.admission-text .btn {
  display: inline-block;
  padding: 12px 24px;
  background: #0077cc;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}

.admission-text .btn:hover {
  background: #005fa3;
}

/* Right images (slideshow) */
.admission-images {
  flex: 1;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

@supports not (aspect-ratio: 4 / 3) {
  .admission-images { height: 280px; }
}

.admission-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.admission-images img.active {
  opacity: 1;
}

/* --- Mobile view fix --- */
@media (max-width: 768px) {
  .admission-container {
    flex-direction: column;
    text-align: center;
  }

  .admission-text {
    order: 1;
    width: 100%;
  }

  .admission-images {
    order: 2;
    width: 100%;
    margin-top: 20px;
  }
}

/* ===== Footer ===== */
.site-footer{
  background:#0b3a7a;              /* dark blue */
  color:#fff;
}

.site-footer a{ color:inherit; text-decoration:none; }

.footer-top{
  max-width:1200px;
  margin:0 auto;
  padding:32px 20px 56px;          /* extra bottom space so the WhatsApp FAB doesn't overlap */
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:32px;
  position:relative;
}

.footer-title{
  font-size:1.25rem;
  font-weight:700;
  margin:0 0 6px;
}

.footer-tagline{
  margin:0;
  color:#dfe8ff;                   /* softer white/blue */
}

.footer-contact h4{
  margin:0 0 10px;
  font-size:1.05rem;
  font-weight:700;
}

.footer-contact ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-contact li{
  display:flex;
  align-items:center;
  gap:10px;
  margin:8px 0;
  color:#f2f6ff;
  opacity:.95;
}

.footer-contact i{
  width:20px;
  text-align:center;
}

/* WhatsApp floating button inside footer */
.whatsapp-fab{
  position:absolute;
  right:20px;
  bottom:20px;
  width:46px;
  height:46px;
  border-radius:50%;
  background:#25d366;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  transition:transform .2s ease, box-shadow .2s ease;
}
.whatsapp-fab i{ color:#fff; font-size:24px; }
.whatsapp-fab:hover{ transform:scale(1.07); box-shadow:0 10px 24px rgba(0,0,0,.3); }

/* Bottom strip */
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.2);
  text-align:center;
  padding:12px 16px;
  color:rgba(255,255,255,.9);
  font-size:.9rem;
}

/* Responsive: stack on small screens */
@media (max-width: 680px){
  .footer-top{ flex-direction:column; gap:20px; padding-bottom:70px; }
  .whatsapp-fab{ right:16px; bottom:16px; }
}
