/* ============================================================================
   DOKAPARTI UPENDRA HIGH SCHOOL (DUHS) — VIJAYAWADA
   Main Stylesheet  |  Theme: Orange & Black on White
   File     : css/styles.css
   Author   : DUHS Web Team
   Version  : 2.4.0
   Contains : Design tokens, reset, utilities, preloader, welcome gate, topbar,
              navbar, hero slider, ticker, welcome, feature boxes, leaders,
              stats, gallery slider, student showcase, CTA, footer, floats,
              inner pages, forms, lightbox, toasts, keyframes, responsive.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --du-orange:        #F97316;
  --du-orange-dark:   #EA580C;
  --du-orange-deep:   #C2410C;
  --du-orange-soft:   #FFEDD5;
  --du-orange-glow:   rgba(249, 115, 22, 0.35);
  --du-orange-tint:   rgba(249, 115, 22, 0.08);

  --du-black:         #0C0C0D;
  --du-ink:           #17181A;
  --du-charcoal:      #242629;
  --du-black-tint:    rgba(12, 12, 13, 0.75);

  --du-white:         #FFFFFF;
  --du-cream:         #FFF8F2;
  --du-off:           #FDFBF8;
  --du-text:          #3F4247;
  --du-muted:         #7A7E86;
  --du-line:          #F3E7DB;

  --du-green:         #22C55E;
  --du-green-dark:    #16A34A;
  --du-red:           #EF4444;

  /* Gradients */
  --grad-orange:      linear-gradient(135deg, #F97316 0%, #EA580C 55%, #C2410C 100%);
  --grad-orange-soft: linear-gradient(135deg, #FFEDD5 0%, #FFF8F2 100%);
  --grad-dark:        linear-gradient(135deg, #17181A 0%, #0C0C0D 100%);
  --grad-shine:       linear-gradient(120deg, #F97316 0%, #FDBA74 45%, #F97316 100%);

  /* Shadows */
  --shadow-xs:        0 2px 6px rgba(28, 25, 23, 0.06);
  --shadow-sm:        0 4px 14px rgba(28, 25, 23, 0.08);
  --shadow-md:        0 10px 30px rgba(28, 25, 23, 0.12);
  --shadow-lg:        0 22px 55px rgba(28, 25, 23, 0.16);
  --shadow-orange:    0 12px 34px rgba(249, 115, 22, 0.32);
  --shadow-black:     0 12px 34px rgba(12, 12, 13, 0.28);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 999px;

  /* Motion */
  --ease-out:   cubic-bezier(0.22, 0.85, 0.32, 1);
  --ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-swift: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --container: 1240px;
  --gutter: 24px;
  --topbar-h: 44px;
  --nav-h: 84px;

  /* Fonts */
  --font-display: "Baloo 2", "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, sans-serif;
}

/* ---------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--du-text);
  background: var(--du-white);
  overflow-x: clip;
  min-height: 100vh;
}

/* Older browsers: fall back from overflow-x: clip */
@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  object-fit: cover;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-out);
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--du-ink);
  line-height: 1.22;
  font-weight: 700;
}

::selection {
  background: var(--du-orange);
  color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: var(--du-cream);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--du-orange), var(--du-orange-deep));
  border-radius: var(--r-full);
  border: 2px solid var(--du-cream);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--du-orange-deep);
}

/* Focus accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--du-orange-glow);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding: 96px 0;
}

.section-sm {
  position: relative;
  padding: 64px 0;
}

.section-cream {
  background: var(--du-cream);
}

.section-off {
  background: var(--du-off);
}

.section-dark {
  background: var(--grad-dark);
  color: #e8e8ea;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

/* Decorative section shapes */
.sec-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.sec-shape.ring {
  width: 220px;
  height: 220px;
  border: 26px solid var(--du-orange-tint);
  border-radius: 50%;
}

.sec-shape.dotgrid {
  width: 180px;
  height: 180px;
  background-image: radial-gradient(var(--du-orange) 2.4px, transparent 2.6px);
  background-size: 22px 22px;
  opacity: 0.16;
}

.sec-shape.blob {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 35% 35%, var(--du-orange-soft), transparent 70%);
  filter: blur(6px);
}

/* ---------------------------------------------------------------------------
   4. SECTION HEADERS
   -------------------------------------------------------------------------- */
.section-head {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head.left {
  margin-inline: 0;
  text-align: left;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: var(--r-full);
  background: var(--du-orange-soft);
  color: var(--du-orange-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: tagPulse 3.2s ease-in-out infinite;
}

.section-tag i {
  font-size: 0.75rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-title .hl {
  color: var(--du-orange);
  position: relative;
  white-space: nowrap;
}

.section-title .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: var(--du-orange-soft);
  z-index: -1;
  border-radius: 6px;
  transform: skewX(-8deg);
}

.section-sub {
  color: var(--du-muted);
  font-size: 1.02rem;
}

.title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.title-ornament span {
  height: 4px;
  width: 46px;
  border-radius: 4px;
  background: var(--du-orange);
  display: inline-block;
}

.title-ornament span:nth-child(2) {
  width: 14px;
  background: var(--du-ink);
}

.title-ornament span:nth-child(3) {
  width: 8px;
  background: var(--du-orange-deep);
}

.section-head.left .title-ornament {
  justify-content: flex-start;
}

/* ---------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.3px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s var(--ease-out), background 0.35s;
  z-index: 1;
}

.btn i {
  transition: transform 0.35s var(--ease-out);
}

.btn:hover i {
  transform: translateX(4px);
}

.btn:active {
  transform: scale(0.96);
}

.btn-orange {
  background: var(--grad-orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.btn-orange::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-dark);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-swift);
  z-index: -1;
}

.btn-orange:hover::before {
  transform: translateY(0);
}

.btn-orange:hover {
  color: #fff;
  transform: translateY(-3px);
}

.btn-black {
  background: var(--grad-dark);
  color: #fff;
  box-shadow: var(--shadow-black);
}

.btn-black::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-orange);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-swift);
  z-index: -1;
}

.btn-black:hover::before {
  transform: translateY(0);
}

.btn-black:hover {
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--du-ink);
  border: 2px solid var(--du-ink);
}

.btn-outline:hover {
  background: var(--du-ink);
  color: #fff;
  transform: translateY(-3px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--du-orange-deep);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 17px 38px;
  font-size: 1.04rem;
}

/* Shiny sweep on primary buttons */
.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-22deg);
  animation: btnSweep 3.4s ease-in-out infinite;
  z-index: 1;
}

/* ---------------------------------------------------------------------------
   6. PRELOADER
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--grad-dark);
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-crest {
  width: 110px;
  height: 110px;
  border-radius: 28px;
  background: var(--grad-orange);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-orange);
  animation: crestFloat 1.6s ease-in-out infinite;
}

.loader-crest i {
  font-size: 2.6rem;
  color: #fff;
}

.loader-ring {
  width: 132px;
  height: 132px;
  border: 4px solid transparent;
  border-top-color: var(--du-orange);
  border-right-color: var(--du-orange);
  border-radius: 50%;
  position: absolute;
  animation: spin 1.1s linear infinite;
}

.loader-ring::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 3px solid transparent;
  border-bottom-color: #fff;
  border-left-color: #fff;
  border-radius: 50%;
  animation: spinRev 0.9s linear infinite;
}

.loader-text {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.loader-text small {
  display: block;
  text-align: center;
  color: var(--du-orange);
  font-size: 0.72rem;
  letter-spacing: 5px;
  margin-top: 6px;
}

.loader-bar {
  width: 220px;
  height: 5px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 6px;
  background: var(--grad-orange);
  animation: loadSlide 1.15s ease-in-out infinite;
}

/* ---------------------------------------------------------------------------
   7. WELCOME AUDIO (AUTOPLAY)
   The greeting starts automatically when a page opens — no button, no
   banner, nothing visible. (js/script.js handles the playback logic.)
   -------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   8. TOP INFORMATION BAR
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--grad-dark);
  color: #d7d8db;
  font-size: 0.82rem;
  height: var(--topbar-h);
  position: relative;
  z-index: 60;
}

.topbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-item i {
  color: var(--du-orange);
  font-size: 0.8rem;
}

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

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-social {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 0.72rem;
  transition: transform 0.3s var(--ease-bounce), background 0.3s;
}

.topbar-social:hover {
  background: var(--du-orange);
  transform: translateY(-3px) rotate(8deg);
  color: #fff;
}

.topbar-clock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 12px;
  margin-left: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--du-orange);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------------
   9. NAVBAR / HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--du-line);
  transition: box-shadow 0.35s, background 0.35s;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.1);
  background: rgba(255, 255, 255, 0.97);
}

.nav-wrap {
  min-height: var(--nav-h);
  padding-block: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--du-orange-soft);
  animation: logoFloat 4s ease-in-out infinite;
  background: #fff;
}

.brand-text {
  min-width: 0;
}

.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  max-width: 170px;
  font-weight: 800;
  color: var(--du-ink);
  line-height: 1.18;
}

.brand-text strong span {
  color: var(--du-orange);
}

.brand-text small {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--du-muted);
}

/* Desktop menu */
.navbar {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar > li {
  position: relative;
}

.menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 8px;
  font-size: 0.84rem;
  white-space: nowrap;
  font-weight: 600;
  color: var(--du-ink);
  border-radius: 10px;
  transition: color 0.3s;
}

.menu-link i {
  font-size: 0.62rem;
  opacity: 0.45;
  transition: transform 0.3s;
}

.menu-link::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 6px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-swift);
}

.menu-link:hover,
.menu-link.active {
  color: var(--du-orange-deep);
}

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

.menu-link:hover i {
  transform: rotate(180deg);
}

.nav-cta {
  margin-left: 8px;
  padding: 11px 14px;
  font-size: 0.82rem;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--du-orange-soft);
  position: relative;
  z-index: 130;
}

.hamburger span {
  position: absolute;
  left: 13px;
  width: 22px;
  height: 2.6px;
  border-radius: 3px;
  background: var(--du-orange-deep);
  transition: transform 0.35s var(--ease-swift), opacity 0.25s, top 0.35s;
}

.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 23px; width: 15px; }
.hamburger span:nth-child(3) { top: 30px; }

.hamburger.open span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

/* Mobile drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 12, 13, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
  z-index: 110;
}

.drawer-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 86vw);
  background: #fff;
  z-index: 120;
  transform: translateX(105%);
  transition: transform 0.5s var(--ease-swift);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(12, 12, 13, 0.25);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--du-line);
  background: var(--grad-orange);
  color: #fff;
}

.drawer-head strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.1rem;
  transition: transform 0.3s var(--ease-bounce);
}

.drawer-close:hover {
  transform: rotate(90deg);
}

.drawer-links {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
}

.drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--du-ink);
  margin-bottom: 4px;
  border: 1px solid transparent;
  transition: background 0.3s, color 0.3s, transform 0.3s, border-color 0.3s;
}

.drawer-links a i:first-child {
  color: var(--du-orange);
  width: 22px;
  font-size: 0.9rem;
}

.drawer-links a:hover,
.drawer-links a.active {
  background: var(--du-orange-soft);
  color: var(--du-orange-deep);
  transform: translateX(6px);
  border-color: #FFD9B8;
}

.drawer-foot {
  padding: 18px 22px;
  border-top: 1px solid var(--du-line);
  background: var(--du-cream);
  font-size: 0.84rem;
  color: var(--du-muted);
}

.drawer-foot a {
  color: var(--du-orange-deep);
  font-weight: 700;
}

/* ---------------------------------------------------------------------------
   10. HERO SLIDER — Ken Burns zoom in / zoom out, 5s per slide
   -------------------------------------------------------------------------- */
.hero-slider {
  position: relative;
  height: min(88vh, 760px);
  min-height: 560px;
  overflow: hidden;
  background: var(--du-black);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.15s var(--ease-out), visibility 1.15s;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide figure {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

/* Ken Burns — alternating zoom in / zoom out */
.hero-slide.active.kb-in .hero-img {
  animation: kenburnsIn 5.4s var(--ease-out) forwards;
}

.hero-slide.active.kb-out .hero-img {
  animation: kenburnsOut 5.4s var(--ease-out) forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      rgba(12, 12, 13, 0.86) 0%,
      rgba(12, 12, 13, 0.62) 38%,
      rgba(194, 65, 12, 0.28) 100%);
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 85% 20%, var(--du-orange-glow), transparent 65%);
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  padding-block: 40px 90px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 20px;
  border-radius: var(--r-full);
  background: rgba(249, 115, 22, 0.16);
  border: 1px solid rgba(249, 115, 22, 0.55);
  color: #FFD9B8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s 0.25s, transform 0.7s 0.25s;
}

.hero-tag i {
  color: var(--du-orange);
}

.hero-slide.active .hero-tag {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  color: #fff;
  font-size: clamp(2.1rem, 5.2vw, 3.9rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s 0.4s, transform 0.8s 0.4s;
}

.hero-title span {
  color: var(--du-orange);
  position: relative;
}

.hero-title span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 12px;
  background: rgba(249, 115, 22, 0.28);
  border-radius: 8px;
  z-index: -1;
}

.hero-slide.active .hero-title {
  opacity: 1;
  transform: translateY(0);
}

.hero-sub {
  color: #D9DADD;
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  max-width: 580px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s 0.55s, transform 0.8s 0.55s;
}

.hero-slide.active .hero-sub {
  opacity: 1;
  transform: translateY(0);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s 0.7s, transform 0.8s 0.7s;
}

.hero-slide.active .hero-btns {
  opacity: 1;
  transform: translateY(0);
}

/* Hero side badge card */
.hero-badge-card {
  position: absolute;
  right: 6%;
  bottom: 14%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 16px 22px;
  color: #fff;
  animation: badgeFloat 4.5s ease-in-out infinite;
}

.hero-badge-card .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--du-orange);
  line-height: 1;
}

.hero-badge-card p {
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0.9;
}

/* Arrows */
.hero-arrows {
  position: absolute;
  z-index: 6;
  display: flex;
  gap: 10px;
  right: 4%;
  bottom: 44px;
}

.hero-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 1rem;
  backdrop-filter: blur(8px);
  transition: background 0.3s, transform 0.3s var(--ease-bounce), color 0.3s;
}

.hero-arrow:hover {
  background: var(--du-orange);
  color: #fff;
  transform: scale(1.12);
}

/* Dots */
.hero-dots {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.38);
  border: none;
  transition: width 0.4s var(--ease-swift), background 0.4s;
}

.hero-dot.active {
  width: 34px;
  background: var(--du-orange);
}

/* Autoplay progress ring on active dot */
.hero-dot.active {
  position: relative;
  overflow: hidden;
}

.hero-dot.active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.55);
  transform-origin: left;
  animation: dotProgress 5s linear forwards;
}

/* Scroll-down cue */
.hero-scroll {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.hero-scroll span {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  position: relative;
}

.hero-scroll span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--du-orange);
  animation: scrollNudge 1.6s ease-in-out infinite;
}

/* ---------------------------------------------------------------------------
   11. ANNOUNCEMENT TICKER
   -------------------------------------------------------------------------- */
.ticker {
  background: var(--du-orange);
  color: #fff;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.ticker .ticker-inner {
  display: flex;
  align-items: stretch;
}

.ticker-label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  background: var(--du-black);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}

.ticker-label i {
  animation: bellSwing 1.6s ease-in-out infinite;
  transform-origin: top center;
}

.ticker-viewport {
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.ticker-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: tickerRun 36s linear infinite;
  padding-left: 30px;
}

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

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.ticker-track span i {
  font-size: 0.5rem;
}

/* ---------------------------------------------------------------------------
   12. WELCOME / ABOUT STRIP
   -------------------------------------------------------------------------- */
.welcome-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.welcome-media {
  position: relative;
}

.welcome-media .main-shot {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
  animation: slowZoomBreath 9s ease-in-out infinite;
}

.welcome-media .sub-shot {
  position: absolute;
  right: -34px;
  bottom: -44px;
  width: 240px;
  height: 210px;
  border-radius: var(--r-lg);
  border: 7px solid #fff;
  box-shadow: var(--shadow-md);
  animation: badgeFloat 5s ease-in-out infinite;
}

.welcome-media .exp-badge {
  position: absolute;
  top: -26px;
  left: -20px;
  background: var(--grad-orange);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 16px 22px;
  text-align: center;
  box-shadow: var(--shadow-orange);
  animation: badgeFloat 4.2s ease-in-out infinite;
}

.welcome-media .exp-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.welcome-media .exp-badge small {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  opacity: 0.92;
}

.check-list {
  margin: 22px 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 22px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-weight: 500;
  color: var(--du-ink);
  font-size: 0.95rem;
}

.check-list li i {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--du-orange-soft);
  color: var(--du-orange-deep);
  font-size: 0.62rem;
}

/* Signature row */
.sign-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.sign-row img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--du-orange-soft);
}

.sign-row .who strong {
  display: block;
  font-family: var(--font-display);
  color: var(--du-ink);
}

.sign-row .who small {
  color: var(--du-muted);
  font-size: 0.8rem;
}

/* ---------------------------------------------------------------------------
   13. FEATURE BOXES — 4 boxes, 2 slide from left / 2 from right,
        hover reveals "Click Me Here" overlay
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.feature-box {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  cursor: pointer;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

/* hidden- state before reveal */
.feature-box[data-anim="slide-left"] {
  opacity: 0;
  transform: translateX(-90px);
}

.feature-box[data-anim="slide-right"] {
  opacity: 0;
  transform: translateX(90px);
}

.feature-box.anim-in[data-anim="slide-left"],
.feature-box.anim-in[data-anim="slide-right"] {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

/* Left-to-right sweep shimmer on the whole box */
.feature-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-swift);
  z-index: 5;
  pointer-events: none;
}

.feature-box:hover::before {
  transform: translateX(120%);
}

.feature-box .feature-img {
  height: 190px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.5s;
}

.feature-box:hover .feature-img {
  transform: scale(1.1) rotate(0.6deg);
}

.feature-body {
  position: relative;
  z-index: 2;
  padding: 22px 24px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

.feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--grad-orange);
  color: #fff;
  font-size: 1.3rem;
  box-shadow: var(--shadow-orange);
  transition: transform 0.45s var(--ease-bounce), border-radius 0.45s;
}

.feature-box:hover .feature-icon {
  transform: rotate(-8deg) scale(1.08);
  border-radius: 50%;
}

.feature-body h3 {
  font-size: 1.22rem;
  margin-bottom: 6px;
}

.feature-body p {
  font-size: 0.9rem;
  color: var(--du-muted);
}

.feature-num {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 4px 16px rgba(12, 12, 13, 0.45);
  line-height: 1;
  pointer-events: none;
}

/* Hover overlay — "Click Me Here" */
.feature-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  background: linear-gradient(160deg, rgba(12, 12, 13, 0.82), rgba(194, 65, 12, 0.82));
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.5s var(--ease-out), transform 0.55s var(--ease-swift);
}

.feature-box:hover .feature-overlay,
.feature-box:focus-within .feature-overlay {
  opacity: 1;
  transform: translateX(0);
}

.feature-overlay h4 {
  color: #fff;
  font-size: 1.3rem;
  transform: translateY(14px);
  transition: transform 0.5s 0.1s var(--ease-out);
}

.feature-box:hover .feature-overlay h4 {
  transform: translateY(0);
}

.feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  border-radius: var(--r-full);
  background: var(--du-orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transform: translateY(14px);
  transition: transform 0.5s 0.18s var(--ease-bounce), background 0.3s;
}

.feature-box:hover .feature-cta {
  transform: translateY(0);
}

.feature-cta:hover {
  background: #fff;
  color: var(--du-orange-deep);
}

.feature-cta i {
  animation: nudgeRight 1.1s ease-in-out infinite;
}

/* ---------------------------------------------------------------------------
   14. LEADERS — PRINCIPAL
   Theme: "Midnight Spotlight" — deep-ink cards with orange glow accents.
   Animation: cards sweep in from the left/right with a tilt-and-settle,
   portraits pop in afterwards, then float gently; conic light-ring spins
   around each photo; a shine sweeps across the card on hover.
   -------------------------------------------------------------------------- */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 460px));
  justify-content: center;
  gap: 44px;
  position: relative;
  z-index: 1;
}

.leader-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #1d1d20 0%, #121214 55%, #0b0b0d 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-xl);
  padding: 40px 30px 30px;
  text-align: center;
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateX(-90px) rotate(-6deg); /* enters from the left */
}

.leader-card:nth-child(2) {
  transform: translateX(90px) rotate(6deg); /* enters from the right */
}

/* top accent strip */
.leader-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-orange);
  z-index: 2;
}

/* diagonal shine that sweeps across on hover */
.leader-card::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 55%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.075) 50%,
    transparent 70%
  );
  transform: translateX(-160%) skewX(-12deg);
  transition: transform 0.9s var(--ease-out);
  pointer-events: none;
  z-index: 1;
}

.leader-card:hover::after {
  transform: translateX(320%) skewX(-12deg);
}

.leader-card.anim-in {
  opacity: 1;
  transform: translateX(0) rotate(0deg);
  transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-bounce),
    box-shadow 0.5s;
}

.leader-card.anim-in:hover {
  transform: translateY(-10px);
  box-shadow: 0 34px 70px -28px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 140, 0, 0.28),
    0 20px 55px -22px var(--du-orange-glow);
}

.leader-photo {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto 22px;
}

/* rotating conic light-ring around the portrait */
.leader-photo::before {
  content: "";
  position: absolute;
  inset: -13px;
  border-radius: 50%;
  background: conic-gradient(
    var(--du-orange) 0deg,
    transparent 70deg,
    var(--du-orange) 140deg,
    transparent 210deg,
    var(--du-orange) 290deg,
    transparent 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5.5px), #000 calc(100% - 4.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5.5px), #000 calc(100% - 4.5px));
  animation: spin 5.5s linear infinite;
}

/* soft pulsing spotlight glow behind the portrait */
.leader-photo::after {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--du-orange-glow) 0%, transparent 68%);
  opacity: 0.75;
  animation: leaderGlow 3s ease-in-out infinite;
  z-index: -1;
}

/* portraits pop in after the card settles, then float gently */
.leader-card.anim-in .leader-photo {
  animation: leaderPop 0.85s var(--ease-bounce) 0.3s both,
    leaderFloat 5s ease-in-out 1.4s infinite;
}

.leader-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 140, 0, 0.4);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 16px 42px -14px rgba(0, 0, 0, 0.65),
    0 0 36px -8px var(--du-orange-glow);
  transition: transform 0.6s var(--ease-bounce), border-color 0.4s;
}

.leader-card:hover .leader-photo img {
  transform: scale(1.07);
  border-color: var(--du-orange);
}

.leader-badge {
  position: absolute;
  z-index: 3;
  bottom: 6px;
  right: 2px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-orange);
  color: #fff;
  font-size: 1.05rem;
  border: 3px solid #161618;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.7);
}

.leader-card:hover .leader-badge {
  animation: leaderWiggle 0.6s ease;
}

.leader-role {
  position: relative;
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--r-full);
  background: linear-gradient(
    110deg,
    var(--du-orange-deep) 0%,
    var(--du-orange) 42%,
    #ffb066 50%,
    var(--du-orange) 58%,
    var(--du-orange-deep) 100%
  );
  background-size: 220% 100%;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
  overflow: hidden;
  animation: roleShine 3.4s linear infinite;
  box-shadow: 0 8px 18px -8px var(--du-orange-glow);
}

.leader-card h3 {
  color: #ffffff;
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.leader-edu {
  color: #a9a9b0;
  font-size: 0.84rem;
  margin-bottom: 14px;
}

.leader-quote {
  position: relative;
  font-size: 0.94rem;
  color: #e9e9ec;
  background: rgba(255, 255, 255, 0.055);
  border-left: 3px solid var(--du-orange);
  border-radius: var(--r-md);
  padding: 18px 18px 18px 44px;
  text-align: left;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.leader-quote::before {
  content: "\f10e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 15px;
  top: 14px;
  color: var(--du-orange);
  font-size: 1.15rem;
  text-shadow: 0 0 14px var(--du-orange-glow);
}

.leader-socials {
  display: flex;
  justify-content: center;
  gap: 9px;
}

.leader-socials a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f2f2f4;
  font-size: 0.85rem;
  transition: all 0.35s var(--ease-bounce);
}

.leader-socials a:hover {
  background: var(--grad-orange);
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px) rotate(6deg);
  box-shadow: 0 10px 24px -10px var(--du-orange-glow);
}

@keyframes leaderPop {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }
  70% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes leaderFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes leaderGlow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.05);
  }
}

@keyframes leaderWiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-14deg) scale(1.1);
  }
  60% {
    transform: rotate(12deg) scale(1.1);
  }
}

@keyframes roleShine {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ---------------------------------------------------------------------------
   15. STATS BAND
   -------------------------------------------------------------------------- */
.stats-band {
  background: var(--grad-dark);
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 90% at 8% 10%, rgba(249, 115, 22, 0.22), transparent 60%),
    radial-gradient(40% 80% at 92% 90%, rgba(249, 115, 22, 0.16), transparent 60%);
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.stat-item {
  text-align: center;
  padding: 18px 10px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, background 0.4s;
}

.stat-item:hover {
  transform: translateY(-8px);
  border-color: rgba(249, 115, 22, 0.55);
  background: rgba(249, 115, 22, 0.08);
}

.stat-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--grad-orange);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: var(--shadow-orange);
  animation: badgeFloat 4s ease-in-out infinite;
}

.stat-item:nth-child(2) .stat-icon { animation-delay: 0.5s; }
.stat-item:nth-child(3) .stat-icon { animation-delay: 1s; }
.stat-item:nth-child(4) .stat-icon { animation-delay: 1.5s; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.stat-num .plus {
  color: var(--du-orange);
}

.stat-label {
  color: #B9BAC0;
  font-size: 0.88rem;
  font-weight: 500;
}

/* ---------------------------------------------------------------------------
   16. GALLERY SLIDER — 20 images, 5 seconds each
   -------------------------------------------------------------------------- */
.gallery-slider {
  position: relative;
  z-index: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--du-black);
}

.gs-stage {
  position: relative;
  height: 540px;
  overflow: hidden;
}

.gs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.06);
  transition: opacity 1s var(--ease-out), transform 5.6s linear, visibility 1s;
  z-index: 1;
}

.gs-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.gs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 70px 36px 24px;
  background: linear-gradient(0deg, rgba(12, 12, 13, 0.85), transparent);
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.gs-caption h4 {
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gs-caption h4 i {
  color: var(--du-orange);
}

.gs-caption small {
  color: #FFD9B8;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-size: 0.72rem;
  white-space: nowrap;
}

/* controls */
.gs-controls {
  position: absolute;
  z-index: 6;
  inset: 0;
  pointer-events: none;
}

.gs-arrows {
  position: absolute;
  top: 50%;
  left: 22px;
  right: 22px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: auto;
}

.gs-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.95rem;
  background: rgba(12, 12, 13, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.35s, transform 0.35s var(--ease-bounce), background 0.3s;
}

.gallery-slider:hover .gs-arrow {
  opacity: 1;
  transform: scale(1);
}

.gs-arrow:hover {
  background: var(--du-orange);
}

.gs-counter {
  position: absolute;
  top: 22px;
  right: 26px;
  z-index: 7;
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: rgba(12, 12, 13, 0.55);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  backdrop-filter: blur(8px);
  font-variant-numeric: tabular-nums;
}

.gs-counter b {
  color: var(--du-orange);
  font-size: 1.05rem;
}

.gs-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 70%;
}

.gs-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: transform 0.3s var(--ease-bounce), background 0.3s, width 0.3s;
}

.gs-dot:hover {
  transform: scale(1.35);
}

.gs-dot.active {
  background: var(--du-orange);
  width: 26px;
  border-radius: var(--r-full);
}

/* 5s progress bar */
.gs-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  z-index: 8;
  background: var(--grad-orange);
  width: 0%;
}

.gs-progress.run {
  animation: gsProgress 3s linear forwards;
}

/* Thumbnail strip */
.gs-thumbs {
  display: flex;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border-top: 1px solid var(--du-line);
  overflow-x: auto;
  scrollbar-width: thin;
}

.gs-thumb {
  flex: 0 0 96px;
  height: 66px;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.55;
  border: 2px solid transparent;
  transition: opacity 0.3s, border-color 0.3s, transform 0.3s;
  padding: 0;
}

.gs-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-thumb:hover {
  opacity: 0.85;
  transform: translateY(-3px);
}

.gs-thumb.active {
  opacity: 1;
  border-color: var(--du-orange);
}

/* ---------------------------------------------------------------------------
   17. STUDENT SHOWCASE — orange & black uniform child (PNG)
   -------------------------------------------------------------------------- */
.student-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(46% 60% at 88% 18%, var(--du-orange-tint), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--du-cream) 100%);
}

.student-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.student-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.student-media .blob-bg {
  position: absolute;
  width: min(430px, 88%);
  aspect-ratio: 1;
  border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%;
  background: var(--grad-orange);
  opacity: 0.94;
  animation: blobMorph 9s ease-in-out infinite;
}

.student-media .blob-bg::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: inherit;
  border: 2px dashed rgba(255, 255, 255, 0.55);
}

.student-media .ring-bg {
  position: absolute;
  width: min(500px, 96%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(249, 115, 22, 0.4);
  animation: spin 26s linear infinite;
}

.student-cutout {
  position: relative;
  z-index: 2;
  height: 500px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  animation: studentBob 4.2s ease-in-out infinite;
  filter: drop-shadow(0 26px 30px rgba(12, 12, 13, 0.28));
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  background: #fff;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--du-ink);
  animation: badgeFloat 4s ease-in-out infinite;
}

.float-chip i {
  color: var(--du-orange);
}

.float-chip.chip-1 { top: 12%; left: 4%; animation-delay: 0.2s; }
.float-chip.chip-2 { top: 30%; right: 0%; animation-delay: 1.1s; }
.float-chip.chip-3 { bottom: 20%; left: 0%; animation-delay: 1.9s; }
.float-chip.chip-4 { bottom: 8%; right: 8%; animation-delay: 2.6s; }

.uniform-swatches {
  display: flex;
  gap: 12px;
  margin: 20px 0 26px;
}

.swatch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--du-line);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--du-ink);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease-bounce);
}

.swatch:hover {
  transform: translateY(-4px);
}

.swatch .dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--du-line);
}

.swatch .dot.orange { background: var(--du-orange); }
.swatch .dot.black  { background: var(--du-black); }
.swatch .dot.white  { background: #fff; }

/* ---------------------------------------------------------------------------
   18. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--grad-orange);
  overflow: hidden;
}

.cta-band .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-block: 54px;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  margin-bottom: 6px;
}

.cta-band p {
  color: #FFF1E4;
  max-width: 560px;
}

.cta-band .btn-black {
  box-shadow: 0 14px 34px rgba(12, 12, 13, 0.4);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: radial-gradient(#fff 2px, transparent 2.5px);
  background-size: 26px 26px;
  animation: patternDrift 22s linear infinite;
}

/* ---------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--grad-dark);
  color: #B9BAC0;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--grad-orange);
}

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr 1.1fr;
  gap: 44px;
  padding: 72px 0 48px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand .brand-text strong {
  color: #fff;
  font-size: 1.3rem;
}

.footer-brand p {
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.35s var(--ease-bounce);
}

.footer-socials a:hover {
  background: var(--grad-orange);
  transform: translateY(-5px) rotate(8deg);
  border-color: transparent;
}

.footer-title {
  color: #fff;
  font-size: 1.12rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-orange);
}

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

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #B9BAC0;
  transition: color 0.3s, transform 0.3s;
}

.footer-links a i {
  font-size: 0.6rem;
  color: var(--du-orange);
  transition: transform 0.3s;
}

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

.footer-contact li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.footer-contact li i {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(249, 115, 22, 0.14);
  color: var(--du-orange);
  font-size: 0.95rem;
}

.footer-contact li a:hover {
  color: var(--du-orange);
}

.footer-contact li strong {
  display: block;
  color: #fff;
  font-size: 0.86rem;
  margin-bottom: 2px;
}

.footer-newsletter {
  display: flex;
  margin-top: 6px;
  border-radius: var(--r-full);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.footer-newsletter input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 12px 18px;
  color: #fff;
  font-size: 0.88rem;
}

.footer-newsletter input::placeholder {
  color: #87898F;
}

.footer-newsletter button {
  padding: 0 20px;
  background: var(--grad-orange);
  color: #fff;
  transition: filter 0.3s;
}

.footer-newsletter button:hover {
  filter: brightness(1.12);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

/* Live visitor count pill (footer, every page) */
.visit-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.visit-count i {
  color: var(--du-orange);
  font-size: 0.78rem;
}

.visit-count strong {
  color: #fff;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: livePulse 1.8s ease-out infinite;
}

/* keep the pill clear of the fixed WhatsApp button on wide screens */
@media (min-width: 1151px) {
  .visit-count {
    margin-right: 96px;
  }
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }

  70% {
    box-shadow: 0 0 0 9px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.footer-bottom a {
  color: var(--du-orange);
  font-weight: 600;
}

.footer-bottom .made-with i {
  color: var(--du-red);
  animation: heartbeat 1.4s ease-in-out infinite;
  display: inline-block;
}

/* ---------------------------------------------------------------------------
   20. FLOATING WHATSAPP BUTTON + BACK TO TOP
   -------------------------------------------------------------------------- */
.float-wa {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0;
}

.wa-btn {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #25D366, #128C7E);
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.35s var(--ease-bounce);
  animation: waBeat 2.4s ease-in-out infinite;
}

.wa-btn:hover {
  transform: scale(1.14) rotate(6deg);
}

.wa-btn::before,
.wa-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.7);
  animation: waRipple 2.2s ease-out infinite;
  pointer-events: none;
}

.wa-btn::after {
  animation-delay: 1.1s;
}

.wa-tip {
  position: absolute;
  right: 74px;
  top: 50%;
  transform: translateY(-50%) translateX(12px);
  background: var(--du-black);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease-out);
  box-shadow: var(--shadow-md);
}

.wa-tip::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  margin-top: -5px;
  border: 5px solid transparent;
  border-right-color: var(--du-black);
}

.float-wa:hover .wa-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.wa-panel {
  position: fixed;
  right: 26px;
  bottom: 104px;
  z-index: 901;
  width: 320px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.94);
  transform-origin: bottom right;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-bounce), visibility 0.4s;
}

.wa-panel.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-panel-head {
  background: linear-gradient(145deg, #25D366, #128C7E);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-panel-head i {
  font-size: 1.6rem;
}

.wa-panel-head strong {
  display: block;
  font-size: 0.95rem;
}

.wa-panel-head small {
  font-size: 0.76rem;
  opacity: 0.9;
}

.wa-panel-body {
  padding: 16px 18px;
  background: #ECE5DD;
}

.wa-bubble {
  background: #fff;
  border-radius: 4px 14px 14px 14px;
  padding: 12px 14px;
  font-size: 0.86rem;
  color: var(--du-text);
  box-shadow: var(--shadow-xs);
  animation: popIn 0.5s 0.15s var(--ease-bounce) both;
}

.wa-panel-foot {
  padding: 13px 18px;
  text-align: center;
  background: #fff;
}

.wa-panel-foot a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 22px;
  border-radius: var(--r-full);
  transition: transform 0.3s var(--ease-bounce), filter 0.3s;
}

.wa-panel-foot a:hover {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.back-top {
  position: fixed;
  right: 32px;
  bottom: 104px;
  z-index: 890;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-dark);
  color: var(--du-orange);
  font-size: 1rem;
  box-shadow: var(--shadow-black);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.4s, transform 0.4s var(--ease-bounce), visibility 0.4s, background 0.3s;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--grad-orange);
  color: #fff;
  transform: translateY(-5px);
}

/* ---------------------------------------------------------------------------
   21. PAGE BANNER (inner pages)
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  padding: 88px 0 92px;
  background:
    linear-gradient(100deg, rgba(12, 12, 13, 0.88), rgba(194, 65, 12, 0.72)),
    url("../images/about-campus.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.page-banner .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  margin-bottom: 12px;
  animation: fadeUp 0.9s 0.15s var(--ease-out) both;
}

.page-banner p {
  color: #FFD9B8;
  max-width: 640px;
  margin: 0 auto;
  animation: fadeUp 0.9s 0.3s var(--ease-out) both;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeUp 0.9s var(--ease-out) both;
}

.breadcrumb a:hover {
  color: var(--du-orange);
}

.breadcrumb i {
  font-size: 0.55rem;
  color: var(--du-orange);
}

.banner-shape {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  animation: spin 30s linear infinite;
}

.banner-shape.s1 { width: 210px; height: 210px; top: -70px; left: -60px; }
.banner-shape.s2 { width: 150px; height: 150px; bottom: -50px; right: 6%; animation-direction: reverse; }

/* ---------------------------------------------------------------------------
   22. CONTENT CARDS / GENERIC GRID (inner pages)
   -------------------------------------------------------------------------- */
.info-card {
  background: #fff;
  border: 1px solid var(--du-line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.45s;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: #FFD9B8;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-swift);
}

.info-card:hover::before {
  transform: scaleX(1);
}

.info-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--du-orange-soft);
  color: var(--du-orange-deep);
  font-size: 1.35rem;
  margin-bottom: 18px;
  transition: all 0.45s var(--ease-bounce);
}

.info-card:hover .info-icon {
  background: var(--grad-orange);
  color: #fff;
  transform: rotate(-8deg) scale(1.06);
  border-radius: 50%;
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 9px;
}

.info-card p {
  font-size: 0.92rem;
  color: var(--du-muted);
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative;
  z-index: 1;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  position: relative;
  z-index: 1;
}

/* Text blocks with image */
.split-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.split-block > * {
  min-width: 0;
}

.split-block .block-media img {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  height: 420px;
  width: 100%;
  object-fit: cover;
}

.numbered-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--du-line);
}

.numbered-list li:last-child {
  border-bottom: none;
}

.numbered-list .n {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--grad-orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  box-shadow: var(--shadow-orange);
}

.numbered-list strong {
  display: block;
  color: var(--du-ink);
  margin-bottom: 3px;
}

.numbered-list p {
  font-size: 0.9rem;
  color: var(--du-muted);
}

/* ---------------------------------------------------------------------------
   23. TABLES (academics / admission / disclosure)
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-lg);
  border: 1px solid var(--du-line);
  box-shadow: var(--shadow-xs);
  background: #fff;
}

.du-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.92rem;
}

.du-table thead th {
  background: var(--grad-dark);
  color: #fff;
  text-align: left;
  padding: 15px 18px;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.du-table thead th:first-child {
  border-top-left-radius: var(--r-lg);
}

.du-table thead th:last-child {
  border-top-right-radius: var(--r-lg);
}

.du-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--du-line);
  vertical-align: top;
}

.du-table tbody tr {
  transition: background 0.25s;
}

.du-table tbody tr:nth-child(even) {
  background: var(--du-off);
}

.du-table tbody tr:hover {
  background: var(--du-orange-soft);
}

.du-table .t-strong {
  font-weight: 700;
  color: var(--du-ink);
}

.badge-yes {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(34, 197, 94, 0.13);
  color: var(--du-green-dark);
  font-weight: 700;
  font-size: 0.78rem;
}

.badge-no {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(239, 68, 68, 0.12);
  color: var(--du-red);
  font-weight: 700;
  font-size: 0.78rem;
}

/* ---------------------------------------------------------------------------
   24. ADMISSION — STEPS + FAQ
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
  z-index: 1;
}

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--du-line);
  border-radius: var(--r-lg);
  padding: 34px 24px 26px;
  text-align: center;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.step-card .step-n {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  box-shadow: var(--shadow-orange);
}

.step-card i.big {
  font-size: 1.9rem;
  color: var(--du-orange-deep);
  margin-bottom: 12px;
  display: inline-block;
}

.step-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--du-muted);
}

.faq-item {
  background: #fff;
  border: 1px solid var(--du-line);
  border-radius: var(--r-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.4s, border-color 0.4s;
}

.faq-item.open {
  border-color: #FFD9B8;
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  padding: 19px 22px;
  font-weight: 700;
  color: var(--du-ink);
  font-size: 0.99rem;
  transition: color 0.3s;
}

.faq-item.open .faq-q,
.faq-q:hover {
  color: var(--du-orange-deep);
}

.faq-q .faq-ico {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--du-orange-soft);
  color: var(--du-orange-deep);
  font-size: 0.8rem;
  transition: transform 0.4s var(--ease-swift), background 0.3s, color 0.3s;
}

.faq-item.open .faq-ico {
  transform: rotate(135deg);
  background: var(--grad-orange);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-swift);
}

.faq-a-inner {
  padding: 0 22px 20px;
  color: var(--du-muted);
  font-size: 0.93rem;
}

/* ---------------------------------------------------------------------------
   25. GALLERY PAGE — filter + grid + lightbox
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 38px;
  position: relative;
  z-index: 1;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--du-line);
  background: #fff;
  color: var(--du-ink);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.35s var(--ease-out);
}

.filter-btn:hover {
  border-color: var(--du-orange);
  color: var(--du-orange-deep);
  transform: translateY(-3px);
}

.filter-btn.active {
  background: var(--grad-orange);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}

.gallery-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  height: 220px;
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.gallery-item.anim-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-item.hide {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.12) rotate(1deg);
}

.gallery-item .gi-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(160deg, rgba(12, 12, 13, 0.7), rgba(194, 65, 12, 0.65));
  opacity: 0;
  transition: opacity 0.45s;
  text-align: center;
  padding: 14px;
}

.gallery-item:hover .gi-overlay {
  opacity: 1;
}

.gi-overlay i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--du-orange);
  color: #fff;
  transform: scale(0.5);
  transition: transform 0.45s var(--ease-bounce);
}

.gallery-item:hover .gi-overlay i {
  transform: scale(1);
}

.gi-overlay h4 {
  color: #fff;
  font-size: 1rem;
}

.gi-overlay small {
  color: #FFD9B8;
  font-size: 0.74rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(12, 12, 13, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lb-frame {
  position: relative;
  max-width: min(1000px, 90vw);
  animation: popIn 0.45s var(--ease-bounce);
}

.lb-frame img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--r-md);
  border: 4px solid rgba(255, 255, 255, 0.14);
  object-fit: contain;
  background: #000;
}

.lb-caption {
  text-align: center;
  color: #fff;
  margin-top: 14px;
  font-weight: 600;
}

.lb-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  transition: background 0.3s, transform 0.3s var(--ease-bounce);
}

.lb-close:hover {
  background: var(--du-orange);
  transform: rotate(90deg);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  display: grid;
  place-items: center;
  transition: background 0.3s, transform 0.3s;
}

.lb-nav:hover {
  background: var(--du-orange);
  transform: translateY(-50%) scale(1.1);
}

.lb-prev { left: 26px; }
.lb-next { right: 26px; }

/* ---------------------------------------------------------------------------
   25B. GALLERY PAGE — photos / videos split, event albums,
        individual event sections, video gallery + modal
   -------------------------------------------------------------------------- */

/* --- Photo / Video switch tabs ------------------------------------------- */
.media-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 760px;
  margin: 6px auto 0;
  position: relative;
  z-index: 1;
}

.media-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--r-lg);
  border: 2px solid var(--du-line);
  background: #fff;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s, background 0.4s;
}

.media-tab > i {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: #fff;
  background: var(--grad-dark);
  transition: background 0.4s, transform 0.4s var(--ease-bounce);
}

.media-tab .mt-label { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.media-tab .mt-label strong { font-size: 1.05rem; color: var(--du-ink); transition: color 0.4s; }
.media-tab .mt-label small { font-size: 0.76rem; color: var(--du-mute); letter-spacing: 0.4px; }

.media-tab .mt-dot {
  margin-left: auto;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--du-line);
  transition: all 0.4s;
}

.media-tab:hover { transform: translateY(-4px); border-color: rgba(249, 115, 22, 0.55); box-shadow: var(--shadow-orange); }
.media-tab:hover > i { transform: scale(1.08) rotate(-4deg); }

.media-tab.active {
  background: var(--grad-dark);
  border-color: transparent;
  box-shadow: 0 24px 50px rgba(12, 12, 13, 0.35);
}

.media-tab.active > i { background: var(--grad-orange); }
.media-tab.active .mt-label strong { color: #fff; }
.media-tab.active .mt-label small { color: #b9babf; }
.media-tab.active .mt-dot { background: var(--du-orange); border-color: var(--du-orange); box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.22); }

/* --- Panels (photos world / videos world) --------------------------------- */
.media-panel { display: none; }
.media-panel.active {
  display: block;
  animation: panelWorldIn 0.6s var(--ease-out);
}

@keyframes panelWorldIn {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Event cards (photo albums) ------------------------------------------- */
.event-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}

.event-cards.cards-hidden { display: none; }

.event-cards.cards-return { animation: edCardsIn 0.55s var(--ease-out); }

@keyframes edCardsIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

.event-card {
  background: #fff;
  border: 1px solid var(--du-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(34px) scale(0.97);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out),
              border-color 0.4s, box-shadow 0.4s;
}

.event-card.anim-in { opacity: 1; transform: translateY(0) scale(1); }

.event-card:hover,
.event-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: var(--shadow-lg);
  outline: none;
}

.event-card.current { border-color: var(--du-orange); box-shadow: var(--shadow-orange); }

.ec-cover { position: relative; display: block; height: 188px; overflow: hidden; }

.ec-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.event-card:hover .ec-cover img { transform: scale(1.1) rotate(1deg); }

.ec-count {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--r-full);
  background: rgba(12, 12, 13, 0.72);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.ec-count i { color: var(--du-orange); font-size: 0.78rem; }

.ec-lens {
  position: absolute;
  right: 14px;
  bottom: -46px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-orange);
  color: #fff;
  font-size: 0.85rem;
  box-shadow: var(--shadow-orange);
  transition: bottom 0.45s var(--ease-bounce);
}

.event-card:hover .ec-lens { bottom: 14px; }

.ec-body { padding: 18px 20px 22px; }

.ec-date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--r-full);
  background: rgba(249, 115, 22, 0.1);
  color: var(--du-orange-deep);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.ec-body h3 { margin: 12px 0 6px; font-size: 1.18rem; color: var(--du-ink); }
.ec-body p { color: var(--du-mute); font-size: 0.9rem; line-height: 1.65; }

.ec-open {
  margin-top: 13px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--du-ink);
  transition: color 0.35s, gap 0.35s;
}

.event-card:hover .ec-open { color: var(--du-orange-deep); gap: 14px; }

/* --- Individual event section (opens per event) ---------------------------- */
.event-detail {
  display: none;
  position: relative;
  margin-top: 40px;
  padding: 36px 36px 42px;
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, #131318, #1c1016 52%, #26120a);
  overflow: hidden;
  isolation: isolate;
}

.event-detail::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-orange);
  z-index: 2;
}

.event-detail::after {
  content: "";
  position: absolute;
  top: -110px;
  right: -110px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.24), transparent 68%);
  z-index: 0;
}

.event-detail.open {
  display: block;
  animation: edSectionIn 0.65s var(--ease-out);
}

@keyframes edSectionIn {
  from { opacity: 0; transform: translateY(46px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ed-back {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.35s, transform 0.35s, border-color 0.35s;
}

.ed-back:hover { background: var(--du-orange); border-color: transparent; transform: translateX(-4px); }

.ed-head { position: relative; z-index: 1; margin-top: 22px; }

.ed-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--du-orange);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.ed-tag i { font-size: 0.8rem; }

.ed-title {
  margin: 10px 0 8px;
  color: #fff;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.15;
}

.ed-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #FFD9B8;
  font-size: 0.9rem;
  font-weight: 600;
}

.ed-meta i { color: var(--du-orange); margin-right: 4px; }

.ed-desc {
  margin-top: 10px;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.7;
}

.ed-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.ed-grid .gallery-item { height: 212px; }

.ed-foot {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.ed-hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

.ed-hint i { color: var(--du-orange); }

/* --- YouTube video wall ----------------------------------------------------- */
.video-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}

.yt-card {
  background: #fff;
  border: 1px solid var(--du-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(34px) scale(0.97);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out),
              border-color 0.4s, box-shadow 0.4s;
}

.yt-card.anim-in { opacity: 1; transform: translateY(0) scale(1); }

.yt-card:hover,
.yt-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: var(--shadow-lg);
  outline: none;
}

.yt-slot {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #101014;
  overflow: hidden;
}

.yt-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.94;
  transition: transform 0.7s var(--ease-out);
}

.yt-card:hover .yt-poster { transform: scale(1.06); }

.yt-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 13, 0) 45%, rgba(12, 12, 13, 0.55));
  pointer-events: none;
}

.yt-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-orange);
  color: #fff;
  font-size: 1.1rem;
  padding-left: 4px;
  animation: playPulse 2.2s infinite;
  transition: transform 0.4s var(--ease-bounce);
  z-index: 1;
}

@keyframes playPulse {
  0%   { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5); }
  70%  { box-shadow: 0 0 0 20px rgba(249, 115, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.yt-card:hover .yt-play { transform: scale(1.16); }

.yt-live {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: rgba(12, 12, 13, 0.82);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.yt-live i { color: var(--du-orange); }

.yt-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.yt-body { padding: 18px 20px 22px; }

.yt-cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--r-full);
  background: rgba(249, 115, 22, 0.1);
  color: var(--du-orange-deep);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.yt-body h3 { margin: 12px 0 6px; font-size: 1.15rem; color: var(--du-ink); }
.yt-body p { color: var(--du-mute); font-size: 0.9rem; line-height: 1.65; }

.yt-date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: var(--du-mute);
  font-size: 0.78rem;
  font-weight: 600;
}

.yt-date i { color: var(--du-orange); }

.yt-note {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  border: 1px dashed rgba(249, 115, 22, 0.4);
  border-radius: var(--r-lg);
  background: rgba(249, 115, 22, 0.06);
  color: var(--du-mute);
  font-size: 0.87rem;
  line-height: 1.6;
}

.yt-note i { color: var(--du-orange); font-size: 1.25rem; flex-shrink: 0; }
.yt-note strong { color: var(--du-orange-deep); }

/* --- Responsive ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .event-cards { grid-template-columns: repeat(2, 1fr); }
  .video-wall { grid-template-columns: repeat(2, 1fr); }
  .ed-grid { grid-template-columns: repeat(3, 1fr); }
  .ed-grid .gallery-item { height: 190px; }
  .event-detail { padding: 28px 26px 34px; }
}

@media (max-width: 640px) {
  .media-tabs { grid-template-columns: 1fr; gap: 12px; }
  .media-tab { padding: 16px 18px; }
  .media-tab > i { width: 48px; height: 48px; font-size: 1.15rem; }
  .event-cards { grid-template-columns: 1fr; }
  .video-wall { grid-template-columns: 1fr; }
  .yt-body { padding: 16px 16px 20px; }
  .yt-play { width: 54px; height: 54px; font-size: 1rem; }
  .ed-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ed-grid .gallery-item { height: 132px; }
  .event-detail { padding: 24px 18px 28px; border-radius: var(--r-lg); }
  .ed-title { font-size: 1.5rem; }
  .yt-note { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; }
}

/* ---------------------------------------------------------------------------
   26. CONTACT + FORMS
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* single column — form removed, info card + map full width */
  gap: 40px;
  position: relative;
  z-index: 1;
  align-items: start;
}

/* Application form variant (admission page): slimmer info column */
.apply-grid {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.contact-info-card {
  background: var(--grad-dark);
  color: #d7d8db;
  border-radius: var(--r-xl);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
}

.contact-info-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.18);
}

.contact-info-card h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-info-card > p {
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.cic-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 1;
}

.cic-item:last-of-type {
  border-bottom: none;
}

.cic-item i {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(249, 115, 22, 0.15);
  color: var(--du-orange);
  font-size: 1rem;
  transition: transform 0.35s var(--ease-bounce);
}

.cic-item:hover i {
  transform: rotate(-10deg) scale(1.08);
}

.cic-item strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.cic-item a {
  color: var(--du-orange);
  font-weight: 600;
}

.cic-item a:hover {
  text-decoration: underline;
}

.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid #fff;
  margin-top: 24px;
  min-height: 240px;
  position: relative;
  background: var(--du-cream);
}

.map-frame iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
  filter: saturate(0.9);
}

/* Forms */
.form-card {
  background: #fff;
  border: 1px solid var(--du-line);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--du-ink);
}

.form-field label .req {
  color: var(--du-red);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--du-line);
  background: var(--du-off);
  font-size: 0.93rem;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--du-orange);
  background: #fff;
  box-shadow: 0 0 0 4px var(--du-orange-tint);
}

.form-field.error input,
.form-field.error select,
.form-field.error textarea {
  border-color: var(--du-red);
  background: #FFF5F5;
}

.err-msg {
  display: none;
  font-size: 0.76rem;
  color: var(--du-red);
  font-weight: 600;
}

.form-field.error .err-msg {
  display: block;
  animation: shake 0.4s;
}

.form-note {
  font-size: 0.8rem;
  color: var(--du-muted);
}

.radio-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-pill input {
  display: none;
}

.radio-pill span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--du-line);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.radio-pill input:checked + span {
  background: var(--grad-orange);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.form-success.show {
  display: block;
  animation: popIn 0.6s var(--ease-bounce);
}

.form-success .tick {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, 0.12);
  color: var(--du-green);
  font-size: 2.2rem;
  animation: pulseRing 2s infinite;
}

/* Toast */
.toast-zone {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 380px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--du-green);
  animation: toastIn 0.5s var(--ease-bounce);
  font-size: 0.88rem;
}

.toast.out {
  animation: toastOut 0.4s forwards;
}

.toast.err { border-left-color: var(--du-red); }
.toast.warn { border-left-color: #F59E0B; }

.toast i {
  font-size: 1.1rem;
  color: var(--du-green);
}

.toast.err i { color: var(--du-red); }
.toast.warn i { color: #F59E0B; }

.toast strong {
  display: block;
  color: var(--du-ink);
  font-size: 0.9rem;
}

.toast small {
  color: var(--du-muted);
}

/* ---------------------------------------------------------------------------
   27. SCROLL REVEAL SYSTEM
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  will-change: opacity, transform;
  min-width: 0;
  max-width: 100%;
}

.reveal.rv-left  { transform: translateX(-70px); }
.reveal.rv-right { transform: translateX(70px); }
.reveal.rv-zoom  { transform: scale(0.86); }

.reveal.anim-in {
  opacity: 1;
  transform: none;
}

.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.reveal.d5 { transition-delay: 0.5s; }
.reveal.d6 { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .reveal,
  .feature-box,
  .leader-card,
  .gallery-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------------------------------------------------------------------------
   28. KEYFRAMES LIBRARY
   -------------------------------------------------------------------------- */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spinRev {
  to { transform: rotate(-360deg); }
}

@keyframes kenburnsIn {
  0%   { transform: scale(1.02); }
  100% { transform: scale(1.22); }
}

@keyframes kenburnsOut {
  0%   { transform: scale(1.22); }
  100% { transform: scale(1.02); }
}

@keyframes dotProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes scrollNudge {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(10px); opacity: 0.4; }
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-5px) rotate(-2deg); }
}

@keyframes crestFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-10px) scale(1.04); }
}

@keyframes loadSlide {
  0%   { transform: translateX(-110%); }
  100% { transform: translateX(320%); }
}

@keyframes tagPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--du-orange-tint); }
  50%      { box-shadow: 0 0 0 9px rgba(249, 115, 22, 0.02); }
}

@keyframes btnSweep {
  0%       { left: -80%; }
  55%, 100%{ left: 130%; }
}

@keyframes tickerRun {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes bellSwing {
  0%, 100% { transform: rotate(0deg); }
  20%      { transform: rotate(16deg); }
  45%      { transform: rotate(-12deg); }
  70%      { transform: rotate(6deg); }
}

@keyframes slowZoomBreath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.045); }
}

@keyframes gsProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

@keyframes studentBob {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50%      { transform: translateY(-16px) rotate(0.6deg); }
}

@keyframes blobMorph {
  0%, 100% { border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%; transform: rotate(0deg) scale(1); }
  33%      { border-radius: 56% 44% 42% 58% / 44% 58% 42% 56%; transform: rotate(3deg) scale(1.03); }
  66%      { border-radius: 42% 58% 58% 42% / 56% 46% 54% 44%; transform: rotate(-3deg) scale(0.98); }
}

@keyframes patternDrift {
  from { background-position: 0 0; }
  to   { background-position: 260px 260px; }
}

@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 var(--du-orange-glow); }
  70%  { box-shadow: 0 0 0 18px rgba(249, 115, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

@keyframes waRipple {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.9); opacity: 0; }
}

@keyframes waBeat {
  0%, 100% { transform: scale(1); }
  12%      { transform: scale(1.09); }
  24%      { transform: scale(1); }
  36%      { transform: scale(1.06); }
  48%      { transform: scale(1); }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25%      { transform: scale(1.28); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-5px); }
  75%      { transform: translateX(5px); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(60px) scale(0.9); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastOut {
  to { opacity: 0; transform: translateX(60px) scale(0.9); }
}

@keyframes nudgeRight {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(5px); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ---------------------------------------------------------------------------
   29. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .features-grid { gap: 22px; }
  .gs-stage { height: 480px; }
  .leaders-grid { grid-template-columns: repeat(2, minmax(0, 420px)); gap: 30px; }
}

@media (max-width: 1150px) {
  :root { --nav-h: 74px; }

  .navbar { display: none; }
  .hamburger { display: block; }
  .nav-cta { display: none; }

  .welcome-grid { grid-template-columns: 1fr; gap: 70px; }
  .welcome-media .sub-shot { right: 10px; }

  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 22px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }

  .split-block { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .student-grid { grid-template-columns: 1fr; gap: 30px; }
  .student-media { min-height: 460px; order: -1; }
  .student-cutout { height: 420px; }
}

@media (max-width: 860px) {
  .section { padding: 72px 0; }

  .topbar-left .topbar-item:nth-child(3) { display: none; }

  .hero-slider { height: 78vh; min-height: 540px; }
  .hero-badge-card { display: none; }
  .hero-arrows { right: 50%; transform: translateX(50%); bottom: 88px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-box { min-height: 0; }

  .leaders-grid { grid-template-columns: minmax(0, 460px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gs-stage { height: 400px; }
  .gs-caption { padding: 54px 20px 18px; }
  .gs-caption h4 { font-size: 1rem; flex-direction: column; align-items: flex-start; gap: 3px; }

  .cards-grid-3 { grid-template-columns: 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item { height: 190px; }

  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .check-list { grid-template-columns: minmax(0, 1fr); }

  .footer-top { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 36px; }
  .footer-bottom .container { justify-content: center; text-align: center; }

  .welcome-media .main-shot { height: 340px; }
  .welcome-media .sub-shot { width: 170px; height: 150px; bottom: -34px; }

  .float-wa { right: 18px; bottom: 18px; }
  .wa-panel { right: 18px; width: min(320px, calc(100vw - 36px)); }
  .back-top { right: 22px; bottom: 96px; }

  .cta-band .container { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }

  body { font-size: 15px; }

  .topbar { font-size: 0.74rem; }
  .topbar-left .topbar-item:nth-child(2) { display: none; }
  .topbar-clock { display: none; }

  .brand-text strong { font-size: 1.02rem; }
  .brand-logo { width: 46px; height: 46px; }

  .hero-title { font-size: 1.9rem; }
  .hero-btns .btn { width: 100%; }
  .hero-dots { bottom: 26px; }

  .steps-grid { grid-template-columns: 1fr; gap: 34px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-num { font-size: 1.9rem; }

  .gs-stage { height: 300px; }
  .gs-thumbs { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { height: 210px; }

  .leader-photo { width: 160px; height: 160px; }
  .student-cutout { height: 360px; }
  .student-media { min-height: 400px; }

  .float-chip { font-size: 0.72rem; padding: 8px 12px; }
  .float-chip.chip-2 { right: -4px; }

  .form-card { padding: 28px 20px; }
  .section-head { margin-bottom: 40px; }

  .toast-zone { right: 14px; top: 14px; }
  .toast { min-width: 0; width: calc(100vw - 28px); }
}

/* ---------------------------------------------------------------------------
   30. OFFICIAL DOCUMENTS LIST — Mandatory Disclosure page
   Rows flex on desktop; on small screens the button drops below the name
   so it is always visible without horizontal scrolling.
   -------------------------------------------------------------------------- */
.doc-list {
  background: #fff;
  border: 1px solid var(--du-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 15px 22px;
  border-bottom: 1px solid var(--du-line);
  transition: background 0.3s;
}

.doc-row:last-child {
  border-bottom: none;
}

.doc-row:nth-child(even) {
  background: var(--du-cream);
}

.doc-row:hover {
  background: var(--du-orange-soft);
}

.doc-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--du-ink);
  min-width: 0;
}

.doc-name i {
  color: var(--du-orange);
  font-size: 1.05rem;
  width: 22px;
  text-align: center;
}

@media (max-width: 560px) {
  .doc-row {
    padding: 14px 16px;
  }

  .doc-row .doc-view {
    width: 100%;
    justify-content: center;
  }
}

/* ---------------------------------------------------------------------------
   31. PRINCIPAL'S DESK — About page (image banner · orange line strokes)
   -------------------------------------------------------------------------- */
.principal-desk {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 52px;
  align-items: center;
  border-radius: var(--r-xl);
  padding: 60px 56px;
  background: linear-gradient(140deg, #131318 0%, #1c1016 48%, #26120a 100%);
  box-shadow: var(--shadow-lg);
}

/* ---- the image background (campus photo, slowly drifting) ---- */
.pd-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/about-campus.jpg") center 32% / cover no-repeat;
  opacity: 0.4;
  transform: scale(1.05);
  animation: pdBgDrift 20s ease-in-out infinite alternate;
}

/* dark readability overlay + warm orange glow from the photo side */
.pd-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(620px 460px at 88% 18%, rgba(249, 115, 22, 0.3), transparent 62%),
    linear-gradient(100deg, rgba(12, 12, 16, 0.97) 0%, rgba(12, 12, 16, 0.9) 44%, rgba(12, 12, 16, 0.5) 100%);
}

/* diagonal bands (top-right & bottom-left) like a banner split */
.pd-diag {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.pd-diag.d1 {
  top: -56px;
  right: -80px;
  width: 400px;
  height: 128px;
  background: rgba(249, 115, 22, 0.16);
  border-left: 4px solid rgba(249, 115, 22, 0.45);
  transform: rotate(-16deg);
}

.pd-diag.d2 {
  bottom: -74px;
  left: -100px;
  width: 360px;
  height: 116px;
  background: rgba(255, 255, 255, 0.06);
  transform: rotate(-14deg);
}

/* white rings with orange cores — banner decorations */
.pd-ring {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  animation: pdRingFloat 6.5s ease-in-out infinite;
}

.pd-ring-1 {
  top: 34px;
  left: 43%;
  width: 78px;
  height: 78px;
  border: 11px solid rgba(255, 255, 255, 0.95);
}

.pd-ring-2 {
  bottom: 40px;
  left: 4%;
  width: 46px;
  height: 46px;
  border: 8px solid rgba(255, 255, 255, 0.8);
  animation-delay: 1.1s;
}

.pd-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--du-orange);
}

.pd-ring-1::after { width: 24px; height: 24px; }
.pd-ring-2::after { width: 13px; height: 13px; }

/* orange corner line strokes — draw in when the banner reveals */
.pd-corner {
  position: absolute;
  z-index: 1;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1), height 1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
}

.pd-corner.c1 {
  top: 24px;
  right: 26px;
  border-top: 4px solid var(--du-orange);
  border-right: 4px solid var(--du-orange);
  border-radius: 0 22px 0 0;
  transition-delay: 0.35s;
}

.pd-corner.c2 {
  bottom: 24px;
  left: 26px;
  border-bottom: 4px solid var(--du-orange);
  border-left: 4px solid var(--du-orange);
  border-radius: 0 0 0 22px;
  transition-delay: 0.55s;
}

.principal-desk.anim-in .pd-corner {
  width: 130px;
  height: 130px;
  opacity: 0.9;
}

/* ---- info column ---- */
.pd-info {
  position: relative;
  z-index: 1;
  color: #fff;
}

.pd-info > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.principal-desk.anim-in .pd-info > * {
  opacity: 1;
  transform: none;
}

.principal-desk.anim-in .pd-info > *:nth-child(1) { transition-delay: 0.05s; }
.principal-desk.anim-in .pd-info > *:nth-child(2) { transition-delay: 0.14s; }
.principal-desk.anim-in .pd-info > *:nth-child(3) { transition-delay: 0.23s; }
.principal-desk.anim-in .pd-info > *:nth-child(4) { transition-delay: 0.32s; }
.principal-desk.anim-in .pd-info > *:nth-child(5) { transition-delay: 0.41s; }
.principal-desk.anim-in .pd-info > *:nth-child(6) { transition-delay: 0.55s; }
.principal-desk.anim-in .pd-info > *:nth-child(7) { transition-delay: 0.64s; }

.pd-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 18px;
  border-radius: var(--r-full);
  background: rgba(249, 115, 22, 0.18);
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: #ffd9b8;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.pd-info h3 {
  font-size: 2.5rem;
  line-height: 1.12;
  margin: 14px 0 6px;
  color: #fff;
}

.pd-quals {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffb37a;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.pd-quals i {
  color: var(--du-orange);
}

.pd-quote {
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--du-orange);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-size: 0.97rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
}

.pd-exp-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 16px;
}

.pd-exp-title i {
  color: var(--du-orange);
}

/* work-experience timeline — connected by an orange line stroke */
.pd-timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}

.pd-timeline li {
  position: relative;
  padding: 0 0 18px 36px;
}

.pd-timeline li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 16px;
  bottom: -2px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(var(--du-orange), rgba(255, 140, 0, 0.15));
}

.pd-timeline li:last-child::before {
  display: none;
}

.pd-dot {
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #141419;
  border: 4px solid var(--du-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.22);
}

.pd-timeline strong {
  display: block;
  font-size: 0.98rem;
  color: #fff;
}

.pd-timeline small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.85rem;
}

li.pd-now .pd-dot {
  background: var(--du-orange);
  animation: pdPulse 2s ease-out infinite;
}

li.pd-now strong {
  color: #ffb37a;
}

@keyframes pdPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.55);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(255, 140, 0, 0);
  }
}

.pd-cta {
  margin-top: 2px;
}

/* ---- photo column (framed portrait, pops in & floats) ---- */
.pd-photo {
  position: relative;
  z-index: 1;
  width: min(320px, 100%);
  margin: 0 auto;
  padding: 14px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

/* offset orange stroke frame behind the portrait */
.pd-photo::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 3px solid var(--du-orange);
  border-radius: var(--r-lg);
  opacity: 0.55;
  transform: rotate(-2.5deg);
  z-index: -1;
}

.principal-desk.anim-in .pd-photo {
  animation: pdPop 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.25s both, pdFloat 5.5s ease-in-out 1.5s infinite;
}

.pd-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--r-md);
}

@keyframes pdBgDrift {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.13) translateX(-14px);
  }
}

@keyframes pdPop {
  0% {
    opacity: 0;
    transform: translateX(90px) scale(0.9) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0);
  }
}

@keyframes pdFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pdRingFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(10deg);
  }
}

/* single leader card (index page) centres itself */
.leaders-grid .leader-card:only-child {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .principal-desk {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    padding: 34px 22px;
  }

  .pd-photo {
    order: -1;
    width: min(270px, 88%);
  }

  .pd-info h3 {
    font-size: 1.75rem;
  }

  .pd-ring-1 {
    left: auto;
    right: 10%;
    top: 20px;
    width: 58px;
    height: 58px;
    border-width: 8px;
  }

  .pd-ring-2 {
    display: none;
  }

  .principal-desk.anim-in .pd-corner {
    width: 86px;
    height: 86px;
  }

  .pd-diag.d1 {
    width: 260px;
    height: 84px;
  }
}

/* ---------------------------------------------------------------------------
   32. ACADEMICS — four tables, four different animations
   -------------------------------------------------------------------------- */

/* shared helpers for the narrow centred tables */
.narrow-table {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.narrow-table .du-table {
  min-width: 0;
}

.table-note {
  max-width: 680px;
  margin: 18px auto 0;
  text-align: center;
  color: var(--du-muted);
  font-size: 0.9rem;
}

.table-note i {
  color: var(--du-orange);
  margin-right: 6px;
}

/* ==================== 1) CLASS & AGE — rows cascade from the left, age chips pop ==================== */
.table-rows tbody tr {
  opacity: 0;
  transform: translateX(-52px) scale(0.985);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.3, 1);
  will-change: opacity, transform;
}

.table-rows.anim-in tbody tr {
  opacity: 1;
  transform: none;
}

.table-rows .age-chip {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--r-full);
  background: var(--du-orange-soft);
  border: 2px solid var(--du-orange);
  color: var(--du-orange-deep);
  font-weight: 800;
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.35s ease calc(var(--i, 0) * 55ms + 180ms), transform 0.5s cubic-bezier(0.2, 1.2, 0.3, 1.5) calc(var(--i, 0) * 55ms + 180ms);
}

.table-rows.anim-in .age-chip {
  opacity: 1;
  transform: none;
}

.table-rows tbody tr:hover {
  background: var(--du-orange-soft);
}

/* ==================== 2) FEE REGULATIONS — card flip-in + shine sweep on the header ==================== */
.table-flip {
  perspective: 1400px;
}

.table-flip .du-table {
  opacity: 0;
  transform: rotateX(72deg) translateY(42px);
  transform-origin: 50% 0;
  transition: opacity 0.55s ease 0.1s, transform 0.95s cubic-bezier(0.2, 0.85, 0.3, 1.02) 0.1s;
  will-change: opacity, transform;
}

.table-flip.anim-in .du-table {
  opacity: 1;
  transform: none;
}

/* shine sweeps across the dark header once the flip lands */
.table-flip thead th {
  position: relative;
  overflow: hidden;
}

.table-flip.anim-in thead th::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.45) 50%, transparent 75%);
  transform: translateX(-130%);
  animation: feeShine 1.1s ease 0.95s 1 both;
  pointer-events: none;
}

@keyframes feeShine {
  to {
    transform: translateX(130%);
  }
}

.table-flip tbody td strong {
  color: var(--du-orange-deep);
}

.table-flip tbody td i {
  color: var(--du-orange);
  margin-right: 4px;
}

/* ==================== 3) EXAMINATIONS — rows scan in with an orange glow wash ==================== */
.table-scan tbody tr {
  opacity: 0;
}

.table-scan.anim-in tbody tr {
  animation: scanRow 0.8s ease both;
}

.table-scan.anim-in tbody tr:nth-child(1) { animation-delay: 0.15s; }
.table-scan.anim-in tbody tr:nth-child(2) { animation-delay: 0.42s; }
.table-scan.anim-in tbody tr:nth-child(3) { animation-delay: 0.69s; }
.table-scan.anim-in tbody tr:nth-child(4) { animation-delay: 0.96s; }

@keyframes scanRow {
  0% {
    opacity: 0;
    transform: translateX(46px);
    box-shadow: inset 0 0 0 200px rgba(249, 115, 22, 0.32);
  }
  35% {
    opacity: 1;
  }
  70% {
    box-shadow: inset 0 0 0 200px rgba(249, 115, 22, 0.16);
  }
  100% {
    opacity: 1;
    transform: none;
    box-shadow: inset 0 0 0 200px rgba(249, 115, 22, 0);
  }
}

.exam-chip {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  padding: 3px 10px;
  margin-right: 8px;
  border-radius: var(--r-full);
  background: var(--du-orange);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

.exam-chip.exam-alt {
  background: #16161a;
}

.table-scan tbody tr:hover {
  background: var(--du-orange-soft);
}

/* ==================== 4) DISCIPLINE POLICY — rules zigzag in from alternating sides ==================== */
.rules-zig {
  list-style: none;
  counter-reset: rule;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
}

.rules-zig li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--du-line);
  border-radius: var(--r-md);
  padding: 15px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-xs);
  opacity: 0;
  transform: translateX(-70px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1), border-color 0.3s ease;
  will-change: opacity, transform;
}

.rules-zig li:nth-child(even) {
  transform: translateX(70px);
}

.rules-zig.anim-in li {
  opacity: 1;
  transform: none;
}

.rules-zig.anim-in li:hover {
  transform: translateX(8px);
  border-color: var(--du-orange);
}

.rules-zig .rule-num {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-orange, var(--du-orange));
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 5px 12px rgba(249, 115, 22, 0.35);
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 0.35s ease calc(var(--i, 0) * 90ms + 260ms), transform 0.5s cubic-bezier(0.2, 1.3, 0.3, 1.5) calc(var(--i, 0) * 90ms + 260ms);
}

.rules-zig.anim-in .rule-num {
  opacity: 1;
  transform: none;
}

.rules-zig li p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--du-text);
}

@media (max-width: 560px) {
  .rules-zig li {
    gap: 12px;
    padding: 13px 14px;
  }

  .rules-zig .rule-num {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .age-chip {
    min-width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }
}

/* ============================================================================
   33. VOICE BUTTON — floating tap-to-play audio control
        home      : replays the welcome greeting (voice/welcome.mp3)
        about     : plays the school audio message (voice/about-voice.mp3)
        facilities: plays the facilities audio message (voice/facilities-voice.mp3)
   ============================================================================ */
.voice-fab {
  position: fixed;
  left: 26px;
  bottom: 26px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* --- the round orange button --- */
.vf-circle {
  position: relative;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--du-orange), var(--du-orange-deep));
  color: #fff;
  font-size: 1.25rem;
  box-shadow:
    0 12px 30px var(--du-orange-glow),
    inset 0 0 0 3px rgba(255, 255, 255, 0.22);
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s;
}

.voice-fab:hover .vf-circle {
  transform: scale(1.1) rotate(-5deg);
  box-shadow:
    0 16px 38px var(--du-orange-glow),
    inset 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.voice-fab:active .vf-circle {
  transform: scale(0.93);
}

/* expanding pulse ring while the audio plays */
.vf-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 3px solid var(--du-orange);
  opacity: 0;
  pointer-events: none;
}

.voice-fab.playing .vf-pulse {
  animation: vfPulse 1.9s ease-out infinite;
}

@keyframes vfPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

/* equalizer bars — visible only while playing */
.vf-eq {
  display: none;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.voice-fab.playing .vf-eq {
  display: flex;
}

.voice-fab.playing .vf-ic-idle {
  display: none;
}

.vf-eq b {
  width: 4px;
  height: 32%;
  border-radius: 2px;
  background: #fff;
  animation: vfBounce 0.85s ease-in-out infinite;
}

.vf-eq b:nth-child(2) {
  animation-delay: 0.17s;
}

.vf-eq b:nth-child(3) {
  animation-delay: 0.34s;
}

.vf-eq b:nth-child(4) {
  animation-delay: 0.51s;
}

@keyframes vfBounce {
  0%,
  100% {
    height: 32%;
  }
  50% {
    height: 100%;
  }
}

/* --- label pill --- */
.vf-pill {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--du-black);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  white-space: nowrap;
  border: 2px solid rgba(249, 115, 22, 0.4);
  box-shadow: var(--shadow-black);
  transition: background 0.3s, border-color 0.3s;
}

.voice-fab:hover .vf-pill {
  background: #000;
  border-color: var(--du-orange);
}

/* gentle attention glow until the visitor starts the audio
   (animates box-shadow only — never the transform, so the button's
   bounding box stays perfectly still for taps and automation) */
.voice-fab:not(.playing) .vf-pill {
  animation: vfNudge 2.6s ease-in-out infinite;
}

@keyframes vfNudge {
  0%,
  100% {
    box-shadow: var(--shadow-black), 0 0 0 0 rgba(249, 115, 22, 0);
  }
  50% {
    box-shadow: var(--shadow-black), 0 0 0 7px rgba(249, 115, 22, 0.2);
  }
}

@media (max-width: 560px) {
  .voice-fab {
    left: 18px;
    bottom: 18px;
    gap: 9px;
  }

  .vf-circle {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    font-size: 1.1rem;
  }

  .vf-pill {
    padding: 8px 13px;
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voice-fab.playing .vf-pulse,
  .vf-eq b,
  .voice-fab:not(.playing) .vf-pill {
    animation: none;
  }
}

/* ============================================================================
   34. FACILITIES — hover image cards (link to fac/<facility>.html pages),
        facility detail page helpers (facts · photo strip · pager)
   ============================================================================ */
.fac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.fac-card {
  position: relative;
  display: block;
  height: 320px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--du-black);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  -webkit-tap-highlight-color: transparent;
}

.fac-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out), filter 0.5s;
}

.fac-card:hover,
.fac-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  outline: none;
}

.fac-card:hover img,
.fac-card:focus-visible img {
  transform: scale(1.12);
}

/* dark shade: soft at rest, warm orange tint on hover */
.fac-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 13, 0.05) 25%, rgba(12, 12, 13, 0.82) 76%);
  transition: background 0.45s;
  pointer-events: none;
}

.fac-card:hover .fac-shade,
.fac-card:focus-visible .fac-shade {
  background: linear-gradient(180deg, rgba(194, 65, 12, 0.28) 0%, rgba(12, 12, 13, 0.9) 78%);
}

/* orange hairline that frames the card on hover */
.fac-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 0 var(--du-orange);
  transition: box-shadow 0.45s;
  pointer-events: none;
}

.fac-card:hover::after,
.fac-card:focus-visible::after {
  box-shadow: inset 0 0 0 3px var(--du-orange);
}

/* floating icon chip */
.fac-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--du-orange), var(--du-orange-deep));
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 10px 24px var(--du-orange-glow);
  opacity: 0;
  transform: translateY(-14px) rotate(-10deg);
  transition: opacity 0.4s, transform 0.45s var(--ease-bounce);
  pointer-events: none;
}

.fac-card:hover .fac-icon,
.fac-card:focus-visible .fac-icon {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

/* caption block pinned to the bottom */
.fac-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 22px 22px;
  color: #fff;
  pointer-events: none;
}

.fac-body h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.fac-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #e7e7e9;
  max-height: 0;
  opacity: 0;
  transform: translateY(12px);
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s, transform 0.5s var(--ease-out);
}

.fac-card:hover .fac-body p,
.fac-card:focus-visible .fac-body p {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
}

.fac-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--du-orange);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s 0.08s, transform 0.45s 0.08s var(--ease-out);
}

.fac-card:hover .fac-cta,
.fac-card:focus-visible .fac-cta {
  opacity: 1;
  transform: translateY(0);
}

.fac-cta i {
  transition: transform 0.3s;
}

.fac-card:hover .fac-cta i {
  transform: translateX(4px);
}

/* touch devices: no hover — keep the caption compact but readable */
@media (hover: none) {
  .fac-shade {
    background: linear-gradient(180deg, rgba(12, 12, 13, 0.25) 0%, rgba(12, 12, 13, 0.85) 26%, rgba(12, 12, 13, 0.97) 45%);
  }

  .fac-body h3 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  }

  .fac-body p {
    max-height: 66px;
    opacity: 1;
    transform: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .fac-cta {
    opacity: 1;
    transform: none;
  }

  .fac-icon {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1000px) {
  .fac-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .fac-grid {
    grid-template-columns: 1fr;
  }

  .fac-card {
    height: 270px;
  }
}

/* --- facility detail page: quick facts --- */
.fac-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.fac-facts .fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px;
  border-radius: 16px;
  background: var(--du-orange-soft);
  border: 1.5px solid rgba(249, 115, 22, 0.25);
}

.fac-facts .fact strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--du-orange-deep);
}

.fac-facts .fact small {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--du-text);
}

/* --- facility detail page: photo strip --- */
.fac-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.fac-strip figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.fac-strip figure:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.fac-strip img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.fac-strip figcaption {
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--du-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.fac-strip figcaption::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--du-orange);
  flex: 0 0 22px;
}

@media (max-width: 620px) {
  .fac-strip {
    grid-template-columns: 1fr;
  }

  .fac-strip img {
    height: 230px;
  }
}

/* --- facility detail page: prev / all / next pager --- */
.fac-pager {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.fac-pager .pager-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid rgba(12, 12, 13, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.35s;
}

.fac-pager .pager-btn i {
  color: var(--du-orange);
  font-size: 1.05rem;
  transition: transform 0.3s;
}

.fac-pager .pager-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.fac-pager .pager-btn small {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--du-text);
  opacity: 0.7;
}

.fac-pager .pager-btn strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--du-black);
}

.fac-pager .pager-btn:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: var(--shadow-md);
}

.fac-pager .pager-btn:hover i:first-child {
  transform: translateX(-4px);
}

.fac-pager .pager-btn.next:hover i {
  transform: translateX(4px);
}

.fac-pager .pager-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--du-black);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.35s var(--ease-out), background 0.3s;
}

.fac-pager .pager-all i {
  color: var(--du-orange);
}

.fac-pager .pager-all:hover {
  transform: translateY(-3px);
  background: #000;
}

@media (max-width: 620px) {
  .fac-pager .pager-all {
    order: -1;
    width: 100%;
    justify-content: center;
  }

  .fac-pager .pager-btn strong {
    font-size: 0.92rem;
  }
}
