:root {
  --primary: #0b3c74;
  --secondary: #ffffff;
  --accent: #e6f0fb;
  --dark: #0a1f33;
  --muted: #6b7c93;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

body {
  background: var(--secondary);
  color: var(--dark);
  line-height: 1.6;
}

/* ===== GLOBAL SECTION ===== */
section {
  padding: 70px 40px;
}

.section-title {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 32px;
  font-weight: 700;
}

/* ===== BUTTONS ===== */
.btn {
  background: #fff;
  color: var(--primary);
  padding: 12px 22px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  display: inline-block;
  margin-right: 12px;
}

.btn.alt {
  background: #0b3c7454;
  color: #ffffff;
  border: 2px solid #fff;
}

/* ===== CARDS ===== */
.card {
  background: #fff;
  padding: 28px;
  border: 1px solid #e5e5e5;
}

.card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.card p {
  font-size: 0.95rem;
  color: #333;
}

/* ===== GRID SYSTEMS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

/* ===== ABOUT HERO ===== */
.about-hero {
  position: relative;
  height: 420px;
  color: #fff;
  display: flex;
  align-items: center;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 60, 116, 0.85);
  z-index: 0;
}

.about-hero {
  background: url("../images/bg1.jpg") center / cover no-repeat;
}

.about-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.about-hero h2 {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.about-hero p {
  font-size: 1.1rem;
  max-width: 600px;
}

/* ===== MISSION & VISION ===== */
.mission-vision {
  background: var(--accent);
}

/* ===== CORE VALUES ===== */
.core-values .card {
  text-align: center;
}

/* ===== WHY US ===== */
.why-us {
  background: #f9fbfd;
}

/* ===== CTA ===== */
.about-cta {
  background: url("../images/school.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  border-radius: 16px 16px 0 0;
}

.about-cta .card {
  background: transparent;
  border: none;
  max-width: 800px;
  margin: auto;
}

.about-cta h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-cta p {
  margin-bottom: 28px;
  color: var(--secondary);
}


/* Card Images */
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* Facilities Section */
.facilities {
  background: var(--accent);
  padding: 3rem 1rem;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.facility-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 0.75rem;
}

/* Optional Responsive Adjustments */
@media screen and (max-width: 768px) {
  .card-img {
    height: 180px;
  }

  .facility-card img {
    height: 180px;
  }
}
