/* ==========================================================================
   DADDA PUBLIC SCHOOL - MODERN ACADEMIC DESIGN SYSTEM
   Clean, prestigious corporate-academic institution styling (Estd. 1992 | CBSE #2130731)
   Reference: jaipuria.ac.in
   ========================================================================== */

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

:root {
  /* Jaipuria Color Palette */
  --color-primary: #0f3256;         /* Corporate Institutional Navy */
  --color-primary-dark: #0a2240;    /* Dark Navy */
  --color-primary-light: #164775;   /* Medium Navy */
  --color-navy-bar: #0f3256;        /* Solid Navigation Bar */

  --color-orange: #ea580c;         /* Vibrant Jaipuria Orange */
  --color-orange-hover: #c2410c;   /* Darker Orange Hover */
  --color-orange-light: #ffedd5;   /* Orange Tint */

  --color-gold: #f59e0b;           /* Gold Accent */
  --color-cyan: #0284c7;           /* Sky / Cyan */
  --color-emerald: #10b981;        /* Success Emerald */

  /* Neutrals */
  --bg-body: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f8fafc;
  --bg-subtle: #f1f5f9;
  --border-light: #e2e8f0;
  --border-dark: #cbd5e1;

  --text-main: #1e293b;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 50, 86, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 50, 86, 0.12);
  --shadow-xl: 0 20px 35px rgba(15, 50, 86, 0.15);

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1260px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 180ms ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* Container */
.aps-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

/* ==========================================================================
   JAIPURIA-STYLE HEADER (2-TIER: WHITE TOP + SOLID NAVY BAR)
   ========================================================================== */
/* Top White Utility Tier */
.header-top-tier {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 0;
  position: relative;
  z-index: 105;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-width: 0;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.brand-emblem {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.brand-main-title {
  font-family: var(--font-heading);
  font-size: 1.42rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-sub-title {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 2px;
  white-space: nowrap;
}

.brand-accreditation-seal {
  border-left: 1.5px solid var(--border-light);
  padding-left: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.seal-title {
  font-size: 0.80rem;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.seal-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

/* Header Right Utility Links & Orange Apply Button */
.header-top-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-shrink: 0;
}

.header-utility-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-utility-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color 150ms ease;
  white-space: nowrap;
}

.header-utility-link:hover {
  color: var(--color-orange);
}

.btn-jaipuria-apply {
  background: var(--color-orange);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.65rem 1.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
  transition: all 200ms ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.btn-jaipuria-apply:hover {
  background: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
}

/* ==========================================================================
   HINDI / ENGLISH LANGUAGE TRANSLATOR COMPONENT
   ========================================================================== */
.header-lang-switcher {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.lang-segmented-control {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1;
  transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
}

.lang-btn:hover {
  color: var(--color-primary-dark);
}

.lang-code {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  background: rgba(15, 50, 86, 0.08);
  color: var(--color-primary);
  letter-spacing: 0.05em;
  transition: all 200ms ease;
}

.lang-btn.active {
  background: #ffffff;
  color: var(--color-primary-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: default;
}

.lang-btn[data-lang="hi"].active {
  color: var(--color-orange-hover);
}

.lang-btn[data-lang="hi"].active .lang-code {
  background: #ffedd5;
  color: var(--color-orange);
}

.lang-btn[data-lang="en"].active .lang-code {
  background: #e0f2fe;
  color: #0284c7;
}

/* Mobile Drawer Language Section */
.drawer-lang-section {
  padding: 0.85rem 1.25rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.drawer-lang-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.drawer-lang-label i {
  color: var(--color-orange);
  font-size: 0.95rem;
}

.lang-segmented-control.mobile-control {
  width: 100%;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 3px;
  display: flex;
  box-sizing: border-box;
}

.lang-segmented-control.mobile-control .lang-btn {
  flex: 1;
  justify-content: center;
  color: var(--text-dark);
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-segmented-control.mobile-control .lang-btn .lang-code {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  background: rgba(15, 50, 86, 0.08);
  color: var(--color-primary);
}

.lang-segmented-control.mobile-control .lang-btn.active {
  background: #ffffff;
  color: var(--color-primary-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-segmented-control.mobile-control .lang-btn.active .lang-code {
  background: #e0f2fe;
  color: #0284c7;
}

.lang-segmented-control.mobile-control .lang-btn[data-lang="hi"].active {
  color: var(--color-orange);
}

.lang-segmented-control.mobile-control .lang-btn[data-lang="hi"].active .lang-code {
  background: #ffedd5;
  color: var(--color-orange);
}

/* Side Dock Language Toggle */
.side-dock-item.lang-dock-item {
  background: #0f3256;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  border: none;
}

.side-dock-item.lang-dock-item:hover {
  background: var(--color-orange);
}

.dock-lang-icon {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.02em;
}

/* Tier 2: Main Solid Navy Navigation Bar */
.main-navbar-bar {
  background: var(--color-navy-bar);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.navbar-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nav-item-j {
  position: relative;
}

.nav-link-j {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 0.95rem;
  font-size: 0.91rem;
  font-weight: 700;
  color: #ffffff;
  transition: all 180ms ease;
  white-space: nowrap;
}

.nav-link-j > i:not(.fa-chevron-down) {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  transition: transform 180ms ease, color 180ms ease;
}

.nav-link-j:hover > i:not(.fa-chevron-down),
.nav-link-j.active > i:not(.fa-chevron-down) {
  color: var(--color-orange);
  transform: translateY(-1px);
}

.nav-link-j i.fa-chevron-down {
  font-size: 0.62rem;
  opacity: 0.75;
  transition: transform 180ms ease;
  margin-left: 2px;
}

.nav-link-j:hover,
.nav-link-j.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.nav-item-j:hover .nav-link-j i.fa-chevron-down {
  transform: rotate(180deg);
}

/* Clean Dropdown Menu */
.dropdown-menu-j {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #ffffff;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
  border-top: 3px solid var(--color-orange);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 200ms ease;
  z-index: 120;
}

.nav-item-j:hover .dropdown-menu-j {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link-j {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 150ms ease;
}

.dropdown-link-j i {
  color: var(--color-orange);
  font-size: 0.85rem;
  width: 16px;
}

.dropdown-link-j:hover {
  background: var(--bg-subtle);
  color: var(--color-primary);
  padding-left: 1.5rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.35rem;
  padding: 0.5rem;
}

/* ==========================================================================
   CLEAR FULL-WIDTH HERO BANNER (JAIPURIA CAROUSEL STYLE)
   ========================================================================== */
.jaipuria-hero-banner {
  position: relative;
  width: 100%;
  min-height: 600px;
  background: #0f172a;
  overflow: hidden;
}

.banner-carousel-track {
  position: relative;
  width: 100%;
  height: 720px;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms ease-in-out;
}

.banner-slide.active {
  opacity: 1;
  visibility: visible;
}

/* CLEAR BACKGROUND IMAGE - High-resolution, sharp, vibrant, focal point centered */
.banner-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Subtle cinematic gradient - keeps photo bright & clear while ensuring text contrast */
.banner-light-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 25, 47, 0.42) 0%,
    rgba(10, 25, 47, 0.12) 30%,
    rgba(10, 25, 47, 0.22) 60%,
    rgba(15, 50, 86, 0.88) 100%
  );
  pointer-events: none;
}

/* Center Hero Typography (Jaipuria Style: APPLICATIONS INVITED) */
.banner-content-box {
  position: absolute;
  top: 13%;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
  padding: 0 1.5rem;
}

.banner-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  margin-bottom: 0.85rem;
}

.banner-super-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.banner-super-title .orange-word {
  color: #ff9800;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.8);
}

.banner-sub-batch {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.45rem);
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.4rem;
  background: rgba(15, 50, 86, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.45rem 1.8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.banner-sub-batch strong {
  color: #ffb74d;
  font-weight: 800;
}

.banner-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn-banner-center {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.85rem 2.4rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.5);
  transition: all 250ms ease;
}

.btn-banner-center:hover {
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.6);
}

.btn-banner-outline {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 250ms ease;
}

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

/* Banner Slide Nav Arrows */
.banner-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  z-index: 20;
  transition: all 200ms ease;
}

.banner-arrow:hover {
  background: var(--color-orange);
  color: #ffffff;
}

.banner-arrow.prev { left: 1.5rem; }
.banner-arrow.next { right: 1.5rem; }

/* 4 Column Bottom Feature Cards (TALLER, CRYSTAL CLEAR FACILITY HIGHLIGHTS) */
.banner-pillars-row {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 15;
  background: linear-gradient(180deg, rgba(15, 50, 86, 0.94) 0%, rgba(10, 35, 62, 0.98) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
}

.banner-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pillar-col-item {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.85rem 1rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: all 250ms ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.pillar-col-item:last-child {
  border-right: none;
}

.pillar-col-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.pillar-col-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 200ms ease;
}

.pillar-col-title i {
  color: var(--color-orange);
  font-size: 0.92rem;
}

.pillar-col-item:hover .pillar-col-title {
  color: #ff9800;
}

/* INCREASE HEIGHT OF THESE IMAGES: 145px with sleek frame & zoom */
.pillar-col-img-box {
  width: 100%;
  height: 145px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  position: relative;
  background: #0a192f;
}

.pillar-col-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.pillar-col-item:hover .pillar-col-img {
  transform: scale(1.04);
}

.pillar-col-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 50, 86, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 250ms ease;
}

.pillar-col-overlay span {
  background: var(--color-orange);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pillar-col-item:hover .pillar-col-overlay {
  opacity: 1;
}

/* ==========================================================================
   FIXED RIGHT-SIDE ACTION DOCK (JAIPURIA VERTICAL PILL DOCK)
   ========================================================================== */
.jaipuria-side-dock {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  background: #111827;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.side-dock-item {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: all 180ms ease;
  text-decoration: none;
}

.side-dock-item:last-child {
  border-bottom: none;
}

.side-dock-item:hover {
  background: var(--color-orange);
  color: #ffffff;
}

.side-dock-item.whatsapp-dock:hover {
  background: #25d366;
}

.side-dock-tooltip {
  position: absolute;
  right: 56px;
  background: #111827;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 180ms ease;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.side-dock-item:hover .side-dock-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   SECTION: LEADING WITH LEGACY (32+ YEARS OF EXCELLENCE)
   ========================================================================== */
.legacy-section {
  padding: 4.5rem 0 3.5rem;
  background: #ffffff;
  text-align: center;
}

.legacy-pretitle {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.legacy-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 1.25rem;
}

.legacy-desc {
  max-width: 860px;
  margin: 0 auto 3rem auto;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* 4 Metrics Cards (Jaipuria Style Outline Boxes) */
.legacy-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.legacy-stat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  transition: all 220ms ease;
  box-shadow: var(--shadow-sm);
}

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

.stat-num-j {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-lbl-j {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ==========================================================================
   ACCREDITATION & RECOGNITION SECTION (NATIONALLY RANKED STYLE)
   ========================================================================== */
.recognition-section {
  padding: 4rem 0;
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.recognition-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.recognition-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.recognition-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 200ms ease;
}

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

.recognition-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--color-orange-light);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.recognition-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.recognition-detail {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   CAMPUS HIGHLIGHTS & INFRASTRUCTURE
   ========================================================================== */
.campus-section-j {
  padding: 5rem 0;
  background: #ffffff;
}

.section-title-center {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title-center h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.section-title-center p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.facilities-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.facility-card-j {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 250ms ease;
  display: flex;
  flex-direction: column;
}

.facility-card-j:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-orange);
}

.facility-img-j {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.facility-card-j:hover .facility-img-j {
  transform: scale(1.05);
}

.facility-body-j {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.facility-title-j {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.65rem;
}

.facility-desc-j {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.facility-btn-j {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.facility-card-j:hover .facility-btn-j {
  color: var(--color-orange-hover);
  gap: 0.65rem;
}

/* ==========================================================================
   ACADEMIC TOPPERS (HONOR ROLL)
   ========================================================================== */
.toppers-section-j {
  padding: 5rem 0;
  background: #0f2b48;
  color: #ffffff;
}

.toppers-grid-j {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.topper-card-j {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 200ms ease;
}

.topper-card-j:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-6px);
  border-color: var(--color-orange);
}

.topper-photo-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 1rem;
}

.topper-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-orange);
}

.topper-tag {
  display: inline-block;
  background: var(--color-orange);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.topper-student-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.topper-student-class {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   NOTICES & CIRCULARS STRIP
   ========================================================================== */
.notices-section-j {
  padding: 4.5rem 0;
  background: var(--bg-surface-alt);
}

.notices-events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.notice-block-j {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.block-header-j {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.block-title-j {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
}

.block-link-j {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-orange);
}

.notice-item-j {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

.notice-item-j:last-child {
  border-bottom: none;
}

.notice-date-box {
  width: 52px;
  height: 52px;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notice-date-day {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.notice-date-month {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.notice-text-j h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.notice-text-j p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ADMISSIONS CTA BANNER
   ========================================================================== */
.cta-banner-j {
  background: linear-gradient(135deg, #0f3256 0%, #0a2240 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-xl);
  margin: 3rem 0;
}

.cta-banner-j h2 {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-banner-j p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
}

/* ==========================================================================
   FOOTER (JAIPURIA MULTI-COLUMN)
   ========================================================================== */
.jaipuria-footer {
  background: #0a192f;
  color: rgba(255, 255, 255, 0.8);
  padding: 4.5rem 0 2rem;
  border-top: 3px solid var(--color-orange);
}

.footer-cols-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col-title-j {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-orange);
  width: fit-content;
}

.footer-links-j {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-j a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  transition: color 150ms ease;
}

.footer-links-j a:hover {
  color: var(--color-orange);
  padding-left: 4px;
}

.footer-contact-item-j {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
}

.footer-contact-item-j i {
  color: var(--color-orange);
  margin-top: 3px;
}

.footer-bottom-bar-j {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   INNER PAGE BANNERS & FORMS
   ========================================================================== */
.page-banner,
.page-hero {
  background: linear-gradient(135deg, #0f3256 0%, #0a2240 100%);
  color: #ffffff;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  border-bottom: 3px solid var(--color-orange);
}

.page-banner h1,
.page-hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.page-breadcrumb a {
  color: #ffffff;
}

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

.page-breadcrumb span {
  color: var(--color-orange);
  font-weight: 700;
}

.content-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   ABOUT & PAGE CONTENT GRIDS (NO EDGE CUTTING, PROPER ASPECT RATIOS)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-grid img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0 2rem 0;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--color-primary);
}

.about-feature-item i {
  color: var(--color-orange);
  font-size: 1.1rem;
}

/* ==========================================================================
   SECTIONS & SECTION HEADERS
   ========================================================================== */
.aps-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

.aps-section-sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.aps-section-alt {
  background-color: #f8fafc;
}

.aps-section-dark {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-orange);
  background: rgba(234, 88, 12, 0.1);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid rgba(234, 88, 12, 0.25);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.page-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
}

/* ==========================================================================
   BUTTONS (MODERN & CONSISTENT)
   ========================================================================== */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  transition: all 250ms ease;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn-modern.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

.btn-modern.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

.btn-modern.btn-primary {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.btn-modern.btn-primary:hover {
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.5);
  color: #ffffff !important;
}

.btn-modern.btn-navy {
  background: linear-gradient(135deg, #0f3256 0%, #0a2240 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15, 50, 86, 0.3);
}

.btn-modern.btn-navy:hover {
  background: linear-gradient(135deg, #164372 0%, #0a2240 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 50, 86, 0.45);
  color: #ffffff !important;
}

.btn-modern.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

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

/* ==========================================================================
   FACILITIES & EVENTS CARDS (PROPER VISUAL FRAMING)
   ========================================================================== */
.facility-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  display: flex;
  flex-direction: column;
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(234, 88, 12, 0.35);
}

.facility-thumb-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0f172a;
}

.facility-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 500ms ease;
}

.facility-card:hover .facility-thumb {
  transform: scale(1.05);
}

.facility-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 200ms ease;
  text-decoration: none;
}

.facility-link:hover {
  color: #ea580c;
  transform: translateX(4px);
}

/* ==========================================================================
   TOPPERS CARDS (STANDARDIZED & ACADEMICS PAGE)
   ========================================================================== */
.toppers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem;
}

.topper-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: relative;
  transition: transform 300ms ease, box-shadow 300ms ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.topper-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(234, 88, 12, 0.35);
}

.topper-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 1.25rem auto;
  border-radius: 50%;
}

.topper-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 3px solid #ff9800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  display: block;
}

.topper-medal {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.topper-score {
  display: inline-block;
  background: linear-gradient(135deg, #ff9800 0%, #ea580c 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.25rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
}

.topper-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.topper-class {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0;
}

/* ==========================================================================
   PILLARS & VALUES GRID
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.pillar-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(234, 88, 12, 0.4);
}

.pillar-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: rgba(234, 88, 12, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: var(--color-orange);
  margin-bottom: 1.25rem;
  transition: all 250ms ease;
}

.pillar-card:hover .pillar-icon-wrap {
  background: var(--color-orange);
  color: #ffffff;
  transform: scale(1.06);
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  flex-grow: 1;
}

/* ==========================================================================
   PHOTO GALLERY GRID & CARDS
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.gallery-item-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 300ms ease, box-shadow 300ms ease;
  display: flex;
  flex-direction: column;
}

.gallery-item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.gallery-item-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 400ms ease;
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.45rem;
}

.form-control-modern {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  outline: none;
  transition: all 180ms ease;
}

.form-control-modern:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

/* ==========================================================================
   MOBILE OFFCANVAS DRAWER
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 250ms ease;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 340px;
  background: #ffffff;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 250ms ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--color-primary);
  color: #ffffff;
}

.drawer-close {
  color: #ffffff;
  font-size: 1.25rem;
}

.drawer-nav {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.drawer-link:hover,
.drawer-link.active {
  color: var(--color-orange);
  background: #f8fafc;
}

.drawer-link-content {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.drawer-item-icon {
  width: 22px;
  font-size: 0.95rem;
  color: var(--color-orange);
  text-align: center;
  flex-shrink: 0;
  margin-right: 8px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.drawer-link:hover .drawer-item-icon,
.drawer-link.active .drawer-item-icon {
  transform: scale(1.15);
  color: var(--color-orange-hover);
}

.drawer-bday-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: #fef3c7;
  color: #b45309;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.drawer-submenu {
  display: none;
  flex-direction: column;
  padding-left: 0.75rem;
  gap: 0.2rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  border-left: 2px solid #e2e8f0;
}

.drawer-item.open .drawer-submenu {
  display: flex;
}

.drawer-sublink {
  display: flex;
  align-items: center;
  padding: 0.55rem 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.drawer-sublink:hover {
  color: var(--color-orange);
  background: #f8fafc;
  padding-left: 0.85rem;
}

.sublink-icon {
  width: 18px;
  font-size: 0.82rem;
  color: var(--color-primary);
  opacity: 0.65;
  margin-right: 8px;
  text-align: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.drawer-sublink:hover .sublink-icon {
  color: var(--color-orange);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1360px) {
  .util-link-optional {
    display: none !important;
  }
}

@media (max-width: 1200px) {
  .brand-accreditation-seal {
    display: none !important;
  }
  
  .header-utility-links {
    gap: 0.85rem;
  }
}

@media (max-width: 1024px) {
  .header-utility-links {
    display: none !important;
  }

  .banner-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legacy-stats-grid,
  .recognition-grid,
  .toppers-grid-j {
    grid-template-columns: repeat(2, 1fr);
  }

  .facilities-cards-row {
    grid-template-columns: 1fr 1fr;
  }

  .notices-events-grid {
    grid-template-columns: 1fr;
  }

  .footer-cols-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .aps-container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .header-top-tier {
    padding: 0.5rem 0;
  }

  .header-top-inner {
    gap: 0.5rem;
  }

  .header-top-actions {
    gap: 0.45rem;
    flex-shrink: 0;
  }

  .brand-emblem {
    width: 42px;
    height: 42px;
  }

  .brand-main-title {
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .brand-sub-title {
    font-size: 0.62rem;
    white-space: nowrap;
  }

  .header-lang-switcher .lang-label {
    display: none !important;
  }

  .header-lang-switcher .lang-btn {
    padding: 0.3rem 0.45rem;
    font-size: 0.74rem;
  }

  .btn-jaipuria-apply .apply-btn-label {
    display: none !important;
  }

  .btn-jaipuria-apply {
    padding: 0.42rem 0.65rem;
    font-size: 0.85rem;
    min-width: 36px;
    height: 34px;
    justify-content: center;
    border-radius: var(--radius-full);
  }

  .navbar-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
  }

  .banner-arrow {
    display: none; /* Hide slider arrows on touchscreens */
  }

  .brand-accreditation-seal {
    display: none !important;
  }

  .jaipuria-side-dock {
    display: none;
  }

  /* Mobile Hero Banner - Proper Dimensions & No Edge Cutting */
  .jaipuria-hero-banner {
    min-height: auto;
    width: 100%;
    overflow: hidden;
  }

  .banner-carousel-track {
    height: 440px;
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  .banner-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }

  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    direction: ltr !important;
  }

  .about-grid > div {
    direction: ltr !important;
  }

  .about-grid img {
    height: 260px !important;
  }

  .about-features-list {
    grid-template-columns: 1fr !important;
  }

  .banner-content-box {
    position: absolute;
    top: 210px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 24px);
    max-width: 440px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    z-index: 10;
  }

  .banner-badge-top {
    font-size: 0.72rem;
    padding: 0.28rem 0.85rem;
    letter-spacing: 0.05em;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
  }

  .banner-super-title {
    font-size: clamp(1.8rem, 7vw, 2.3rem);
    line-height: 1.12;
    margin-bottom: 0.4rem;
  }

  .banner-sub-batch {
    display: inline-block;
    font-size: clamp(0.74rem, 2.9vw, 0.85rem);
    line-height: 1.35;
    padding: 0.4rem 0.85rem;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-break: normal;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
  }

  .banner-cta-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .btn-banner-center,
  .btn-banner-outline {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 0.8rem;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    justify-content: center;
    border-radius: var(--radius-full);
    box-sizing: border-box;
    white-space: nowrap;
  }

  .banner-pillars-row {
    position: static;
    width: 100%;
    box-sizing: border-box;
  }

  .banner-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    box-sizing: border-box;
    gap: 0.75rem;
  }

  .pillar-col-item {
    padding: 0.65rem 0.5rem 0.75rem;
    box-sizing: border-box;
  }

  .pillar-col-title {
    font-size: 0.75rem;
  }

  .pillar-col-img-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 94px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  }

  .pillar-col-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .legacy-stats-grid,
  .recognition-grid,
  .facilities-cards-row {
    grid-template-columns: 1fr;
  }

  .facilities-cards-row {
    gap: 1.25rem;
  }

  .facility-card-j {
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .facility-img-j {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: block;
  }

  .toppers-grid-j {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .topper-card-j {
    padding: 1.25rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .topper-photo-wrap {
    width: 82px;
    height: 82px;
    margin: 0 auto 0.65rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-orange);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .topper-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .topper-student-name {
    font-size: 0.95rem;
    line-height: 1.25;
    margin: 0 0 0.25rem;
  }

  .topper-student-class {
    font-size: 0.75rem;
    margin: 0;
  }

  .topper-tag {
    font-size: 0.72rem;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.45rem;
  }

  .notice-item-j {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 0;
  }

  .notice-item-j img {
    width: 76px !important;
    height: 62px !important;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .cta-banner-j {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .footer-cols-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-bar-j {
    flex-direction: column;
    text-align: center;
  }

  .content-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header-top-inner {
    gap: 0.4rem;
  }

  .header-brand {
    gap: 0.5rem;
  }

  .brand-main-title {
    font-size: 0.98rem;
    letter-spacing: -0.01em;
  }

  .brand-sub-title {
    font-size: 0.58rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .brand-emblem {
    width: 40px;
    height: 40px;
  }

  .header-top-actions {
    gap: 0.35rem;
  }

  .btn-jaipuria-apply {
    padding: 0.4rem 0.75rem;
    font-size: 0.76rem;
  }

  .banner-carousel-track {
    height: 420px;
  }

  .banner-content-box {
    top: 195px;
  }

  .banner-super-title {
    font-size: clamp(1.65rem, 7.5vw, 2rem);
  }

  .banner-badge-top {
    font-size: 0.68rem;
    padding: 0.25rem 0.75rem;
  }

  .banner-sub-batch {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.85rem;
  }

  .banner-cta-group {
    gap: 0.5rem;
  }

  .btn-banner-center,
  .btn-banner-outline {
    padding: 0.6rem 0.65rem;
    font-size: 0.78rem;
  }

  .banner-bg-img {
    object-position: 72% 32%;
  }

  .pillar-col-img-box {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .topper-photo-wrap {
    width: 76px;
    height: 76px;
  }

  .topper-student-name {
    font-size: 0.88rem;
  }

  .bday-upcoming-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .bday-avatar-wrap {
    width: 62px;
    height: 62px;
  }

  .bday-avatar-img,
  .bday-avatar-initials {
    width: 62px;
    height: 62px;
  }

  .header-lang-switcher .lang-label {
    display: none;
  }

  .header-lang-switcher .lang-btn {
    padding: 0.3rem 0.45rem;
    font-size: 0.74rem;
  }
}

@media (max-width: 380px) {
  .btn-jaipuria-apply .apply-btn-label {
    display: none;
  }

  .btn-jaipuria-apply {
    padding: 0.4rem 0.55rem;
    border-radius: var(--radius-full);
  }

  .brand-main-title {
    font-size: 0.88rem;
  }

  .banner-carousel-track {
    height: 400px;
  }

  .banner-content-box {
    top: 185px;
  }

  .banner-super-title {
    font-size: 1.55rem;
  }

  .banner-sub-batch {
    font-size: 0.72rem;
  }

  .btn-banner-center,
  .btn-banner-outline {
    font-size: 0.75rem;
    padding: 0.55rem 0.5rem;
  }

  .topper-photo-wrap {
    width: 68px;
    height: 68px;
  }

  .topper-student-name {
    font-size: 0.82rem;
  }

  .topper-student-class {
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   GOOGLE TRANSLATE SUPPRESSION & CLEANUP
   ========================================================================== */
body > .skiptranslate,
body > iframe.skiptranslate,
iframe.VIpgJd-ZVi9od-ORHb-OJuqdf,
.VIpgJd-ZVi9od-ORHb-OJuqdf,
iframe[id*=":1.container"],
iframe[id*=":2.container"],
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-banner,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0) !important;
}

body {
  top: 0px !important;
  position: static !important;
}

#google_translate_element {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
}

.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
}

font[style*="background-color"] {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* ==========================================================================
   CAMPUS BIRTHDAY CORNER (DYNAMIC STUDENT & STAFF)
   ========================================================================== */
.bday-corner-section {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #fefcf9 100%);
  border-top: 1.5px solid #fed7aa;
  border-bottom: 1.5px solid #fed7aa;
  position: relative;
  overflow: hidden;
}

.bday-corner-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-max);
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #f59e0b 50%, transparent 100%);
}

.bday-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.bday-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-orange);
  background: var(--color-orange-light);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.bday-main-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin: 0 0 0.5rem;
  letter-spacing: -0.5px;
}

.bday-subdesc {
  max-width: 680px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Dual Tab Switcher */
.bday-tabs-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.5rem 0 1rem;
  border-bottom: 1.5px solid var(--border-light);
}

.bday-nav-pills {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  gap: 6px;
}

.bday-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.45rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.bday-tab-btn:hover {
  color: var(--color-primary-dark);
}

.bday-tab-btn.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 50, 86, 0.25);
}

.bday-tab-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.08);
  font-weight: 800;
  transition: all 0.25s ease;
}

.bday-tab-btn.active .bday-tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.badge-pulse {
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.4);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0);
  }
}

.bday-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-orange);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.bday-view-all-link:hover {
  background: var(--color-orange-light);
  transform: translateX(3px);
}

/* Tab Panes */
.bday-panes-wrapper {
  margin-top: 1.5rem;
}

.bday-tab-pane {
  display: none;
}

.bday-tab-pane.active {
  display: block;
  animation: bdayFadeIn 0.35s ease-out;
}

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

/* Spotlight Bar */
.bday-spotlight-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1.5px solid #fdba74;
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.6rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.08);
}

.bday-spotlight-bar.staff-spotlight {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #86efac;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.08);
}

.spotlight-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.spotlight-emoji {
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.spotlight-title h4 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin: 0;
}

.spotlight-title p {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.spotlight-count-badge {
  background: var(--color-orange);
  color: #fff;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.spotlight-count-badge.staff-badge {
  background: #15803d;
}

/* Birthday Cards Grid */
.bday-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Birthday Card */
.bday-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  box-shadow: 0 4px 14px rgba(15, 50, 86, 0.05);
}

.bday-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(15, 50, 86, 0.12);
  border-color: var(--color-orange);
}

.bday-card-today {
  border-color: #fb923c;
  background: linear-gradient(to bottom, #fffefc 0%, #ffffff 100%);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.12);
}

.bday-card.staff-card:hover {
  border-color: #10b981;
}

.bday-card-today.staff-card {
  border-color: #86efac;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
}

/* Ribbon */
.bday-card-ribbon {
  position: absolute;
  top: 14px;
  right: -32px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 34px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  z-index: 2;
}

.bday-card-ribbon.staff-ribbon {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

/* Card Top & Avatar */
.bday-card-top {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.bday-avatar-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.bday-avatar-img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fdba74;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.bday-avatar-initials {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.5px;
  border: 3px solid #fdba74;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.staff-card .bday-avatar-img,
.staff-card .bday-avatar-initials {
  border-color: #86efac;
}

.bday-star-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  font-size: 1.15rem;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}

.bday-info {
  flex: 1;
  min-width: 0;
}

.bday-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 0.35rem;
}

.bday-category-tag.student-pill {
  background: #e0f2fe;
  color: #0284c7;
}

.bday-category-tag.staff-pill {
  background: #ecfdf5;
  color: #059669;
}

.bday-name {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin: 0 0 0.2rem;
  line-height: 1.3;
}

.bday-role-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Quote box */
.bday-quote-box {
  background: #f8fafc;
  border-left: 3px solid var(--color-orange);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.25rem;
}

.staff-card .bday-quote-box {
  border-left-color: #10b981;
}

.quote-ico {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.2);
  margin-right: 0.35rem;
}

.bday-message-text {
  font-size: 0.88rem;
  color: var(--text-main);
  margin: 0;
  line-height: 1.5;
  font-style: italic;
}

/* Card Action */
.bday-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  margin-top: auto;
}

.bday-date-tag {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-wish-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #fff;
  border: none;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 3px 8px rgba(234, 88, 12, 0.25);
  user-select: none;
}

.btn-wish-action:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4);
}

.btn-wish-action.staff-wish-btn {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 3px 8px rgba(5, 150, 105, 0.25);
}

.btn-wish-action.staff-wish-btn:hover {
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.4);
}

.btn-wish-action.wished {
  background: #10b981 !important;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.3) !important;
  cursor: default;
}

.wish-count-pill {
  background: rgba(255, 255, 255, 0.25);
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
}

/* Upcoming Section */
.bday-upcoming-section {
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.upcoming-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.upcoming-header h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin: 0;
}

.upcoming-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

.bday-upcoming-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--bg-surface-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.bday-upcoming-card:hover {
  background: #fff;
  border-color: var(--color-orange);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.up-date-box {
  width: 44px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  flex-shrink: 0;
}

.up-date-day {
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.up-date-month {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.up-avatar-mini {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.up-details {
  flex: 1;
  min-width: 0;
}

.up-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.up-class {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.up-countdown {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  color: var(--color-orange);
  font-weight: 700;
}

.btn-wish-mini {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--color-orange);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.btn-wish-mini:hover {
  background: var(--color-orange);
  color: #fff;
  border-color: var(--color-orange);
}

.btn-wish-mini.wished {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
  cursor: default;
}

/* Empty State Banner */
.bday-empty-banner {
  background: #fff;
  border: 1.5px dashed var(--border-light);
  padding: 3rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 2rem;
}

.bday-empty-banner .empty-icon {
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.bday-empty-banner h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 0.4rem;
}

.bday-empty-banner p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Dedicated Birthdays Page Filters */
.bday-filter-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 14px rgba(15, 50, 86, 0.05);
}

.bday-filter-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bday-cat-filter {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cat-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.cat-filter-btn:hover {
  background: #e2e8f0;
  color: var(--text-dark);
}

.cat-filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 3px 10px rgba(15, 50, 86, 0.2);
}

.bday-search-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.bday-month-select-wrap {
  min-width: 220px;
}

.bday-select {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
}

.bday-select:focus {
  border-color: var(--color-orange);
  outline: none;
}

.bday-search-input-wrap {
  flex: 1;
  min-width: 240px;
  position: relative;
}

.bday-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  font-size: 0.92rem;
  background: #fff;
  transition: border-color 0.2s;
}

.bday-input:focus {
  border-color: var(--color-orange);
  outline: none;
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.clear-search {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.25rem;
  line-height: 1;
}

.btn-filter-apply {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  background: var(--color-orange);
  color: #fff;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-filter-apply:hover {
  background: var(--color-orange-hover);
}

/* Toast Notification */
.bday-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 1.1rem 1.6rem;
  border-radius: var(--radius-md);
  border-left: 4px solid #f59e0b;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  animation: bdaySlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 440px;
}

@keyframes bdaySlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.bday-toast-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.bday-toast-text {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .bday-tabs-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .bday-nav-pills {
    width: 100%;
    display: flex;
  }

  .bday-tab-btn {
    flex: 1;
    justify-content: center;
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
  }

  .bday-cards-grid {
    grid-template-columns: 1fr;
  }

  .bday-search-row {
    flex-direction: column;
    align-items: stretch;
  }

  .bday-month-select-wrap,
  .btn-filter-apply {
    width: 100%;
  }
}

/* ==========================================================================
   MEDIA & PRESS RECOGNITION SECTION
   ========================================================================== */
.press-section-j {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.press-grid-j {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.press-card-j {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  grid-column: span 6;
}

.press-card-j:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(234, 88, 12, 0.35);
}

.press-card-featured {
  grid-column: span 12;
  flex-direction: row;
  border-color: rgba(234, 88, 12, 0.3);
  box-shadow: var(--shadow-md);
}

.press-card-featured .press-img-wrap {
  width: 48%;
  min-height: 340px;
  max-height: 420px;
  flex-shrink: 0;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.press-card-featured .press-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #0f172a;
  display: block;
}

.press-card-featured .press-body-j {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.press-img-wrap {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.press-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #0f172a;
  display: block;
  transition: transform 0.4s ease;
}

.press-card-j:hover .press-img-wrap img {
  transform: scale(1.02);
}

.press-badge-j {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 50, 86, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.press-body-j {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.press-source-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.press-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.press-card-featured .press-card-title {
  font-size: 1.65rem;
  line-height: 1.3;
}

.press-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.press-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-light);
}

.press-view-link {
  color: var(--color-orange);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.press-view-link:hover {
  color: var(--color-orange-hover);
  gap: 0.6rem;
}

@media (max-width: 992px) {
  .press-card-featured {
    flex-direction: column;
  }
  .press-card-featured .press-img-wrap {
    width: 100%;
    min-height: 240px;
  }
  .press-card-featured .press-body-j {
    padding: 1.75rem;
  }
  .press-card-j {
    grid-column: span 12;
  }
}


