* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(180deg, #f4f8fd 0%, #f7fbff 100%);
  color: #003d82;
}

.container {
  width: min(1140px, 90%);
  margin: auto;
}

/* ── TOP BAR ── */
.top-bar {
  background: linear-gradient(90deg, #003d82, #0052a3);
  color: rgba(255,255,255,0.9);
  padding: 12px 0;
  font-size: 14px;
  letter-spacing: .4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── HEADER / NAV ── */
header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(0, 61, 130, 0.09);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 61, 130, 0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(247, 148, 29, 0.18);
}

.logo h2 {
  color: #003d82;
  letter-spacing: .2px;
}

.logo p {
  color: #f7941d;
  font-weight: 600;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #003d82;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #f7941d;
}

.apply-btn {
  background: linear-gradient(135deg, #f7941d, #ffb64c);
  padding: 14px 26px;
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .4px;
  box-shadow: 0 18px 30px rgba(247, 148, 29, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 38px rgba(247, 148, 29, 0.24);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(0, 61, 130, 0.84) 0%, rgba(0, 61, 130, 0.66) 100%), url('../images/schoolpictures%20(1)/IMG_9030.jpeg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.overlay {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 100px 0;
}

.hero-content {
  width: min(720px, 100%);
  margin-left: 5%;
  color: white;
}

.hero-content > span {
  letter-spacing: 3px;
  color: #ffd27f;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: clamp(3.2rem, 4vw, 5.8rem);
  line-height: 1.02;
  margin: 22px 0;
  letter-spacing: -1px;
}

.orange {
  color: #f7941d;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-orange {
  background: linear-gradient(135deg, #f7941d, #ffb64c);
  color: white;
  padding: 15px 36px;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: 0 18px 30px rgba(247, 148, 29, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 38px rgba(247, 148, 29, 0.24);
}

.btn-white {
  background: rgba(255, 255, 255, 0.92);
  color: #0c2d5a;
  padding: 15px 36px;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: transform 0.25s ease, background 0.25s ease;
}

.btn-white:hover {
  background: white;
  transform: translateY(-2px);
}

/* ── SECTIONS SHARED ── */
.about,
.academics,
.school-life,
.team,
.news,
.contact {
  padding: 80px 0;
}

.about {
  background: #f9f9f9;
}

.about h2,
.academics h2,
.school-life h2,
.team h2,
.news h2,
.contact h2 {
  font-size: 36px;
  color: #003d82;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 12px;
}

.about h2::after,
.academics h2::after,
.school-life h2::after,
.team h2::after,
.news h2::after,
.contact h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f7941d, #ffcc70);
}

.about p {
  font-size: 18px;
  color: #4b5563;
  max-width: 700px;
  line-height: 1.9;
}

/* ── ACADEMICS ── */
.academics {
  background: white;
}

/* ── CARDS GRID ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.card {
  position: relative;
  padding: 36px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 26px;
  border: 1px solid rgba(247, 148, 29, 0.12);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 26px;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.35), transparent 35%);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 72px rgba(15, 23, 42, 0.14);
}

.card h3 {
  color: #0c2d5a;
  margin-bottom: 18px;
  font-size: 22px;
}

.card p {
  color: #4b5563;
  line-height: 1.8;
}

/* ── MEDIA / PHOTO CARDS ── */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 35px;
}

.media-card {
  background: linear-gradient(180deg, #ffffff, #fbfbfd);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.media-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.media-card .media-body {
  padding: 24px;
}

.media-card .media-body h3 {
  color: #0c2d5a;
  font-size: 20px;
  margin-bottom: 12px;
}

.media-card .media-body p {
  color: #555;
  line-height: 1.7;
}

/* ── SCHOOL LIFE ── */
.school-life {
  background: #eef2f8;
}

/* ── TEAM ── */
.team {
  background: #ffffff;
}

.team-card {
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #fcfcfd);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
}

.team-avatar {
  font-size: 60px;
  margin-bottom: 15px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.profile-frame {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
}

.profile-frame img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.profile-details {
  padding: 28px;
}

.staff-tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.staff-card {
  display: block;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(247, 148, 29, 0.12);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
}

.staff-card:hover {
  transform: translateY(-8px);
  border-color: rgba(247, 148, 29, 0.18);
}

.staff-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
}

.role {
  color: #f7941d !important;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ── NEWS ── */
.news {
  background: #f9f9f9;
}

.news-date {
  color: #f7941d;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.read-more {
  display: inline-block;
  margin-top: 12px;
  color: #0c2d5a;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.read-more:hover {
  color: #f7941d;
}

/* ── STATS ── */
.stats {
  background: linear-gradient(135deg, #003d82, #0052a3);
  color: white;
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
}

.stats h2 {
  font-size: 50px;
  color: #f7941d;
}

.stats p {
  font-size: 16px;
  margin-top: 5px;
  opacity: 0.85;
}

/* ── CONTACT ── */
.contact {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 25px;
}

.contact-info p {
  margin-bottom: 15px;
  color: #555;
  font-size: 16px;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f7941d;
}

.btn-submit {
  background: #0c2d5a;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #f7941d;
}

/* ── FOOTER ── */
footer {
  background: linear-gradient(135deg, #003d82, #0052a3);
  color: #dbe2ff;
  text-align: center;
  padding: 60px 40px 40px;
}

footer h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ffffff;
}

footer > .container > p {
  color: #b8c7ff;
  margin-bottom: 24px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.footer-links a {
  color: #c9d7ff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #ffcc70;
}

.copyright {
  color: #96a6d2;
  font-size: 13px;
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

/* ── ADMISSIONS PAGE ── */
.page-hero {
  background: linear-gradient(135deg, #003d82, #0052a3);
  color: white;
  padding: 100px 0 60px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.page-hero.staff-profile-hero {
  background: linear-gradient(135deg, #003d82, #0052a3);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  margin-bottom: 15px;
  letter-spacing: -1px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.92;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.8;
}

.admissions-content {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8f9fb 0%, #eef2f8 100%);
}

.admissions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.requirements,
.apply-form {
  background: white;
  border-radius: 28px;
  padding: 38px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.requirements h2,
.apply-form h2 {
  font-size: 30px;
  color: #0c2d5a;
  margin-bottom: 20px;
}

.requirements ul {
  list-style: none;
  padding: 0;
}

.requirements ul li {
  padding: 14px 0;
  border-bottom: 1px solid #f0f3f7;
  color: #555;
  display: flex;
  align-items: center;
  gap: 10px;
}

.requirements ul li::before {
  content: "✓";
  color: #f7941d;
  font-weight: 700;
}

.apply-form form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  padding: 16px 18px;
  border: 1px solid #d4d7dd;
  border-radius: 14px;
  background: #fbfbfd;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  border-color: #f7941d;
  box-shadow: 0 0 0 4px rgba(247,148,29,0.12);
}

.upload-label {
  font-weight: 700;
  color: #0c2d5a;
  margin-top: 10px;
  letter-spacing: .3px;
}

.upload-note {
  font-size: 14px;
  color: #4b5563;
  background: #fff8eb;
  border: 1px solid rgba(247,148,29,0.24);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.submission-status {
  border-radius: 18px;
  padding: 18px 20px;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.6;
}

.submission-status.success {
  background: #ecfdf5;
  border: 1px solid #34d399;
  color: #065f46;
}

.submission-status.error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.profile-page {
  padding: 80px 0;
}

.profile-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: linear-gradient(180deg, #ffffff, #f7f7fb);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  overflow: hidden;
}

.profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-copy {
  padding: 42px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.profile-copy h1 {
  color: #0c2d5a;
  font-size: 38px;
}

.profile-copy .role {
  color: #f7941d;
  font-weight: 700;
  margin-bottom: 10px;
}

.profile-copy p {
  color: #555;
  line-height: 1.8;
}

.profile-message {
  background: #fff7eb;
  border-left: 4px solid #f7941d;
  padding: 18px 20px;
  border-radius: 14px;
}

.profile-message h3 {
  margin-bottom: 10px;
  color: #0c2d5a;
}

.profile-extra {
  color: #777;
  font-size: 14px;
}

.calendar-billboard {
  margin-bottom: 40px;
}

.billboard-panel {
  background: linear-gradient(180deg, #ffffff, #f8f9fc);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  padding: 30px;
}

.billboard-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.billboard-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 20px;
  background: #fbfcff;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.billboard-item:last-child {
  margin-bottom: 0;
}

.billboard-item .calendar-day {
  min-width: 56px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(0,0,0,.04);
}

.billboard-item .day-num {
  color: #0c2d5a;
  font-size: 18px;
  font-weight: 700;
}

.billboard-item strong {
  display: block;
  color: #0c2d5a;
  margin-bottom: 6px;
}

.billboard-item p {
  color: #555;
  margin: 0;
  line-height: 1.6;
}
/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 50px;
  }

  .hero-content {
    width: 70%;
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .nav-container {
    flex-wrap: wrap;
    gap: 15px;
  }

  nav ul {
    gap: 15px;
    flex-wrap: wrap;
  }

  .hero-content {
    width: 85%;
    margin-left: 7%;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-copy {
    padding: 24px;
  }

  .billboard-rows {
    grid-template-columns: 1fr;
  }

  .billboard-item {
    flex-direction: column;
  }

  .contact-grid,
  .admissions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 30px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats h2 {
    font-size: 38px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}
