/* =====================================================
  GLOBAL PRATIBHA INTERNATIONAL SCHOOL
===================================================== */

:root {
  --school-red: #d72835;
  --school-red-dark: #b91f2b;
  --school-blue: #0d6efd;
  --school-gold: #f6a90b;
  --school-dark: #111827;
  --school-text: #111111;
  --school-muted: #666666;
  --school-white: #ffffff;
}

/* =====================================================
  GLOBAL STYLES
===================================================== */

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  color: #111;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  transition: all 0.25s ease;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: #fff;
  color: #000;
  padding: 10px;
  z-index: 9999;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
}


/* =====================================================
  TOP HEADER
===================================================== */

.top-header {
  background: #d91f36;
  color: #fff;
  min-height: 50px;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.top-phone {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 18px;
  border-radius: 30px;
  display: inline-block;
}

.top-phone:hover {
  color: #fff;
}


/* =====================================================
  NAVBAR
===================================================== */

.navbar-brand img {
  max-height: 90px;
}

.nav-link {
  font-weight: 500;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.nav-link:focus,
.btn:focus,
.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  outline: 0;
}


/* =====================================================
  HERO SLIDER
===================================================== */

#heroSlider {
  overflow: hidden;
}

.hero-img,
.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-caption {
  bottom: 15%;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.carousel-caption h1 {
  font-size: 60px;
  font-weight: 700;
}

.carousel-caption p {
  font-size: 20px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 8%;
}


/* =====================================================
  NOTICE BAR
===================================================== */

.notice-bar {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  overflow: hidden;
  line-height: 50px;
  font-weight: 700;
  color: #fff;
}

.notice-bar span::after {
  content: "•";
  margin-left: 28px;
  opacity: 0.75;
}


/* =====================================================
  HOMEPAGE REGISTRATION STRIP
===================================================== */

.registration-strip {
  background: #f6a90b;
  min-height: 72px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
}

.registration-link {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
}

.registration-link:hover,
.registration-link:focus,
.registration-link:active {
  color: #fff;
  text-decoration: none;
}


/* =====================================================
  HOMEPAGE WELCOME + NOTIFICATION SECTION
===================================================== */

.welcome-notification-section {
  position: relative;
  background: #fff;
  padding: 85px 0 80px;
}

.welcome-title {
  margin: 0;
  color: #d72835;
  font-size: 64px;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.welcome-title span {
  display: block;
  color: #111;
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 14px;
}

.welcome-copy {
  max-width: 520px;
}

.welcome-copy .lead-copy {
  color: #1e1e1e;
  font-size: 30px;
  line-height: 1.34;
  font-weight: 300;
  margin-bottom: 34px;
}

.welcome-copy p:not(.lead-copy) {
  color: #111;
  font-size: 20px;
  line-height: 1.45;
  margin-bottom: 24px;
}

.read-more-link {
  color: #d72835;
  font-weight: 800;
  text-decoration: none;
}

.read-more-link:hover {
  color: #b91f2b;
  text-decoration: underline;
}


/* =====================================================
  HOMEPAGE NOTIFICATION CARD
===================================================== */

.notification-card {
  background: #d72835;
  color: #fff;
  padding: 45px 48px 52px;
  min-height: 560px;
  margin-top: -38px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

.notification-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.notification-heading-row h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0;
}

.all-notifications-link {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.65);
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.all-notifications-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.notification-scroll-window {
  height: 430px;
  overflow: hidden;
  position: relative;
}

.notification-scroll-track {
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: notificationScroll 24s linear infinite;
}

.notification-scroll-window:hover .notification-scroll-track,
.notification-scroll-window:focus-within .notification-scroll-track {
  animation-play-state: paused;
}

@keyframes notificationScroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.notification-item-link {
  display: block;
  color: #fff;
  text-decoration: none;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.notification-item-link:hover,
.notification-item-link:focus {
  color: #fff;
}

.notification-category {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.notification-item h3 {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 10px;
}

.notification-item time {
  display: block;
  font-size: 15px;
  font-style: italic;
  margin-bottom: 16px;
  opacity: 0.95;
}

.notification-item p {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 20px;
}

.notification-plus {
  color: #fff;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
  line-height: 1;
  font-weight: 300;
  text-decoration: none;
}

.notification-plus:hover {
  color: #fff;
  transform: scale(1.06);
}


/* =====================================================
  NOTIFICATION DETAIL PAGE
===================================================== */

.notifications-page {
  background: #ffffff;
  padding: 55px 0 80px;
}

.notification-detail {
  margin-bottom: 48px;
  scroll-margin-top: 110px;
}

.notification-detail h2 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 800;
  color: #000;
  margin: 0 0 10px 36px;
}

.notification-detail time {
  display: block;
  color: #000;
  font-size: 18px;
  font-style: italic;
  margin: 0 0 18px 2px;
}

.notification-detail-box {
  position: relative;
  border: 1px solid #eeeeee;
  padding: 38px 42px;
  min-height: 120px;
  background: #ffffff;
}

.notification-detail-box::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 150px;
  width: 26px;
  height: 26px;
  background: #ffffff;
  border-top: 1px solid #eeeeee;
  border-left: 1px solid #eeeeee;
  transform: rotate(45deg);
}

.notification-detail-box p {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  color: #000;
}


/* =====================================================
  QUICK LINKS
===================================================== */

.quick-links-section {
  background: #f7f7f7;
}

.quick-card {
  transition: 0.3s;
  cursor: pointer;
  height: 100%;
}

.quick-card:hover,
.quick-card:focus {
  transform: translateY(-8px);
  box-shadow: 0 0.75rem 1.25rem rgba(0, 0, 0, 0.12);
}

.quick-icon {
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 1rem;
}


/* =====================================================
  COUNTER SECTION
===================================================== */

.counter-section {
  background: #0d6efd;
  color: #fff;
  padding: 70px 0;
}

.counter-section h2 {
  font-size: 48px;
  font-weight: 700;
}


/* =====================================================
  EVENTS SECTION
===================================================== */

.events-section {
  background: #f3f3f3;
}

.events-title {
  font-size: 70px;
  font-weight: 300;
  color: #d32f2f;
  margin-bottom: 30px;
}

.event-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}

.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.event-card:hover img {
  transform: scale(1.08);
}

.event-large,
.event-tall {
  height: 660px;
}

.event-small {
  height: 315px;
}

.event-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #1976d2;
  color: #fff;
  padding: 14px 22px;
  font-size: 18px;
  font-weight: 700;
  z-index: 9;
}


/* =====================================================
  ADMISSION BANNER
===================================================== */

.admission-banner {
  padding: 100px 0;
  background: #dc3545;
  color: #fff;
}


/* =====================================================
  FORMS
===================================================== */

form label {
  font-weight: 600;
}

/* =====================================================
  RESPONSIVE - TABLET
===================================================== */

@media (max-width: 1199.98px) {
  .welcome-title {
    font-size: 54px;
  }

  .welcome-title span {
    font-size: 40px;
  }

  .welcome-copy .lead-copy {
    font-size: 25px;
  }

  .notification-card {
    padding: 38px 34px;
    min-height: 500px;
  }
}

@media (max-width: 991.98px) {
  .registration-link {
    font-size: 22px;
  }

  .welcome-notification-section {
    padding: 60px 0;
  }

  .notification-card {
    margin-top: 10px;
    min-height: auto;
  }

  .notification-scroll-window {
    height: 340px;
  }

  .notification-scroll-track {
    animation-duration: 28s;
  }

  .notification-detail h2 {
    margin-left: 0;
    font-size: 27px;
  }

  .notification-detail-box::before {
    left: 80px;
  }

  .event-large,
  .event-small,
  .event-tall {
    height: 220px;
  }

  .event-date {
    font-size: 12px;
    padding: 8px 12px;
  }

  .events-title {
    font-size: 38px;
  }
}


/* =====================================================
  RESPONSIVE - MOBILE
===================================================== */

@media (max-width: 767.98px) {
  .top-header {
    padding: 10px 0;
  }

  .top-phone {
    font-size: 14px;
    padding: 6px 12px;
  }

  .navbar-brand img {
    max-height: 55px;
  }

  .carousel-caption {
    bottom: 10%;
  }

  .carousel-caption h1 {
    font-size: 28px;
  }

  .carousel-caption p {
    font-size: 14px;
  }

  .carousel-caption .btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .notice-bar {
    display: none;
  }

  .registration-strip {
    min-height: 58px;
  }

  .registration-link {
    font-size: 18px;
  }

  .welcome-notification-section {
    padding: 42px 0 50px;
  }

  .welcome-title {
    font-size: 42px;
  }

  .welcome-title span {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .welcome-copy .lead-copy {
    font-size: 21px;
    line-height: 1.42;
    margin-bottom: 22px;
  }

  .welcome-copy p:not(.lead-copy) {
    font-size: 16px;
  }

  .notification-card {
    padding: 32px 26px 36px;
  }

  .notification-heading-row {
    align-items: flex-start;
  }

  .notification-heading-row h2 {
    font-size: 28px;
  }

  .notification-scroll-window {
    height: 320px;
  }

  .notification-category {
    font-size: 19px;
  }

  .notification-item h3 {
    font-size: 21px;
  }

  .notification-item p {
    font-size: 17px;
  }

  .notifications-page {
    padding: 36px 0 55px;
  }

  .notification-detail {
    margin-bottom: 36px;
  }

  .notification-detail h2 {
    font-size: 24px;
  }

  .notification-detail time {
    font-size: 16px;
  }

  .notification-detail-box {
    padding: 30px 24px;
  }

  .notification-detail-box p {
    font-size: 17px;
  }

  .notification-detail-box::before {
    left: 45px;
  }

  .counter-section h2 {
    font-size: 32px;
  }

  .admission-banner {
    padding: 60px 0;
  }

  .event-card img {
    transform: none !important;
  }
}


/* =====================================================
  MOBILE HEADER ALIGNMENT FIX
===================================================== */

@media (max-width: 575.98px) {
  .top-header {
    min-height: 44px;
    padding: 8px 0;
  }

  .top-phone {
    font-size: 15px;
    padding: 7px 16px;
    line-height: 1.2;
  }

  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar > .container {
    flex-wrap: nowrap;
    align-items: center;
  }

  .navbar-brand {
    max-width: calc(100% - 72px);
    margin-right: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar-brand img {
    width: auto;
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
  }

  .navbar-toggler {
    margin-left: auto;
    flex: 0 0 auto;
    padding: 0.45rem 0.6rem;
  }

  .navbar-collapse {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    padding: 12px 18px 18px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    z-index: 999;
  }

  #heroSlider {
    margin-top: 0;
  }
}


/* =====================================================
  REDUCED MOTION ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .carousel {
    transition: none !important;
  }
}

/* =====================================================
  DYNAMIC GALLERY ALBUMS
===================================================== */

.gallery-list-section,
.gallery-detail-section {
  background: #f4f4f4;
}

.gallery-album-card,
.gallery-photo-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.gallery-album-card:hover,
.gallery-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.gallery-album-image-wrap,
.gallery-photo-image-wrap {
  aspect-ratio: 4 / 3;
  background: #ddd;
  overflow: hidden;
}

.gallery-album-image,
.gallery-photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-album-body,
.gallery-photo-body {
  padding: 20px 18px;
  text-align: center;
}

.gallery-album-body h2 {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 500;
  color: #222;
  margin: 0 0 8px;
}

.gallery-album-meta,
.gallery-album-info,
.gallery-photo-body span {
  font-size: 15px;
  color: #666;
  margin: 0;
}

.gallery-album-info {
  display: inline-block;
  font-weight: 600;
  color: #444;
}

@media (max-width: 767.98px) {
  .gallery-album-body h2 {
    font-size: 18px;
  }
}


/* =====================================================
  GALLERY LIGHTBOX AUTO SLIDER
===================================================== */

.gallery-photo-card {
  width: 100%;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: 28px;
}

.gallery-lightbox.is-active {
  display: flex;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.gallery-lightbox-dialog {
  position: relative;
  width: min(1100px, 100%);
  height: min(84vh, 780px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-figure {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-figure img {
  max-width: 100%;
  max-height: calc(100% - 62px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox-figure figcaption {
  color: #fff;
  width: 100%;
  min-height: 48px;
  padding-top: 16px;
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
  font-size: 16px;
  text-align: center;
}

.gallery-lightbox-close,
.gallery-lightbox-arrow,
.gallery-lightbox-control {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-arrow:hover,
.gallery-lightbox-control:hover {
  background: rgba(255, 255, 255, 0.28);
}

.gallery-lightbox-close {
  position: absolute;
  top: -8px;
  right: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
  z-index: 3;
}

.gallery-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 72px;
  border-radius: 10px;
  font-size: 64px;
  line-height: 1;
  z-index: 3;
}

.gallery-lightbox-prev {
  left: 0;
}

.gallery-lightbox-next {
  right: 0;
}

.gallery-lightbox-controls {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  z-index: 4;
}

.gallery-lightbox-control {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 22px;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .gallery-lightbox {
    padding: 14px;
  }

  .gallery-lightbox-dialog {
    height: 88vh;
  }

  .gallery-lightbox-close {
    top: 0;
    right: 0;
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .gallery-lightbox-arrow {
    width: 44px;
    height: 58px;
    font-size: 48px;
  }

  .gallery-lightbox-figure figcaption {
    font-size: 13px;
    gap: 10px;
    padding-left: 48px;
    padding-right: 48px;
  }
}


/* =====================================================
  CLICKABLE EVENTS + EVENTS DETAIL PAGE
===================================================== */

.events-view-all-link {
  color: #d72835;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
}

.events-view-all-link:hover {
  color: #b91f2b;
  text-decoration: underline;
}

.event-card {
  display: block;
  color: #fff;
  text-decoration: none;
}

.event-card:hover {
  color: #fff;
}

.event-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  color: #fff;
  transform: translateY(14px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 8;
}

.event-card:hover .event-overlay,
.event-card:focus .event-overlay {
  transform: translateY(0);
  opacity: 1;
}

.event-overlay h3 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 6px;
}

.event-overlay span {
  font-size: 15px;
  font-weight: 700;
}

.events-page-section,
.event-detail-section {
  background: #f7f7f7;
}

.event-list-card {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #111;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.event-list-card:hover {
  color: #111;
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.event-list-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
}

.event-list-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-list-date {
  position: absolute;
  left: 16px;
  top: 16px;
  background: #d72835;
  color: #fff;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 800;
}

.event-list-body {
  padding: 24px 22px;
}

.event-list-body h2 {
  color: #111;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 12px;
}

.event-list-body p {
  color: #333;
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 16px;
}

.event-read-more {
  color: #d72835;
  font-weight: 800;
}

.event-detail-date {
  color: #444;
  font-weight: 700;
}

.event-detail-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.event-detail-image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.event-detail-content {
  padding: 36px 40px 42px;
}

.event-detail-content time {
  display: block;
  color: #d72835;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 12px;
}

.event-detail-content h2 {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 800;
  color: #111;
  margin: 0 0 18px;
}

.event-detail-content p {
  color: #222;
  font-size: 19px;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 991.98px) {
  .event-overlay {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .event-list-body {
    padding: 20px 18px;
  }

  .event-list-body h2 {
    font-size: 20px;
  }

  .event-detail-content {
    padding: 26px 22px 30px;
  }

  .event-detail-content h2 {
    font-size: 26px;
  }

  .event-detail-content p {
    font-size: 17px;
  }
}


/* =====================================================
  BASE PAGINATION
===================================================== */

.site-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 46px;
}

.pagination-link {
  min-width: 44px;
  height: 44px;
  padding: 0 15px;
  border: 1px solid #dddddd;
  background: #ffffff;
  color: #222222;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.pagination-link:hover {
  background: #d72835;
  border-color: #d72835;
  color: #ffffff;
}

.pagination-link.is-active {
  background: #d72835;
  border-color: #d72835;
  color: #ffffff;
  cursor: default;
}

.pagination-prev,
.pagination-next {
  min-width: 98px;
}

.empty-state-box {
  background: #ffffff;
  border: 1px solid #eeeeee;
  padding: 32px;
  border-radius: 10px;
  text-align: center;
  font-size: 18px;
  color: #222222;
}

.empty-state-box p {
  margin: 0;
}

@media (max-width: 575.98px) {
  .site-pagination {
    gap: 8px;
    margin-top: 34px;
  }

  .pagination-link {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .pagination-prev,
  .pagination-next {
    min-width: 86px;
  }
}

/* =====================================================
  INDEX SECTION ALIGNMENT FIX
===================================================== */

.principal-message-section {
  background: #ffffff;
}

.events-section {
  clear: both;
  width: 100%;
  background: #f3f3f3;
}

.events-section .container-fluid {
  max-width: 100%;
}

.events-section .row {
  align-items: stretch;
}


/* =====================================================
  UPDATED COUNTER + WHY CHOOSE SECTION
===================================================== */

.school-stats-section {
  background: #ffffff;
  padding: 72px 0 86px;
}

.school-stat-card {
  position: relative;
  padding-left: 34px;
  min-height: 84px;
}

.school-stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 10px;
  height: 82px;
  background: #2d6db3;
}

.school-stat-card.stat-red::before {
  background: #e54848;
}

.school-stat-card.stat-green::before {
  background: #008751;
}

.school-stat-card.stat-yellow::before {
  background: #ffc400;
}

.school-stat-card h2 {
  color: #000000;
  font-size: 58px;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -1px;
  margin: 0 0 8px;
}

.school-stat-card p {
  color: #000000;
  font-size: 20px;
  line-height: 1.25;
  margin: 0;
}

.school-stat-card p strong {
  font-weight: 800;
}

.why-choose-premium-section {
  background: #62627e;
  color: #ffffff;
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}

.why-choose-heading h2 {
  color: #ffffff;
  font-size: 64px;
  font-weight: 300;
  line-height: 1.1;
  margin: 0;
}

.why-choose-heading p {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.why-choose-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: end;
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
  margin-top: 72px;
  padding-bottom: 22px;
}

.why-tab {
  position: relative;
  border: 0;
  background: transparent;
  color: #ffd900;
  font-size: 25px;
  line-height: 1.02;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  padding: 0 6px;
}

.why-tab.is-active {
  color: #ffffff;
}

.why-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -34px;
  width: 26px;
  height: 26px;
  border-right: 2px solid rgba(255, 255, 255, 0.65);
  border-bottom: 2px solid rgba(255, 255, 255, 0.65);
  transform: translateX(-50%) rotate(45deg);
  background: #62627e;
}

.why-choose-content {
  max-width: 990px;
  margin: 74px auto 0;
  text-align: center;
}

.why-content-item {
  display: none;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.62;
  font-weight: 500;
  margin: 0;
}

.why-content-item.is-active {
  display: block;
}

.why-choose-arrow {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 42px auto 0;
  font-size: 46px;
  line-height: 1;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1199.98px) {
  .school-stat-card h2 {
    font-size: 48px;
  }

  .school-stat-card p {
    font-size: 17px;
  }

  .why-choose-heading h2 {
    font-size: 52px;
  }

  .why-tab {
    font-size: 20px;
  }
}

@media (max-width: 991.98px) {
  .school-stats-section {
    padding: 48px 0 56px;
  }

  .why-choose-premium-section {
    padding: 62px 0 58px;
  }

  .why-choose-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 14px;
    border-bottom: 0;
    margin-top: 46px;
    padding-bottom: 0;
  }

  .why-tab {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px 12px;
    min-height: 78px;
  }

  .why-tab.is-active::after {
    display: none;
  }

  .why-choose-content {
    margin-top: 34px;
  }
}

@media (max-width: 767.98px) {
  .school-stat-card {
    padding-left: 24px;
  }

  .school-stat-card::before {
    width: 7px;
    height: 62px;
  }

  .school-stat-card h2 {
    font-size: 36px;
  }

  .school-stat-card p {
    font-size: 15px;
  }

  .why-choose-heading h2 {
    font-size: 38px;
  }

  .why-choose-heading p {
    font-size: 15px;
  }

  .why-choose-tabs {
    grid-template-columns: 1fr;
  }

  .why-tab {
    font-size: 18px;
    min-height: auto;
  }

  .why-content-item {
    font-size: 16px;
    line-height: 1.6;
  }
}


/* =====================================================
  AWARDS & ACHIEVEMENTS SYSTEM
===================================================== */

.awards-preview-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 555px;
  background: #f3f3f3;
  min-height: 560px;
}

.awards-preview-main {
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: center;
  padding: 70px 0 70px 70px;
}

.awards-preview-content h2 {
  color: #d72835;
  font-size: 70px;
  line-height: 1.15;
  font-weight: 300;
  margin: 0 0 48px;
}

.awards-preview-content p {
  color: #000000;
  max-width: 430px;
  font-size: 21px;
  line-height: 1.45;
  margin: 0 0 22px;
}

.awards-preview-arrow {
  color: #444444;
  display: inline-block;
  font-size: 44px;
  line-height: 1;
  text-decoration: none;
}

.awards-preview-arrow:hover {
  color: #d72835;
}

.awards-preview-image {
  padding: 0 40px;
}

.awards-preview-image img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.awards-download-panel {
  background: #d72835;
  padding: 110px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

.awards-download-panel a {
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  font-size: 29px;
  line-height: 1.2;
  font-weight: 800;
}

.awards-download-panel a:hover {
  color: #ffffff;
  transform: translateX(6px);
}

.awards-download-panel span {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 300;
  flex: 0 0 auto;
}

.awards-page-section,
.award-detail-section {
  background: #f7f7f7;
}

.award-list-card {
  display: block;
  height: 100%;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #111111;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.award-list-card:hover {
  color: #111111;
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.award-list-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dddddd;
}

.award-list-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.award-list-category {
  position: absolute;
  left: 16px;
  top: 16px;
  background: #d72835;
  color: #ffffff;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 800;
}

.award-list-body {
  padding: 24px 22px;
}

.award-list-body h2 {
  color: #111111;
  font-size: 23px;
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 10px;
}

.award-list-date {
  color: #666666;
  font-size: 15px;
  margin: 0 0 12px;
}

.award-list-body p {
  color: #333333;
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 16px;
}

.award-read-more {
  color: #d72835;
  font-weight: 800;
}

.award-detail-date {
  color: #444444;
  font-weight: 700;
}

.award-detail-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.award-detail-image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.award-detail-content {
  padding: 36px 40px 42px;
}

.award-detail-content time {
  display: block;
  color: #d72835;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 12px;
}

.award-detail-content h2 {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 800;
  color: #111111;
  margin: 0 0 18px;
}

.award-detail-content p {
  color: #222222;
  font-size: 19px;
  line-height: 1.7;
  margin: 0;
}

.award-photo-card {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: #dddddd;
}

.award-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1199.98px) {
  .awards-preview-section {
    grid-template-columns: 1fr 420px;
  }

  .awards-preview-content h2 {
    font-size: 56px;
  }

  .awards-download-panel {
    padding: 80px 44px;
  }

  .awards-download-panel a {
    font-size: 24px;
  }
}

@media (max-width: 991.98px) {
  .awards-preview-section {
    grid-template-columns: 1fr;
  }

  .awards-preview-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 54px 28px;
  }

  .awards-preview-content h2 {
    font-size: 48px;
    margin-bottom: 28px;
  }

  .awards-preview-content p {
    font-size: 18px;
    max-width: none;
  }

  .awards-preview-image {
    padding: 0;
  }

  .awards-download-panel {
    padding: 42px 28px;
    gap: 24px;
  }
}

@media (max-width: 767.98px) {
  .awards-preview-content h2 {
    font-size: 40px;
  }

  .awards-download-panel a {
    font-size: 20px;
  }

  .awards-download-panel span {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .award-detail-content {
    padding: 26px 22px 30px;
  }

  .award-detail-content h2 {
    font-size: 26px;
  }

  .award-detail-content p {
    font-size: 17px;
  }
}


/* =====================================================
  PREMIUM HOME VERSION 1 - ROYAL RED & GOLD
===================================================== */
.premium-home.v1-royal-red {
  --premium-primary: #b9152b;
  --premium-secondary: #ffbf00;
  --premium-dark: #231942;
  --premium-soft: #fff8ed;
  background: #ffffff;
}
.v1-royal-red #heroSlider {
  border-bottom: 0 !important;
}
.v1-royal-red .registration-strip {
  background: linear-gradient(90deg, #b9152b, #e13a47, #ffbf00);
  box-shadow: 0 14px 35px rgba(185, 21, 43, 0.22);
}
.v1-royal-red .welcome-notification-section {
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 191, 0, .16), transparent 32%),
    linear-gradient(135deg, #fff 0%, #fff8ed 100%);
}
.v1-royal-red .welcome-title {
  color: var(--premium-primary);
  text-shadow: 0 10px 25px rgba(185,21,43,.12);
}
.v1-royal-red .notification-card {
  background: linear-gradient(145deg, #b9152b, #d72835);
  border-radius: 26px;
  box-shadow: 0 26px 55px rgba(185, 21, 43, .30);
}
.v1-royal-red .school-stats-section {
  background: linear-gradient(180deg, #fff 0%, #fff8ed 100%);
}
.v1-royal-red .school-stat-card {
  background: #fff;
  padding: 28px 22px 28px 40px;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}
.v1-royal-red .why-choose-premium-section {
  background:
    linear-gradient(135deg, rgba(35,25,66,.96), rgba(98,98,126,.94)),
    radial-gradient(circle at top right, rgba(255,191,0,.34), transparent 30%);
}
.v1-royal-red .why-tab {
  color: #ffd85a;
}
.v1-royal-red .awards-preview-section {
  background: #fff8ed;
}
.v1-royal-red .awards-download-panel {
  background: linear-gradient(160deg, #b9152b, #d72835);
}
.v1-royal-red .events-section {
  background: linear-gradient(180deg, #fff8ed, #ffffff);
}
.v1-royal-red .event-card,
.v1-royal-red .gallery-album-card,
.v1-royal-red .award-list-card {
  border-radius: 24px;
}


/* =====================================================
  HOME EDUCATION + FAQ SECTION
===================================================== */

.home-education-faq-section {
  background: #ffffff;
  padding: 70px 0 76px;
}

.home-education-title {
  color: #d72835;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  margin: 0 0 28px;
}

.home-education-content p {
  color: #000000;
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 20px;
}

.home-faq-box h3 {
  color: #000000;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 18px;
}

.home-faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-faq-item {
  border: 1px solid #dddddd;
  background: #ffffff;
}

.home-faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  color: #000000;
  font-size: 21px;
  line-height: 1.35;
  padding: 18px 58px 18px 20px;
}

.home-faq-item summary::-webkit-details-marker {
  display: none;
}

.home-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #d72835;
  font-size: 32px;
  line-height: 1;
  font-weight: 300;
}

.home-faq-item[open] summary::after {
  content: "−";
}

.home-faq-item p {
  border-top: 1px solid #eeeeee;
  color: #222222;
  font-size: 16px;
  line-height: 1.6;
  padding: 0 20px 18px;
  margin: 0;
}

.home-faq-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 64px;
  background: #d72835;
  color: #ffffff;
  text-decoration: none;
  font-size: 21px;
  font-weight: 700;
  margin-top: 54px;
  margin-left: 42%;
}

.home-faq-view-all:hover {
  color: #ffffff;
  background: #b91f2b;
}

.about-intro-section h2,
.about-message-section h2 {
  color: #d72835;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 18px;
}

.about-intro-section p,
.about-message-section p {
  color: #111111;
  font-size: 18px;
  line-height: 1.7;
}

.about-highlight-card {
  background: #d72835;
  color: #ffffff;
  padding: 34px 30px;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(215, 40, 53, .22);
}

.about-highlight-card h3 {
  font-size: 42px;
  font-weight: 900;
  margin: 0 0 8px;
}

.about-highlight-card p {
  color: #ffffff;
  margin: 0;
}

.about-message-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .home-education-title {
    font-size: 34px;
  }

  .home-faq-view-all {
    margin-left: 0;
    margin-top: 30px;
  }
}

@media (max-width: 767.98px) {
  .home-education-faq-section {
    padding: 48px 0 54px;
  }

  .home-education-title {
    font-size: 28px;
    text-align: left;
  }

  .home-education-content p {
    font-size: 16px;
  }

  .home-faq-box h3 {
    font-size: 30px;
  }

  .home-faq-item summary {
    font-size: 17px;
    padding: 16px 48px 16px 16px;
  }

  .home-faq-view-all {
    min-width: 128px;
    min-height: 52px;
    font-size: 18px;
  }

  .about-intro-section h2,
  .about-message-section h2 {
    font-size: 30px;
  }
}


/* =====================================================
  WHY CHOOSE CLICKABLE MARKER + ARROW ALIGNMENT FIX
===================================================== */

.why-tab {
  display: block;
  text-decoration: none;
}

.why-tab:hover,
.why-tab:focus {
  color: #ffffff;
  text-decoration: none;
}

.why-choose-content {
  overflow: visible;
}

.why-choose-arrow {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 42px auto 0;
  padding: 0;
  font-size: 46px;
  line-height: 46px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transform: none;
}

.why-choose-arrow:hover,
.why-choose-arrow:focus {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.why-choose-arrow::before,
.why-choose-arrow::after {
  display: none;
}

.v1-royal-red .why-choose-arrow {
  border-color: rgba(255, 216, 90, 0.85);
  color: #ffd85a;
}

.v1-royal-red .why-choose-arrow:hover,
.v1-royal-red .why-choose-arrow:focus {
  background: rgba(255, 216, 90, 0.14);
  color: #ffffff;
  border-color: #ffffff;
}

@media (max-width: 991.98px) {
  .why-choose-arrow {
    margin-top: 30px;
  }
}

/* =====================================================
  STABLE HERO SLIDER RESTORE
  Restores correct carousel from working version.
===================================================== */

#heroSlider {
  overflow: hidden;
  margin-bottom: 0;
}

#heroSlider .carousel-inner,
#heroSlider .carousel-item {
  margin: 0;
  padding: 0;
}

.hero-img,
#heroSlider .carousel-item img {
  width: 100%;
  height: auto;
  display: block;
}

.registration-strip {
  margin-top: 0;
  border-top: 0;
}

.registration-strip + .welcome-notification-section {
  padding-top: 42px;
}

@media (max-width: 767.98px) {
  .registration-strip + .welcome-notification-section {
    padding-top: 28px;
  }
}


/* =====================================================
  FINAL REMOVE SLIDER / REGISTRATION GAP LINE
===================================================== */

.v1-royal-red #heroSlider,
#heroSlider {
  border-bottom: 0 !important;
  margin-bottom: 0 !important;
}

#heroSlider + .registration-strip,
.v1-royal-red #heroSlider + .registration-strip,
.registration-strip {
  margin-top: 0 !important;
  border-top: 0 !important;
}

#heroSlider .carousel-inner,
#heroSlider .carousel-item,
#heroSlider .carousel-item img,
.hero-img {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}


/* =====================================================
  FINAL WORKING STICKY MENU
  JS adds body.menu-is-fixed after scrolling past top bar.
===================================================== */

body.menu-is-fixed .navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  background: #ffffff !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14) !important;
  animation: stickyMenuSlideDown 0.22s ease;
}

body.menu-is-fixed main {
  padding-top: var(--sticky-menu-height, 92px);
}

body.menu-is-fixed .navbar-collapse {
  background: #ffffff;
  z-index: 100000 !important;
}

@keyframes stickyMenuSlideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

/* Section anchor correction for fixed menu */
section,
article {
  scroll-margin-top: 110px;
}

@media (max-width: 767.98px) {
  body.menu-is-fixed main {
    padding-top: var(--sticky-menu-height, 76px);
  }

  section,
  article {
    scroll-margin-top: 90px;
  }
}


/* =====================================================
  MOBILE LOGO + HAMBURGER ALIGNMENT FIX
===================================================== */

@media (max-width: 575.98px) {
  .navbar {
    min-height: 74px;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  .navbar > .container {
    min-height: 62px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }

  .navbar-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    max-width: calc(100% - 74px) !important;
    height: 68px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  .navbar-brand img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: 66px !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
  }

  .navbar-toggler {
    width: 56px;
    height: 56px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 56px !important;
    border-radius: 8px;
  }

  .navbar-toggler-icon {
    width: 30px;
    height: 30px;
  }
}

/* =====================================================
  PREMIUM TESTIMONIALS SECTION
===================================================== */
.testimonials-premium-section {
  position: relative;
  overflow: hidden;
  padding: 82px 0 88px;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 72, 0.22), transparent 34%),
    linear-gradient(135deg, #fff8f1 0%, #ffffff 46%, #fff2f2 100%);
}

.testimonials-premium-section::before,
.testimonials-premium-section::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(190, 20, 35, 0.08);
  pointer-events: none;
}

.testimonials-premium-section::before {
  top: -120px;
  right: -80px;
}

.testimonials-premium-section::after {
  bottom: -130px;
  left: -90px;
}

.testimonial-heading-wrap {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto 38px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #b91524;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(185, 21, 36, 0.20);
}

.testimonial-heading-wrap h2 {
  margin: 0;
  color: #1f1f2d;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
}

.testimonial-heading-wrap p {
  max-width: 760px;
  margin: 16px auto 0;
  color: #606070;
  font-size: 1.05rem;
  line-height: 1.75;
}

.testimonial-marquee {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  padding: 12px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: testimonialRun 58s linear infinite;
}

.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  width: 360px;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid rgba(185, 21, 36, 0.10);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 48px rgba(37, 37, 58, 0.11);
  backdrop-filter: blur(10px);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.testimonial-badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(185, 21, 36, 0.09);
  color: #b91524;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.testimonial-rating {
  color: #f2a900;
  font-size: 0.95rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

.testimonial-text {
  margin: 0;
  color: #303044;
  font-size: 1rem;
  line-height: 1.72;
  font-weight: 500;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 31, 45, 0.08);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #b91524, #f2a900);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(185, 21, 36, 0.18);
}

.testimonial-author-row h3 {
  margin: 0 0 3px;
  color: #1f1f2d;
  font-size: 1rem;
  font-weight: 850;
}

.testimonial-author-row p {
  margin: 0;
  color: #777787;
  font-size: 0.9rem;
  font-weight: 600;
}

@keyframes testimonialRun {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 12px));
  }
}

@media (max-width: 767.98px) {
  .testimonials-premium-section {
    padding: 58px 0 64px;
  }

  .testimonial-heading-wrap {
    padding: 0 18px;
    margin-bottom: 24px;
  }

  .testimonial-card {
    width: 300px;
    min-height: 320px;
    padding: 22px;
    border-radius: 20px;
  }

  .testimonial-track {
    gap: 16px;
    animation-duration: 72s;
  }

  .testimonial-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* =====================================================
  SCHOOL LOCATION / GOOGLE MAP
===================================================== */

.school-location-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #fff7f7 0%, #ffffff 48%, #f3f7ff 100%);
}

.location-card {
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(20, 32, 56, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.12);
}

.location-content {
  height: 100%;
  padding: 46px 42px;
  background: #ffffff;
}

.location-content .section-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-content h2 {
  margin-bottom: 16px;
  color: #17233c;
  font-weight: 800;
  line-height: 1.15;
}

.location-content p {
  color: #4c5b70;
  line-height: 1.75;
}

.location-contact-list {
  margin: 24px 0;
}

.location-contact-list p {
  margin-bottom: 10px;
}

.location-contact-list a {
  color: #dc3545;
  text-decoration: none;
  font-weight: 700;
}

.location-direction-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: #dc3545;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(220, 53, 69, 0.28);
}

.location-direction-btn:hover,
.location-direction-btn:focus {
  color: #ffffff;
  background: #b82030;
}

.location-map-wrap {
  height: 100%;
  min-height: 430px;
  background: #e9eef7;
}

.location-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  display: block;
}

/* =====================================================
  FOOTER UPGRADE
===================================================== */

.footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.86);
  padding: 70px 0 28px;
}


.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 240px;
  margin-bottom: 18px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #ffffff;
}

.footer-logo img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
}

.footer h4 {
  position: relative;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: #dc3545;
}

.footer-about,
.footer-address {
  line-height: 1.75;
  margin-bottom: 16px;
}

.footer-highlight {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(220, 53, 69, 0.14);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.footer a:hover,
.footer a:focus {
  color: #ffffff;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: "›";
  color: #dc3545;
  font-weight: 800;
}

.footer-address {
  font-style: normal;
}

.footer-map {
  margin: 16px 0 18px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.footer-map iframe {
  display: block;
  width: 100%;
  min-height: 170px;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-links a {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.05);
}

.social-links a:hover,
.social-links a:focus {
  background: #dc3545;
  border-color: #dc3545;
  transform: translateY(-2px);
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.14);
  margin: 42px 0 20px;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

@media (max-width: 991.98px) {
  .school-location-section {
    padding: 60px 0;
  }

  .location-content {
    padding: 34px 26px;
  }

  .location-map-wrap,
  .location-map-wrap iframe {
    min-height: 360px;
  }
}
/* =====================================================
  ENQUIRY PAGE - CLEAN ORGANIZED CSS
  Page body must be: <body class="enquiry-page">
===================================================== */

/* ---------- Page Base ---------- */

body.enquiry-page {
  margin: 0;
  padding: 0;
  background: #f4e8ee;
  color: #000000;
  font-family: "Times New Roman", Times, serif;
  overflow-x: hidden;
}

body.enquiry-page * {
  box-sizing: border-box;
}

/* ---------- Main Wrapper ---------- */

body.enquiry-page .page-wrap {
  width: 100%;
  min-height: 100vh;
  padding: 28px 0 20px;
  text-align: center;
  background: #ffffff;
}

/* ---------- Logo ---------- */

body.enquiry-page .logo {
  width: 360px;
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

/* ---------- Heading ---------- */

body.enquiry-page h1 {
  margin: 0 0 35px;
  color: #000000;
  font-size: 31px;
  line-height: 1.1;
  font-weight: 700;
}

/* ---------- Form Layout ---------- */

body.enquiry-page .form-box {
  width: 430px;
  max-width: 92%;
  margin: 0 auto;
  text-align: left;
}

body.enquiry-page label {
  display: block;
  margin: 0 0 6px;
  color: #000000;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 400;
}

/* ---------- Fields ---------- */

body.enquiry-page input,
body.enquiry-page textarea {
  width: 100%;
  border: 1px solid #8b8b8b;
  background: #ffffff;
  color: #000000;
  font-family: Arial, sans-serif;
  font-size: 17px;
  padding: 7px 8px;
  outline: none;
}

body.enquiry-page input {
  height: 43px;
  margin-bottom: 12px;
}

body.enquiry-page textarea {
  height: 95px;
  margin-bottom: 16px;
  resize: vertical;
}

body.enquiry-page input:focus,
body.enquiry-page textarea:focus {
  border-color: #555555;
}

/* ---------- Submit Button ---------- */

body.enquiry-page .button-wrap {
  text-align: center;
}

body.enquiry-page button {
  background: #3fb34f;
  color: #ffffff;
  border: 0;
  border-radius: 7px;
  padding: 12px 23px;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

body.enquiry-page button:hover {
  background: #35a745;
}

/* ---------- Messages ---------- */

body.enquiry-page .notice {
  width: 430px;
  max-width: 92%;
  margin: 0 auto 15px;
  padding: 10px 14px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  text-align: center;
  border-radius: 4px;
}

body.enquiry-page .success {
  background: #e8f7ec;
  color: #126b24;
  border: 1px solid #a9deb4;
}

body.enquiry-page .error {
  background: #fdecec;
  color: #9b1c1c;
  border: 1px solid #efb5b5;
}

/* =====================================================
  MOBILE VIEW
===================================================== */

@media (max-width: 600px) {
  body.enquiry-page .page-wrap {
    width: calc(100% - 24px);
    min-height: auto;
    margin: 12px auto;
    padding: 22px 18px 18px;
    border: 1px solid #dddddd;
  }

  body.enquiry-page .logo {
    width: 100%;
    max-width: 360px;
    margin-bottom: 12px;
  }

  body.enquiry-page h1 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  body.enquiry-page .form-box {
    width: 100%;
    max-width: 100%;
  }

  body.enquiry-page label {
    font-size: 20px;
    margin-bottom: 5px;
  }

  body.enquiry-page input,
  body.enquiry-page textarea {
    font-size: 16px;
    padding: 5px 7px;
  }

  body.enquiry-page input {
    height: 40px;
    margin-bottom: 10px;
  }

  body.enquiry-page textarea {
    height: 70px;
    margin-bottom: 12px;
    resize: none;
  }

  body.enquiry-page button {
    padding: 10px 22px;
    font-size: 16px;
    border-radius: 6px;
  }

  body.enquiry-page .notice {
    width: 100%;
    margin-bottom: 12px;
    padding: 8px 10px;
    font-size: 14px;
  }
}

/* =====================================================
  VERY SMALL MOBILE VIEW
===================================================== */

@media (max-width: 390px) {
  body.enquiry-page .page-wrap {
    width: calc(100% - 16px);
    margin: 8px auto;
    padding: 16px 14px 14px;
  }

  body.enquiry-page .logo {
    max-width: 310px;
    margin-bottom: 8px;
  }

  body.enquiry-page h1 {
    font-size: 23px;
    margin-bottom: 14px;
  }

  body.enquiry-page label {
    font-size: 18px;
  }

  body.enquiry-page input {
    height: 35px;
    margin-bottom: 7px;
  }

  body.enquiry-page textarea {
    height: 55px;
    margin-bottom: 9px;
  }

  body.enquiry-page button {
    padding: 8px 20px;
    font-size: 15px;
  }
}
/* =====================================================
  HOME PAGE PREMIUM POLISH ONLY
  Scope: .premium-home.v1-royal-red
  Layout, PHP, slider functions and inner pages remain unchanged.
===================================================== */
.premium-home.v1-royal-red{
  --home-red:#b9152b;
  --home-red-deep:#8f1021;
  --home-gold:#f5b830;
  --home-ink:#172033;
  --home-muted:#5f6878;
  --home-cream:#fff8ed;
  --home-soft:#fbf7f0;
  --home-border:rgba(23,32,51,.10);
  --home-shadow:0 24px 70px rgba(23,32,51,.10);
  color:var(--home-ink);
  background:linear-gradient(180deg,#fff 0%,#fffaf2 45%,#ffffff 100%);
}

.premium-home.v1-royal-red .registration-strip{
  min-height:66px;
  background:linear-gradient(90deg,var(--home-red-deep),var(--home-red) 55%,var(--home-gold));
  box-shadow:0 18px 44px rgba(143,16,33,.20);
}
.premium-home.v1-royal-red .registration-link{
  font-size:clamp(19px,2.15vw,28px);
  letter-spacing:-.01em;
  text-shadow:0 2px 14px rgba(0,0,0,.12);
}
.premium-home.v1-royal-red .registration-link span{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:rgba(255,255,255,.20);
}

.premium-home.v1-royal-red .welcome-notification-section{
  overflow:hidden;
  padding:72px 0 76px;
  background:
    radial-gradient(circle at 9% 8%,rgba(245,184,48,.18),transparent 30%),
    radial-gradient(circle at 94% 22%,rgba(185,21,43,.08),transparent 27%),
    linear-gradient(135deg,#ffffff 0%,#fff8ed 100%);
}
.premium-home.v1-royal-red .welcome-notification-section::before{
  content:"";
  position:absolute;
  inset:24px 28px auto auto;
  width:210px;
  height:210px;
  border-radius:50%;
  background:rgba(185,21,43,.055);
  pointer-events:none;
}
.premium-home.v1-royal-red .welcome-title{
  color:var(--home-red);
  font-size:clamp(44px,5.2vw,66px);
  letter-spacing:-.045em;
  text-shadow:none;
}
.premium-home.v1-royal-red .welcome-title span{
  width:max-content;
  max-width:100%;
  margin-bottom:16px;
  padding:8px 15px;
  border:1px solid rgba(185,21,43,.18);
  border-radius:999px;
  background:rgba(255,255,255,.72);
  color:var(--home-red);
  font-size:13px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.15em;
  text-transform:uppercase;
  box-shadow:0 12px 30px rgba(23,32,51,.06);
}
.premium-home.v1-royal-red .welcome-copy{
  padding:30px 32px;
  border:1px solid var(--home-border);
  border-radius:30px;
  background:rgba(255,255,255,.78);
  box-shadow:0 18px 55px rgba(23,32,51,.075);
  backdrop-filter:blur(10px);
}
.premium-home.v1-royal-red .welcome-copy .lead-copy{
  color:#283246;
  font-size:clamp(18px,1.45vw,22px);
  line-height:1.78;
  font-weight:400;
  margin-bottom:24px;
}
.premium-home.v1-royal-red .read-more-link,
.premium-home.v1-royal-red .events-view-all-link,
.premium-home.v1-royal-red .home-faq-view-all,
.premium-home.v1-royal-red .location-direction-btn{
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.premium-home.v1-royal-red .read-more-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:11px 18px;
  border-radius:999px;
  background:rgba(185,21,43,.08);
  color:var(--home-red);
  text-decoration:none;
}
.premium-home.v1-royal-red .read-more-link:hover{
  background:var(--home-red);
  color:#fff;
  text-decoration:none;
  transform:translateY(-2px);
}

.premium-home.v1-royal-red .notification-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.22);
  border-radius:30px;
  background:
    radial-gradient(circle at 88% 8%,rgba(245,184,48,.34),transparent 30%),
    linear-gradient(145deg,var(--home-red-deep),var(--home-red));
  box-shadow:0 28px 70px rgba(143,16,33,.28);
}
.premium-home.v1-royal-red .notification-card::after{
  content:"";
  position:absolute;
  right:-54px;
  bottom:-70px;
  width:170px;
  height:170px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
}
.premium-home.v1-royal-red .notification-heading-row,
.premium-home.v1-royal-red .notification-scroll-window{
  position:relative;
  z-index:1;
}
.premium-home.v1-royal-red .notification-item-link{
  border-bottom-color:rgba(255,255,255,.18);
}
.premium-home.v1-royal-red .notification-category{
  display:inline-flex;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  font-size:14px;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.premium-home.v1-royal-red .notification-item h3{
  font-size:21px;
}
.premium-home.v1-royal-red .notification-item p{
  font-size:16px;
  font-weight:500;
  opacity:.96;
}

.premium-home.v1-royal-red .quick-links-section{
  padding-top:58px !important;
  padding-bottom:58px !important;
  background:linear-gradient(180deg,#fff 0%,#fbf7f0 100%);
}
.premium-home.v1-royal-red .quick-card{
  overflow:hidden;
  border:1px solid var(--home-border);
  border-radius:26px;
  background:linear-gradient(180deg,#ffffff 0%,#fffaf2 100%);
  box-shadow:0 18px 46px rgba(23,32,51,.075);
}
.premium-home.v1-royal-red .quick-card::before{
  content:"";
  display:block;
  height:5px;
  background:linear-gradient(90deg,var(--home-red),var(--home-gold));
}
.premium-home.v1-royal-red .quick-card .card-body{
  padding:30px 18px 28px;
}
.premium-home.v1-royal-red .quick-icon{
  width:62px;
  height:62px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 16px;
  border-radius:20px;
  background:rgba(185,21,43,.08);
  font-size:2rem;
}
.premium-home.v1-royal-red .quick-card h3{
  color:var(--home-ink);
  font-weight:850;
  letter-spacing:-.02em;
}

.premium-home.v1-royal-red .why-choose-premium-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 92% 9%,rgba(245,184,48,.24),transparent 28%),
    radial-gradient(circle at 12% 86%,rgba(255,255,255,.12),transparent 25%),
    linear-gradient(135deg,#1d1734 0%,#332854 58%,#251c3f 100%);
}
.premium-home.v1-royal-red .why-choose-heading h2,
.premium-home.v1-royal-red .events-title,
.premium-home.v1-royal-red .awards-preview-content h2,
.premium-home.v1-royal-red .home-education-title,
.premium-home.v1-royal-red .location-content h2{
  letter-spacing:-.04em;
}
.premium-home.v1-royal-red .why-tab{
  border-radius:18px;
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.premium-home.v1-royal-red .why-tab:hover,
.premium-home.v1-royal-red .why-tab:focus,
.premium-home.v1-royal-red .why-tab.is-active{
  background:rgba(255,255,255,.12);
  transform:translateY(-2px);
}
.premium-home.v1-royal-red .why-choose-content{
  border:1px solid rgba(255,255,255,.14);
  border-radius:28px;
  background:rgba(255,255,255,.08);
  box-shadow:0 28px 70px rgba(0,0,0,.16);
  backdrop-filter:blur(10px);
}

.premium-home.v1-royal-red .awards-preview-section{
  background:linear-gradient(135deg,#fff8ed 0%,#ffffff 58%,#fff3f2 100%);
}
.premium-home.v1-royal-red .awards-preview-main{
  border:1px solid var(--home-border);
  border-radius:34px;
  background:#fff;
  box-shadow:var(--home-shadow);
}
.premium-home.v1-royal-red .awards-preview-image img{
  border-radius:28px;
  box-shadow:0 22px 54px rgba(23,32,51,.14);
}
.premium-home.v1-royal-red .awards-download-panel{
  border-radius:28px;
  background:
    radial-gradient(circle at 90% 10%,rgba(245,184,48,.32),transparent 32%),
    linear-gradient(160deg,var(--home-red-deep),var(--home-red));
  box-shadow:0 25px 62px rgba(143,16,33,.24);
}
.premium-home.v1-royal-red .awards-download-panel a{
  border-color:rgba(255,255,255,.28);
  border-radius:18px;
  background:rgba(255,255,255,.09);
}

.premium-home.v1-royal-red .events-section{
  background:linear-gradient(180deg,#fffaf2 0%,#ffffff 100%);
}
.premium-home.v1-royal-red .events-title{
  color:var(--home-red);
  font-weight:900;
  font-size:clamp(40px,5vw,66px);
}
.premium-home.v1-royal-red .events-view-all-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 20px;
  border-radius:999px;
  border:1px solid rgba(185,21,43,.15);
  background:#fff;
  color:var(--home-red);
  box-shadow:0 12px 26px rgba(23,32,51,.07);
}
.premium-home.v1-royal-red .events-view-all-link:hover{
  background:var(--home-red);
  color:#fff;
  transform:translateY(-2px);
}
.premium-home.v1-royal-red .event-card{
  display:block;
  overflow:hidden;
  border:1px solid rgba(23,32,51,.08);
  border-radius:28px;
  box-shadow:0 22px 56px rgba(23,32,51,.12);
}
.premium-home.v1-royal-red .event-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.58));
  pointer-events:none;
}
.premium-home.v1-royal-red .event-date{
  border-radius:16px;
  background:linear-gradient(135deg,var(--home-red),var(--home-red-deep));
  box-shadow:0 12px 26px rgba(0,0,0,.18);
}
.premium-home.v1-royal-red .event-overlay{
  z-index:2;
}

.premium-home.v1-royal-red .testimonials-premium-section{
  background:
    radial-gradient(circle at top left,rgba(245,184,48,.18),transparent 34%),
    linear-gradient(135deg,#fff8ed 0%,#ffffff 48%,#fff2f2 100%);
}
.premium-home.v1-royal-red .testimonial-card{
  border-color:var(--home-border);
  box-shadow:0 22px 58px rgba(23,32,51,.10);
}

.premium-home.v1-royal-red .admission-banner{
  position:relative;
  overflow:hidden;
  padding:82px 0;
  background:
    radial-gradient(circle at 18% 14%,rgba(245,184,48,.30),transparent 28%),
    linear-gradient(135deg,var(--home-red-deep),var(--home-red));
}
.premium-home.v1-royal-red .admission-banner::after{
  content:"";
  position:absolute;
  right:-80px;
  bottom:-100px;
  width:280px;
  height:280px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
}
.premium-home.v1-royal-red .admission-banner .container{
  position:relative;
  z-index:1;
}
.premium-home.v1-royal-red .admission-banner h2{
  margin-bottom:10px;
  font-size:clamp(34px,4.2vw,54px);
  font-weight:900;
  letter-spacing:-.04em;
}
.premium-home.v1-royal-red .admission-banner p{
  margin-bottom:24px;
  color:rgba(255,255,255,.90);
  font-size:20px;
}
.premium-home.v1-royal-red .admission-banner .btn{
  border:0;
  border-radius:999px;
  padding:14px 32px;
  color:#231942;
  font-weight:900;
  box-shadow:0 18px 38px rgba(0,0,0,.18);
}

.premium-home.v1-royal-red .home-education-faq-section{
  background:
    radial-gradient(circle at 94% 10%,rgba(245,184,48,.12),transparent 30%),
    linear-gradient(180deg,#ffffff 0%,#fffaf2 100%);
}
.premium-home.v1-royal-red .home-education-title{
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
  color:var(--home-red);
  font-size:clamp(32px,3.4vw,46px);
  font-weight:900;
}
.premium-home.v1-royal-red .home-education-content,
.premium-home.v1-royal-red .home-faq-box{
  height:100%;
  padding:34px;
  border:1px solid var(--home-border);
  border-radius:30px;
  background:rgba(255,255,255,.82);
  box-shadow:0 20px 58px rgba(23,32,51,.075);
}
.premium-home.v1-royal-red .home-education-content p{
  color:#2e3748;
  font-size:17px;
  line-height:1.78;
}
.premium-home.v1-royal-red .home-faq-box h3{
  color:var(--home-ink);
  font-weight:900;
}
.premium-home.v1-royal-red .home-faq-item{
  overflow:hidden;
  border:1px solid var(--home-border);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 24px rgba(23,32,51,.045);
}
.premium-home.v1-royal-red .home-faq-item summary{
  font-size:18px;
  font-weight:750;
}
.premium-home.v1-royal-red .home-faq-view-all{
  min-height:52px;
  margin-top:28px;
  margin-left:0;
  padding:0 26px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--home-red),var(--home-red-deep));
  box-shadow:0 16px 34px rgba(185,21,43,.22);
}
.premium-home.v1-royal-red .home-faq-view-all:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 40px rgba(185,21,43,.28);
}

.premium-home.v1-royal-red .school-location-section{
  background:linear-gradient(135deg,#fff8ed 0%,#ffffff 52%,#f4f7fb 100%);
}
.premium-home.v1-royal-red .location-card{
  border-radius:34px;
  border:1px solid var(--home-border);
  box-shadow:0 30px 76px rgba(23,32,51,.12);
}
.premium-home.v1-royal-red .location-content{
  background:linear-gradient(180deg,#ffffff 0%,#fffaf2 100%);
}
.premium-home.v1-royal-red .location-content h2{
  color:var(--home-ink);
  font-weight:900;
}
.premium-home.v1-royal-red .location-content p,
.premium-home.v1-royal-red .location-contact-list p{
  color:#344054;
  line-height:1.72;
}
.premium-home.v1-royal-red .location-map-wrap iframe{
  filter:saturate(.95) contrast(1.02);
}

@media (max-width: 991.98px){
  .premium-home.v1-royal-red .welcome-notification-section{
    padding:56px 0 62px;
  }
  .premium-home.v1-royal-red .welcome-copy{
    padding:26px;
  }
  .premium-home.v1-royal-red .home-education-content,
  .premium-home.v1-royal-red .home-faq-box{
    padding:28px;
  }
}

@media (max-width: 767.98px){
  .premium-home.v1-royal-red .registration-strip{
    min-height:58px;
  }
  .premium-home.v1-royal-red .welcome-title span{
    font-size:12px;
  }
  .premium-home.v1-royal-red .welcome-copy,
  .premium-home.v1-royal-red .notification-card,
  .premium-home.v1-royal-red .home-education-content,
  .premium-home.v1-royal-red .home-faq-box,
  .premium-home.v1-royal-red .location-card{
    border-radius:22px;
  }
  .premium-home.v1-royal-red .quick-card .card-body{
    padding:24px 12px 22px;
  }
  .premium-home.v1-royal-red .quick-icon{
    width:54px;
    height:54px;
    border-radius:17px;
  }
  .premium-home.v1-royal-red .admission-banner{
    padding:62px 0;
  }
}

/* =====================================================
  HOME SLIDER DISPLAY FIX
  Keeps Bootstrap carousel behaviour intact on mobile.
  Prevents fade slides from stacking vertically.
===================================================== */
#heroSlider .carousel-inner{
  position: relative;
  width: 100%;
  overflow: hidden;
}
#heroSlider .carousel-item{
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100% !important;
  padding: 0 !important;
  backface-visibility: hidden;
  transition: transform .6s ease-in-out;
}
#heroSlider .carousel-item.active,
#heroSlider .carousel-item-next,
#heroSlider .carousel-item-prev{
  display: block;
}
#heroSlider.carousel-fade .carousel-item{
  opacity: 0;
  transition-property: opacity;
  transform: none;
}
#heroSlider.carousel-fade .carousel-item.active,
#heroSlider.carousel-fade .carousel-item-next.carousel-item-start,
#heroSlider.carousel-fade .carousel-item-prev.carousel-item-end{
  z-index: 1;
  opacity: 1;
}
#heroSlider.carousel-fade .active.carousel-item-start,
#heroSlider.carousel-fade .active.carousel-item-end{
  z-index: 0;
  opacity: 0;
  transition: opacity 0s .6s;
}
#heroSlider .hero-img,
#heroSlider .carousel-item img{
  width: 100%;
  height: auto;
  display: block;
}

/* =====================================================
  HOME SLIDER TRANSITION OVERLAP FIX
  Keeps the same slider images, layout and controls.
  During transition only one slide remains visible, so images do not overlap.
===================================================== */
#heroSlider.carousel-fade .carousel-item{
  opacity: 0 !important;
  transition: opacity .01s linear !important;
}
#heroSlider.carousel-fade .carousel-item.active,
#heroSlider.carousel-fade .carousel-item.active.carousel-item-start,
#heroSlider.carousel-fade .carousel-item.active.carousel-item-end{
  opacity: 1 !important;
  z-index: 2 !important;
}
#heroSlider.carousel-fade .carousel-item-next,
#heroSlider.carousel-fade .carousel-item-prev,
#heroSlider.carousel-fade .carousel-item-next.carousel-item-start,
#heroSlider.carousel-fade .carousel-item-prev.carousel-item-end{
  opacity: 0 !important;
  z-index: 0 !important;
}


/* =====================================================
  FINAL HOME SLIDER TRANSITION FIX - NO OVERLAP
  Uses normal Bootstrap slide movement, not fade overlay.
  This fixes the fast double-image flash during transition.
===================================================== */
#heroSlider:not(.carousel-fade) .carousel-item{
  opacity: 1 !important;
  transition: transform .6s ease-in-out !important;
}
#heroSlider:not(.carousel-fade) .carousel-item-next,
#heroSlider:not(.carousel-fade) .carousel-item-prev,
#heroSlider:not(.carousel-fade) .carousel-item.active{
  display: block !important;
}
#heroSlider:not(.carousel-fade) .active.carousel-item-start,
#heroSlider:not(.carousel-fade) .carousel-item-prev:not(.carousel-item-end){
  transform: translateX(-100%) !important;
}
#heroSlider:not(.carousel-fade) .active.carousel-item-end,
#heroSlider:not(.carousel-fade) .carousel-item-next:not(.carousel-item-start){
  transform: translateX(100%) !important;
}
#heroSlider:not(.carousel-fade) .carousel-item-next.carousel-item-start,
#heroSlider:not(.carousel-fade) .carousel-item-prev.carousel-item-end{
  transform: translateX(0) !important;
}

/* =====================================================
  DEFINITIVE HOME SLIDER FIX - NO DOUBLE IMAGE FLASH
  Keeps same images, controls, layout and auto-slide.
  Removes visual transition only, so previous/next images never appear together.
===================================================== */
#heroSlider.carousel,
#heroSlider.carousel.slide,
#heroSlider .carousel-inner{
  overflow: hidden !important;
}
#heroSlider .carousel-item,
#heroSlider .carousel-item-next,
#heroSlider .carousel-item-prev,
#heroSlider .carousel-item-start,
#heroSlider .carousel-item-end{
  float: none !important;
  margin-right: 0 !important;
  display: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
#heroSlider .carousel-item.active{
  display: block !important;
}
#heroSlider .carousel-item.active.carousel-item-start,
#heroSlider .carousel-item.active.carousel-item-end{
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
}
#heroSlider .carousel-item-next:not(.active),
#heroSlider .carousel-item-prev:not(.active){
  display: none !important;
}
#heroSlider .carousel-item img,
#heroSlider .hero-img{
  width: 100% !important;
  height: auto !important;
  display: block !important;
  transform: none !important;
}

/* =====================================================
  HOMEPAGE LEVEL ALIGNMENT FIX
  Keeps notification card aligned with welcome content card.
  Slider, inner pages and functions remain untouched.
===================================================== */
.premium-home.v1-royal-red .notification-card{
  margin-top:0 !important;
}

@media (max-width:991.98px){
  .premium-home.v1-royal-red .notification-card{
    margin-top:0 !important;
  }
}

/* =====================================================
  RESPONSIVE SCHOOL STATS STRIP FIX
  Keeps all 5 cards in one clean desktop row and stacks neatly on mobile
===================================================== */
.school-stats-section {
  overflow: hidden;
}

.school-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.school-stats-grid .school-stat-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.school-stats-grid .school-stat-card h2 {
  font-size: clamp(38px, 3.3vw, 58px);
  word-break: keep-all;
}

.school-stats-grid .school-stat-card p {
  font-size: clamp(15px, 1.15vw, 20px);
}

@media (min-width: 1200px) {
  .school-stats-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 26px;
  }

  .v1-royal-red .school-stats-grid .school-stat-card {
    padding: 28px 18px 28px 34px;
    min-height: 160px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .school-stats-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  .v1-royal-red .school-stats-grid .school-stat-card {
    padding: 24px 14px 24px 30px;
    min-height: 145px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .school-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 767.98px) {
  .school-stats-section {
    padding: 36px 0 42px;
  }

  .school-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .v1-royal-red .school-stats-grid .school-stat-card {
    border-radius: 18px;
    padding: 20px 12px 20px 26px;
    min-height: 126px;
  }

  .school-stats-grid .school-stat-card h2 {
    font-size: 34px;
    letter-spacing: -0.5px;
  }

  .school-stats-grid .school-stat-card p {
    font-size: 14px;
    line-height: 1.25;
  }
}

@media (max-width: 420px) {
  .school-stats-grid {
    grid-template-columns: 1fr;
  }

  .v1-royal-red .school-stats-grid .school-stat-card {
    min-height: 112px;
  }
}

/* Header submenu update: keeps the same header look while accommodating more pages */
.navbar .dropdown-menu {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  padding: 10px 0;
  min-width: 245px;
  z-index: 1050;
}

.navbar .dropdown-item {
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  color: #222;
  white-space: normal;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: rgba(220, 53, 69, 0.08);
  color: #dc3545;
}

.navbar .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
}

@media (min-width: 992px) {
  .navbar .nav-item.dropdown:hover > .dropdown-menu,
  .navbar .nav-item.dropdown:focus-within > .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .navbar .dropdown-toggle:hover {
    color: #dc3545;
  }
}

@media (max-width: 991.98px) {
  .navbar .dropdown-menu {
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 6px 12px;
    max-height: 320px;
    overflow-y: auto;
  }

  .navbar .dropdown-item {
    padding: 8px 12px;
  }
}

/* SEO parent decision factors section on homepage */
.parent-decision-section {
  background: #f8fafc;
  padding: 72px 0 82px;
}

.parent-decision-heading {
  max-width: 900px;
  margin: 0 auto 38px;
}

.parent-decision-heading .section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(220, 53, 69, 0.10);
  color: #dc1434;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.parent-decision-heading h2 {
  margin: 0;
  color: #17223b;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.parent-decision-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid #dfe7f1;
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.parent-decision-card:hover {
  transform: translateY(-5px);
  border-color: rgba(220, 53, 69, 0.28);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.10);
}

.parent-decision-card .decision-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(220, 53, 69, 0.10);
  font-size: 26px;
  margin-bottom: 22px;
}

.parent-decision-card h3 {
  color: #071733;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.parent-decision-card p {
  color: #53627a;
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 991.98px) {
  .parent-decision-section {
    padding: 58px 0 66px;
  }

  .parent-decision-card {
    padding: 28px 24px;
  }
}

@media (max-width: 575.98px) {
  .parent-decision-heading h2 {
    font-size: 32px;
  }

  .parent-decision-card h3 {
    font-size: 22px;
  }
}

/* =====================================================
  HOMEPAGE SCHOOL STATS — FINAL RESPONSIVE ALIGNMENT
  Scoped to index.php through the .homepage-stats class.
===================================================== */
.premium-home .homepage-stats {
  padding: 64px 0 72px;
  overflow: hidden;
}

.premium-home .homepage-stats .school-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.55vw, 26px);
  align-items: stretch;
}

.premium-home .homepage-stats .school-stat-card {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 190px;
  margin: 0;
  padding: 30px 18px 30px 38px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-radius: 22px;
  box-sizing: border-box;
}

.premium-home .homepage-stats .school-stat-card::before {
  top: 30px;
  bottom: 30px;
  left: 0;
  width: 10px;
  height: auto;
}

.premium-home .homepage-stats .school-stat-card h2 {
  margin: 0 0 10px;
  max-width: 100%;
  font-size: clamp(40px, 3vw, 56px);
  line-height: 0.95;
  letter-spacing: -1.4px;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.premium-home .homepage-stats .school-stat-card h2.stat-title-compact {
  font-size: clamp(38px, 2.65vw, 50px);
  letter-spacing: -1.2px;
}

.premium-home .homepage-stats .school-stat-card p {
  margin: 0;
  max-width: 100%;
  font-size: clamp(15px, 1.12vw, 19px);
  line-height: 1.28;
  word-break: normal;
  overflow-wrap: break-word;
}

.premium-home .homepage-stats .school-stat-card p span,
.premium-home .homepage-stats .school-stat-card p strong {
  display: block;
}

/* Compact desktop and landscape tablet */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .premium-home .homepage-stats .school-stats-grid {
    gap: 14px;
  }

  .premium-home .homepage-stats .school-stat-card {
    min-height: 164px;
    padding: 25px 12px 25px 29px;
    border-radius: 18px;
  }

  .premium-home .homepage-stats .school-stat-card::before {
    top: 25px;
    bottom: 25px;
    width: 8px;
  }

  .premium-home .homepage-stats .school-stat-card h2 {
    font-size: clamp(34px, 3.7vw, 44px);
  }

  .premium-home .homepage-stats .school-stat-card h2.stat-title-compact {
    font-size: clamp(31px, 3.35vw, 40px);
  }

  .premium-home .homepage-stats .school-stat-card p {
    font-size: 14px;
  }
}

/* Tablet: three cards on the first row and two centred below */
@media (min-width: 768px) and (max-width: 991.98px) {
  .premium-home .homepage-stats {
    padding: 48px 0 54px;
  }

  .premium-home .homepage-stats .school-stats-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
  }

  .premium-home .homepage-stats .school-stat-card {
    grid-column: span 2;
    min-height: 158px;
    padding: 26px 18px 26px 34px;
  }

  .premium-home .homepage-stats .school-stat-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .premium-home .homepage-stats .school-stat-card:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .premium-home .homepage-stats .school-stat-card::before {
    top: 26px;
    bottom: 26px;
    width: 8px;
  }

  .premium-home .homepage-stats .school-stat-card h2,
  .premium-home .homepage-stats .school-stat-card h2.stat-title-compact {
    font-size: 42px;
  }

  .premium-home .homepage-stats .school-stat-card p {
    font-size: 16px;
  }
}

/* Mobile: balanced two-column layout, with the fifth card full width */
@media (min-width: 481px) and (max-width: 767.98px) {
  .premium-home .homepage-stats {
    padding: 36px 0 42px;
  }

  .premium-home .homepage-stats .school-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .premium-home .homepage-stats .school-stat-card {
    min-height: 138px;
    padding: 22px 12px 22px 27px;
    border-radius: 17px;
  }

  .premium-home .homepage-stats .school-stat-card:last-child {
    grid-column: 1 / -1;
  }

  .premium-home .homepage-stats .school-stat-card::before {
    top: 22px;
    bottom: 22px;
    width: 7px;
  }

  .premium-home .homepage-stats .school-stat-card h2,
  .premium-home .homepage-stats .school-stat-card h2.stat-title-compact {
    font-size: clamp(31px, 8vw, 39px);
    letter-spacing: -0.8px;
  }

  .premium-home .homepage-stats .school-stat-card p {
    font-size: 14px;
  }
}

/* Small phones: one clean card per row */
@media (max-width: 480px) {
  .premium-home .homepage-stats {
    padding: 32px 0 38px;
  }

  .premium-home .homepage-stats .school-stats-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .premium-home .homepage-stats .school-stat-card,
  .premium-home .homepage-stats .school-stat-card:last-child {
    grid-column: auto;
    min-height: 118px;
    padding: 20px 16px 20px 29px;
    border-radius: 16px;
  }

  .premium-home .homepage-stats .school-stat-card::before {
    top: 20px;
    bottom: 20px;
    width: 7px;
  }

  .premium-home .homepage-stats .school-stat-card h2,
  .premium-home .homepage-stats .school-stat-card h2.stat-title-compact {
    font-size: 38px;
    letter-spacing: -0.7px;
  }

  .premium-home .homepage-stats .school-stat-card p {
    font-size: 15px;
  }
}

/* =====================================================
  MAIN MENU TYPOGRAPHY — DESKTOP + MOBILE
  Larger, clearer navigation with a polished school look.
===================================================== */
.navbar .navbar-nav {
  align-items: center;
}

.navbar .nav-link,
.navbar .dropdown-item,
.navbar .btn {
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.navbar .nav-link {
  position: relative;
  color: #3f434a !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05px;
  padding: 17px 11px !important;
  border-radius: 6px;
  background-image: linear-gradient(#d72835, #d72835);
  background-repeat: no-repeat;
  background-position: center calc(100% - 7px);
  background-size: 0 3px;
  transition: color 0.22s ease, background-size 0.22s ease, background-color 0.22s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.show,
.navbar .nav-item:hover > .nav-link {
  color: #d72835 !important;
  background-size: calc(100% - 20px) 3px;
}

.navbar .dropdown-item {
  color: #34383e;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  padding: 10px 18px;
}

.navbar .btn-danger {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.25;
  padding: 11px 18px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Large desktop */
@media (min-width: 1400px) {
  .navbar .nav-link {
    font-size: 18px;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .navbar .btn-danger {
    font-size: 17px;
    padding: 12px 20px;
  }
}

/* Standard desktop and laptop: retain comfortable sizing without wrapping */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar-brand img {
    max-width: 235px;
    max-height: 78px;
  }

  .navbar .nav-link {
    font-size: 15.5px;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .navbar .btn-danger {
    font-size: 15px;
    padding: 10px 13px;
    margin-left: 10px !important;
  }
}

/* Compact desktop/tablet landscape */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-brand img {
    max-width: 205px;
    max-height: 72px;
  }

  .navbar .nav-link {
    font-size: 14px;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .navbar .btn-danger {
    font-size: 13.5px;
    padding: 9px 10px;
    margin-left: 6px !important;
  }
}

/* Collapsed menu on tablet and mobile */
@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    align-items: stretch;
    width: 100%;
  }

  .navbar .nav-item {
    width: 100%;
  }

  .navbar .nav-link {
    width: 100%;
    color: #252a31 !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    padding: 13px 10px !important;
    border-bottom: 1px solid #eceef1;
    border-radius: 0;
    background-position: left bottom;
  }

  .navbar .nav-link:hover,
  .navbar .nav-link:focus,
  .navbar .nav-link.show {
    color: #d72835 !important;
    background-color: rgba(215, 40, 53, 0.055);
    background-size: 46px 3px;
  }

  .navbar .dropdown-toggle::after {
    float: right;
    margin-top: 0.52rem;
    margin-left: 10px;
  }

  .navbar .dropdown-menu {
    margin: 0;
    background: #f8f9fb;
    border-left: 3px solid #d72835;
  }

  .navbar .dropdown-item {
    font-size: 15.5px;
    font-weight: 600;
    padding: 10px 14px;
  }

  .navbar-collapse .btn-danger {
    display: block;
    width: 100%;
    margin: 14px 0 0 !important;
    padding: 12px 16px;
    font-size: 16.5px;
    text-align: center;
  }
}

/* Small phones */
@media (max-width: 575.98px) {
  .navbar-collapse {
    max-height: calc(100vh - 118px);
    overflow-y: auto;
    border-top: 1px solid #eceef1;
  }

  .navbar .nav-link {
    font-size: 16.5px;
    padding: 12px 9px !important;
  }

  .navbar .dropdown-item {
    font-size: 15px;
    padding: 9px 12px;
  }
}

/* =====================================================
  HEADER LOGO SIZE + CLARITY IMPROVEMENT
  Keeps the school identity prominent without affecting
  the responsive menu layout.
===================================================== */
.navbar-brand {
  flex: 0 0 auto;
  margin-right: 24px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.navbar-brand img {
  display: block;
  width: 290px;
  height: auto !important;
  max-width: 100%;
  max-height: none !important;
  object-fit: contain;
}

/* Extra-wide desktop: give the logo and menu more breathing room */
@media (min-width: 1600px) {
  .navbar > .container {
    max-width: 1500px;
  }

  .navbar-brand img {
    width: 320px;
  }
}

/* Large desktop */
@media (min-width: 1400px) and (max-width: 1599.98px) {
  .navbar > .container {
    max-width: 1380px;
  }

  .navbar-brand img {
    width: 285px;
  }

  .navbar-brand {
    margin-right: 18px;
  }
}

/* Standard desktop and laptop */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar-brand img {
    width: 245px;
    max-width: 245px;
  }

  .navbar-brand {
    margin-right: 14px;
  }
}

/* Compact desktop / tablet landscape */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-brand img {
    width: 205px;
    max-width: 205px;
  }

  .navbar-brand {
    margin-right: 10px;
  }
}

/* Tablet and mobile: menu collapses, so the logo can stay clearly visible */
@media (max-width: 991.98px) {
  .navbar-brand {
    width: auto;
    max-width: calc(100% - 76px);
    margin-right: 12px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .navbar-brand img {
    width: 270px;
    max-width: 100%;
    height: auto !important;
  }
}

/* Mobile phones */
@media (max-width: 575.98px) {
  .navbar-brand {
    max-width: calc(100% - 68px);
  }

  .navbar-brand img {
    width: 235px;
    max-width: 100%;
  }
}

/* Very small phones */
@media (max-width: 390px) {
  .navbar-brand img {
    width: 205px;
  }
}

/* =====================================================
  CLICK-CONTROLLED DROPDOWN BEHAVIOUR
  Bootstrap controls opening and closing. The submenu must
  not remain visible merely because its parent still has
  keyboard focus after a click or while the page is scrolled.
===================================================== */
@media (min-width: 992px) {
  .navbar .nav-item.dropdown:hover > .dropdown-menu:not(.show),
  .navbar .nav-item.dropdown:focus-within > .dropdown-menu:not(.show) {
    display: none;
  }

  .navbar .nav-item.dropdown > .dropdown-menu.show {
    display: block;
  }
}

/* =====================================================
  GPIS DISTINCT THEME UPDATE - INDIGO, TEAL & GOLD
  Added to make the launch website look visually different.
===================================================== */
:root{
  --school-red:#4f2fae;
  --school-red-dark:#2c1764;
  --school-blue:#00a6a6;
  --school-gold:#f9c74f;
  --school-dark:#17123f;
  --school-text:#1f2336;
  --school-muted:#5f6b7a;
  --gpis-indigo:#4f2fae;
  --gpis-indigo-dark:#2c1764;
  --gpis-teal:#00a6a6;
  --gpis-teal-dark:#006d77;
  --gpis-gold:#f9c74f;
  --gpis-mist:#eefbff;
  --gpis-lavender:#f4f0ff;
  --gpis-ink:#17123f;
}
body{
  color:var(--gpis-ink) !important;
  background:linear-gradient(180deg,#ffffff 0%,#f4f0ff 42%,#eefbff 100%) !important;
}
a{color:var(--gpis-indigo);} a:hover,a:focus{color:var(--gpis-teal-dark);}
.top-header{
  background:linear-gradient(90deg,var(--gpis-indigo-dark) 0%,var(--gpis-indigo) 48%,var(--gpis-teal) 100%) !important;
  box-shadow:0 10px 28px rgba(44,23,100,.20) !important;
}
.top-phone{background:rgba(255,255,255,.17) !important;border:1px solid rgba(255,255,255,.22) !important;}
.navbar{border-bottom:1px solid rgba(79,47,174,.14) !important;box-shadow:0 12px 34px rgba(44,23,100,.08) !important;}
.nav-link:hover,.nav-link:focus,.nav-link.show{color:var(--gpis-teal-dark) !important;background:rgba(0,166,166,.08) !important;}
.dropdown-item:hover,.dropdown-item:focus{background:var(--gpis-lavender) !important;color:var(--gpis-indigo-dark) !important;}
.btn-danger,.btn-primary,.navbar .btn-danger,.contact-submit-btn,.premium-btn,.btn-main,.admission-submit-btn{
  border:0 !important;
  color:#fff !important;
  background:linear-gradient(135deg,var(--gpis-indigo),var(--gpis-teal-dark)) !important;
  box-shadow:0 14px 30px rgba(0,109,119,.24) !important;
}
.btn-danger:hover,.btn-primary:hover,.navbar .btn-danger:hover,.contact-submit-btn:hover,.premium-btn:hover,.btn-main:hover,.admission-submit-btn:hover{
  color:#fff !important;
  transform:translateY(-2px);
  box-shadow:0 18px 38px rgba(79,47,174,.28) !important;
}
.form-control:focus,.form-select:focus{border-color:var(--gpis-teal) !important;box-shadow:0 0 0 .2rem rgba(0,166,166,.18) !important;}
#heroSlider{background:var(--gpis-indigo-dark) !important;border-radius:0 0 30px 30px;box-shadow:0 30px 70px rgba(23,18,63,.24) !important;}
.carousel-indicators [data-bs-target]{background-color:var(--gpis-gold) !important;}
.registration-strip,.premium-home.v1-royal-red .registration-strip{
  background:linear-gradient(90deg,var(--gpis-teal-dark),var(--gpis-teal),var(--gpis-indigo)) !important;
}
.registration-link{color:#fff !important;font-weight:900;letter-spacing:.01em;}
.welcome-notification-section,.premium-home.v1-royal-red .welcome-notification-section{
  background:radial-gradient(circle at 90% 10%,rgba(0,166,166,.10),transparent 28%),linear-gradient(135deg,#ffffff 0%,#f4f0ff 58%,#eefbff 100%) !important;
}
.welcome-title,.premium-home.v1-royal-red .welcome-title{color:var(--gpis-indigo-dark) !important;}
.welcome-title span,.premium-home.v1-royal-red .welcome-title span,.section-kicker{color:var(--gpis-teal-dark) !important;}
.read-more-link,.all-notifications-link{color:var(--gpis-indigo) !important;}
.notification-card,.premium-home.v1-royal-red .notification-card{
  border:1px solid rgba(0,166,166,.18) !important;
  border-top:5px solid var(--gpis-teal) !important;
  box-shadow:0 22px 55px rgba(44,23,100,.12) !important;
}
.notification-item h3{color:var(--gpis-indigo-dark) !important;}
.notification-category,.notification-plus{color:var(--gpis-teal-dark) !important;}
.quick-card,.premium-home.v1-royal-red .quick-card,.parent-decision-card,.event-card,.gallery-album-card,.award-list-card,.testimonial-card{
  border:1px solid rgba(79,47,174,.12) !important;
  box-shadow:0 16px 38px rgba(44,23,100,.08) !important;
}
.quick-card:hover,.quick-card:focus,.parent-decision-card:hover,.event-card:hover,.gallery-album-card:hover,.award-list-card:hover{
  border-color:rgba(0,166,166,.32) !important;
  box-shadow:0 22px 52px rgba(0,109,119,.14) !important;
}
.quick-icon,.decision-icon,.info-icon,.feature-icon{
  background:linear-gradient(135deg,var(--gpis-teal),var(--gpis-indigo)) !important;
  color:#fff !important;
}
.school-stats-section,.premium-home.v1-royal-red .school-stats-section{
  background:linear-gradient(135deg,var(--gpis-indigo-dark),var(--gpis-indigo),var(--gpis-teal-dark)) !important;
}
.school-stats-grid .school-stat-card,.school-stat-card,.premium-home .homepage-stats .school-stat-card{
  background:rgba(255,255,255,.94) !important;
  border:1px solid rgba(255,255,255,.58) !important;
  color:var(--gpis-indigo-dark) !important;
}
.school-stat-card h2,.premium-home .homepage-stats .school-stat-card h2{color:var(--gpis-indigo-dark) !important;}
.school-stat-card::before,.school-stats-grid .school-stat-card::before{background:linear-gradient(90deg,var(--gpis-teal),var(--gpis-gold)) !important;}
.parent-decision-section{
  background:linear-gradient(180deg,#eefbff 0%,#ffffff 100%) !important;
}
.parent-decision-heading h2,.events-title,.awards-preview-content h2,.testimonial-heading-wrap h2,.why-choose-heading h2{color:var(--gpis-indigo-dark) !important;}
.why-choose-premium-section{
  background:radial-gradient(circle at 10% 10%,rgba(249,199,79,.18),transparent 26%),linear-gradient(135deg,var(--gpis-indigo-dark) 0%,#17123f 56%,var(--gpis-teal-dark) 100%) !important;
}
.why-choose-heading h2,.why-choose-heading p,.why-choose-content p{color:#fff !important;}
.why-tab,.premium-home.v1-royal-red .why-tab{
  border:1px solid rgba(255,255,255,.24) !important;
  background:rgba(255,255,255,.09) !important;
  color:#fff !important;
}
.why-tab:hover,.why-tab:focus,.why-tab.is-active,.premium-home.v1-royal-red .why-tab.is-active{
  color:var(--gpis-indigo-dark) !important;
  background:var(--gpis-gold) !important;
  border-color:var(--gpis-gold) !important;
}
.why-choose-arrow,.awards-preview-arrow{background:var(--gpis-gold) !important;color:var(--gpis-indigo-dark) !important;border-color:var(--gpis-gold) !important;}
.awards-preview-section,.premium-home.v1-royal-red .awards-preview-section{
  background:linear-gradient(135deg,#f4f0ff 0%,#ffffff 52%,#eefbff 100%) !important;
}
.awards-preview-main{background:#fff !important;border:1px solid rgba(79,47,174,.12) !important;box-shadow:0 18px 48px rgba(44,23,100,.10) !important;}
.awards-download-panel{background:linear-gradient(135deg,var(--gpis-indigo),var(--gpis-teal-dark)) !important;}
.awards-download-panel a{color:#fff !important;}
.events-section,.gallery-list-section,.testimonials-premium-section{
  background:linear-gradient(180deg,#ffffff 0%,#f4f0ff 100%) !important;
}
.testimonial-badge{background:rgba(0,166,166,.10) !important;color:var(--gpis-teal-dark) !important;}
.testimonial-rating{color:var(--gpis-gold) !important;}
.location-section,.contact-section{background:linear-gradient(135deg,#eefbff 0%,#ffffff 60%,#f4f0ff 100%) !important;}
.footer{
  background:linear-gradient(135deg,var(--gpis-indigo-dark) 0%,#17123f 54%,var(--gpis-teal-dark) 100%) !important;
}
.footer h4::after{background:linear-gradient(90deg,var(--gpis-gold),var(--gpis-teal)) !important;}
.footer a:hover,.footer a:focus{color:var(--gpis-gold) !important;}
.footer-highlight{background:rgba(249,199,79,.12) !important;color:#fff4cf !important;border-left:4px solid var(--gpis-gold) !important;}
.breadcrumb a,.breacrum a{color:var(--gpis-teal-dark) !important;}
.main_heading,h1 span.text-danger,.text-danger{color:var(--gpis-indigo) !important;}
.bg-danger{background:var(--gpis-indigo) !important;}
.border-danger{border-color:var(--gpis-indigo) !important;}
@media (max-width: 991.98px){
  .navbar .dropdown-menu{border-left:3px solid var(--gpis-teal) !important;}
  .navbar .nav-link:hover,.navbar .nav-link:focus,.navbar .nav-link.show{color:var(--gpis-teal-dark) !important;background-color:rgba(0,166,166,.08) !important;}
}

/* =====================================================
  INDEX PAGE VISIBILITY + PARENT INFO BACKGROUND POLISH
===================================================== */
.testimonials-premium-section .section-kicker,
.testimonial-heading-wrap .section-kicker {
  background: linear-gradient(135deg, #c3182f 0%, #e03d4f 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  box-shadow: 0 14px 34px rgba(195, 24, 47, 0.28) !important;
}

.parent-decision-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(0, 166, 166, 0.16), transparent 18%),
    radial-gradient(circle at 86% 12%, rgba(79, 47, 174, 0.16), transparent 22%),
    radial-gradient(circle at 84% 82%, rgba(249, 199, 79, 0.16), transparent 18%),
    linear-gradient(180deg, #eefbff 0%, #f8fbff 46%, #ffffff 100%) !important;
}

.parent-decision-section::before,
.parent-decision-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.parent-decision-section::before {
  top: -120px;
  left: -90px;
  width: 280px;
  height: 280px;
  background: rgba(79, 47, 174, 0.08);
}

.parent-decision-section::after {
  right: -90px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  background: rgba(0, 166, 166, 0.08);
}

.parent-decision-section .container,
.parent-decision-heading,
.parent-decision-card {
  position: relative;
  z-index: 1;
}

.parent-decision-heading .section-kicker {
  background: rgba(255, 255, 255, 0.88) !important;
  color: var(--gpis-teal-dark, #006d77) !important;
  border: 1px solid rgba(79, 47, 174, 0.12) !important;
  box-shadow: 0 14px 34px rgba(44, 23, 100, 0.08) !important;
}

.parent-decision-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 47, 174, 0.14) !important;
  box-shadow: 0 18px 42px rgba(44, 23, 100, 0.09) !important;
}

.parent-decision-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #00a6a6 0%, #4f2fae 55%, #f9c74f 100%);
}

.parent-decision-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 166, 166, 0.28) !important;
  box-shadow: 0 24px 56px rgba(0, 109, 119, 0.14) !important;
}

.parent-decision-card .decision-icon {
  box-shadow: 0 14px 30px rgba(44, 23, 100, 0.16);
}

.parent-decision-card h3 {
  color: var(--gpis-indigo-dark, #2c1764) !important;
}

.parent-decision-card p {
  color: #59667d !important;
}

