/* /css/styles.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #1e2b37;
  background: #f9fbfd;
}

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

/* ---------- navigation (mobile first) ---------- */
.site-header {
  background: white;
  box-shadow: 0 4px 20px rgba(0, 40, 70, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.6rem 0;
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  object-fit: cover;
}

.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  color: #0b3b5c;
  line-height: 1.2;
}
.logo-text small {
  font-size: 0.8rem;
  font-weight: 400;
  color: #3a6d8c;
  display: block;
}

.mobile-toggle {
  background: none;
  border: 2px solid #1e6091;
  color: #1e6091;
  font-size: 1.5rem;
  padding: 0.3rem 0.9rem;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.2s;
}
.mobile-toggle:hover {
  background: #1e6091;
  color: white;
}

.main-nav {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background: white;
}

.main-nav.open {
  max-height: 330px;
}

.main-nav ul {
  list-style: none;
  margin: 1rem 0 0.5rem;
  border-top: 1px solid #e0ecf5;
  padding-top: 1rem;
}

.main-nav li {
  margin: 0.8rem 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #1f3a4b;
  font-size: 1.1rem;
  display: block;
  padding: 0.3rem 0.5rem;
  border-radius: 30px;
  transition: 0.2s;
}

.main-nav a:hover, .main-nav a.active {
  background: #e6f2fa;
  color: #0f4b6e;
  padding-left: 1.2rem;
}

@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
  .main-nav {
    max-height: none !important;
    width: auto;
    overflow: visible;
  }
  .main-nav ul {
    display: flex;
    gap: 0.8rem;
    border-top: none;
    margin: 0;
    padding: 0;
  }
  .main-nav li {
    margin: 0;
  }
  .main-nav a {
    padding: 0.5rem 1rem;
  }
  .main-nav a:hover {
    padding-left: 1rem;
    background: #d9eaf5;
  }
}

/* ---------- HERO CAROUSEL (full width) ---------- */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 80vh;         /* large landscape area */
  max-height: 700px;
  min-height: 500px;
  overflow: hidden;
  background-color: #1e3b4c; /* fallback */
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

/* overlay content (text & buttons) */
.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  background: rgba(5, 40, 60, 0.3); /* semi-transparent overlay to make text pop */
  color: white;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.overlay-content {
  width: 100%;
}

.overlay-content h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: white;
}
.overlay-content .motto {
  font-size: 1.3rem;
  color: #f4e9c0;
  margin-bottom: 2rem;
}
.overlay-content .btn-primary {
  background: #f4b942;
  color: #05445e;
  border: none;
  text-shadow: none;
}
.overlay-content .btn-outline {
  border: 2px solid white;
  color: white;
  text-shadow: none;
}
.overlay-content .btn-outline:hover {
  background: white;
  color: #05445e;
}

/* arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #05445e;
  cursor: pointer;
  z-index: 10;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-arrow:hover {
  background: #f4b942;
  color: #022b40;
}
.prev {
  left: 20px;
}
.next {
  right: 20px;
}

/* indicators (dots) */
.carousel-indicators {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}
.indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.2s;
}
.indicator.active {
  background: #f4b942;
  transform: scale(1.3);
  border-color: white;
}
.indicator:hover {
  background: white;
}

/* responsive carousel text */
@media (max-width: 700px) {
  .hero-carousel {
    height: 70vh;
    min-height: 450px;
  }
  .overlay-content h1 {
    font-size: 1.6rem;
  }
  .overlay-content .motto {
    font-size: 1rem;
  }
  .carousel-arrow {
    width: 36px;
    height: 36px;
  }
}

/* ---------- welcome section ---------- */
.welcome {
  padding: 4rem 0;
}
.welcome-grid {
  display: grid;
  gap: 2.5rem;
}
.welcome-content h2 {
  font-size: 2.2rem;
  color: #05445e;
  margin-bottom: 1rem;
}
.welcome-content p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.badge-god {
  background: #1e6091;
  color: white;
  padding: 0.3rem 1.5rem;
  border-radius: 60px;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 1px;
}
.welcome-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: -15px 15px 0 #e9c46a;
}

/* ---------- services ---------- */
.services {
  background: white;
  padding: 4rem 0;
}
.section-title {
  font-size: 2.2rem;
  color: #05445e;
  text-align: center;
  margin-bottom: 2.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.service-card {
  background: #f6fbfe;
  padding: 2rem 1rem;
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 10px 20px #00000010;
  transition: 0.2s;
}
.service-card:hover {
  transform: translateY(-8px);
  background: #e6f2fa;
}
.service-card i {
  margin-bottom: 1rem;
}
.service-card h3 {
  color: #0f4b6e;
  margin-bottom: 0.5rem;
}

/* ---------- registration notice ---------- */
.registration-notice {
  background: #f4b942;
  padding: 2rem 0;
}
.notice-card {
  background: #ffffffd9;
  backdrop-filter: blur(4px);
  border-radius: 40px;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 10px 30px #b47d2e50;
}
.notice-card i {
  color: #b47d2e;
  flex-shrink: 0;
}
.notice-card h3 {
  font-size: 1.5rem;
  color: #2d2d2d;
  flex: 1;
}
.btn-light {
  background: #05445e;
  color: white;
  border: none;
  white-space: nowrap;
}
.btn-light:hover {
  background: #0b3b5c;
}

/* ---------- facilities ---------- */
.facilities {
  padding: 4rem 0;
  background: #eaf3fa;
}
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}
.facility-card {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 18px 25px -10px #26547c40;
  transition: 0.2s;
}
.facility-card:hover {
  transform: scale(1.02);
}
.facility-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-footer {
  padding: 1rem;
  font-weight: 700;
  text-align: center;
  color: #05445e;
  background: white;
  font-size: 1.2rem;
}

/* ---------- call to action ---------- */
.cta-section {
  background: linear-gradient(145deg, #2a9d8f, #1e6091);
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}
.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.cta-section .btn-primary {
  background: #f4b942;
  color: #05445e;
  margin-top: 1.5rem;
  border: none;
}

/* ---------- footer ---------- */
.site-footer {
  background: #022b40;
  color: #e7f1f7;
  padding: 3rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.site-footer h4 {
  color: #f4b942;
  margin-bottom: 1rem;
}
.site-footer a {
  color: #b6d7f0;
  text-decoration: none;
}
.site-footer a:hover {
  color: white;
}
.site-footer ul {
  list-style: none;
}
.site-footer li {
  margin: 0.5rem 0;
}
.social-icons {
  display: flex;
  gap: 1rem;
  font-size: 1.3rem;
}
.badge {
  background: #f4b942;
  color: #022b40;
  display: inline-block;
  padding: 0.2rem 1rem;
  border-radius: 40px;
  font-weight: 700;
  margin-top: 0.8rem;
}

/* responsive grid for welcome */
@media (min-width: 680px) {
  .welcome-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
@media (max-width: 480px) {
  .notice-card {
    flex-direction: column;
    text-align: center;
  }
  .btn-light {
    width: 100%;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 60px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn-primary {
  background: #f4b942;
  color: #05445e;
}
.btn-primary:hover {
  background: #f0aa2a;
  transform: translateY(-3px);
  box-shadow: 0 12px 20px -10px #f4b94280;
}
.btn-outline {
  border: 2px solid #1e6091;
  color: #1e6091;
}
.btn-outline:hover {
  background: #1e6091;
  color: white;
}

/* /css/styles.css (additional styles for about page – add to existing) */

/* ---------- page banner (used on about, etc) ---------- */
.page-banner {
  padding: 4rem 0;
  text-align: center;
  color: white;
}
.page-banner h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.banner-divider {
  width: 100px;
  height: 5px;
  background: #f4b942;
  margin: 1rem auto;
  border-radius: 10px;
}
.page-banner p {
  font-size: 1.2rem;
  opacity: 0.95;
}

/* ---------- overview section ---------- */
.overview {
  padding: 5rem 0;
}
.overview-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.overview-content h2 {
  color: #05445e;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.overview-content p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.overview-image img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 15px 15px 0 #e9c46a;
}

/* ---------- vision & mission side by side ---------- */
.vision-mission {
  background: #f0f7fc;
  padding: 4rem 0;
}
.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.vm-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 40px;
  text-align: center;
  box-shadow: 0 12px 25px #05445e20;
}
.vm-card i {
  margin-bottom: 1.2rem;
}
.vm-card h3 {
  font-size: 2rem;
  color: #05445e;
  margin-bottom: 0.8rem;
}
.vm-card p {
  font-size: 1.1rem;
  color: #1f3a4b;
}

/* ---------- core values ---------- */
.core-values {
  padding: 5rem 0;
  background: white;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.value-item {
  text-align: center;
  background: #f6fbfe;
  padding: 2rem 1.5rem;
  border-radius: 40px;
  transition: 0.2s;
}
.value-item:hover {
  background: #e6f2fa;
  transform: translateY(-6px);
}
.value-item i {
  color: #1e6091;
  margin-bottom: 1rem;
}
.value-item h4 {
  font-size: 1.5rem;
  color: #05445e;
  margin-bottom: 0.5rem;
}
.value-item p {
  color: #2d4b65;
}

/* ---------- headteacher message ---------- */
.headteacher {
  background: linear-gradient(145deg, #ffffff, #f2f9ff);
  padding: 4rem 0;
}
.headteacher-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
.headteacher-image img {
  width: 100%;
  border-radius: 40px 40px 20px 20px;
  box-shadow: 0 20px 30px #0b3b5c40;
  border: 5px solid white;
}
.image-caption {
  text-align: center;
  font-weight: 600;
  margin-top: 0.5rem;
  color: #05445e;
}
.headteacher-message h2 {
  color: #05445e;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.headteacher-message p {
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.signature {
  font-style: italic;
  font-weight: 600;
  color: #1e6091;
  font-size: 1.3rem;
  margin-top: 2rem;
}

/* ---------- why choose us grid ---------- */
.why-choose {
  padding: 5rem 0;
  background: #eaf3fa;
}
.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.choose-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 8px 20px #1e3b4c20;
  transition: 0.2s;
}
.choose-card:hover {
  transform: scale(1.02);
  background: #d6ecfa;
}
.choose-card i {
  color: #f4b942;
  margin-bottom: 1rem;
}
.choose-card h4 {
  color: #05445e;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

/* ---------- light call to action (alternative) ---------- */
.cta-light {
  background: #f4b942;
  color: #05445e;
  text-align: center;
  padding: 3rem 2rem;
}
.cta-light p {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.cta-light .btn-primary {
  background: #05445e;
  color: white;
}
.cta-light .btn-primary:hover {
  background: #0f5a7a;
}

/* ---------- responsive adjustments ---------- */
@media (min-width: 768px) {
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .headteacher-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (max-width: 600px) {
  .page-banner h1 {
    font-size: 2.2rem;
  }
}


/* /css/styles.css (additional styles for academics page – add to existing) */

/* ---------- nursery section ---------- */
.nursery-section {
  padding: 5rem 0;
  background: white;
}
.nursery-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.nursery-text h2 {
  font-size: 2.5rem;
  color: #05445e;
  margin-bottom: 1rem;
}
.nursery-text h2 i {
  margin-right: 0.5rem;
}
.nursery-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.feature-list i {
  color: #2a9d8f;
  width: 1.5rem;
  font-size: 1.2rem;
}
.nursery-image img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 15px 15px 0 #f4b942;
}

/* ---------- primary section ---------- */
.primary-section {
  background: #f0f7fc;
  padding: 5rem 0;
}
.primary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin: 2.5rem 0 2rem;
}
.primary-card {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 12px 30px #1e3b4c30;
  transition: 0.2s;
}
.primary-card:hover {
  transform: translateY(-8px);
}
.card-header {
  padding: 1.2rem;
  text-align: center;
}
.card-header h3 {
  color: white;
  font-size: 1.8rem;
  margin: 0;
}
.card-body {
  padding: 1.8rem 1.5rem 1.8rem;
}
.card-body img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}
.card-body p {
  color: #1f3a4b;
}
.primary-description {
  max-width: 800px;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 1.15rem;
  background: #d9eaf5;
  padding: 1.5rem 2rem;
  border-radius: 60px;
  color: #05445e;
  font-weight: 500;
}

/* ---------- subjects (with icons) ---------- */
.subjects {
  padding: 5rem 0;
  background: white;
}
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.subject-card {
  background: #f6fbfe;
  padding: 2rem 1rem;
  border-radius: 40px;
  text-align: center;
  transition: 0.2s;
}
.subject-card:hover {
  background: #e6f2fa;
  transform: scale(1.02);
}
.subject-card i {
  color: #1e6091;
  margin-bottom: 1rem;
}
.subject-card h3 {
  font-size: 1.3rem;
  color: #05445e;
  margin-bottom: 0.4rem;
}
.subject-card p {
  font-size: 0.95rem;
  color: #2d4b65;
}

/* ---------- extracurricular (cards with icons overlay) ---------- */
.extracurricular {
  background: #eaf3fa;
  padding: 5rem 0;
}
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.activity-card {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 25px -8px #26547c50;
  transition: 0.2s;
}
.activity-card:hover {
  transform: translateY(-8px);
}
.activity-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.activity-icon {
  position: absolute;
  top: 130px; /* overlays image bottom */
  right: 20px;
  background: #f4b942;
  color: #05445e;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 4px solid white;
  box-shadow: 0 4px 10px #00000030;
}
.activity-card h3 {
  font-size: 1.6rem;
  color: #05445e;
  margin: 0.8rem 1rem 0.4rem;
}
.activity-card p {
  padding: 0 1rem 1.5rem 1rem;
  color: #1f3a4b;
}

/* ---------- responsive ---------- */
@media (min-width: 768px) {
  .nursery-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .activity-icon {
    top: 140px;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  .primary-description {
    font-size: 1rem;
    padding: 1.2rem;
  }
}


/* /css/styles.css (additional styles for admissions page – add to existing) */

/* ---------- overview stats (admissions) ---------- */
.highlight-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}
.highlight-stats div {
  background: #e6f2fa;
  border-radius: 40px;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  color: #05445e;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.highlight-stats i {
  color: #2a9d8f;
  font-size: 1.2rem;
}

/* ---------- steps (numbered cards) ---------- */
.steps-section {
  padding: 5rem 0;
  background: #f0f7fc;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.step-card {
  background: white;
  border-radius: 40px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  box-shadow: 0 15px 25px #05445e20;
  transition: 0.2s;
}
.step-card:hover {
  transform: translateY(-8px);
}
.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #f4b942;
  color: #05445e;
  font-size: 2rem;
  font-weight: 800;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid white;
  box-shadow: 0 4px 10px #00000020;
}
.step-card i {
  margin: 1.8rem 0 1rem;
}
.step-card h3 {
  font-size: 1.8rem;
  color: #05445e;
  margin-bottom: 0.8rem;
}

/* ---------- requirements grid with icons ---------- */
.requirements {
  padding: 5rem 0;
  background: white;
}
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0 1.5rem;
}
.req-item {
  background: #f6fbfe;
  padding: 1.5rem 1rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  color: #05445e;
  box-shadow: 0 5px 12px #00000008;
  transition: 0.2s;
}
.req-item:hover {
  background: #e6f2fa;
  transform: translateX(6px);
}
.req-item i {
  font-size: 2rem;
  color: #2a9d8f;
  min-width: 40px;
  text-align: center;
}
.req-note {
  text-align: center;
  font-style: italic;
  color: #1f3a4b;
  background: #f9eec1;
  padding: 0.8rem;
  border-radius: 60px;
  max-width: 600px;
  margin: 2rem auto 0;
}

/* ---------- registration highlight (overwrites notice-card) ---------- */
.registration-highlight {
  padding: 0 0 3rem 0;
}
.registration-highlight .notice-card {
  background: #f4b942 !important;
  color: #05445e;
  border-radius: 60px;
  padding: 2rem 2.5rem;
}
.btn-dark {
  background: #05445e;
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 60px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
  white-space: nowrap;
}
.btn-dark:hover {
  background: #0f5a7a;
  transform: scale(1.02);
}

/* ---------- apply button section (prominent CTA) ---------- */
.apply-cta {
  padding: 3rem 0 5rem;
}
.apply-card {
  background: linear-gradient(145deg, #ffffff, #f0faff);
  border-radius: 70px;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 30px 40px -15px #0b3b5c60;
  border: 2px solid white;
}
.apply-card h2 {
  font-size: 2.8rem;
  color: #05445e;
  margin-bottom: 1rem;
}
.apply-card p {
  font-size: 1.3rem;
  color: #1f3a4b;
  margin-bottom: 2rem;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.btn-large {
  padding: 1.2rem 2.8rem;
  font-size: 1.2rem;
}
.apply-card .btn-primary {
  background: #f4b942;
  color: #05445e;
}
.apply-card .btn-outline {
  border: 2px solid #1e6091;
  color: #1e6091;
}
.apply-card .btn-outline:hover {
  background: #1e6091;
  color: white;
}

/* ---------- contact admissions section ---------- */
.contact-admissions {
  background: #eaf3fa;
  padding: 5rem 0;
}
.contact-admissions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.contact-card {
  background: white;
  border-radius: 40px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 15px 20px #1e3b4c20;
}
.contact-card i {
  color: #1e6091;
  margin-bottom: 1rem;
}
.contact-card h4 {
  font-size: 1.6rem;
  color: #05445e;
  margin-bottom: 1rem;
}
.contact-card p {
  margin: 0.5rem 0;
}
.contact-card a {
  color: #1f3a4b;
  text-decoration: none;
  font-weight: 500;
}
.contact-card a:hover {
  color: #f4b942;
  text-decoration: underline;
}

/* responsive */
@media (max-width: 600px) {
  .apply-card h2 {
    font-size: 2rem;
  }
  .apply-card p {
    font-size: 1.1rem;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn-large {
    width: 100%;
  }
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}


/* /css/styles.css (additional styles for gallery page – add to existing) */

/* ---------- gallery grid ---------- */
.gallery-section {
  padding: 5rem 0;
  background: #f9fbfd;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.gallery-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 22px -8px #26547c40;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4 / 3; /* consistent landscape */
}
.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 22px 30px -8px #1e3b4c80;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
}
.gallery-item:hover img {
  filter: brightness(0.85); /* subtle darken for caption pop */
}
.gallery-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(5, 68, 94, 0.85));
  color: white;
  padding: 2rem 1rem 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  text-shadow: 1px 1px 3px black;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  text-align: center;
}
.gallery-item:hover .caption {
  transform: translateY(0);
}

/* ---------- lightbox modal ---------- */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(6px);
}
.lightbox.active {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 85vw;
  max-height: 85vh;
  text-align: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 16px;
  box-shadow: 0 25px 40px black;
  border: 4px solid white;
}
.lightbox-caption {
  color: white;
  font-size: 1.4rem;
  margin-top: 1rem;
  font-weight: 500;
  background: rgba(5, 68, 94, 0.6);
  display: inline-block;
  padding: 0.5rem 2rem;
  border-radius: 60px;
  backdrop-filter: blur(4px);
}
/* lightbox navigation */
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  transition: 0.2s;
  z-index: 1010;
}
.lightbox-close:hover {
  color: #f4b942;
  transform: scale(1.1);
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  background: rgba(0,0,0,0.4);
  padding: 0.5rem 1.2rem;
  border-radius: 60px;
  cursor: pointer;
  transition: 0.2s;
  z-index: 1010;
  user-select: none;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover {
  background: #f4b942;
  color: #05445e;
}

/* responsive lightbox */
@media (max-width: 700px) {
  .lightbox-prev, .lightbox-next {
    font-size: 2rem;
    padding: 0.3rem 1rem;
  }
  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
  }
  .lightbox-caption {
    font-size: 1rem;
    padding: 0.3rem 1rem;
  }
}


/* /css/styles.css (additional styles for contact page – add to existing) */

/* ---------- contact cards (3-column) ---------- */
.contact-cards-section {
  padding: 5rem 0 3rem;
  background: white;
}
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.contact-card {
  background: #f6fbfe;
  border-radius: 40px;
  padding: 2.5rem 1.8rem;
  text-align: center;
  box-shadow: 0 15px 25px #05445e15;
  transition: 0.2s;
  border: 1px solid rgba(30, 96, 145, 0.1);
}
.contact-card:hover {
  transform: translateY(-8px);
  background: #e6f2fa;
}
.card-icon {
  background: white;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 15px #1e609130;
  color: #1e6091;
}
.contact-card h3 {
  font-size: 1.8rem;
  color: #05445e;
  margin-bottom: 1rem;
}
.contact-card p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}
.contact-card a {
  color: #1f3a4b;
  text-decoration: none;
  font-weight: 500;
}
.contact-card a:hover {
  color: #f4b942;
  text-decoration: underline;
}
.contact-card .note {
  font-size: 0.95rem;
  color: #1e6091;
  margin-top: 1rem;
  font-style: italic;
}

/* ---------- form + map side by side ---------- */
.contact-form-map {
  padding: 3rem 0 5rem;
  background: #f0f7fc;
}
.form-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.form-container, .map-container {
  background: white;
  border-radius: 40px;
  padding: 2.5rem;
  box-shadow: 0 20px 35px #05445e20;
}
.form-container h2, .map-container h2 {
  font-size: 2rem;
  color: #05445e;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
/* form elements */
.form-group {
  margin-bottom: 1.8rem;
}
.form-group label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: #05445e;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.form-group label i {
  color: #2a9d8f;
  width: 1.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #d9eaf5;
  border-radius: 30px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: 0.2s;
  background: #f9fbfd;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e6091;
  box-shadow: 0 0 0 4px #1e609130;
}
.btn-submit {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.2rem;
  background: #f4b942;
  color: #05445e;
  border: none;
  border-radius: 60px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.btn-submit:hover {
  background: #f0aa2a;
  transform: translateY(-3px);
  box-shadow: 0 15px 20px -8px #f4b94280;
}
.form-feedback {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 40px;
  text-align: center;
  font-weight: 500;
}
.form-feedback.success {
  background: #2a9d8f;
  color: white;
}
.form-feedback.error {
  background: #e76f51;
  color: white;
}

/* map placeholder styling */
.map-placeholder {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 4px solid white;
  box-shadow: 0 15px 25px #00000025;
}
.map-img {
  width: 100%;
  display: block;
}
.map-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #05445ee0;
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 60px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 2px solid #f4b942;
}
.map-overlay i {
  color: #f4b942;
  font-size: 1.4rem;
}
.map-note {
  text-align: center;
  font-size: 1.1rem;
  color: #05445e;
  margin-top: 1rem;
  font-weight: 500;
}

/* responsive stacking */
@media (max-width: 800px) {
  .form-map-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 500px) {
  .form-container, .map-container {
    padding: 1.8rem;
  }
  .contact-card {
    padding: 1.8rem 1rem;
  }
  }
