* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
  background: #fdfbf9;
  line-height: 1.6;
}

/* ============================
   HEADER / NAVBAR
============================ */
header {
  background: #7b2c3a; 
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .logo {
  font-size: 1.4rem;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 5px;
  transition: 0.3s;
  font-weight: 500;
}

nav a:hover,
nav a.active {
  border-bottom: 2px solid #ffcc00;
}

/* ============================
   HERO SECTION
============================ */
.hero {
  background: url('school-hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 6rem 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  background: #ffcc00;
  color: #7b2c3a;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #e6b800;
}

/* ============================
   SECTIONS
============================ */
section {
  padding: 3rem 10%;
}

section h2 {
  color: #7b2c3a;
  margin-bottom: 1rem;
}

section ul {
  list-style: disc;
  margin-left: 20px;
  line-height: 1.8;
}

section p {
  margin-bottom: 1rem;
}

/* ============================
   CARDS (used in academics)
============================ */
.cards {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  flex: 1;
  min-width: 250px;
  text-align: center;
}

/* ============================
   PAGE HEADER (Gallery)
============================ */
.page-header {
  text-align: center;
  padding: 40px 20px;
  background: #fbeaea;
}

.page-header h1 {
  margin-bottom: 10px;
  color: #7b2c3a;
  font-size: 2.5rem;
}

/* ============================
   GALLERY GRID
============================ */
.gallery-container {
  padding: 50px 20px;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  color: #7b2c3a;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.gallery-grid img,
.gallery-grid video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover,
.gallery-grid video:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ============================
   CONTACT PAGE CARDS
============================ */
.contact-info, 
.contact-form {
  background: #fffaf5;
  padding: 20px;
  border-radius: 10px;
  border-left: 6px solid #7b2c3a;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form label {
  font-weight: 600;
}

/* ============================
   FOOTER
============================ */
footer {
  text-align: center;
  background: #5a1f29;
  color: white;
  padding: 1rem;
  margin-top: 40px;
}

/* ============================
   RESPONSIVE
============================ */
@media(max-width: 768px) {
  nav ul {
    flex-direction: column;
  }
  .cards {
    flex-direction: column;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
