:root {
  --purple-800: #2d0561;
  --purple-600: #5a24a0;
  --accent: #ffcc00;
  --muted: #5b5b5b;
  --glass: rgba(255, 255, 255, 0.75);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

/* ---------- Base / reset ---------- */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  font-family: inherit;
}

/* ---------- Top bar ---------- */
.top-bar {
  background: linear-gradient(90deg, var(--glass), rgba(250, 250, 250, 0.6));
  border-bottom: 4px solid var(--purple-800);
  padding: 8px 0;
}

.top-bar .utility {
  font-size: 0.95rem;
  color: var(--muted);
}

.btn-fee {
  background-color: var(--accent);
  color: var(--purple-800);
  font-weight: 700;
  border-radius: 6px;
  padding: 6px 12px;
  border: none;
}

/* ---------- Header (Updated: compact on mobile, centered overall) ---------- */
.school-header {
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 12px;
  background: linear-gradient(180deg, #fff, #fbf7ff);
  box-shadow: 0 6px 18px rgba(45, 5, 97, 0.06);
  border-bottom: 4px solid #0b365d;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  height: 125px;
}

.school-header .logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.school-header img {
  height: 100px;
  width: auto;
  border-radius: 10px;
  background: white;
  padding: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.school-header .title {
  flex: 60px;
  min-width: 240px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.school-header h1 {
  color: var(--purple-800);
  font-size: 1.12rem;
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
}

.muted-line {
  font-style: italic;
  margin: 2px 0;
  color: #444;
  font-size: 0.83rem;
  line-height: 1.2;
}

.small-desc {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.15;
}

/* badges */
.badge-row {
  margin-top: 4px;
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  background: var(--purple-600);
  color: #fff;
  padding: 4px 8px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.75rem;
}

/* CTA */
.btn-cta {
  background: var(--accent);
  color: var(--purple-800);
  font-weight: 800;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.85rem;
}

/* ---------- Navbar ---------- */
.navbar-custom {
  background: linear-gradient(90deg, var(--purple-800), var(--purple-600));
  padding: 0.35rem 0;
  margin: 0;
}

.navbar-custom .nav-link {
  color: white !important;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  transition: all .18s ease;
}

.navbar-custom .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffe57f !important;
  transform: translateY(-2px);
}

.navbar-custom .nav-link.active {
  background: rgba(255, 255, 255, 0.12);
}

/* dropdown */
.navbar-custom .dropdown-menu {
  background: linear-gradient(135deg, var(--purple-800), var(--purple-600));
  border: none;
  border-radius: 10px;
}

.navbar-custom .dropdown-item {
  color: #fff;
}

.navbar-custom .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffe57f;
}

body {
  font-family: 'Inter', sans-serif;
}

/* ================= TOP BAR ================= */
.top-bar {
  background: #f1f1f1;
  font-size: 14px;
}

/* ================= DESKTOP HEADER ================= */
.school-header {
  background: #ffffff;
  z-index: 1030;
}

.school-header h1 {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
}

.tagline {
  font-size: 14px;
  margin: 4px 0;
}

.address {
  font-size: 13px;
  margin: 0;
}

/* ================= NAVBAR ================= */

.navbar-custom .nav-link {
  color: #fff;
  font-weight: 500;
  padding: 10px 15px;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: #ffc107;
}

/* ================= MOBILE ================= */
.mobile-logo {
  height: 40px;
}

@media (max-width: 991px) {
  .navbar-collapse {
    padding-bottom: 15px;
  }

  .dropdown-menu {
    border: none;
  }

  .dropdown-item {
    color: #fff;
  }

  .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

/* FIX STICKY ISSUE */
html,
body {
  overflow-x: hidden;
}

/* ---------- Important links ---------- */
.important-links {
  background: linear-gradient(90deg, #5ca793, #01694e);
  color: #fff;
  padding: 6px 0;
  font-weight: 700;
}

.marquee-text {
  font-weight: 700;
  font-size: 0.93rem;
}

/* MOBILE DROPDOWN FIX */
@media (max-width: 991px) {
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    background: #084298;
    border: none;
    box-shadow: none;
    margin-top: 5px;
  }

  .dropdown-item {
    color: #fff;
    text-align: center;
  }

  .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

body {
  font-family: 'Inter', sans-serif;
}

/* Desktop */
.school-header h1 {
  font-weight: 800;
  margin: 0;
  color: #1377ac;
}

.school-header p {
  color: #0b364c;
}

.desk-logo {
  height: 80px;
}

.navbar-custom .nav-link {
  color: #fff;
  padding: 10px 18px;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: #ffc107;
}

/* Mobile menu */
.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  border-bottom: 1px solid #eee;
}

.mobile-menu a,
.dropdown-toggle-btn {
  width: 100%;
  padding: 14px 18px;
  background: #fff;
  border: none;
  text-align: left;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #000;
}

.dropdown-list {
  display: none;
  background: #f8f8f8;
}

.dropdown-list a {
  padding-left: 35px;
  font-size: 14px;
}

.mobile-dropdown.active .dropdown-list {
  display: block;
}

.mobile-dropdown.active i {
  transform: rotate(180deg);
}

.bi-chevron-down {
  transition: 0.3s;
}

html,
body {
  overflow-x: hidden;
}

/* MOBILE OFFCANVAS HALF WIDTH */
@media (max-width: 991px) {
  .offcanvas {
    width: 50% !important;
    /* half screen */
    max-width: 50%;
  }
}

/* Modern Hamburger Button */
.modern-toggler {
  width: 34px;
  height: 26px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
}

.modern-toggler span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: #270222;
  left: 0;
  border-radius: 10px;
  transition: 0.35s ease;
}

/* Line positions */
.modern-toggler span:nth-child(1) {
  top: 0;
}

.modern-toggler span:nth-child(2) {
  top: 11px;
  width: 70%;
}

.modern-toggler span:nth-child(3) {
  bottom: 0;
}

/* Active state (X icon) */
.modern-toggler.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 11px;
}

.modern-toggler.active span:nth-child(2) {
  opacity: 0;
}

.modern-toggler.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 11px;
}

/* ===== DESKTOP NAVBAR FIX ===== */

/* Remove white bg from active dropdown */
.navbar-custom .nav-link {
  color: #fff;
  background: transparent !important;
  border-radius: 0;
}

/* Active link style */
.navbar-custom .nav-link.active {
  color: #ffd54f !important;
  /* highlight color */
  background: transparent !important;
}

/* Dropdown open state */
.navbar-custom .nav-item.show>.nav-link {
  color: #ffd54f !important;
  background: transparent !important;
}

/* Dropdown menu */
.navbar-custom .dropdown-menu {
  background: #fff;
  border-radius: 6px;
  margin-top: 8px;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Dropdown item */
.navbar-custom .dropdown-item {
  color: #333;
}

.navbar-custom .dropdown-item:hover {
  background: #f2f2f2;
}

/* Navbar base */
.navbar-custom {
  background: #01694e;
}

/* Nav links */
.navbar-custom .nav-link {
  color: #fff;
  padding: 8px 18px;
  margin: 0 6px;
  border-radius: 50px;
  /* pill shape */
  transition: 0.3s;
}

/* Hover */
.navbar-custom .nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ACTIVE PILL */
.navbar-custom .nav-link.active,
.navbar-custom .nav-item.show>.nav-link {
  background: #fff !important;
  color: #0b7fc5 !important;
  font-weight: 600;
}

/* DESKTOP HOVER DROPDOWN */
@media (min-width: 992px) {
  .navbar .dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 8px;
  }

  .navbar .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

/* Dropdown menu */
.dropdown-menu {
  border: none;
  border-radius: 10px;
  margin-top: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ---------- HERO CAROUSEL (Taller Hero) ---------- */
.hero-carousel {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-carousel .carousel-image {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 70vh;
  border-radius: 0;
}

/* indicators + controls */
.hero-carousel .carousel-indicators {
  bottom: 12px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) brightness(1.1);
}

.hero-carousel .carousel-indicators [data-bs-target] {
  background-color: rgba(255, 255, 255, 0.6);
}

.hero-carousel .carousel-indicators .active {
  background-color: var(--accent);
  width: 26px;
  border-radius: 6px;
}

/* ---------- Responsive adjustments ---------- */
@media (min-width: 1400px) {
  .school-header {
    max-width: 1400px;
  }
}

@media (max-width: 1199.98px) {
  .hero-carousel .carousel-image {
    height: 65vh;
  }
}

@media (max-width: 991.98px) {
  .school-header img {
    height: 72px;
  }

  .school-header h1 {
    font-size: 1.02rem;
  }

  .hero-carousel .carousel-image {
    height: 60vh;
  }

  .muted-line {
    font-size: 0.84rem;
  }
}

@media (max-width: 767.98px) {
  .school-header {
    flex-direction: column;
    gap: 6px;
    padding: 8px 8px;
  }

  .school-header .logo {
    order: 0;
    margin-bottom: 2px;
  }

  .school-header .title {
    order: 1;
    align-items: center;
  }

  .school-header img {
    height: 58px;
  }

  .school-header h1 {
    font-size: 0.94rem;
  }

  .badge {
    padding: 3px 6px;
    font-size: 0.68rem;
  }

  .hero-carousel .carousel-image {
    height: 52vh;
  }

  .navbar-custom .nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.95rem;
  }

  .marquee-text {
    font-size: 0.86rem;
  }
}

@media (max-width: 575.98px) {
  .school-header {
    padding: 6px 6px;
  }

  .school-header img {
    height: 56px;
  }

  .school-header h1 {
    font-size: 0.9rem;
    line-height: 1.1;
  }

  .muted-line,
  .small-desc {
    font-size: 0.78rem;
  }

  .hero-carousel .carousel-image {
    height: 48vh;
  }

  .hero-carousel .carousel-indicators .active {
    width: 18px;
  }

  .marquee-text {
    font-size: 0.82rem;
  }
}

/* small helper shadow */
.shadow-soft {
  box-shadow: 0 6px 24px rgba(45, 5, 97, 0.08);
}


/* Features (screenshot-like) */
.features-section {
  background: linear-gradient(180deg, rgb(103 205 178), rgb(185 237 236));
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* section title */
.section-title {
  color: blue;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

/* card (light style like screenshot) */
.feature-card.light {
  background: #fff;
  color: var(--purple-800);
  padding: 18px 14px;
  border-radius: 8px;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow:
    0 10px 20px rgba(45, 5, 97, 0.08),
    inset 0 -6px 0 rgba(90, 20, 120, 0.03);
  position: relative;
}

/* subtle hover lift for card */
.feature-card.light:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(45, 5, 97, 0.12);
}

/* icon wrapper aligns icon and creates purple bar behind cards */
.feature-icon-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* icon circle */
.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: #1377ac;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.6rem;
  box-shadow: 0 10px 24px rgba(45, 5, 97, 0.12);
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(.2, .9, .2, 1), box-shadow .25s ease;
  will-change: transform;
}

/* icon element itself (the <i>) also rotates smoothly */
.feature-icon i {
  display: inline-block;
  transform-origin: center center;
  transition: transform 0.8s cubic-bezier(.2, .9, .2, 1);
  font-size: 50px;
}

/* Rotate icon 360deg on hover of card or icon area */
.feature-card.light:hover .feature-icon i,
.feature-icon:hover i {
  transform: rotate(360deg);
}

/* Title text under icon */
.feature-card.light h5 {
  margin: 10px 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple-800);
}

/* spacing & sizing on very small screens */
@media (max-width: 575.98px) {
  .feature-card.light {
    padding: 12px;
  }

  .feature-icon {
    width: 58px;
    height: 58px;
    font-size: 1.2rem;
  }

  .feature-card.light h5 {
    font-size: 0.92rem;
  }
}

/* Make cards full height in a row on md+ so they align */
@media (min-width: 768px) {
  .feature-card.light {
    min-height: 150px;
  }
}

/* Optional: add small purple strip above each card (like screenshot feel) */
.feature-card.light::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -8px;
  width: 60px;
  height: 6px;
  background: linear-gradient(90deg, var(--purple-600), var(--purple-800));
  border-radius: 4px;
  box-shadow: 0 6px 14px rgba(90, 20, 120, 0.06);
  display: none;
}

/* ensure the cards container doesn't create unwanted gaps */
.features-section .container {
  max-width: 1200px;
}

.features-section .row {
  margin-bottom: 0;
}

/* ===================== Recent Events Section ===================== */
.events-section {
  text-align: center;
  padding: 60px 0;
}

.events-section h2 {
  font-weight: 600;
  color: #114178;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.events-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #0d6efd;
}

/* ===================== Event Cards ===================== */
.event-card-wrapper {
  flex: 1 0 30%;
  max-width: 30%;
  margin: 10px;
}

.event-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

/* Zoom Image Effect */
.img-container {
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.img-container img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.img-container:hover img {
  transform: scale(1.1);
}

.event-body {
  padding: 20px;
}

.event-title {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  color: #222;
}

.event-date {
  color: #777;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.event-btn {
  background-color: #0d6efd;
  color: #fff;
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 0.9rem;
  transition: 0.3s;
}

.event-btn:hover {
  background-color: #084298;
}

/* ===================== Carousel Controls ===================== */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

/* ===================== Responsive (events-specific) ===================== */
@media (max-width: 992px) {
  .event-card-wrapper {
    flex: 1 0 45%;
    max-width: 45%;
  }

  .img-container img {
    height: 200px;
  }
}

@media (max-width: 768px) {

  /* Make each card full-width on small screens */
  .event-card-wrapper {
    flex: 1 0 100%;
    max-width: 100%;
    margin: 10px 0;
  }

  .event-card img {
    height: 240px;
  }

  /* IMPORTANT: show only the FIRST card inside each .carousel-item on mobile */
  #eventsCarousel .carousel-item .event-card-wrapper {
    display: none;
    /* hide all by default */
  }

  #eventsCarousel .carousel-item .event-card-wrapper:first-child {
    display: block;
    /* show only first */
    max-width: 100%;
    flex: 1 0 100%;
  }

  /* ensure the inner flex container doesn't wrap strangely */
  #eventsCarousel .carousel-item>.d-flex {
    justify-content: center;
  }

  /* increase clickable area of controls on mobile */
  .carousel-control-prev,
  .carousel-control-next {
    width: 10%;
  }
}

@media (max-width: 575.98px) {
  .img-container img {
    height: 200px;
  }
}

/* About Section */
.about-section {
  padding: 36px 0 48px;
  background: #fafafa;
}

.about-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
  padding: 28px;
  border-radius: 8px;
  max-width: 1150px;
  margin: 0 auto;
}

/* title w/ decorative underline */
.about-title {
  text-align: center;
  color: #226280;
  font-weight: 700;
  margin: 6px 0 22px;
  font-size: 1.5rem;
  position: relative;
  padding-bottom: 14px;
}

.about-title::after {
  content: "";
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, #226280, #010c11);
  display: block;
  margin: 8px auto 0;
  border-radius: 3px;
}

/* grid: text + image */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: center;
}

/* text */
.about-text p {
  color: #333;
  font-size: 0.98rem;
  line-height: 1.8;
  margin: 0 0 14px;
}

/* initially hide expanded paragraph on small reads? will be shown by JS toggling */
.more-text {
  display: block;
  /* keep visible; JS toggles full/short if you prefer */
}

/* read more link */
.readmore-wrap {
  margin-top: 6px;
}

.read-more {
  color: #226280;
  font-weight: 700;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* image */
.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 6px;
  border: 6px solid #f2f7ff;
  box-shadow: 0 6px 18px rgba(45, 5, 97, 0.08);
  object-fit: cover;
}

/* small screens: stack */
@media (max-width: 991.98px) {
  .about-grid {
    grid-template-columns: 1fr 280px;
  }

  .about-image img {
    max-width: 280px;
  }
}

@media (max-width: 767.98px) {
  .about-card {
    padding: 18px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-image {
    order: -1;
    /* show image above text for mobile like screenshot */
  }

  .about-image img {
    width: 100%;
    max-width: 100%;
    border: 5px solid #f5f7ff;
  }

  .about-title {
    font-size: 1.25rem;
  }

  .about-card {
    margin: 0 12px;
  }
}


/* Principal's Message */
.principal-section {
  padding: 44px 0;
  background: transparent;
}

.principal-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.04);
  padding: 28px;
  border-radius: 8px;
  max-width: 1150px;
  margin: 0 auto;
}

/* title with decorative underline */
.principal-title {
  text-align: center;
  color: #0b3b86;
  font-weight: 700;
  margin: 6px 0 22px;
  font-size: 1.6rem;
  position: relative;
  padding-bottom: 14px;
}

.principal-title::after {
  content: "";
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-600, #0b3b86), #0b3b86);
  display: block;
  margin: 8px auto 0;
  border-radius: 3px;
}

/* grid */
.principal-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: center;
}

/* portrait */
.principal-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.principal-photo img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #f6f7ff;
  box-shadow: 0 6px 18px rgba(45, 5, 97, 0.08);
  display: block;
}

/* content text */
.principal-content {
  color: #222;
}

.principal-text p {
  margin: 0 0 10px;
  color: #2a2a2a;
  line-height: 1.6;
  font-size: 0.98rem;
}

/* button */
.principal-btn {
  background: var(--purple-600);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border: none;
}

.principal-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* responsive: smaller screens */
@media (max-width: 991.98px) {
  .principal-grid {
    grid-template-columns: 140px 1fr;
    gap: 18px;
  }

  .principal-photo img {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 767.98px) {
  .principal-card {
    padding: 18px;
    margin: 0 12px;
  }

  .principal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .principal-photo {
    order: -1;
    /* show image above the text on mobile */
    justify-content: center;
  }

  .principal-photo img {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }

  .principal-title {
    font-size: 1.25rem;
  }

  .principal-text p {
    font-size: 0.96rem;
  }
}


/* Footer */
.site-footer {
  font-family: inherit;
  color: #fff;
  margin-top: 40px;
}

/* top area */
.footer-top {
  background:linear-gradient(90deg, #77cabe 0%, #04342d 100%);
  padding: 36px 0 28px;
  border-top: 4px solid #082e29;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* column headings */
.footer-col h4 {
  color: #ffea00;
  /* yellow-ish */
  font-weight: 800;
  margin-bottom: 14px;
  font-size: 1.15rem;
}

/* links list */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  color: #f7e9ff;
  /* light */
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.95;
}

.footer-col ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

/* app column */
.footer-app .play-badge img {
  display: inline-block;
  width: 160px;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.06);
}

.footer-app .visitor-line {
  color: #ffe57f;
  margin-top: 12px;
  font-weight: 700;
}

/* bottom gradient bar */
.footer-bottom {
  background:#04342d;
  padding: 10px 0;
  border-top: 2px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
}

/* text styles */
.footer-bottom .copyright,
.footer-bottom .rights {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

/* responsive */
@media (max-width: 991.98px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-app .play-badge img {
    width: 150px;
  }
}

@media (max-width: 575.98px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    padding: 22px 0;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .footer-col h4 {
    font-size: 1.05rem;
  }

  .footer-col ul li a {
    font-size: 0.92rem;
  }

  .footer-app .play-badge img {
    width: 200px;
  }

  /* make badge more tappable */
}


/* Footer Contact Info column */
.footer-contact .contact-info {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact .contact-info li {
  margin: 6px 0;
  font-size: 0.95rem;
  color: #fff;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.footer-contact .contact-info i {
  color: #ffea00;
  /* yellow icon color */
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* optional hover effects for phone/email */
.footer-contact .contact-info li a {
  color: #fff;
  text-decoration: none;
}

.footer-contact .contact-info li a:hover {
  color: #ffea00;
  text-decoration: underline;
}

/* Responsive adjustments (already part of your footer styles) */
@media (max-width: 575.98px) {
  .footer-contact .contact-info li {
    font-size: 0.92rem;
  }
}

/* layout */
.toppers-section {
  padding: 48px 0;
  background: linear-gradient(180deg, rgb(103 205 178), rgb(185 237 236));
}

.toppers-title {
  color: #0b3b82;
  font-weight: 700;
}

.title-underline {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.title-underline span {
  height: 4px;
  border-radius: 4px;
  display: block;
}

.title-underline .p1 {
  width: 90px;
  background: #f5b7d2;
  transform: translateY(-2px)
}

.title-underline .p2 {
  width: 44px;
  background: #13205b
}

/* carousel container */
.carousel-wrap {
  position: relative;
  margin-top: 28px;
}

.track {
  display: flex;
  gap: 18px;
  transition: transform .42s cubic-bezier(.2, .9, .2, 1);
  will-change: transform;
  padding: 6px 2px;
}

.card-item {
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: visible;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 2px 6px rgba(100, 100, 120, 0.06);
}

/* card internals */
.card-photo {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.card-body {
  padding: 12px 14px 18px;
  text-align: center;
}

.card-name {
  font-size: 14px;
  color: #234;
}

.card-class {
  margin-top: 8px;
  font-weight: 800;
  font-size: 18px;
  color: #222;
}

/* badge */
.pos-badge {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 20px;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* arrows */
.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 6px 18px rgba(50, 50, 93, 0.08);
  z-index: 50;
  border: 0;
}

.arrow-left {
  left: -10px;
}

.arrow-right {
  right: -10px;
}

/* dots */
.dots {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  border: none;
}

.dot.active {
  background: #13205b;
}

/* responsive card width (JS will read computed width but this keeps visual) */
/* mobile: 1 card visible */
@media (max-width: 639px) {
  .card-item {
    width: calc(100% - 20px);
  }

  /* near-full width */
  .card-photo {
    height: 250px;
  }
}

/* sm->md small tablets: 2 visible */
@media (min-width: 640px) and (max-width:899px) {
  .card-item {
    width: calc((100% / 2) - 12px);
  }

  .card-photo {
    height: 200px;
  }
}

/* md: 3 visible */
@media (min-width: 900px) and (max-width:1199px) {
  .card-item {
    width: calc((100% / 3) - 12px);
  }
}

/* lg+: 5 visible */
@media (min-width: 1200px) {
  .card-item {
    width: calc((100% / 5) - 12px);
  }
}

/* highlight for active first card like screenshot */
.card-item.active-border {
  border-color: #7b2bd6;
  box-shadow: 0 6px 14px rgba(123, 43, 214, 0.12);
}

/* small styling to make modal look like a card and add subtle shadow */
.auth-card {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.modal-header.no-border {
  border-bottom: 0;
}

.form-switch-link {
  cursor: pointer;
  color: #0d6efd;
  text-decoration: underline;
}

.forgot-link {
  font-size: 0.9rem;
}

/* on wide screens show CTA block (the snippet you provided uses d-none d-md-flex) */
.header-ctas {
  min-width: 140px;
}

/* small tweak for spacing inside modal */
.modal-body .form-control {
  margin-bottom: .85rem;
}

/* make the modal vertically centered and small on large screens */
@media (min-width: 992px) {
  .modal-dialog {
    max-width: 520px;
  }
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none !important;
  color: gold !important;
}

.event-img-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 260px;
  cursor: pointer;
}

.event-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
}

/* Hover Zoom + Dark Overlay */
.event-img-card:hover img {
  transform: scale(1.12);
  filter: brightness(75%);
}

/* Tabs Styling */
.nav-tabs .nav-link {
  font-weight: 600;
  color: #333;
  padding: 10px 20px;
}

.nav-tabs .nav-link.active {
  background-color: #0d6efd;
  color: #fff !important;
  border-radius: 5px;
}

/* Mobile Responsive Height */
@media (max-width: 576px) {
  .event-img-card {
    height: 200px;
  }
}

/* Header */
.toppers-main-title {
  font-size: 38px;
  font-weight: 700;
  color: #222;
}

.toppers-subtitle {
  font-size: 18px;
  color: #555;
  margin-top: -5px;
}

.title-underline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.title-underline .p1,
.title-underline .p2 {
  height: 4px;
  border-radius: 5px;
}

.title-underline .p1 {
  width: 40px;
  background: #007bff;
}

.title-underline .p2 {
  width: 20px;
  background: #ffbe0b;
}

/* Topper Cards */
.topper-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all .3s ease;
}

.topper-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Image */
.topper-img {
  overflow: hidden;
  height: 286px;
}

.topper-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.topper-card:hover img {
  transform: scale(1.1);
}

/* Info */
.topper-info {
  text-align: center;
  padding: 14px;
}

.topper-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}

.topper-class {
  font-size: 15px;
  color: #777;
}

/* Mobile Fix */
@media(max-width:576px) {
  .topper-img {
    height: 220px;
  }
}

.facility-tabs .nav-link {
  padding: 10px 20px;
  margin: 5px;
  border-radius: 30px;
  background: #f2f2f2;
  color: #444;
  font-weight: 600;
}

.facility-tabs .nav-link.active {
  background: #007bff;
  color: #fff;
}

.facility-img {
  width: 100%;
  border-radius: 12px;
  height:400px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.facility-faq {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 80px;
}

.facility-faq h4 {
  margin-bottom: 15px;
  font-weight: 700;
  color: #333;
}




/* ================================
   ABOUT HIGHLIGHT SECTION
   ================================ */
.about-highlight-section {
  background:linear-gradient(180deg, rgb(103 205 178), rgb(185 237 236));
  padding: 60px 0;
}

/* ================================
   ALL CARDS – DEFAULT WHITE
   ================================ */
.highlight-card,
.white-card {
  height: 100%;
  background: #ffffff;
  color: #1f2d3d;
  padding: 32px 28px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition:
    background 0.45s ease,
    transform 0.45s ease,
    box-shadow 0.45s ease,
    color 0.35s ease;
}

/* ================================
   HEADINGS & TEXT (DEFAULT)
   ================================ */
.highlight-card h3,
.white-card h4 {
  font-weight: 700;
  margin-bottom: 14px;
  color: #1f2d3d;
  transition: color 0.35s ease;
}

.highlight-card p,
.white-card p {
  font-size: 15px;
  line-height: 1.75;
  color: #555;
  transition: color 0.35s ease;
}

/* ================================
   HOVER – ONLY THE HOVERED CARD
   ================================ */
.highlight-card:hover,
.white-card:hover {
  background: linear-gradient(135deg, #4a9cff, #2f7be5);
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

/* ================================
   TEXT COLOR ON HOVER
   ================================ */
.highlight-card:hover h3,
.highlight-card:hover p,
.white-card:hover h4,
.white-card:hover p {
  color: #ffffff;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 991px) {

  .highlight-card,
  .white-card {
    padding: 26px 22px;
  }

  .highlight-card h3 {
    font-size: 23px;
  }

  .white-card h4 {
    font-size: 20px;
  }
}

@media (max-width: 575px) {
  .about-highlight-section {
    padding: 40px 0;
  }

  .highlight-card h3 {
    font-size: 21px;
  }

  .white-card h4 {
    font-size: 19px;
  }

  .highlight-card p,
  .white-card p {
    font-size: 14px;
  }
}


/* ================================
   TESTIMONIAL SECTION
   ================================ */
.testimonial-section {
  background: linear-gradient(180deg, rgb(103 205 178), rgb(185 237 236));
}

.section-title {
  font-weight: 700;
  color: #114178;
}

.section-subtitle {
  color: #6c757d;
}

/* Card */
.testimonial-card {
  background: #ffffff;
  max-width: 520px;
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

/* Hover effect */
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
}

/* Image */
.testimonial-img {
  width: 90px;
  height: 90px;
  margin: 0 auto 15px;
}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #4a9cff;
}

/* Text */
.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
  font-style: italic;
}

.testimonial-name {
  font-weight: 700;
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 14px;
  color: #4a9cff;
}

/* Carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.testimonial-card {
  margin: 15px;
}


/* ================================
   COUNTER SECTION
   ================================ */
.counter-section {
  background:linear-gradient(180deg, rgb(103 205 178), rgb(185 237 236));
  padding: 70px 0;
  color: #ffffff;
}

.counter-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 30px 15px;
  backdrop-filter: blur(6px);
  transition: all 0.4s ease;
}

.counter-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.2);
}

/* Number */
.counter-number {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 8px;
}

/* Text */
.counter-text {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.4px;
}

/* Responsive */
@media (max-width: 767px) {
  .counter-number {
    font-size: 34px;
  }
}
/* Hover par dropdown stable rahe */
.navbar .dropdown:hover > .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* Gap issue fix */
.dropdown-menu {
  margin-top: 0;
}
/* ================= Start Your Journey (Modern Look) ================= */

.journey-section{
  background: linear-gradient(135deg,#f4f7fb,#ffffff);
}

.journey-card{
  background: #ffffff;
  padding: 60px 40px;
  border-radius: 22px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.journey-title{
  font-weight: 800;
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.journey-subtitle{
  max-width: 720px;
  margin: 0 auto;
  color: #666;
  font-size: 16px;
}

/* Cards */
.journey-box{
  background: #fff;
  border-radius: 18px;
  padding: 35px 25px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: all .35s ease;
}

.journey-box::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,#0d6efd,#6610f2);
  opacity: 0;
  transition: .35s;
}

.journey-box:hover::before{
  opacity: .08;
}

.journey-box:hover{
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* Icon */
.journey-box i{
  font-size: 42px;
  color: #0d6efd;
  margin-bottom: 18px;
  display: inline-block;
}

/* Text */
.journey-box h5{
  font-weight: 700;
  margin-bottom: 12px;
}

.journey-box p{
  font-size: 15px;
  color: #555;
}

/* Buttons */
.journey-btns .btn{
  border-radius: 30px;
  padding: 10px 26px;
}
.glass-contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #0d6efd, #6610f2);
  font-family: 'Inter', sans-serif;
  padding: 60px 0;
}

.glass-wrapper {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  padding: 40px;
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

/* LEFT INFO */
.glass-info {
  color: #fff;
}

.glass-info h3 {
  font-size: 28px;
  font-weight: 700;
}

.glass-info p {
  opacity: 0.85;
  margin-bottom: 30px;
}

.glass-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
  font-size: 16px;
}

.glass-box i {
  font-size: 22px;
}

/* FORM */
.glass-form {
  background: rgba(255, 255, 255, 0.18);
  padding: 35px;
  border-radius: 18px;
  backdrop-filter: blur(20px);
}

.glass-form h3 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 25px;
}

.glass-form input,
.glass-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  color: #fff;
  outline: none;
}

.glass-form input::placeholder,
.glass-form textarea::placeholder {
  color: rgba(255,255,255,0.8);
}

.glass-form input:focus,
.glass-form textarea:focus {
  border-color: #fff;
}

.glass-form button {
  width: 100%;
  background: #fff;
  color: #0d6efd;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.glass-form button:hover {
  background: #e9ecef;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .glass-wrapper {
    grid-template-columns: 1fr;
    padding: 30px;
  }
}
.contact-section {
  padding: 80px 0;
  background: #f6f8fb;
  font-family: 'Inter', sans-serif;
}

.contact-card {
  max-width: 1100px;
  margin: auto;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* LEFT */
.contact-info {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  padding: 45px;
}

.contact-info h3 {
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-info p {
  opacity: 0.9;
  margin-bottom: 30px;
}

.info-box {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.info-box i {
  font-size: 22px;
}

/* RIGHT */
.contact-form {
  padding: 45px;
}

.contact-form h3 {
  font-weight: 700;
  margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  outline: none;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0d6efd;
}

.contact-form button {
  background: #0d6efd;
  color: #fff;
  border: none;
  padding: 12px 35px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: #0a58ca;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
}
.enquiry-modal {
  border-radius: 20px;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.95);
}

.enquiry-modal .form-control {
  border-radius: 10px;
  padding: 12px;
}

.enquiry-modal button {
  border-radius: 10px;
  font-weight: 600;
}

.select-wrapper{
    position: relative;
}

.custom-select{
    width: 100%;
    height: 60px;
    padding: 0 50px 0 16px;
    border: 1px solid #dcdfe4;
    border-radius: 14px;
    font-size: 18px;
    color: #333;
    background: #fff;
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Custom Dropdown Icon */
.select-wrapper::after{
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

.custom-select:focus{
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13,110,253,0.15);
}