/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f9fafc;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #1a3a5c;
}

/* ========== HEADER & NAV ========== */
header {
  background: #1a3a5c;
  color: #fff;
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* ===== LOGO STYLES (NEW) ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.logo h1 {
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: #fff;
}
/* ===== END LOGO ===== */

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid #fff;
  color: #fff;
  font-size: 1.8rem;
  padding: 0.2rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

nav a:hover {
  border-bottom-color: #f5a623;
}

/* ========== HERO (UPDATED with school image) ========== */
.hero {
  /* Dark overlay + school photo */
  background: linear-gradient(rgba(26, 58, 92, 0.75), rgba(26, 58, 92, 0.75)), 
              url('images/school.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 6rem 0;
  text-align: center;
}

.hero-content h2 {
  font-size: 2.8rem;
  margin-bottom: 0.3rem;
  color: #fff;
}

.hero-content .motto {
  font-size: 1.6rem;
  font-weight: 700;
  color: #f5a623;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: #f5a623;
  color: #1a3a5c;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.6);
}

/* ========== ABOUT ========== */
.about {
  padding: 4rem 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
  background: #eef3f9;
  padding: 1.8rem 1rem;
  border-radius: 16px;
  margin-top: 1.5rem;
}

.stat-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
  color: #1a3a5c;
}

.stat-label {
  font-size: 1rem;
  color: #555;
}

.about-image img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s;
}

.about-image img:hover {
  transform: scale(1.01);
}

/* ========== PROGRAMMES ========== */
.programmes {
  padding: 4rem 0;
  background: #f0f4fa;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.card {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}

.card h3 {
  margin-bottom: 0.6rem;
  color: #1a3a5c;
}

/* ========== GALLERY – 20 PHOTOS ========== */
.gallery {
  padding: 4rem 0;
  background: #fff;
}

.gallery-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
/* ========== TESTIMONIALS – OPTION 1 (Clean) ========== */
/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 4rem 0;
  background: #f0f4fa;
}

.testimonials-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: #fff;
  padding: 1.8rem;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #222;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  font-size: 2rem;
  color: #f5a623;
  font-weight: bold;
  opacity: 0.4;
  margin-right: 2px;
}

.testimonial-quote::after {
  content: '"';
  font-size: 2rem;
  color: #f5a623;
  font-weight: bold;
  opacity: 0.4;
  margin-left: 2px;
}

.testimonial-author {
  margin-top: auto;
  padding-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eef3f9;
}

.testimonial-author strong {
  color: #1a3a5c;
  font-size: 1rem;
}

.testimonial-author span {
  color: #777;
  font-size: 0.85rem;
  background: #eef3f9;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
}
/* ========== FOOTER ========== */
footer {
  background: #0f283d;
  color: #d0dde9;
  padding: 2.5rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-info h3 {
  color: #fff;
  margin-bottom: 0.8rem;
}

.footer-info p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-info a {
  color: #f5a623;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

.social-icons a {
  color: #d0dde9;
  font-size: 1.8rem;
  text-decoration: none;
  margin-right: 0.8rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #f5a623;
}

.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid #2a4a62;
  font-size: 0.9rem;
}

.footer-copy strong {
  color: #f5a623;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
    margin-top: 0.8rem;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
    background: #15304d;
    padding: 1rem 0;
    border-radius: 10px;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content .motto {
    font-size: 1.2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    grid-row: 2;
  }

  .about-image img {
    max-height: 250px;
  }

  .about-stats {
    padding: 1.2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-copy {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 1.6rem;
  }
  .btn {
    padding: 0.6rem 1.6rem;
    font-size: 1rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  .gallery-grid img {
    height: 140px;
  }
}