/* ============================================================
   NAIS DUBAI – Comprehensive UX/UI Enhancement Pack v6
   Updated: April 2026 — 50 sections, full animation system
   ============================================================ */

/* ═══════════════════════════════════════════════════════════
   1. GLOBAL IMPROVEMENTS
═══════════════════════════════════════════════════════════ */

/* Smoother scrolling on iOS */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Better focus styles for accessibility */
*:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Improve link transitions globally */
a { transition: color 0.25s ease, opacity 0.25s ease; }

/* ═══════════════════════════════════════════════════════════
   2. HERO SECTION ENHANCEMENTS
═══════════════════════════════════════════════════════════ */

/* Hero slide fade transition */
.hero-slide {
  background-size: cover;
  background-position: center;
  transition: opacity 1.2s ease;
}

/* Hero badge shimmer effect */
.hero-badge {
  animation: badgePulse 3s ease infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225,27,34,0); }
  50% { box-shadow: 0 0 0 6px rgba(225,27,34,0.08); }
}

/* Hero stats bar enhanced */
.hero-stats {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-item {
  position: relative;
  transition: background 0.3s ease;
}
.stat-item:hover {
  background: rgba(255,255,255,0.04);
}
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Hero floating form improvements */
.hero-floating-cta {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Scroll indicator animation */
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0) scaleY(1); opacity: 0.8; }
  40% { transform: translateY(6px) scaleY(0.85); opacity: 1; }
}
.scroll-mouse::after {
  content: '';
  display: block;
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  margin: 4px auto 0;
  animation: scrollBounce 1.8s ease infinite;
}

/* ═══════════════════════════════════════════════════════════
   3. ANNOUNCEMENT BAR ENHANCEMENT
═══════════════════════════════════════════════════════════ */
.announcement-band {
  border-bottom: 2px solid rgba(225,27,34,0.3);
  position: relative;
  z-index: 200;
}
.ann-tag {
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ═══════════════════════════════════════════════════════════
   4. WHY CHOOSE US – ENHANCED CARDS
═══════════════════════════════════════════════════════════ */
.why-card {
  position: relative;
}
.why-card .why-icon {
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
}
.why-card:hover .why-icon {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 16px 36px rgba(31,47,110,0.35);
}

/* Achievement badges */
.achievement-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.achievement-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--light-gray);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  transition: var(--transition);
}
.achievement-badge:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
  transform: translateY(-2px);
}
.achievement-badge i {
  font-size: 1.2rem;
  color: var(--red);
}
.achievement-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--navy);
}
.achievement-badge span {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-500);
}
@media(max-width:600px) {
  .achievement-badge { flex: 1 1 calc(50% - 8px); }
}

/* ═══════════════════════════════════════════════════════════
   5. QUICK ACCESS SECTION ENHANCEMENTS
═══════════════════════════════════════════════════════════ */
.quick-access-card {
  position: relative;
  overflow: hidden;
}
.quick-access-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}
.quick-access-card:hover::after {
  transform: scaleX(1);
}
.quick-access-icon {
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.quick-access-card:hover .quick-access-icon {
  transform: scale(1.15) rotate(-5deg);
}

/* ═══════════════════════════════════════════════════════════
   6. PROGRAM CARDS ENHANCEMENTS
═══════════════════════════════════════════════════════════ */
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(225,27,34,0.2);
}
.program-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.program-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.program-card:hover .program-card-image img {
  transform: scale(1.06);
}
.program-grade-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
}
.program-card-body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.program-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}
.program-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.program-card-body p {
  font-size: 0.86rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}
.program-card-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.program-card-body ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-700);
}
.program-card-body ul li i {
  color: var(--red);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   7. STATS SECTION ENHANCED
═══════════════════════════════════════════════════════════ */
.stats-section {
  position: relative;
}
.stats-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.stat-full-item {
  cursor: default;
  position: relative;
}
.stat-full-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  opacity: 0;
}
.stat-full-item:hover::after {
  transform: scaleX(1);
  opacity: 1;
}
.stat-icon {
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.stat-full-item:hover .stat-icon {
  transform: scale(1.3) rotate(10deg);
}
.stat-count {
  font-variant-numeric: tabular-nums;
  transition: none; /* don't transition during counter animation */
}

/* ═══════════════════════════════════════════════════════════
   8. TESTIMONIALS ENHANCED
═══════════════════════════════════════════════════════════ */
.testimonial-card {
  position: relative;
  transition: opacity 0.5s ease;
}
.testimonial-card.active {
  animation: testimonialIn 0.5s ease forwards;
}
@keyframes testimonialIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.testimonial-prev,
.testimonial-next {
  cursor: pointer;
  transition: var(--transition);
}
.testimonial-prev:active,
.testimonial-next:active {
  transform: scale(0.92);
}
.author-avatar {
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.testimonial-card:hover .author-avatar {
  transform: scale(1.08);
}

/* ═══════════════════════════════════════════════════════════
   9. VIDEO PROMO SECTION ENHANCED
═══════════════════════════════════════════════════════════ */
.video-promo-section {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.video-promo-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-deeper) 0%, var(--navy) 60%, #0e1a50 100%);
  z-index: 0;
}
.video-promo-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(225,27,34,0.18) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 20%, rgba(225,27,34,0.1) 0%, transparent 55%);
}
.video-promo-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.video-promo-text {
  flex: 1;
  max-width: 560px;
}
.video-promo-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.video-promo-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  max-width: 520px;
}
.video-play-btn {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 3px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  flex-shrink: 0;
  padding-left: 6px; /* optical centering for play icon */
}
.video-play-btn::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  animation: playRipple 2s ease infinite;
}
.video-play-btn::after {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  animation: playRipple 2s ease 0.4s infinite;
}
@keyframes playRipple {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.12); opacity: 0; }
}
.video-play-btn:hover {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(225,27,34,0.5);
}
@media(max-width:768px) {
  .video-promo-content { flex-direction: column; text-align: center; gap: 36px; }
  .video-promo-text { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   10. NEWS SECTION ENHANCED
═══════════════════════════════════════════════════════════ */
.news-card {
  position: relative;
}
.news-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 4px;
  height: 0;
  background: var(--red);
  transition: height 0.4s ease;
}
.news-card:hover::before {
  height: 100%;
}

/* ═══════════════════════════════════════════════════════════
   11. CONTACT FORM ENHANCED
═══════════════════════════════════════════════════════════ */
.contact-form {
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--navy), var(--red));
  background-size: 200% 100%;
  animation: formGradient 4s linear infinite;
}
@keyframes formGradient {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  transform: translateY(-1px);
}
.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
}
.btn-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn-full:hover::after {
  transform: translateX(0);
}

/* ═══════════════════════════════════════════════════════════
   12. MOBILE STICKY CTA BAR ENHANCED
═══════════════════════════════════════════════════════════ */
.mobile-sticky-cta {
  position: fixed;
  bottom: -80px;
  left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: stretch;
  z-index: 9000;
  transition: bottom 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 -4px 24px rgba(11,18,48,0.3);
}
.mobile-sticky-cta.visible {
  bottom: 0;
}
.mob-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}
.mob-cta-btn i {
  font-size: 1.1rem;
  margin-bottom: 1px;
}
.mob-cta-btn:active {
  transform: scale(0.94);
}
.mob-cta-call {
  background: var(--navy);
  border-right: 1px solid rgba(255,255,255,0.1);
}
.mob-cta-call:hover { background: var(--navy-light); }
.mob-cta-whatsapp {
  background: #25D366;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.mob-cta-whatsapp:hover { background: #1ebe5c; }
.mob-cta-apply {
  background: var(--red);
  border-right: 1px solid rgba(255,255,255,0.1);
}
.mob-cta-apply:hover { background: var(--red-dark); }
.mob-cta-tour {
  background: #1F2F6E;
  background: linear-gradient(135deg, #1a2a60, #2a3f8f);
}
.mob-cta-tour:hover { background: var(--navy-light); }

/* Only show on mobile */
@media(min-width:1200px) {
  .mobile-sticky-cta { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   13. FOOTER ENHANCEMENTS
═══════════════════════════════════════════════════════════ */
.footer-links a {
  position: relative;
  padding-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '›';
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
  color: var(--red);
  font-size: 1rem;
  line-height: 1;
}
.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}
.footer-social a {
  transition: var(--transition);
}

/* ═══════════════════════════════════════════════════════════
   14. SECTION CTA STRIP ENHANCED
═══════════════════════════════════════════════════════════ */
.section-cta-strip {
  background: linear-gradient(135deg, var(--navy-deeper) 0%, var(--navy-dark) 50%, var(--navy) 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.section-cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(225,27,34,0.15) 0%, transparent 60%);
}
.section-cta-strip::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--navy-light), var(--red));
}
.section-cta-strip .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.section-cta-strip h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--white);
  margin-bottom: 6px;
}
.section-cta-strip p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
}
@media(max-width:768px) {
  .section-cta-strip .container { flex-direction: column; text-align: center; }
  .section-cta-strip .container > div:last-child { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   15. SCROLL REVEAL ENHANCEMENTS
═══════════════════════════════════════════════════════════ */
.will-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.will-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for grid children */
.programs-grid .program-card:nth-child(1) { transition-delay: 0s; }
.programs-grid .program-card:nth-child(2) { transition-delay: 0.1s; }
.programs-grid .program-card:nth-child(3) { transition-delay: 0.2s; }
.programs-grid .program-card:nth-child(4) { transition-delay: 0.3s; }

.why-grid .why-card:nth-child(1) { transition-delay: 0s; }
.why-grid .why-card:nth-child(2) { transition-delay: 0.08s; }
.why-grid .why-card:nth-child(3) { transition-delay: 0.16s; }
.why-grid .why-card:nth-child(4) { transition-delay: 0.06s; }
.why-grid .why-card:nth-child(5) { transition-delay: 0.14s; }
.why-grid .why-card:nth-child(6) { transition-delay: 0.22s; }

/* ═══════════════════════════════════════════════════════════
   16. ACCREDITATIONS SECTION ENHANCED
═══════════════════════════════════════════════════════════ */
.accreditations-section {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}
.accreditation-logos {
  position: relative;
  padding: 20px 0;
}
.accred-item {
  transition: var(--transition);
}
.accred-item:hover {
  transform: translateY(-4px);
}

/* ═══════════════════════════════════════════════════════════
   17. CAMPUS TOUR SECTION ENHANCED
═══════════════════════════════════════════════════════════ */
.tour-tab {
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.tour-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.tour-tab:hover::before {
  transform: scaleX(1);
}
.tour-campus-photo {
  transition: transform 0.6s ease;
}
.tour-photo-box:hover .tour-campus-photo {
  transform: scale(1.03);
}

/* ═══════════════════════════════════════════════════════════
   18. RECRUITMENT SECTION ENHANCED
═══════════════════════════════════════════════════════════ */
.recruit-card {
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.recruit-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.oh-date-item {
  transition: background 0.25s ease;
}
.oh-date-item:hover {
  background: rgba(225,27,34,0.04);
}

/* ═══════════════════════════════════════════════════════════
   19. UNIVERSITY LOGOS STRIP ENHANCED
═══════════════════════════════════════════════════════════ */
.uni-logo-item {
  transition: var(--transition);
}
.uni-logo-item:hover {
  opacity: 1;
  transform: translateY(-4px);
}
.uni-logo-badge {
  transition: var(--transition);
}
.uni-logo-item:hover .uni-logo-badge {
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}

/* ═══════════════════════════════════════════════════════════
   20. VIDEO LIGHTBOX ENHANCED
═══════════════════════════════════════════════════════════ */
#video-lightbox {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: lightboxIn 0.3s ease forwards;
}
@keyframes lightboxIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
#video-lightbox > div {
  animation: lightboxCardIn 0.35s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes lightboxCardIn {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   21. GENERAL BUTTON HOVER IMPROVEMENTS
═══════════════════════════════════════════════════════════ */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.25s ease;
  pointer-events: none;
}
.btn:hover::after {
  background: rgba(255,255,255,0.08);
}
.btn:active {
  transform: scale(0.97);
}

/* ═══════════════════════════════════════════════════════════
   22. SECTION HEADERS
═══════════════════════════════════════════════════════════ */
.section-title em {
  color: var(--red);
  font-style: italic;
}
.title-ornament {
  height: 3px;
  width: 60px;
  background: linear-gradient(90deg, var(--red), var(--navy));
  border-radius: 2px;
  margin: 16px 0 0;
}
.centered-ornament {
  margin: 16px auto 0;
}

/* ═══════════════════════════════════════════════════════════
   23. LEADERSHIP / RECRUIT SECTION
═══════════════════════════════════════════════════════════ */
.recruit-leader-photo {
  overflow: hidden;
}
.recruit-leader-photo img {
  transition: transform 0.6s ease;
}
.recruit-leader-card:hover .recruit-leader-photo img {
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   EXTRA: USP PILLARS
═══════════════════════════════════════════════════════════ */
.usp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media(max-width:900px) { .usp-pillars-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px) { .usp-pillars-grid { grid-template-columns: 1fr; } }

.usp-pillar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.usp-pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(225,27,34,0.15);
}
.usp-pillar--featured {
  border-color: var(--red);
  box-shadow: 0 4px 24px rgba(225,27,34,0.12);
}
.usp-pillar-icon--featured {
  background: linear-gradient(135deg, #E11B22, #c0141a) !important;
  box-shadow: 0 4px 18px rgba(225,27,34,0.35);
}
.usp-pillar-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 16px;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.usp-pillar:hover .usp-pillar-icon {
  transform: scale(1.12) rotate(-5deg);
}
.usp-pillar-tag {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.usp-pillar h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.usp-pillar p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.75;
}
.usp-pillar-accent {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--red);
  transition: width 0.4s ease;
}
.usp-pillar:hover .usp-pillar-accent {
  width: 100%;
}

/* KPI Cards */
.kpi-cards-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media(max-width:1024px) { .kpi-cards-row { grid-template-columns: repeat(3, 1fr); } }
@media(max-width:600px) { .kpi-cards-row { grid-template-columns: 1fr 1fr; } }
@media(max-width:380px) { .kpi-cards-row { grid-template-columns: 1fr; } }

.kpi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.kpi-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}
.kpi-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════════
   EXTRA: RECRUITMENT & OPEN HOUSE SECTION
═══════════════════════════════════════════════════════════ */
.recruit-section {
  background: var(--white);
}
.recruit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}
@media(max-width:900px) { .recruit-grid { grid-template-columns: 1fr; gap: 20px; } }

.recruit-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.recruit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--navy));
}

/* Leadership cards in recruit section */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media(max-width:900px) { .leadership-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media(max-width:600px) { .leadership-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; } }

.leader-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.leader-card-photo {
  height: 260px;
  overflow: hidden;
}
.leader-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}
.leader-card:hover .leader-card-photo img {
  transform: scale(1.05);
}
.leader-card-info {
  padding: 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.leader-card-role {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.leader-card-info h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.leader-card-quote {
  font-size: 0.84rem;
  color: var(--gray-500);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin-bottom: 14px;
}
.leader-card-link {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease;
  margin-top: auto;
}
.leader-card:hover .leader-card-link { gap: 10px; }

/* ═══════════════════════════════════════════════════════════
   EXTRA: ENROLMENT NOTICE
═══════════════════════════════════════════════════════════ */
.enrollment-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--gray-700);
}
.enrollment-notice i {
  color: var(--red);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   24. IMPROVE BODY PADDING ON DIFFERENT SCREENS
═══════════════════════════════════════════════════════════ */
@media(max-width:1199px) {
  body { padding-bottom: 64px; /* account for sticky mobile CTA */ }
}

/* ═══════════════════════════════════════════════════════════
   25. IMPROVED HERO DOTS (navigation controls)
═══════════════════════════════════════════════════════════ */
.hero-controls {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.hero-dot.active {
  background: var(--white);
  width: 28px;
  border-radius: 5px;
  border-color: var(--white);
}
.hero-dot:hover:not(.active) {
  background: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════════════════════
   26. CARE SECTION ENHANCED
═══════════════════════════════════════════════════════════ */
.care-card,
.care-item {
  transition: var(--transition);
}
.care-card:hover,
.care-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════════════════════════
   27. MAP SECTION ENHANCED
═══════════════════════════════════════════════════════════ */
.map-wrap {
  position: relative;
}
.map-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 4px solid var(--navy);
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
}

/* ═══════════════════════════════════════════════════════════
   28. IMPROVED CONTACT DETAILS
═══════════════════════════════════════════════════════════ */
.contact-detail-item {
  padding: 14px;
  border-radius: var(--radius-md);
  transition: background 0.25s ease;
}
.contact-detail-item:hover {
  background: var(--light-gray);
}

/* ═══════════════════════════════════════════════════════════
   29. WHATSAPP BUTTON IN CONTACT
═══════════════════════════════════════════════════════════ */
.contact-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
  width: 100%;
  justify-content: center;
}
.contact-whatsapp-btn:hover {
  background: #1ebe5c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

/* ═══════════════════════════════════════════════════════════
   30. PRINT & REDUCED MOTION
═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   31. HEADER SCROLLED STATE
═══════════════════════════════════════════════════════════ */
.header-scrolled {
  box-shadow: 0 4px 24px rgba(11,18,48,0.18) !important;
}

/* ═══════════════════════════════════════════════════════════
   32. ACTIVE SECTION QUICK LINK
═══════════════════════════════════════════════════════════ */
.quick-link-item.active-section {
  color: var(--white) !important;
  background: rgba(225,27,34,0.15) !important;
}

/* ═══════════════════════════════════════════════════════════
   33. SMOOTH IMAGE REVEAL (lazy-loaded images)
═══════════════════════════════════════════════════════════ */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}
img[loading="lazy"].loaded,
img[loading="lazy"][data-loaded] {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   34. FADE-IN CARD ANIMATION (used by nav.js observer)
═══════════════════════════════════════════════════════════ */
.fade-in-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in-card.visible-now {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   35. STAGGER CHILDREN ANIMATION
═══════════════════════════════════════════════════════════ */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-children.in-view > * { opacity: 1; transform: translateY(0); }
.stagger-children.in-view > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.in-view > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children.in-view > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children.in-view > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children.in-view > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children.in-view > *:nth-child(6) { transition-delay: 0.40s; }
.stagger-children.in-view > *:nth-child(n+7) { transition-delay: 0.48s; }

/* animate-fade-up used on inner pages */
.animate-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   36. FLOATING APPLY + WHATSAPP BUTTONS
═══════════════════════════════════════════════════════════ */
.apply-float {
  position: fixed;
  bottom: 100px;
  right: 24px;
  background: var(--red);
  color: #fff;
  padding: 12px 18px;
  border-radius: 40px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 24px rgba(225,27,34,0.45);
  z-index: 8000;
  transition: var(--transition);
}
.apply-float:hover {
  background: var(--red-dark, #b5161c);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(225,27,34,0.55);
  color: #fff;
}
.apply-float-label { white-space: nowrap; }
@media(max-width:1199px) { .apply-float { display: none; } }

.whatsapp-float {
  position: fixed;
  bottom: 44px;
  right: 24px;
  width: 52px; height: 52px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 8000;
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  background: #1ebe5c;
  transform: scale(1.1);
  color: #fff;
}
@media(max-width:1199px) {
  .apply-float  { display: none; }
  .whatsapp-float { bottom: 80px; right: 16px; width: 48px; height: 48px; font-size: 1.3rem; }
}

/* ═══════════════════════════════════════════════════════════
   37. BACK-TO-TOP BUTTON
═══════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 100px;
  left: 24px;
  width: 44px; height: 44px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
  z-index: 8000;
  box-shadow: 0 4px 16px rgba(11,18,48,0.25);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--red);
}
@media(max-width:1199px) {
  .back-to-top { left: 16px; bottom: 80px; width: 40px; height: 40px; }
}

/* ═══════════════════════════════════════════════════════════
   38. OPEN HOUSE / RECRUIT DATE ITEMS
═══════════════════════════════════════════════════════════ */
.oh-date-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--light-gray);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  cursor: default;
}
.oh-date-item:hover {
  background: var(--white);
  border-color: rgba(225,27,34,0.2);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.oh-date-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  min-width: 48px;
  text-align: center;
}
.oh-date-detail { flex: 1; }
.oh-date-month {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 2px;
}
.oh-date-label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}
.oh-date-time {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════
   39. PARALLAX PHOTO SECTION
═══════════════════════════════════════════════════════════ */
.ppx-panel {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.ppx-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11,18,48,0.45);
  z-index: 1;
  transition: background 0.4s ease;
}
.ppx-panel:hover::before {
  background: rgba(11,18,48,0.25);
}
.ppx-panel-content {
  position: absolute;
  bottom: 28px; left: 28px;
  z-index: 2;
  transform: translateY(8px);
  transition: transform 0.4s ease;
}
.ppx-panel:hover .ppx-panel-content {
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   40. ENHANCED VIDEO PROMO — responsive
═══════════════════════════════════════════════════════════ */
@media(max-width:600px) {
  .video-promo-section { padding: 60px 0; min-height: auto; }
  .video-play-btn { width: 70px; height: 70px; font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   41. SECTION PAGE HERO IMPROVEMENTS (inner pages)
═══════════════════════════════════════════════════════════ */
.page-hero-section {
  position: relative;
  overflow: hidden;
}
.page-hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red), var(--navy));
}
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225,27,34,0.15);
  border: 1px solid rgba(225,27,34,0.3);
  color: #fff;
  padding: 6px 16px;
  border-radius: 40px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

/* ═══════════════════════════════════════════════════════════
   42. FORM SUCCESS STATE
═══════════════════════════════════════════════════════════ */
#form-success,
#adm-form-success {
  display: none;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #86efac;
  border-left: 4px solid #22c55e;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  color: #166534;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 20px;
}
#form-success i,
#adm-form-success i {
  font-size: 1.5rem;
  color: #22c55e;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   43. GALLERY PAGE ENHANCEMENTS
═══════════════════════════════════════════════════════════ */
.gal-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}
.gal-hero-slide.active { opacity: 1; }

.gal-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  flex-shrink: 0;
}
.gal-hero-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
  border-color: #fff;
}

/* Lightbox */
.gal-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 99990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}
.gal-lightbox.open { display: flex; }

/* ═══════════════════════════════════════════════════════════
   44. QUICK-LINKS BAR (homepage)
═══════════════════════════════════════════════════════════ */
.quick-links-bar {
  position: relative;
  z-index: 100;
}
.quick-link-item {
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.quick-link-item:hover {
  background: rgba(255,255,255,0.1) !important;
}

/* ═══════════════════════════════════════════════════════════
   45. IMPROVED TABLE / DATA DISPLAY
═══════════════════════════════════════════════════════════ */
.curriculum-table {
  width: 100%;
  border-collapse: collapse;
}
.curriculum-table th,
.curriculum-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  text-align: left;
  font-size: 0.88rem;
}
.curriculum-table th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.curriculum-table tr:nth-child(even) td {
  background: var(--light-gray);
}
.curriculum-table tr:hover td {
  background: rgba(225,27,34,0.04);
}

/* ═══════════════════════════════════════════════════════════
   46. SMOOTH SCROLL OFFSET FOR ANCHOR TARGETS
═══════════════════════════════════════════════════════════ */
[id] { scroll-margin-top: 80px; }
@media(min-width:1200px) { [id] { scroll-margin-top: 20px; } }

/* ═══════════════════════════════════════════════════════════
   47. IMPROVED MOBILE TYPOGRAPHY
═══════════════════════════════════════════════════════════ */
@media(max-width:480px) {
  .section-title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .section-subtitle { font-size: 0.88rem; }
  .hero-title { font-size: clamp(2rem, 10vw, 3.5rem); }
}

/* ═══════════════════════════════════════════════════════════
   48. PAGE TRANSITIONS (smooth content reveal on load)
═══════════════════════════════════════════════════════════ */
body {
  animation: bodyFadeIn 0.4s ease forwards;
}
@keyframes bodyFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   49. IMPROVED TOPBAR SOCIAL ICONS
═══════════════════════════════════════════════════════════ */
.topbar-social a {
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.topbar-social a:hover {
  color: var(--red) !important;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   50. IMPROVED NAV OVERLAY SOCIAL ICONS
═══════════════════════════════════════════════════════════ */
.nav-bottom-social a {
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav-bottom-social a:hover {
  transform: translateY(-3px) scale(1.1);
}

/* ═══════════════════════════════════════════════════════════
   51. MOBILE STICKY CTA BAR — Full Styling
═══════════════════════════════════════════════════════════ */
.mobile-sticky-cta {
  position: fixed;
  bottom: -80px;
  left: 0; right: 0;
  height: 64px;
  background: var(--navy);
  display: flex;
  align-items: stretch;
  z-index: 9900;
  transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 24px rgba(11,18,48,0.28);
}
.mobile-sticky-cta.visible { bottom: 0; }
@media (min-width: 1200px) { .mobile-sticky-cta { display: none !important; } }

.mob-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.mob-cta-btn:last-child { border-right: none; }
.mob-cta-btn i { font-size: 1.1rem; }
.mob-cta-btn:active { transform: scale(0.94); }

.mob-cta-call     { background: rgba(255,255,255,0.05); }
.mob-cta-call:hover { background: rgba(255,255,255,0.12); color: #fff; }

.mob-cta-whatsapp     { background: rgba(37,211,102,0.18); }
.mob-cta-whatsapp:hover { background: rgba(37,211,102,0.32); color: #fff; }

.mob-cta-apply     { background: rgba(225,27,34,0.22); }
.mob-cta-apply:hover { background: rgba(225,27,34,0.40); color: #fff; }

.mob-cta-tour     { background: rgba(255,255,255,0.05); }
.mob-cta-tour:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Body padding on mobile so content clears the CTA bar */
@media (max-width: 1199px) {
  body { padding-bottom: 64px; }
}

/* ═══════════════════════════════════════════════════════════
   52. HERO NAVIGATION DOTS — Enhanced
═══════════════════════════════════════════════════════════ */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.55);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: width 0.35s ease, background 0.25s ease,
              border-color 0.25s ease, border-radius 0.35s ease;
  flex-shrink: 0;
}
.hero-dot.active {
  width: 28px;
  background: #fff;
  border-color: #fff;
  border-radius: 5px;
}
.hero-dot:hover:not(.active) {
  background: rgba(255,255,255,0.35);
  border-color: rgba(255,255,255,0.8);
}

/* ═══════════════════════════════════════════════════════════
   53. TOP PROGRESS BAR (page-load indicator)
═══════════════════════════════════════════════════════════ */
.top-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), #ff6b6b);
  z-index: 99999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   54. WILL-REVEAL — generic reveal animation class
═══════════════════════════════════════════════════════════ */
.will-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.will-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for groups */
.will-reveal:nth-child(2) { transition-delay: 0.10s; }
.will-reveal:nth-child(3) { transition-delay: 0.20s; }
.will-reveal:nth-child(4) { transition-delay: 0.30s; }
.will-reveal:nth-child(5) { transition-delay: 0.40s; }
.will-reveal:nth-child(6) { transition-delay: 0.50s; }

/* ═══════════════════════════════════════════════════════════
   55. LEGAL PAGES — shared layout helpers
═══════════════════════════════════════════════════════════ */
.legal-hero {
  position: relative;
  overflow: hidden;
}
.legal-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--navy));
}

/* ═══════════════════════════════════════════════════════════
   56. SITEMAP PAGE CARD HOVER
═══════════════════════════════════════════════════════════ */
.sitemap-section {
  position: relative;
  overflow: hidden;
}
.sitemap-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.sitemap-section:hover::before { transform: scaleX(1); }

/* ═══════════════════════════════════════════════════════════
   57. ENHANCED FOOTER BOTTOM LINKS
═══════════════════════════════════════════════════════════ */
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}
.footer-bottom-links a {
  font-size: 0.78rem;
  opacity: 0.55;
  transition: opacity 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.footer-bottom-links a:hover {
  opacity: 1;
  color: var(--red);
}

/* ═══════════════════════════════════════════════════════════
   58. TOUR PANE TRANSITIONS
═══════════════════════════════════════════════════════════ */
.tour-pane {
  display: none;
  animation: tourFadeIn 0.4s ease;
}
.tour-pane.active { display: flex; }
@keyframes tourFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   59. CONTACT FORM INPUT FOCUS GLOW
═══════════════════════════════════════════════════════════ */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
#admissions-form input:focus,
#admissions-form select:focus,
#admissions-form textarea:focus {
  outline: none;
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px rgba(225,27,34,0.12);
}

/* ═══════════════════════════════════════════════════════════
   60. RESPONSIVE POLISH — small screens
═══════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .hero-stats { flex-direction: column; }
  .stat-item  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }
  .mob-cta-btn { font-size: 0.52rem; }
  .mob-cta-btn i { font-size: 0.95rem; }
}

/* Ensure floating buttons never overlap mobile CTA */
@media (max-width: 1199px) {
  .whatsapp-float { bottom: 80px; }
  .back-to-top    { bottom: 80px; }
  .apply-float    { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   61. LEADER CARD PHOTO — mobile overrides
   Keep #0a1030 fallback background (dark navy) so before the
   photo loads the card doesn't flash white.
   Preserve hover scale (1.05, 0.5s) at all breakpoints.
═══════════════════════════════════════════════════════════ */
.leader-card-photo,
.leader-card-equal .leader-card-photo {
  background: #0a1030;   /* dark fallback, matches brand dark bg */
}

.leader-card-photo img,
.leader-card-equal .leader-card-photo img {
  object-fit: cover;
  object-position: center top;
}

/* Preserve hover scale on all screen sizes */
.leader-card-equal:hover .leader-card-photo img,
.leader-card:hover .leader-card-photo img,
.leader-card:hover .leader-photo img {
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

/* ≤ 1024px — 2-column grid already handled by pages.css;
   just reinforce object-position so faces don't crop */
@media (max-width: 1024px) {
  .leader-card-photo img,
  .leader-photo img {
    object-position: center top !important;
  }
}

/* ≤ 768px — reduce hover scale slightly to avoid jarring shift */
@media (max-width: 768px) {
  .leader-card-equal:hover .leader-card-photo img,
  .leader-card:hover .leader-card-photo img {
    transform: scale(1.04) !important;
  }
}

/* Portrait-style cards (.leader-card-equal) use auto-height flex strip —
   no fixed height overrides needed. Only apply background guard for
   the legacy full-bleed .leader-card-photo (homepage / old cards). */
@media (max-width: 600px) {
  .leadership-grid .leader-card-photo,
  .leader-card .leader-card-photo {
    background: #0a1030 !important;
    height: 240px !important;
  }
}

@media (max-width: 375px) {
  .leadership-grid .leader-card-photo,
  .leader-card .leader-card-photo {
    height: 220px !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   62. NAV HAMBURGER — gallery.html uses .nav-hamburger class
   Add full styling so it matches the standard rail toggle
═══════════════════════════════════════════════════════════ */
.nav-hamburger {
  display: none;         /* hidden on desktop */
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 6px;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.25s ease;
  flex-shrink: 0;
}
.nav-hamburger:hover,
.nav-hamburger:focus {
  background: rgba(255,255,255,0.08);
  outline: none;
}
.nav-hamburger:hover span { background: #fff; }

/* Show hamburger and hide topbar on mobile */
@media (max-width: 1199px) {
  .nav-hamburger {
    display: flex !important;
  }
  /* Animated open state */
  html.nav-open .nav-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  html.nav-open .nav-hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  html.nav-open .nav-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ═══════════════════════════════════════════════════════════
   63. PADDING CONFLICT RESOLUTION
   mobile.css sets body padding-bottom:68px; enhancements.css
   also sets 64px at ≤1199px.  Unify to 68px so sticky CTA
   (64px tall) plus breathing room is consistent.
═══════════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
  body { padding-bottom: 68px !important; }
}

/* ═══════════════════════════════════════════════════════════
   64. SECTION PADDING REDUCTION ON SMALL PHONES
   Prevents excessive vertical whitespace on ≤480px devices.
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root { --section-pad: 52px; }
}
@media (max-width: 375px) {
  :root { --section-pad: 44px; }
}

