/* ==========================================================================
   PRPS PUBLIC JUNIOR HIGH SCHOOL - MAIN STYLESHEET
   Reference Style: Salwan Public School (Royal Navy #002B49 & Saffron Orange #F07D00)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Noto+Sans+Devanagari:wght@400;600;700&display=swap');

:root {
  --primary-navy: #002B49;
  --primary-navy-dark: #001e33;
  --primary-blue: #004d80;
  --primary-light-blue: #e8f3fa;
  --accent-orange: #F07D00;
  --accent-orange-hover: #d86e00;
  --accent-orange-light: #fff3e6;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #F07D00;
  --shadow-sm: 0 2px 4px rgba(0, 43, 73, 0.05);
  --shadow-md: 0 6px 18px rgba(0, 43, 73, 0.08);
  --shadow-lg: 0 12px 30px rgba(0, 43, 73, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
}

img, svg {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.3;
}

.devanagari {
  font-family: 'Noto Sans Devanagari', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.section-padding {
  padding: 80px 0;
}

.bg-pattern {
  background-color: var(--bg-light);
  background-image: radial-gradient(#cbd5e1 0.75px, transparent 0.75px);
  background-size: 16px 16px;
}

/* Section Headings */
.section-title-wrap {
  margin-bottom: 48px;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-orange);
  background: var(--accent-orange-light);
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  position: relative;
  margin-bottom: 16px;
}

.title-bar {
  width: 60px;
  height: 4px;
  background: var(--accent-orange);
  border-radius: 2px;
  margin: 0 auto;
}

.title-bar.left {
  margin: 0;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 14px auto 0 auto;
}

/* Buttons */
.btn-prps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary-orange {
  background-color: var(--accent-orange);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(240, 125, 0, 0.35);
}

.btn-primary-orange:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 125, 0, 0.45);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--primary-navy) !important;
  border-color: var(--primary-navy);
}

.btn-outline-navy:hover {
  background-color: var(--primary-navy);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff !important;
  border-color: #ffffff;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--primary-navy) !important;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Header Top Utility Bar
   ========================================================================== */
.topbar {
  background-color: var(--primary-navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar a {
  color: rgba(255, 255, 255, 0.88);
}

.topbar a:hover {
  color: var(--accent-orange);
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-info-item i {
  color: var(--accent-orange);
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-admission {
  background: var(--accent-orange);
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  animation: pulseBadge 2s infinite;
}

.badge-admission:hover {
  background: var(--accent-orange-hover);
  transform: scale(1.03);
}

/* ==========================================================================
   Main Sticky Navbar
   ========================================================================== */
.main-nav-wrapper {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1020;
  transition: var(--transition);
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
}

.brand-logo-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-orange);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brand-text-container {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-orange);
  letter-spacing: 0.5px;
}

.brand-address {
  font-size: 0.72rem;
  color: var(--text-light);
}

.nav-link-custom {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-navy) !important;
  padding: 18px 12px !important;
  position: relative;
  transition: var(--transition);
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--accent-orange) !important;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  height: 2px;
  background-color: var(--accent-orange);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  transform: scaleX(1);
}

.dropdown-menu-custom {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 8px 0;
  margin-top: 0;
  border-top: 3px solid var(--accent-orange);
  transition: all 0.2s ease;
}

@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown:hover .dropdown-menu-custom {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.dropdown-item-custom {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 20px;
  color: var(--text-dark);
  transition: var(--transition);
}

.dropdown-item-custom:hover {
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
  padding-left: 24px;
}

/* ==========================================================================
   Notice Marquee Ticker
   ========================================================================== */
.ticker-container {
  background: var(--primary-navy-dark);
  border-bottom: 2px solid var(--accent-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  height: 42px;
  overflow: hidden;
}

.ticker-label {
  background: var(--accent-orange);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2);
}

.ticker-content {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-text {
  display: inline-block;
  padding-left: 100%;
  animation: tickerAnim 32s linear infinite;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.ticker-text:hover {
  animation-play-state: paused;
}

.ticker-text a {
  color: #ffd166;
  text-decoration: underline;
  margin: 0 16px;
}

@keyframes tickerAnim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================================
   Hero Banner Carousel
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background: var(--primary-navy);
}

.hero-slide {
  height: 520px;
  position: relative;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: flex-end;
  padding-bottom: 70px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 40, 0.15) 0%, rgba(0, 30, 60, 0.35) 50%, rgba(0, 15, 30, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 780px;
}

.hero-badge {
  display: inline-block;
  background: rgba(240, 125, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-title span {
  color: #ffaa40;
}

.hero-desc {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
  line-height: 1.5;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 4 Pillars Feature Cards (Overlapping Hero) */
.pillars-section {
  position: relative;
  z-index: 5;
  margin-top: -55px;
  margin-bottom: 40px;
}

.pillar-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--accent-orange);
  transition: var(--transition);
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 43, 73, 0.16);
}

.pillar-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon-box {
  background: var(--accent-orange);
  color: #ffffff;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-navy);
}

.pillar-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   Welcome & Leadership Section (From the Desk)
   ========================================================================== */
.about-image-wrap {
  position: relative;
  padding: 12px;
}

.about-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: -15px;
  right: -10px;
  background: var(--primary-navy);
  color: #ffffff;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--accent-orange);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-experience-badge .exp-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
}

.about-experience-badge .exp-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.feature-check-list li i {
  color: var(--accent-orange);
  font-size: 1.1rem;
  margin-top: 3px;
}

/* Leadership Desk Cards */
.desk-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.desk-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-orange);
}

.desk-img-wrap {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 28px 16px;
}

.desk-img-wrap img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 43, 73, 0.08);
  transition: transform 0.4s ease;
}

.desk-card:hover .desk-img-wrap img {
  transform: scale(1.03);
}

.desk-role-badge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 30px;
  text-transform: uppercase;
}

.desk-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.desk-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.desk-edu {
  font-size: 0.82rem;
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: 14px;
}

.desk-quote {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  border-left: 3px solid var(--accent-orange);
  padding-left: 12px;
  margin-bottom: 16px;
  flex: 1;
}

/* ==========================================================================
   Vision, Mission & Philosophy Cards
   ========================================================================== */
.philosophy-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
  transition: var(--transition);
  height: 100%;
}

.philosophy-box:hover {
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-lg);
}

.philosophy-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-light-blue);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
}

.philosophy-box:hover .philosophy-icon {
  background: var(--accent-orange);
  color: #ffffff;
}

/* ==========================================================================
   Counter Strip (School Statistics)
   ========================================================================== */
.counter-section {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
  color: #ffffff;
  padding: 60px 0;
  position: relative;
}

.counter-item {
  text-align: center;
  padding: 10px;
}

.counter-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.counter-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Academics & Wings
   ========================================================================== */
.wing-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.wing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.wing-header {
  padding: 24px;
  background: var(--primary-navy);
  color: #ffffff;
}

.wing-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--accent-orange);
  color: #ffffff;
  margin-bottom: 8px;
}

.wing-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.wing-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.subject-badge-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.subject-badge {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-navy);
  padding: 3px 9px;
  border-radius: 6px;
}

/* ==========================================================================
   Infrastructure & Facilities
   ========================================================================== */
.facility-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.facility-card:hover {
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.facility-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.facility-card:hover .facility-icon {
  background: var(--accent-orange);
  color: #ffffff;
}

.facility-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary-navy);
}

.facility-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   Mandatory Disclosure Table / Cards
   ========================================================================== */
.disclosure-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.disclosure-table th {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 14px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
}

.disclosure-table td {
  padding: 14px 20px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.disclosure-table tr:hover td {
  background-color: #fcf8f2;
}

.disclosure-table tr:last-child td {
  border-bottom: none;
}

.btn-doc-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  border: 1px solid var(--accent-orange);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-doc-view:hover {
  background: var(--accent-orange);
  color: #ffffff;
}

/* ==========================================================================
   Photo Gallery Grid & Lightbox
   ========================================================================== */
.gallery-filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  cursor: pointer;
  height: 240px;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 43, 73, 0.9) 0%, rgba(0, 43, 73, 0.2) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #ffffff;
  transition: var(--transition);
}

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

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.gallery-category {
  font-size: 0.78rem;
  color: var(--accent-orange);
  font-weight: 600;
  text-transform: uppercase;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 15, 30, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.show {
  display: flex;
}

.lightbox-img-wrap {
  max-width: 90%;
  max-height: 85vh;
  position: relative;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  color: #ffffff;
  text-align: center;
  margin-top: 12px;
  font-size: 1.05rem;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--accent-orange);
}

/* ==========================================================================
   Admission Section & Interactive Form
   ========================================================================== */
.admission-banner-card {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #003e6b 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.admission-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h5 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.step-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  margin: 0;
}

/* Admission Form */
.enquiry-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-group-custom {
  margin-bottom: 18px;
}

.form-group-custom label {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary-navy);
  margin-bottom: 6px;
  display: block;
}

.form-control-custom {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(240, 125, 0, 0.15);
}

/* ==========================================================================
   Testimonials / Parents Feedback
   ========================================================================== */
.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.quote-icon-bg {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  color: var(--accent-orange-light);
}

.testi-text {
  font-style: italic;
  color: var(--text-dark);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.testi-author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light-blue);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testi-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 2px;
}

.testi-role {
  font-size: 0.8rem;
  color: var(--accent-orange);
  font-weight: 600;
}

/* ==========================================================================
   Accordion / FAQs
   ========================================================================== */
.faq-accordion .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-button {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary-navy);
  padding: 18px 22px;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-color);
}

.faq-accordion .accordion-body {
  padding: 18px 22px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-main {
  background-color: var(--primary-navy-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 70px 0 20px 0;
  border-top: 4px solid var(--accent-orange);
  position: relative;
}

.footer-logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--accent-orange);
}

.footer-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--accent-orange);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent-orange);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--accent-orange);
  font-size: 1.1rem;
  margin-top: 3px;
}

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

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--accent-orange);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Floating Action Buttons
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: var(--transition);
  color: #ffffff;
  font-size: 1.4rem;
  border: none;
}

.float-whatsapp {
  background: #25d366;
}

.float-whatsapp:hover {
  background: #1ebc57;
  transform: scale(1.1);
}

.float-scroll-top {
  background: var(--primary-navy);
  opacity: 0;
  visibility: hidden;
}

.float-scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.float-scroll-top:hover {
  background: var(--accent-orange);
  transform: scale(1.1);
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Optimization
   ========================================================================== */
@media (max-width: 991.98px) {
  .hero-slide {
    height: 480px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .pillars-section {
    margin-top: -30px;
  }
  .about-main-img {
    height: 320px;
    margin-bottom: 30px;
  }

  /* Mobile Navbar Menu Styling */
  .navbar-collapse {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-top: 12px;
    box-shadow: 0 12px 32px rgba(0, 43, 73, 0.14);
    border: 1px solid var(--border-color);
  }
  .navbar-nav {
    gap: 4px;
  }
  .navbar-nav .nav-link-custom {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .navbar-nav .nav-link-custom:hover,
  .navbar-nav .nav-link-custom.active {
    background: var(--primary-light-blue);
  }
  .dropdown-menu-custom {
    box-shadow: none;
    border: 1px solid var(--border-color);
    background: #f8fafc;
    margin: 6px 0 10px 12px;
    padding: 6px 0;
    border-radius: var(--radius-sm);
  }
  .dropdown-item-custom {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  /* Desk Cards Stack */
  .desk-card {
    flex-direction: column;
  }
  .desk-img-wrap {
    width: 100%;
    height: 280px;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 45px 0;
  }
  .section-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }
  .section-subtitle {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }
  .hero-slide {
    height: auto;
    min-height: 420px;
    padding: 50px 0;
  }
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.25;
    margin-bottom: 12px;
  }
  .hero-desc {
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .topbar {
    display: none;
  }
  .counter-number {
    font-size: 2.2rem;
  }
  .counter-item {
    margin-bottom: 20px;
  }

  /* Form Controls Touch Friendly (No iOS zoom) */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
    min-height: 46px;
    padding: 10px 14px;
  }
  textarea {
    min-height: 100px;
  }
  .btn-custom,
  .btn-apply-main,
  .btn-submit-enquiry {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Responsive Smooth Scrolling Tables */
  .table-responsive {
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
  }
  .table-responsive table {
    margin-bottom: 0;
  }
}

@media (max-width: 575.98px) {
  /* Brand Container Optimization on Small Screens */
  .navbar-brand-custom {
    max-width: calc(100% - 55px);
    gap: 8px;
    padding: 6px 0;
  }
  .brand-logo-img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .brand-title {
    font-size: 0.95rem;
    line-height: 1.15;
    white-space: normal;
  }
  .brand-tagline {
    font-size: 0.68rem;
    line-height: 1.2;
  }
  .brand-address {
    display: block;
    font-size: 0.65rem;
    color: var(--text-light);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 230px;
  }

  /* Hero Section Buttons Full Width */
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-buttons .btn {
    width: 100%;
  }

  /* Gallery Grid on Mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gallery-card {
    height: 250px;
  }
  .gallery-filter-buttons {
    gap: 8px;
  }
  .filter-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  /* Floating Action Buttons */
  .floating-actions {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }
  .float-btn {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  /* Lightbox Modal Sizing */
  .lightbox-content {
    max-width: 95vw;
    max-height: 75vh;
  }
  .lightbox-close {
    top: 15px;
    right: 18px;
    font-size: 2rem;
  }
}

@media (max-width: 380px) {
  .brand-title {
    font-size: 0.84rem;
  }
  .brand-logo-img {
    width: 38px;
    height: 38px;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .hero-title {
    font-size: 1.5rem;
  }
}
