/* ==========================================================================
   LITTLE ZAUREZ SCHOOL — DESIGN SYSTEM & MAIN STYLESHEET
   Primary Theme: Lavender, Purple, White, Dark Navy text, Soft Pastel Accents
   Motto: LEARN • ZEST • SHINE
   ========================================================================== */

:root {
  --purple: #6d28d9;
  --purple-light: #8b5cf6;
  --purple-dark: #3b0764;
  --purple-deep: #240d3a;
  --bg-primary: #F8F6FF;
  --bg-secondary: #FAF8FF;
  --bg-academics: #F9F7FF;
  --bg-admission: #FCFAFF;
  --bg-white: #FFFFFF;
  --lavender: #f5f3ff;
  --lavender-light: #faf8ff;
  --lavender-card: #ffffff;
  --lavender-border: rgba(109, 40, 217, 0.08);
  --soft-bg: #F8F6FF;
  --white: #ffffff;
  --dark-text: #1f142e;
  --text-body: #493b58;
  --text-muted: #6b5c7c;
  --line: #ede5f8;
  --line-subtle: #f5f0fb;
  --green: #15803d;
  --green-bg: #dcfce7;
  --blue: #1d4ed8;
  --blue-bg: #dbeafe;
  --amber: #b45309;
  --amber-bg: #fef3c7;
  --rose: #be123c;
  --rose-bg: #ffe4e6;
  --teal: #0f766e;
  --teal-bg: #ccfbf1;
  --gold: #f59e0b;
  --coral: #f43f5e;
  --shadow-sm: 0 2px 10px rgba(109, 40, 217, 0.04);
  --shadow-md: 0 8px 24px rgba(109, 40, 217, 0.06);
  --shadow-lg: 0 16px 40px rgba(109, 40, 217, 0.09);
  --shadow-hover: 0 12px 32px rgba(109, 40, 217, 0.12);
  --font-school: 'Baloo 2', cursive, sans-serif;
  --font-heading: 'Baloo 2', 'Poppins', sans-serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-nav: 'Poppins', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border-width: 0 !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-text);
  line-height: 1.25;
  margin: 0 0 0.8rem;
  letter-spacing: -0.01em;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

address {
  font-style: normal;
}

/* ==========================================================================
   GLOBAL ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
  background: var(--purple-deep);
  color: #f7efff;
  min-height: 38px;
  padding: 0.45rem clamp(1rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 45;
  position: relative;
}

.announcement-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.announcement-badge {
  background: var(--purple-light);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.announcement-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ded1e8;
  font-weight: 600;
}

.announcement-link:hover {
  color: #fff;
}

.announcement-sep {
  color: #8c71a3;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(109, 40, 217, 0.08);
  box-shadow: 0 4px 18px rgba(109, 40, 217, 0.03);
}

.header-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3.5vw, 2.5rem);
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

/* Horizontal Little Zaurez School Logo */
.brand.brand-horizontal {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0.25rem 0;
  gap: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand.brand-horizontal:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.brand-logo-horizontal {
  display: block;
  height: 68px;
  width: auto;
  max-width: 100%;
  aspect-ratio: 977 / 260;
  object-fit: contain;
  filter: none;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: height 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand img:not(.brand-logo-horizontal) {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(109, 40, 217, 0.18));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand:hover img:not(.brand-logo-horizontal) {
  transform: scale(1.04) rotate(-1.5deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-family: var(--font-school);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--purple-dark);
  display: inline-block;
  line-height: 1.15;
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--purple-light);
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.main-nav a:not(.nav-apply-btn):not(.nav-login-btn) {
  font-family: var(--font-nav);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 0.5rem 0.1rem;
}

.main-nav a:not(.nav-apply-btn):not(.nav-login-btn):after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--purple);
  transition: right var(--transition);
}

.main-nav a:not(.nav-apply-btn):not(.nav-login-btn):hover,
.main-nav a.active:not(.nav-apply-btn):not(.nav-login-btn) {
  color: var(--purple);
  font-weight: 600;
}

.main-nav a.active:not(.nav-apply-btn):not(.nav-login-btn):after,
.main-nav a:not(.nav-apply-btn):not(.nav-login-btn):hover:after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.5rem;
}

.nav-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.58rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(88, 43, 130, 0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(88, 43, 130, 0.35);
}

.nav-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--purple);
  color: var(--purple) !important;
  background: transparent;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.54rem 1.05rem;
  border-radius: var(--radius-full);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav-login-btn:hover {
  background: var(--lavender);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ==========================================================================
   BUTTONS & COMMON UI
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.45rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid var(--purple);
  background: var(--purple);
  color: #fff;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.button:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.button.button-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
}

.button.button-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.84rem;
}

.button.ghost {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}

.button.ghost:hover {
  background: var(--lavender);
  color: var(--purple-dark);
  box-shadow: none;
}

.button.light {
  background: #fff;
  color: var(--purple);
  border-color: #fff;
}

.button.light:hover {
  background: #fdfcfe;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.button.ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.button.ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.button.wa-btn {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.button.wa-btn:hover {
  background: #1eb756;
  border-color: #1eb756;
}

.text-link {
  font-weight: 700;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.text-link:hover {
  color: var(--purple-dark);
  text-decoration: underline;
}

.flash {
  position: fixed;
  top: 96px;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--green);
  animation: slideInRight 0.3s ease;
}

.flash.error {
  border-left-color: var(--rose);
}

.flash-close {
  background: transparent;
  border: 0;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  margin-left: 0.5rem;
}

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

/* Section Containers */
.section {
  padding: clamp(3.5rem, 6.5vw, 6.5rem) clamp(1rem, 3.5vw, 2.5rem);
}

.section.soft-bg {
  background-color: var(--lavender-light);
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-header.center {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.section-header:not(.center) {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-eyebrow, .eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  color: var(--dark-text);
  margin-bottom: 0.6rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
}

.header-link {
  font-weight: 700;
  color: var(--purple);
  white-space: nowrap;
}

.header-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--bg-primary);
  border-bottom: 1px solid rgba(109, 40, 217, 0.08);
  padding: clamp(3rem, 6.5vw, 6rem) clamp(1rem, 3.5vw, 2.5rem);
  overflow: hidden;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #ffffff;
  border: 1px solid rgba(109, 40, 217, 0.12);
  color: var(--purple-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.04);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--purple);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.2);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.3rem;
  color: var(--dark-text);
}

.gradient-text {
  color: var(--purple);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: var(--text-body);
  max-width: 580px;
  margin-bottom: 1.7rem;
}

.hero-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
}

.meta-pill.motto-pill {
  background: var(--lavender);
  color: var(--purple);
  font-weight: 800;
  border-color: #dfd1eb;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.hero-quick-contact {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--purple);
}

.quick-link.wa {
  color: #15803d;
}

.quick-link:hover {
  text-decoration: underline;
}

/* Hero Authentic Visual Stack */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.visual-stack {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.visual-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid #fff;
  background: #fff;
  transition: transform var(--transition);
}

.primary-card {
  width: 82%;
  position: relative;
  z-index: 2;
}

.hero-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.visual-card-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.visual-card-badge .badge-icon {
  font-size: 1.5rem;
}

.visual-card-badge strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark-text);
  line-height: 1.2;
}

.visual-card-badge small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.secondary-card {
  position: absolute;
  top: 15%;
  right: -5%;
  width: 52%;
  z-index: 3;
}

.hero-img-sub {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.floating-stat {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  right: 0.8rem;
  background: var(--purple-deep);
  color: #fff;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
}

.stat-text {
  font-size: 0.7rem;
  color: #d8c8e8;
  font-weight: 600;
}

.experience-card {
  position: absolute;
  bottom: -4%;
  left: -4%;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.experience-avatar-group {
  display: flex;
}

.mini-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  object-fit: cover;
}

.mini-avatar:first-child {
  margin-left: 0;
}

.experience-card strong {
  display: block;
  font-size: 0.88rem;
  color: var(--dark-text);
  line-height: 1.2;
}

.experience-card small {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ADMISSIONS HIGHLIGHT STRIP
   ========================================================================== */
.admission-banner-strip {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: #fff;
  padding: 1.8rem clamp(1rem, 3.5vw, 2.5rem);
}

.strip-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.strip-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.strip-title {
  color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  margin-bottom: 0.3rem;
}

.strip-sub {
  color: #e4d7f2;
  margin: 0;
  font-size: 0.95rem;
}

.strip-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   SECTION: WHY FAMILIES CHOOSE US (6 Cards)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.why-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.icon-purple { background: var(--lavender); color: var(--purple); }
.icon-teal { background: var(--teal-bg); color: var(--teal); }
.icon-amber { background: var(--amber-bg); color: var(--amber); }
.icon-rose { background: var(--rose-bg); color: var(--rose); }
.icon-indigo { background: #e0e7ff; color: #4338ca; }
.icon-cyan { background: #cffafe; color: #0891b2; }

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}

.why-card p {
  color: var(--text-body);
  font-size: 0.96rem;
  margin: 0;
  line-height: 1.65;
}

/* ==========================================================================
   SECTION: BEYOND THE CLASSROOM (8 Cards)
   ========================================================================== */
.beyond-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.beyond-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.beyond-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #d1bfe5;
}

.beyond-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--purple-light);
  display: block;
  margin-bottom: 0.6rem;
}

.beyond-card h4 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

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

/* ==========================================================================
   SECTION: LEARNING JOURNEY (Playgroup -> Class IV)
   ========================================================================== */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  margin-bottom: 2.5rem;
}

.journey-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.journey-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.journey-card.highlight-card {
  background: linear-gradient(160deg, #ffffff, #f7f1fc);
  border-color: #cfb9e8;
  box-shadow: var(--shadow-md);
}

.journey-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--lavender);
  color: var(--purple);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.journey-badge.special {
  background: var(--purple);
  color: #fff;
}

.journey-class {
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
}

.journey-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.journey-highlights {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  border-top: 1px solid var(--line-subtle);
  padding-top: 1rem;
}

.journey-highlights li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.journey-cta {
  margin-top: 1rem;
}

/* ==========================================================================
   SECTION: HOW CHILDREN LEARN (4 Stages)
   ========================================================================== */
.method-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.method-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 1.8rem;
}

.method-steps {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.method-step-card {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.method-step-card:hover {
  transform: translateX(5px);
  border-color: #d1bfe5;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--purple-light);
  line-height: 1;
}

.step-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.step-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   SECTION: LIFE AT LITTLE ZAUREZ (Real School Photography Mosaic)
   ========================================================================== */
.life-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.life-card {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  background: #240d3a;
}

.life-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.life-card:hover img {
  transform: scale(1.04);
}

.life-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(20, 8, 35, 0.95) 0%, rgba(20, 8, 35, 0.6) 65%, transparent 100%);
  color: #fff;
  padding: 1.5rem 1.25rem 1.1rem;
}

.life-card figcaption strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.life-card figcaption span {
  font-size: 0.8rem;
  color: #ddd0ea;
}

/* ==========================================================================
   SECTION: STUDENT WORK SHOWCASE (Our Little Zaurezians Create)
   ========================================================================== */
.student-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}

.work-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.work-img-wrap {
  overflow: hidden;
  background: #f4eef9;
}

.work-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-img-wrap img {
  transform: scale(1.05);
}

.work-card-info {
  padding: 1.3rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.work-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.work-card-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.work-card-info p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   SECTION: MEET OUR PRINCIPAL
   ========================================================================== */
.principal-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow-md);
}

.principal-visual {
  display: flex;
  justify-content: center;
}

.principal-avatar-frame {
  position: relative;
  width: min(280px, 80vw);
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--lavender), #dfd1eb);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 3px solid #fff;
  overflow: hidden;
}

.principal-avatar-frame .principal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.principal-monogram {
  font-family: var(--font-heading);
  font-size: 4.8rem;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.05em;
}

.principal-monogram.lg {
  font-size: 5.5rem;
}

.principal-badge-floating {
  position: absolute;
  bottom: -12px;
  background: var(--purple-deep);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.principal-badge-floating strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.1;
}

.principal-badge-floating span {
  font-size: 0.72rem;
  color: #d1bfe5;
}

.principal-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  margin-bottom: 0.8rem;
}

.principal-name-block {
  margin-bottom: 1.3rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.principal-name {
  font-size: 1.65rem;
  margin: 0;
  color: var(--purple);
}

.principal-role {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-right: 0.6rem;
}

.principal-qual {
  display: inline-block;
  background: var(--lavender);
  color: var(--purple-dark);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.principal-quote {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
  border-left: 3.5px solid var(--purple);
  padding-left: 1.25rem;
  margin: 0 0 1.2rem;
  font-style: italic;
}

.principal-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.principal-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   SECTION: NOTICES & UPCOMING EVENTS
   ========================================================================== */
.notices-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3rem);
}

.notices-subheading {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--dark-text);
}

.notice-cards-list, .event-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notice-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.notice-card:hover {
  transform: translateY(-2px);
  border-color: #d1bfe5;
}

.notice-date-badge {
  background: var(--lavender);
  color: var(--purple-dark);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.7rem;
  text-align: center;
  min-width: 58px;
  flex-shrink: 0;
}

.notice-date-badge .day {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.notice-date-badge .month {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.notice-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.cat-admission { background: #dcfce7; color: #166534; }
.cat-academic { background: #e0e7ff; color: #3730a3; }
.cat-general { background: var(--lavender); color: var(--purple); }

.notice-details h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.notice-details p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.event-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.event-card.highlight-event {
  border-left: 4px solid var(--green);
}

.event-date {
  background: #eafaf1;
  color: #14532d;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.7rem;
  text-align: center;
  min-width: 58px;
  flex-shrink: 0;
}

.event-day {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.event-mon {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.event-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.event-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.event-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   FINAL CONVERSION CTA
   ========================================================================== */
.section-cta-final {
  padding-top: 1rem;
}

.cta-final-card {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
}

.cta-final-title {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  max-width: 820px;
  margin: 0 auto 1.2rem;
}

.cta-final-desc {
  color: #e4d7f2;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 640px;
  margin: 0 auto 2.2rem;
  line-height: 1.65;
}

.cta-final-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   ACTIVITIES PAGE (Learning Beyond the Classroom Grid)
   ========================================================================== */
.activities-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .activities-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }
}

@media (max-width: 900px) {
  .activities-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 580px) {
  .activities-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.activity-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.65rem 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.activity-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--purple-light), var(--purple));
  opacity: 0;
  transition: opacity var(--transition);
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(88, 43, 130, 0.12);
  border-color: #d1bfe5;
}

.activity-card:hover::before {
  opacity: 1;
}

.activity-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.activity-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--lavender), #efe7fa);
  border: 1px solid rgba(88, 43, 130, 0.12);
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

.activity-card:hover .activity-icon-badge {
  transform: scale(1.08);
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(88, 43, 130, 0.22);
}

.activity-svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.activity-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
  background: var(--lavender-light);
  color: var(--purple-dark);
  border: 1px solid var(--line-subtle);
  line-height: 1.2;
}

.activity-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.activity-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--dark-text);
  margin: 0 0 0.7rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.activity-desc {
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.68;
  margin: 0;
  flex: 1;
}

/* ==========================================================================
   ACADEMICS PAGE (Classes Grid & Syllabus)
   ========================================================================== */
.academic-classes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

.academic-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}

.academic-card-head {
  margin-bottom: 1rem;
}

.class-level {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}

.academic-card-head h3 {
  font-size: 1.6rem;
  margin: 0.2rem 0;
}

.age-range {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.class-summary {
  font-size: 0.98rem;
  color: var(--text-body);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.syllabus-block {
  background: var(--lavender-light);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.syllabus-block strong {
  display: block;
  font-size: 0.85rem;
  color: var(--dark-text);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.syllabus-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.syllabus-block li {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 0.4rem;
  padding-left: 1.2rem;
  position: relative;
}

.syllabus-block li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: bold;
}

.academics-feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.feature-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.feature-icon-badge {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.feature-checklist {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.feature-checklist li {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 0.6rem;
}

.portal-cta-wrap {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.academic-enquire-card {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.academic-enrichment-banner {
  background: linear-gradient(135deg, #ffffff 0%, var(--lavender) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.enrichment-banner-text {
  flex: 1;
  min-width: 290px;
}

.enrichment-banner-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--purple-dark);
}

.enrichment-banner-text p {
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.enrichment-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.enrichment-pills-row span {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.academic-enquire-card h2, .academic-enquire-card p, .academic-enquire-card .section-eyebrow {
  color: #fff;
}

/* ==========================================================================
   ADMISSIONS PAGE & ENQUIRY FORM
   ========================================================================== */
.hero-subtext {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 0.4rem;
}

.hero-desc {
  max-width: 680px;
  font-size: 1.12rem;
  color: var(--text-muted);
}

.page-hero-actions {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.enquiry-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 0.7rem;
}

.benefit-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.benefit-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.form-container {
  max-width: 900px;
}

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

.admission-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}

.form-section-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--purple);
  margin: 1.8rem 0 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.form-section-title:first-child {
  margin-top: 0;
}

.form-row {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.form-row.two-cols {
  grid-template-columns: 1fr 1fr;
}

.form-row.three-cols {
  grid-template-columns: repeat(3, 1fr);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dark-text);
  margin-bottom: 0.45rem;
}

.req-star {
  color: var(--rose);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--dark-text);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(88, 43, 130, 0.15);
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.form-submit-row {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.privacy-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* Quick 4-field Enquiry Styles */
.quick-enquiry-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fdf4ff;
  border: 1px solid #f0abfc;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}

.quick-banner-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.quick-banner-text strong {
  display: block;
  font-size: 0.95rem;
  color: #701a75;
  margin-bottom: 0.2rem;
}

.quick-banner-text p {
  margin: 0;
  font-size: 0.85rem;
  color: #86198f;
  line-height: 1.4;
}

.proceed-box-wrap {
  margin-top: 2rem;
}

.proceed-box-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.proceed-box-toggle:hover {
  background: #f1f5f9;
  border-color: var(--purple);
}

.proceed-box-toggle .icon {
  font-size: 1.4rem;
}

.proceed-box-toggle .text {
  flex: 1;
}

.proceed-box-toggle .text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--dark-text);
}

.proceed-box-toggle .text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.proceed-box-toggle .toggle-arrow {
  font-size: 0.8rem;
  color: var(--purple);
  transition: transform 0.2s ease;
}

.proceed-box-toggle.open .toggle-arrow {
  transform: rotate(180deg);
}

.proceed-info-banner {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.25rem;
}

.proceed-info-banner strong {
  display: block;
  color: #1e40af;
  font-size: 0.9rem;
}

.proceed-info-banner p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: #1d4ed8;
}

.admission-direct-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.direct-box-head {
  margin-bottom: 1.8rem;
}

.direct-contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.contact-pill-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--lavender-light);
  border: 1px solid var(--line);
  padding: 1.2rem;
  border-radius: var(--radius-md);
}

.contact-pill-item .icon {
  font-size: 1.8rem;
}

.contact-pill-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-pill-item a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple);
}

/* ==========================================================================
   GALLERY PAGE (Tabs, Masonry & Lightbox)
   ========================================================================== */
.gallery-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-tab {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item.is-hidden {
  display: none !important;
}

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

.gallery-photo-wrap {
  position: relative;
  overflow: hidden;
  background: var(--lavender);
}

.gallery-photo-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(20, 8, 35, 0.95) 0%, rgba(20, 8, 35, 0.5) 60%, transparent 100%);
  color: #fff;
  padding: 1.4rem 1.1rem 0.9rem;
  opacity: 0.95;
}

.gallery-category-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.gallery-overlay-title {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0 0 0.35rem;
}

.gallery-zoom-hint {
  font-size: 0.74rem;
  color: #d8c8e8;
  display: block;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.lead-p {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--dark-text);
  font-weight: 500;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.8rem;
}

.about-pills span {
  background: var(--lavender);
  border: 1px solid var(--line);
  color: var(--purple-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid #fff;
}

.about-img-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-media-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.about-media-tag strong {
  display: block;
  color: var(--dark-text);
  font-size: 0.95rem;
}

.about-media-tag span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

.pillar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

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

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

.vmv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}

.vmv-card.highlight {
  background: linear-gradient(150deg, #fff, #f6eefc);
  border-color: #cfb9e8;
}

.vmv-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.vmv-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.8rem;
}

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

.values-list li {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 0.6rem;
}

.principal-about-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.principal-about-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 2.2rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.principal-photo-frame {
  width: min(240px, 100%);
  aspect-ratio: 496 / 520;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(109, 40, 217, 0.12);
  border: 3px solid #ffffff;
  outline: 1px solid rgba(109, 40, 217, 0.12);
  background: var(--lavender);
}

.principal-photo-frame .principal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.principal-about-badge:hover .principal-photo-frame .principal-photo {
  transform: scale(1.03);
}

.principal-badge-text strong {
  display: block;
  font-size: 1.35rem;
  color: var(--purple);
  margin-top: 1rem;
}

.principal-badge-text span {
  display: block;
  font-size: 0.95rem;
  color: var(--dark-text);
  font-weight: 600;
}

.principal-badge-text small {
  display: inline-block;
  background: var(--lavender);
  color: var(--purple-dark);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.4rem;
}

.principal-text-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 1.1rem;
}

.principal-sign {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.principal-sign strong {
  display: block;
  font-size: 1.15rem;
  color: var(--purple);
}

.principal-sign span {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.principal-sign small {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.visit-box {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.visit-box h2, .visit-box p, .visit-box .section-eyebrow {
  color: #fff;
}

.visit-box-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   ABOUT & ACADEMICS PAGES — FULL-WIDTH TOP BANNERS
   Placed immediately below header with zero top margin/padding
   ========================================================================== */
.about-top-banner-section,
.academics-top-banner-section {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(109, 40, 217, 0.08);
  box-shadow: 0 4px 18px rgba(109, 40, 217, 0.04);
  line-height: 0;
}

.about-top-banner-container,
.academics-top-banner-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  cursor: pointer;
  line-height: 0;
}

.about-top-banner-img,
.academics-top-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  margin: 0;
  padding: 0;
  border: none;
  background: #ffffff;
}

/* Mobile tap hint */
.about-top-banner-container .banner-mobile-tap-hint,
.academics-top-banner-container .banner-mobile-tap-hint {
  display: none;
  line-height: 1.4;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #f5f3ff;
  color: var(--purple, #6d28d9);
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-top: 1px solid rgba(109, 40, 217, 0.1);
  text-align: center;
  cursor: pointer;
}

@media (max-width: 820px) {
  .about-top-banner-container .banner-mobile-tap-hint,
  .academics-top-banner-container .banner-mobile-tap-hint {
    display: flex;
  }
}

/* Lightbox Modal for Mobile Zoom & Fullscreen Viewer */
.banner-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(18, 9, 36, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.banner-lightbox.active {
  display: flex;
  opacity: 1;
}

.banner-lightbox-content {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banner-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0.65rem;
  padding: 0 0.25rem;
}

.banner-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.banner-zoom-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #ffffff;
}

.banner-lightbox-scroll-area {
  width: 100%;
  max-height: 84vh;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-md, 16px);
  -webkit-overflow-scrolling: touch;
}

.banner-lightbox-img {
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-md, 16px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
  background: #ffffff;
  transition: transform 0.25s ease-out;
  cursor: zoom-in;
}

.banner-lightbox-img.zoomed {
  transform: scale(1.6);
  cursor: zoom-out;
  transform-origin: center center;
}

.banner-lightbox-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--purple-dark, #3b0764);
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  padding: 0;
  transition: transform 0.2s;
}

.banner-lightbox-close:hover {
  transform: scale(1.08);
}

.banner-lightbox-caption {
  color: #ede9fe;
  font-size: 0.88rem;
  margin-top: 0.85rem;
  text-align: center;
}

@media (max-width: 640px) {
  .banner-lightbox {
    padding: 0.75rem;
  }
  .banner-lightbox-toolbar {
    margin-bottom: 0.5rem;
  }
  .banner-lightbox-close {
    width: 34px;
    height: 34px;
    font-size: 1.5rem;
  }
  .banner-zoom-btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
  }
}

/* ==========================================================================
   NOTICES PAGE (Full Layout)
   ========================================================================== */
.notice-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-right: 0.4rem;
}

.notice-pill-tag {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
}

.notice-pill-tag.active {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

.notices-display-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.notice-full-card {
  display: flex;
  align-items: flex-start;
  gap: 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.notice-full-card.highlight-notice {
  border-left: 5px solid var(--green);
}

.notice-date-box {
  background: var(--lavender);
  color: var(--purple-dark);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  text-align: center;
  min-width: 80px;
  flex-shrink: 0;
}

.notice-day {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.notice-month {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.notice-year {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.notice-body-wrap {
  flex: 1;
}

.notice-meta-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.4rem;
}

.notice-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-admission { background: #dcfce7; color: #166534; }
.badge-academic { background: #e0e7ff; color: #3730a3; }
.badge-event { background: #fef3c7; color: #92400e; }
.badge-general { background: var(--lavender); color: var(--purple); }

.notice-audience {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.notice-title {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.notice-text p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 0.6rem;
}

.notice-footer-action {
  margin-top: 0.8rem;
}

/* Notice Media & Attachment Card Styling */
.notice-attachment-badge {
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}
.notice-attachment-badge.is-img {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.notice-attachment-badge.is-doc {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.notice-media-attachment {
  margin-top: 1.25rem;
  width: 100%;
}

.notice-image-card {
  background: #faf8ff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.notice-image-card:hover {
  border-color: rgba(109, 40, 217, 0.28);
  box-shadow: var(--shadow-md);
}

.notice-image-preview {
  position: relative;
  cursor: pointer;
  background: #0f0a1c;
  max-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-featured-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.notice-image-preview:hover .notice-featured-img {
  transform: scale(1.025);
}

.notice-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 28, 0.36);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.notice-image-preview:hover .notice-image-overlay {
  opacity: 1;
}

.notice-zoom-btn {
  background: rgba(255, 255, 255, 0.95);
  color: var(--purple-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transform: translateY(5px);
  transition: transform 0.22s ease;
}
.notice-image-preview:hover .notice-zoom-btn {
  transform: translateY(0);
}

.notice-image-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.1rem;
  background: #ffffff;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 0.6rem;
}

.notice-file-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.notice-image-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.notice-action-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--lavender);
  transition: var(--transition);
}
.notice-action-link:hover {
  background: var(--purple);
  color: #ffffff;
}

/* File / PDF Document Card */
.notice-file-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem 1.4rem;
  background: #faf8ff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  transition: var(--transition);
}
.notice-file-card:hover {
  border-color: rgba(109, 40, 217, 0.25);
  box-shadow: var(--shadow-md);
}

.notice-file-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.notice-file-details {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.notice-file-details strong {
  font-size: 0.96rem;
  color: var(--dark-text);
  font-family: var(--font-heading);
}
.notice-file-details span {
  font-size: 0.8rem;
  color: var(--text-muted);
  word-break: break-all;
}

.notice-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
}

/* Homepage Notice Media Previews */
.notice-meta-tag-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}
.notice-has-file-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.notice-home-thumb {
  position: relative;
  margin-top: 0.65rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  max-height: 140px;
  border: 1px solid var(--line);
  background: #110d24;
}
.notice-home-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.notice-home-thumb:hover img {
  transform: scale(1.03);
}
.notice-thumb-overlay {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 10, 28, 0.78);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  backdrop-filter: blur(2px);
}
.notice-home-doc-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
}
.notice-home-doc-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.info-card.highlight-wa {
  border-left: 4px solid #25d366;
}

.info-card-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.info-card-body strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.info-card-body p {
  font-size: 1.05rem;
  color: var(--dark-text);
  margin: 0;
  font-weight: 600;
}

.info-card-body .big-text a {
  font-size: 1.4rem;
  color: var(--purple);
  font-weight: 800;
}

.sub-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-action-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--purple);
  margin-top: 0.45rem;
}

.card-action-link:hover {
  text-decoration: underline;
}

.form-card-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-md);
}

.form-card-title {
  font-size: 1.65rem;
  margin-bottom: 0.4rem;
}

.form-card-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

.map-box-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-info-bar {
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.map-info-bar h3 {
  margin: 0 0 0.2rem;
  font-size: 1.3rem;
}

.map-info-bar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.map-frame {
  min-height: 380px;
  background: var(--lavender-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.map-fallback-banner {
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 480px;
}

.map-marker-pin {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}

.map-fallback-banner h4 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.map-fallback-banner p {
  color: var(--text-body);
  margin-bottom: 1.2rem;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background: #EDE8F8;
  color: #231238;
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: 2rem;
  border-top: 1px solid rgba(109, 40, 217, 0.12);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3.5vw, 2.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(109, 40, 217, 0.12);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 1.25rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-brand:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.footer-logo-horizontal {
  display: block;
  height: 62px;
  width: auto;
  max-width: min(280px, 100%);
  aspect-ratio: 977 / 260;
  object-fit: contain;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  filter: none;
}

.footer-brand img:not(.footer-logo-horizontal) {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.1);
}

.footer-school-name {
  display: block;
  font-family: var(--font-school);
  font-size: 1.35rem;
  font-weight: 700;
  color: #231238;
  line-height: 1.15;
}

.footer-slogan {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--purple);
  text-transform: uppercase;
  font-weight: 600;
}

.footer-desc {
  font-size: 0.92rem;
  color: #55446a;
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid rgba(109, 40, 217, 0.14);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: #3b1b61;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(109, 40, 217, 0.05);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #231238;
  margin-bottom: 1.2rem;
}

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

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

.footer-links a {
  font-size: 0.92rem;
  color: #55446a;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--purple);
  text-decoration: underline;
}

.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #55446a;
  margin: 0;
}

.contact-line svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--purple);
}

.contact-line a {
  color: #231238;
  font-weight: 600;
  transition: color var(--transition);
}

.contact-line a:hover {
  color: var(--purple);
  text-decoration: underline;
}

.footer-cta-buttons {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

.btn-footer-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-footer-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(109, 40, 217, 0.25);
  color: #ffffff !important;
}

.btn-footer-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--purple) !important;
  border: 1.5px solid rgba(109, 40, 217, 0.25);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  transition: background var(--transition), border-color var(--transition);
}

.btn-footer-secondary:hover {
  background: #f5f0fb;
  border-color: var(--purple);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  color: #6b5c7e;
  font-size: 0.85rem;
}

.footer-bottom-copy {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-dot {
  opacity: 0.5;
}

.motto-tag {
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--purple-light);
}

/* ==========================================================================
   MOBILE STICKY ACTION BAR
   ========================================================================== */
.mobile-actions {
  display: none;
}

@media (max-width: 768px) {
  .mobile-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  }

  .mobile-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.2rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-body);
    gap: 0.2rem;
  }

  .mobile-action-item svg {
    color: var(--purple);
  }

  .mobile-action-item.highlight {
    background: var(--lavender);
    color: var(--purple-dark);
  }

  .mobile-action-item:active {
    background: #ede3f5;
  }

  /* Prevent bottom content from being covered by sticky action bar */
  body {
    padding-bottom: 64px;
  }
}

/* ==========================================================================
   LIGHTBOX & MODAL SYSTEM (Non-blocking, on-demand only)
   ========================================================================== */
.lzs-modal, .lzs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lzs-modal[hidden], .lzs-lightbox[hidden] {
  display: none !important;
}

.lzs-modal-overlay, .lzs-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 8, 38, 0.82);
  backdrop-filter: blur(8px);
}

.lzs-modal-dialog {
  position: relative;
  width: min(92vw, 640px);
  max-height: 90vh;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 2;
  animation: modalScale 0.25s ease;
}

.lzs-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

.lzs-modal-title {
  font-size: 1.1rem;
  margin: 0;
  color: var(--dark-text);
}

.lzs-modal-close, .lzs-lightbox-close {
  background: var(--lavender);
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--purple-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lzs-modal-close:hover, .lzs-lightbox-close:hover {
  background: #dfd1eb;
}

.lzs-modal-body {
  overflow-y: auto;
  padding: 1rem;
  text-align: center;
}

.poster-modal-img {
  width: 100%;
  max-height: calc(85vh - 140px);
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
  margin: 0 auto;
}

.lzs-modal-footer {
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  background: #faf7fc;
}

/* Generic Image Lightbox */
.lzs-lightbox-content {
  position: relative;
  max-width: min(92vw, 900px);
  max-height: 92vh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: modalScale 0.25s ease;
}

.lzs-lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: #fff;
}

.lzs-lightbox-image-wrap {
  max-height: 75vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  background: #000;
}

.lzs-lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.lzs-lightbox-caption {
  margin-top: 1rem;
  text-align: center;
  color: #fff;
}

.lzs-lightbox-caption h4 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0 0 0.3rem;
}

.lightbox-category {
  display: inline-block;
  background: var(--purple);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   PAGE HERO COMPONENT
   ========================================================================== */
.page-hero {
  background: radial-gradient(circle at 80% 20%, #eadbfa 0%, transparent 40%),
              linear-gradient(135deg, #ffffff 40%, #f9f5fd 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(3.5rem, 6.5vw, 6rem) clamp(1rem, 3.5vw, 2.5rem);
}

.page-hero-container {
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  max-width: 900px;
  margin-bottom: 1rem;
}

.page-hero p:not(.hero-subtext) {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-body);
  max-width: 720px;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   ADMIN & PORTAL STYLES (Preserved Core Functionality)
   ========================================================================== */
.admin-body { background: #f5f3f8; }
.admin-side { position: fixed; inset: 0 auto 0 0; width: 250px; background: var(--purple-deep); color: white; padding: 1.2rem; display: flex; flex-direction: column; z-index: 40; }
.admin-brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; font-size: 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid #ffffff22; }
.admin-brand img { width: 48px; height: 48px; border-radius: 50%; background: white; }
.admin-brand small { color: #cdbdde; }
.admin-side nav { overflow: auto; padding: .8rem 0; flex: 1; }
.admin-side nav a, .admin-logout { display: block; padding: .62rem .8rem; margin: .15rem 0; border-radius: 8px; font-size: .88rem; color: #e8dfee; }
.admin-side nav a:hover, .admin-side nav a.active { background: #ffffff18; color: white; }
.admin-main { margin-left: 250px; min-height: 100vh; }
.admin-top { height: 70px; background: white; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: flex-end; padding: 0 2rem; }
.admin-top div { text-align: right; }
.admin-top small { display: block; color: var(--text-muted); }
.admin-menu { display: none; }
.admin-content { padding: 2rem; }
.admin-title { display: flex; justify-content: space-between; align-items: end; margin-bottom: 1.5rem; }
.admin-title h1 { font-size: 2.4rem; margin: 0; }
.admin-title > a { color: var(--purple); font-weight: 700; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.metric-grid article { background: white; border: 1px solid var(--line); padding: 1.25rem; border-radius: 14px; }
.metric-grid span { display: block; color: var(--text-muted); font-size: .86rem; }
.metric-grid strong { font-size: 1.7rem; color: var(--purple); }
.admin-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.panel { margin-bottom: 1rem; padding: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.panel h2 { margin-top: 0; }
.compact-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; align-items: end; }
.compact-form input, .compact-form select { margin: 0; padding: .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th, td { text-align: left; padding: .72rem; border-bottom: 1px solid var(--line); font-size: .85rem; }
th { color: var(--purple); background: #faf7fd; font-weight: 700; }
td { background: white; }
.status { font-weight: 800; color: var(--green); }
.danger { padding: .35rem .55rem; background: white; color: var(--rose); border: 1px solid #e5a8b4; border-radius: 6px; }
.table-thumb { width: 90px; height: 65px; object-fit: cover; border-radius: 8px; }
.two-forms, .export-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.export-grid { grid-template-columns: repeat(3, 1fr); }

/* Login Page */
.login-wrap { min-height: calc(100vh - 86px); display: grid; grid-template-columns: 1fr 1fr; }
.login-brand, .login-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 8vw, 8rem); }
.login-brand { align-items: center; text-align: center; background: var(--lavender); }
.login-brand img { width: min(280px, 70vw); }
.login-brand h1 { font-size: 2.8rem; margin: 1.2rem 0 0; }
.login-card { gap: 1.2rem; background: white; }
.login-card h2 { font-size: 2rem; margin: 0; }
.login-card > a { text-align: center; color: var(--purple); font-weight: 600; }
.login-card input { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-top: 0.35rem; }

/* Portal Styles */
.portal-head { padding: 2rem clamp(1rem, 5vw, 5rem); display: flex; justify-content: space-between; align-items: center; background: var(--lavender); }
.portal-head h1 { margin: .2rem 0; }
.portal-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 1.4rem; padding: 2rem clamp(1rem, 5vw, 5rem); }
.portal-item { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.portal-item small { display: block; color: var(--purple); font-weight: 600; }
dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
dt { color: var(--text-muted); }
dd { font-weight: 700; margin: 0 0 0.5rem; }

/* Print Sheet */
.print-sheet { width: min(900px, calc(100% - 2rem)); margin: 2rem auto; background: white; padding: 2.5rem; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.print-head { display: flex; align-items: center; gap: 1.5rem; border: 2px solid var(--purple); padding: 1rem; }
.print-head img { width: 90px; height: 90px; object-fit: contain; }
.print-head h1 { color: var(--purple); margin: 0; }
.print-sheet > h2 { text-align: center; background: var(--purple); color: white; padding: .7rem; margin: 1rem 0; }
.receipt-grid { display: grid; grid-template-columns: 150px 1fr 150px 1fr; border: 1px solid var(--line); margin: 1.5rem 0; }
.receipt-grid > * { padding: .7rem; border: 1px solid var(--line); }
.receipt-grid b { background: var(--lavender); }
.signature-row { display: flex; justify-content: space-around; gap: 2rem; margin: 5rem 0 2rem; }
.signature-row span { flex: 1; border-top: 1px solid #777; text-align: center; padding-top: .5rem; }

@media print {
  .site-header, .site-footer, .mobile-actions, .no-print, .announcement-bar { display: none !important; }
  .print-sheet { box-shadow: none; border: 0; margin: 0; width: 100%; padding: 0; }
  @page { size: A4; margin: 12mm; }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   Desktop: 1440px, 1200px
   Tablet: 1024px, 768px
   Mobile: 430px, 390px, 375px
   ========================================================================== */
@media (max-width: 1200px) {
  .brand-logo-horizontal {
    height: 60px;
  }
  .main-nav {
    gap: 0.95rem;
  }
  .main-nav a:not(.nav-apply-btn):not(.nav-login-btn) {
    font-size: 0.88rem;
    padding: 0.45rem 0.05rem;
  }
}

@media (max-width: 1100px) {
  .brand-logo-horizontal {
    height: 54px;
  }
  .main-nav {
    gap: 0.7rem;
  }
  .main-nav a:not(.nav-apply-btn):not(.nav-login-btn) {
    font-size: 0.84rem;
  }
  .nav-apply-btn, .nav-login-btn {
    font-size: 0.82rem;
    padding: 0.45rem 0.85rem;
  }
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-meta-pills, .hero-cta-group, .hero-quick-contact { justify-content: center; }
  .hero-visual { margin-top: 2rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .beyond-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .life-mosaic { grid-template-columns: repeat(2, 1fr); }
  .student-work-grid { grid-template-columns: repeat(2, 1fr); }
  .activities-showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  .method-layout { grid-template-columns: 1fr; }
  .principal-layout { grid-template-columns: 1fr; text-align: center; }
  .principal-quote { border-left: 0; border-top: 3px solid var(--purple); padding: 1rem 0 0; }
  .principal-actions { justify-content: center; }
  .notices-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-layout-grid { grid-template-columns: 1fr; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .vmv-grid { grid-template-columns: 1fr; }
  .principal-about-layout { grid-template-columns: 1fr; }
  .admin-side { transform: translateX(-100%); transition: transform 0.25s ease; }
  .admin-side.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-menu { display: block; }
}

@media (max-width: 900px) {
  .site-header {
    height: 88px;
  }
  .header-container {
    height: 88px;
  }
  .brand-logo-horizontal {
    height: 56px;
    max-width: calc(100vw - 120px);
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    z-index: 49;
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .nav-actions { flex-direction: column; align-items: stretch; margin-top: 1rem; margin-left: 0; }
  .nav-apply-btn, .nav-login-btn { text-align: center; }
  .enquiry-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .academic-classes-grid { grid-template-columns: 1fr; }
  .academics-feature-split { grid-template-columns: 1fr; }
  .form-row.two-cols, .form-row.three-cols { grid-template-columns: 1fr; }
  .direct-contacts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .announcement-bar { justify-content: center; text-align: center; }
  .announcement-actions { display: none; }
  .site-header { height: 82px; }
  .header-container { height: 82px; }
  .main-nav { top: 82px; max-height: calc(100vh - 82px); }
  .brand-logo-horizontal { height: 48px; max-width: calc(100vw - 95px); }
  .footer-logo-horizontal { height: 50px; }
  .brand img:not(.brand-logo-horizontal) { width: 62px; height: 62px; }
  .brand-name { font-size: 1.25rem; }
  .brand-tagline { font-size: 0.7rem; }
  .hero-section { padding-top: 2.5rem; }
  .why-grid { grid-template-columns: 1fr; }
  .beyond-grid { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: 1fr; }
  .life-mosaic { grid-template-columns: 1fr; }
  .student-work-grid { grid-template-columns: 1fr; }
  .activities-showcase-grid { grid-template-columns: 1fr; }
  .gallery-masonry { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .enquiry-benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
  .login-wrap { grid-template-columns: 1fr; }
  .portal-grid { grid-template-columns: 1fr; }
  .visit-box, .academic-enquire-card, .strip-container { flex-direction: column; align-items: flex-start; }
  .notice-full-card { flex-direction: column; }
}

@media (max-width: 390px) {
  .site-header { height: 76px; }
  .header-container { height: 76px; padding: 0 0.75rem; }
  .main-nav { top: 76px; max-height: calc(100vh - 76px); }
  .brand-logo-horizontal { height: 42px; max-width: calc(100vw - 80px); }
  .footer-logo-horizontal { height: 44px; }
  .hero-title { font-size: 2.3rem; }
  .button.button-lg { width: 100%; text-align: center; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .button { width: 100%; }
}

/* ==========================================================================
   VIBRANT 14 ACTIVITIES & COLORFUL SYSTEM STYLES
   ========================================================================== */
.activity-card-new {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem 1.8rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 24px rgba(59, 7, 100, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.activity-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(109, 40, 217, 0.16);
  border-color: rgba(168, 85, 247, 0.35);
}

.act-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  align-self: flex-start;
}

/* 14 Colorful Activity Badges */
.badge-phonics { background: #f3e8ff; color: #7e22ce; border: 1px solid #d8b4fe; }
.badge-english { background: #e0f2fe; color: #0369a1; border: 1px solid #7dd3fc; }
.badge-story { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-craft { background: #fce7f3; color: #be185d; border: 1px solid #fbcfe8; }
.badge-smart { background: #d1fae5; color: #047857; border: 1px solid #a7f3d0; }
.badge-montessori { background: #ede9fe; color: #5b21b6; border: 1px solid #c4b5fd; }
.badge-stem { background: #ffedd5; color: #c2410c; border: 1px solid #fed7aa; }
.badge-puzzle { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge-yoga { background: #ecfccb; color: #4d7c0f; border: 1px solid #d9f99d; }
.badge-music { background: #fae8ff; color: #a21caf; border: 1px solid #f5d0fe; }
.badge-rhymes { background: #fef9c3; color: #a16207; border: 1px solid #fef08a; }
.badge-bagless { background: #cffafe; color: #0e7490; border: 1px solid #a5f3fc; }
.badge-celebration { background: #ffe4e6; color: #be123c; border: 1px solid #fecdd3; }
.badge-project { background: #f3e8ff; color: #6b21a8; border: 1px solid #e9d5ff; }

/* Icon Box */
.act-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.activity-card-new:hover .act-icon-box {
  transform: scale(1.1) rotate(3deg);
}

.act-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.act-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.act-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.act-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: var(--lavender);
  color: var(--purple-dark);
}

/* Empty States */
.gallery-empty-state, .notice-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(245, 243, 255, 0.7) 0%, rgba(254, 242, 242, 0.5) 50%, rgba(254, 249, 195, 0.4) 100%);
  border: 2px dashed rgba(168, 85, 247, 0.35);
  border-radius: 24px;
  margin: 2rem 0;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(109, 40, 217, 0.14);
}

.empty-state-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple-dark);
  margin-bottom: 0.5rem;
}

.empty-state-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.home-empty-notice-card {
  text-align: center;
  padding: 2.2rem 1.5rem;
  background: #ffffff;
  border: 2px dashed rgba(168, 85, 247, 0.25);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(59, 7, 100, 0.03);
}

.empty-icon-sm {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f5f3ff;
}

.empty-msg {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   PAGE-SPECIFIC BACKGROUNDS & BRAND BACKGROUND SYSTEM
   70% white/near-white, 20% very light lavender, 10% purple/accent
   ========================================================================== */

/* 1. HOME PAGE (#F8F6FF main, #FFFFFF alternating sections) */
body.page-home {
  background-color: var(--bg-primary);
}

body.page-home .hero-section {
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

body.page-home .hero-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.035) 0%, rgba(248, 246, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

body.page-home .hero-section::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 140px;
  height: 100px;
  background-image: radial-gradient(rgba(109, 40, 217, 0.03) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  pointer-events: none;
  z-index: 0;
}

body.page-home .section.section-why {
  background-color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

body.page-home .section.section-why .why-card {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(109, 40, 217, 0.08);
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.03);
}

body.page-home .section.section-beyond {
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

body.page-home .section.section-beyond::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.03) 0%, rgba(248, 246, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

body.page-home .section.section-beyond .beyond-card {
  background-color: var(--bg-white);
  border: 1px solid rgba(109, 40, 217, 0.08);
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.03);
}

body.page-home .section.section-journey {
  background-color: var(--bg-white);
}

body.page-home .section.section-journey .journey-step-card {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(109, 40, 217, 0.08);
}

body.page-home .section.section-method {
  background-color: var(--bg-primary);
}

body.page-home .section.section-method .method-item {
  background-color: var(--bg-white);
  border: 1px solid rgba(109, 40, 217, 0.08);
}

body.page-home .section.section-principal {
  background-color: var(--bg-white);
}

body.page-home .section.section-principal .principal-card {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(109, 40, 217, 0.08);
}

body.page-home .section.section-life {
  background-color: var(--bg-primary);
}

body.page-home .section.section-work {
  background-color: var(--bg-white);
}

body.page-home .section.section-notices {
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

body.page-home .section.section-notices .notice-card,
body.page-home .section.section-notices .event-card {
  background-color: var(--bg-white);
  border: 1px solid rgba(109, 40, 217, 0.08);
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.03);
}

body.page-home .section.section-cta-final {
  background-color: var(--bg-white);
}

/* 2. ABOUT PAGE (#FAF8FF main, white cards, subtle organic curves) */
body.page-about {
  background-color: var(--bg-secondary);
}

body.page-about .page-hero {
  background: var(--bg-secondary);
  border-bottom: 1px solid rgba(109, 40, 217, 0.08);
  position: relative;
  overflow: hidden;
}

body.page-about .page-hero::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.035) 0%, rgba(250, 248, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

body.page-about .section {
  background-color: var(--bg-secondary);
  position: relative;
}

body.page-about .section.soft-bg {
  background-color: var(--bg-secondary);
}

body.page-about .about-intro-grid {
  background: var(--bg-white);
  border: 1px solid rgba(109, 40, 217, 0.08);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 4px 18px rgba(109, 40, 217, 0.03);
}

body.page-about .pillar-card {
  background: var(--bg-white);
  border: 1px solid rgba(109, 40, 217, 0.08);
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.03);
}

body.page-about .vmv-card {
  background: var(--bg-white);
  border: 1px solid rgba(109, 40, 217, 0.08);
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.03);
}

body.page-about .principal-about-layout {
  background: var(--bg-white);
  border: 1px solid rgba(109, 40, 217, 0.08);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 4px 18px rgba(109, 40, 217, 0.03);
}

/* 3. ACADEMICS PAGE (#F9F7FF main, white cards, structured layout) */
body.page-academics {
  background-color: var(--bg-academics);
}

body.page-academics .page-hero {
  background: var(--bg-academics);
  border-bottom: 2px solid rgba(109, 40, 217, 0.12);
  position: relative;
  overflow: hidden;
}

body.page-academics .page-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.035) 0%, rgba(249, 247, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

body.page-academics .section {
  background-color: var(--bg-academics);
  position: relative;
}

body.page-academics .section-header {
  border-bottom: 2px solid rgba(109, 40, 217, 0.12);
  padding-bottom: 1.2rem;
}

body.page-academics .academic-card {
  background: var(--bg-white);
  border: 1px solid rgba(109, 40, 217, 0.09);
  box-shadow: 0 4px 18px rgba(109, 40, 217, 0.04);
}

body.page-academics .feature-box {
  background: var(--bg-white);
  border: 1px solid rgba(109, 40, 217, 0.09);
  box-shadow: 0 4px 18px rgba(109, 40, 217, 0.04);
}

body.page-academics .academic-enrichment-banner {
  background: var(--bg-white);
  border: 1px solid rgba(109, 40, 217, 0.09);
  box-shadow: 0 4px 18px rgba(109, 40, 217, 0.04);
}

/* 4. ACTIVITIES PAGE (#F8F6FF main, white activity cards, subtle hover) */
body.page-activities {
  background-color: var(--bg-primary);
}

body.page-activities .page-hero {
  background: var(--bg-primary);
  border-bottom: 1px solid rgba(109, 40, 217, 0.08);
  position: relative;
  overflow: hidden;
}

body.page-activities .page-hero::before {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.035) 0%, rgba(248, 246, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

body.page-activities .section {
  background-color: var(--bg-primary);
  position: relative;
}

body.page-activities .activity-card {
  background: var(--bg-white);
  border: 1px solid rgba(109, 40, 217, 0.09);
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.04);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

body.page-activities .activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(109, 40, 217, 0.1);
  border-color: rgba(109, 40, 217, 0.25);
}

body.page-activities .activity-svg {
  width: 32px;
  height: 32px;
}

/* 5. ADMISSIONS PAGE (#FCFAFF main, bright & welcoming, prominent CTA) */
body.page-admission {
  background-color: var(--bg-admission);
}

body.page-admission .page-hero {
  background: var(--bg-admission);
  border-bottom: 1px solid rgba(109, 40, 217, 0.08);
  position: relative;
  overflow: hidden;
}

body.page-admission .page-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.03) 0%, rgba(252, 250, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

body.page-admission .section {
  background-color: var(--bg-admission);
  position: relative;
}

body.page-admission .section.soft-bg {
  background-color: var(--bg-admission);
}

body.page-admission .benefit-card {
  background: var(--bg-white);
  border: 1px solid rgba(109, 40, 217, 0.09);
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.03);
}

body.page-admission .admission-form {
  background: var(--bg-white);
  border: 1px solid rgba(109, 40, 217, 0.1);
  box-shadow: 0 8px 30px rgba(109, 40, 217, 0.05);
}

body.page-admission .form-row input,
body.page-admission .form-row select,
body.page-admission .form-row textarea {
  border: 1px solid rgba(109, 40, 217, 0.15);
  background: var(--bg-white);
  font-family: var(--font-sans);
}

body.page-admission .form-row input:focus,
body.page-admission .form-row select:focus,
body.page-admission .form-row textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.12);
}

/* 6. GALLERY PAGE (#FFFFFF main, photo areas bright, lavender around headers/filters) */
body.page-gallery {
  background-color: var(--bg-white);
}

body.page-gallery .page-hero {
  background: var(--bg-primary);
  border-bottom: 1px solid rgba(109, 40, 217, 0.08);
  position: relative;
  overflow: hidden;
}

body.page-gallery .gallery-section {
  background-color: var(--bg-white);
  position: relative;
}

body.page-gallery .gallery-album-header {
  background: var(--bg-primary);
  border: 1px solid rgba(109, 40, 217, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-bottom: 2rem;
}

body.page-gallery .album-info-bar {
  background: var(--bg-primary);
  border: 1px solid rgba(109, 40, 217, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.6rem;
  margin-bottom: 1.5rem;
}

body.page-gallery .filter-tab {
  background: var(--bg-white);
  border: 1px solid rgba(109, 40, 217, 0.1);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-weight: 500;
}

body.page-gallery .filter-tab.active {
  background: var(--purple);
  color: #FFFFFF;
  border-color: var(--purple);
  font-weight: 600;
}

body.page-gallery .album-photos-grid {
  background-color: var(--bg-white);
}

/* 7. NOTICES PAGE (#FAF8FF main, white notice cards) */
body.page-notices {
  background-color: var(--bg-secondary);
}

body.page-notices .page-hero {
  background: var(--bg-secondary);
  border-bottom: 1px solid rgba(109, 40, 217, 0.08);
  position: relative;
  overflow: hidden;
}

body.page-notices .section {
  background-color: var(--bg-secondary);
  position: relative;
}

body.page-notices .notice-full-card {
  background: var(--bg-white);
  border: 1px solid rgba(109, 40, 217, 0.08);
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.04);
}

body.page-notices .notice-date-box {
  background: #F0EAFB;
  color: #581C87;
}

/* 8. CONTACT PAGE (#FFFFFF main, very light lavender panels) */
body.page-contact {
  background-color: var(--bg-white);
}

body.page-contact .page-hero {
  background: var(--bg-primary);
  border-bottom: 1px solid rgba(109, 40, 217, 0.08);
  position: relative;
  overflow: hidden;
}

body.page-contact .section {
  background-color: var(--bg-white);
  position: relative;
}

body.page-contact .info-card {
  background: var(--bg-primary);
  border: 1px solid rgba(109, 40, 217, 0.08);
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.03);
}

body.page-contact .contact-form-wrap,
body.page-contact .contact-form {
  background: var(--bg-primary);
  border: 1px solid rgba(109, 40, 217, 0.08);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
}

body.page-contact .map-frame {
  background: var(--bg-primary);
  border: 1px solid rgba(109, 40, 217, 0.08);
}

/* ==========================================================================
   ANIMATED ADMISSION OPEN POPUP (AIRPLANE FLIGHT & SPOTLIGHT OFFER)
   ========================================================================== */
body.lzs-modal-open {
  overflow: hidden !important;
}

.lzs-admission-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  animation: lzsModalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lzs-admission-modal[hidden] {
  display: none !important;
}

.lzs-admission-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 11, 48, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}

@keyframes lzsModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Modal Card */
.admission-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 460px;
  min-width: 0;
  margin: auto;
  background: linear-gradient(155deg, #FFFFFF 0%, #FAF7FF 38%, #F3ECFE 75%, #EDE4FD 100%);
  border-radius: 28px;
  border: 1.5px solid rgba(139, 92, 246, 0.28);
  box-shadow: 0 24px 60px -10px rgba(76, 29, 149, 0.35), 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 1.6rem 1.6rem 1.8rem;
  text-align: center;
  overflow: hidden;
  contain: paint;
  box-sizing: border-box;
  animation: lzsCardZoomIn 0.35s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}

@keyframes lzsCardZoomIn {
  0% { transform: scale(0.9) translateY(18px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Background floating elements (subtle school theme) */
.card-sky-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.decor-cloud {
  position: absolute;
  fill: #FFFFFF;
  opacity: 0.8;
  filter: drop-shadow(0 2px 8px rgba(109, 40, 217, 0.06));
}
.decor-cloud.c1 { top: 16px; left: 14px; width: 62px; height: 32px; animation: cloudFloat1 6s ease-in-out infinite alternate; }
.decor-cloud.c2 { top: 54px; right: 24px; width: 72px; height: 36px; opacity: 0.65; animation: cloudFloat2 7s ease-in-out infinite alternate; }
.decor-cloud.c3 { bottom: 40px; left: -10px; width: 85px; height: 44px; opacity: 0.45; }

@keyframes cloudFloat1 {
  0% { transform: translateX(0); }
  100% { transform: translateX(10px); }
}
@keyframes cloudFloat2 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-8px); }
}

.decor-star {
  position: absolute;
  animation: starTwinkle 2.5s ease-in-out infinite alternate;
}
.decor-star.s1 { top: 20px; right: 65px; font-size: 16px; color: #F59E0B; animation-delay: 0.2s; }
.decor-star.s2 { top: 68px; left: 24px; font-size: 14px; color: #8B5CF6; animation-delay: 0.8s; }
.decor-star.s3 { bottom: 75px; right: 20px; font-size: 15px; color: #EC4899; animation-delay: 1.4s; }

@keyframes starTwinkle {
  0% { transform: scale(0.8) rotate(0deg); opacity: 0.4; }
  100% { transform: scale(1.2) rotate(15deg); opacity: 1; }
}

/* Close Button */
.admission-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 30;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(109, 40, 217, 0.16);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: #5b21b6;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(109, 40, 217, 0.08);
}
.admission-close-btn:hover {
  background: #6d28d9;
  color: #ffffff;
  border-color: #6d28d9;
  transform: rotate(90deg) scale(1.06);
}

/* Card Content Container */
.card-content-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  min-width: 0;
}

/* Top: School Brand */
.popup-brand-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 35px;
  margin-bottom: 0.6rem;
}
.popup-brand-logo {
  height: 44px;
  width: auto;
  max-width: 215px;
  object-fit: contain;
}

/* Airplane Flight Stage */
.flight-stage {
  position: relative;
  width: 100%;
  height: 96px;
  margin: 0.2rem 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  contain: paint;
}

/* Motion trail behind airplane */
.flight-trail-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: 10px;
  width: 150px;
  height: 48px;
  transform: translateY(-50%);
  pointer-events: none;
}
.trail-path {
  fill: none;
  stroke: #A78BFA;
  stroke-width: 2.5;
  stroke-dasharray: 6 4;
  stroke-linecap: round;
  opacity: 0;
  stroke-dashoffset: 160;
  animation: drawTrail 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
@keyframes drawTrail {
  0% { stroke-dashoffset: 160; opacity: 0; }
  30% { opacity: 0.9; }
  100% { stroke-dashoffset: 0; opacity: 0.75; }
}

.trail-puffs {
  position: absolute;
  left: 50%;
  margin-left: 55px;
  top: 48%;
  transform: translateY(-50%);
  display: flex;
  gap: 8px;
  pointer-events: none;
}
.puff {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(139, 92, 246, 0.25);
  opacity: 0;
  animation: puffFade 1.2s ease-out forwards;
}
.puff.p1 { width: 9px; height: 9px; animation-delay: 0.6s; }
.puff.p2 { width: 13px; height: 13px; animation-delay: 0.8s; }
.puff.p3 { width: 16px; height: 16px; animation-delay: 1.0s; }

@keyframes puffFade {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.1); opacity: 0.95; }
  100% { transform: scale(1); opacity: 0.7; }
}

/* Airplane Wrapper and SVG */
.airplane-wrapper {
  position: relative;
  z-index: 5;
  width: 96px;
  height: 74px;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  animation: airplaneHover 3.2s ease-in-out infinite alternate;
}

@keyframes airplaneFlyIn {
  0% {
    opacity: 0;
    transform: translate3d(180px, -24px, 0) rotate(-15deg) scale(0.78);
  }
  30% {
    opacity: 1;
  }
  75% {
    transform: translate3d(-10px, 4px, 0) rotate(3deg) scale(1.04);
  }
  90% {
    transform: translate3d(3px, -2px, 0) rotate(-1deg) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

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

.airplane-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 16px rgba(109, 40, 217, 0.22));
}

/* Announcement Banner: “ADMISSION OPEN” */
.admission-badge-wrap {
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 0.45rem;
}

@keyframes badgePop {
  0% { opacity: 0; transform: scale(0.7) translateY(8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.admission-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #6D28D9 0%, #7C3AED 50%, #9333EA 100%);
  color: #FFFFFF;
  padding: 0.44rem 1.35rem;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.admission-badge-text {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-sparkle {
  font-size: 13px;
  color: #FDE047;
}

/* Headings: “Visit Today & Reserve Your Seat” */
.offer-heading-wrap {
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 0.65rem;
}

@keyframes textSlideUp {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.offer-title {
  font-family: var(--font-school);
  font-size: clamp(1.35rem, 4.4vw, 1.68rem);
  font-weight: 700;
  color: #240d3a;
  line-height: 1.25;
}

/* Pricing Card: “by paying ₹500 ONLY” */
.offer-price-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF7 100%);
  border: 2px solid #F59E0B;
  border-radius: 20px;
  padding: 0.75rem 1.25rem 0.85rem;
  margin: 0.65rem auto 1.15rem;
  max-width: 370px;
  box-shadow: 0 8px 26px -4px rgba(245, 158, 11, 0.28), 0 2px 6px rgba(109, 40, 217, 0.06);
  position: relative;
  overflow: hidden;
}

@keyframes priceReveal {
  0% { opacity: 0; transform: translateY(14px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Light sheen / shimmer across price card */
.offer-price-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 70%;
  height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
  transform: rotate(25deg);
  pointer-events: none;
  animation: shimmerSweep 3.5s ease-in-out 1s infinite;
}

@keyframes shimmerSweep {
  0% { left: -120%; }
  35% { left: 160%; }
  100% { left: 160%; }
}

.offer-subtext {
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b5c7c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.price-highlight-text {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-school);
  font-size: clamp(2.1rem, 6.6vw, 2.6rem);
  font-weight: 800;
  color: #4C1D95;
  line-height: 1.05;
  text-shadow: 0 2px 8px rgba(109, 40, 217, 0.12);
}

.price-currency {
  font-family: var(--font-heading);
  font-size: 0.88em;
  color: #D97706;
  font-weight: 800;
}

.price-number {
  color: #5B21B6;
  letter-spacing: -0.02em;
}

.price-tag {
  color: #D97706;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Subtle pulse glow on the 500 ONLY badge */
.price-pulse-glow {
  animation: pricePulse 2.4s ease-in-out infinite;
}

@keyframes pricePulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(245, 158, 11, 0));
  }
  50% {
    transform: scale(1.03);
    filter: drop-shadow(0 3px 10px rgba(245, 158, 11, 0.35));
  }
}

/* CTA Button: “RESERVE YOUR SEAT” */
.cta-button-wrap {
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 0.8rem;
}

@keyframes ctaSlideUp {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.admission-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 350px;
  padding: 0.98rem 1.8rem;
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 60%, #5B21B6 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 25px -4px rgba(109, 40, 217, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.admission-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -4px rgba(109, 40, 217, 0.6);
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 60%, #6D28D9 100%);
}

.admission-cta-btn:active {
  transform: translateY(1px);
}

.cta-btn-icon {
  display: inline-block;
  transition: transform 0.2s ease;
}
.admission-cta-btn:hover .cta-btn-icon {
  transform: translateX(4px);
}

/* Footer microcopy */
.admission-microcopy {
  font-size: 0.8rem;
  color: #7c6892;
  line-height: 1.4;
  opacity: 1;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .lzs-admission-modal,
  .admission-card,
  .trail-path,
  .airplane-wrapper,
  .admission-badge-wrap,
  .offer-heading-wrap,
  .offer-price-card,
  .cta-button-wrap,
  .admission-microcopy,
  .puff {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
  .lzs-admission-modal {
    padding: 10px;
  }
  .admission-card {
    padding: 1.35rem 1.15rem 1.5rem;
    border-radius: 24px;
  }
  .popup-brand-wrap {
    padding: 0 28px;
    margin-bottom: 0.4rem;
  }
  .popup-brand-logo {
    height: 38px;
    max-width: 185px;
  }
  .flight-stage {
    height: 84px;
    margin: 0.1rem 0 0.35rem;
  }
  .airplane-wrapper {
    width: 82px;
    height: 64px;
  }
  .offer-title {
    font-size: 1.25rem;
  }
  .offer-price-card {
    padding: 0.65rem 1rem 0.75rem;
    margin-bottom: 0.9rem;
    border-radius: 16px;
  }
  .price-highlight-text {
    font-size: 2.05rem;
  }
  .admission-cta-btn {
    padding: 0.88rem 1.4rem;
    font-size: 1.05rem;
  }
  .admission-close-btn {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}

/* ==========================================================================
   HERO MOBILE APP DOWNLOAD BUTTONS
   ========================================================================== */
.hero-app-strip {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.app-strip-tag {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple-light);
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: appPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes appPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-app-btns {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(109, 40, 217, 0.16);
  padding: 0.48rem 1rem 0.48rem 0.85rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.06);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  min-height: 48px;
}

.hero-app-btn:hover {
  transform: translateY(-2px);
  border-color: var(--purple);
  box-shadow: 0 8px 22px rgba(109, 40, 217, 0.16);
  background: #ffffff;
}

.hero-app-btn .btn-os-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.hero-app-btn:hover .btn-os-icon {
  transform: scale(1.1);
}

.hero-app-btn.btn-android .btn-os-icon {
  color: #10b981;
}

.hero-app-btn.btn-ios .btn-os-icon {
  color: #0284c7;
}

.hero-app-btn .btn-os-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.hero-app-btn .btn-os-text small {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-app-btn .btn-os-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark-text);
  font-family: var(--font-heading);
}

/* ==========================================================================
   DEDICATED SECTION: MOBILE APP SHOWCASE
   ========================================================================== */
.section-app-showcase {
  padding: clamp(3rem, 5vw, 5.5rem) clamp(1rem, 3.5vw, 2.5rem);
  background: #faf8ff;
}

.app-showcase-card {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #240d3a 0%, #3b0764 45%, #180927 100%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 25px 50px -12px rgba(36, 13, 58, 0.4), 0 0 0 1px rgba(109, 40, 217, 0.15);
  padding: clamp(2.2rem, 4vw, 4rem) clamp(1.5rem, 3.5vw, 3.5rem);
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.app-showcase-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.28) 0%, rgba(109, 40, 217, 0.1) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.app-showcase-card::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16) 0%, rgba(219, 39, 119, 0.08) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.app-showcase-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.app-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #f7e7a9;
  margin-bottom: 1rem;
}

.app-showcase-title {
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 800;
}

.app-title-highlight {
  background: linear-gradient(135deg, #f7e7a9 0%, #d4af37 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.app-showcase-desc {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 1.6rem;
}

.app-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.app-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-icon-bubble {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-icon-bubble.green {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.feature-icon-bubble.purple {
  background: rgba(167, 139, 250, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(196, 181, 253, 0.4);
}

.feature-icon-bubble.amber {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.feature-icon-bubble.blue {
  background: rgba(14, 165, 233, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-text strong {
  font-size: 0.92rem;
  color: #ffffff;
  font-weight: 600;
}

.feature-text span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.35;
}

/* 2 High-Converting App Store Buttons */
.app-download-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
}

.btn-app-store {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.85rem 1.45rem;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  min-width: 230px;
}

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

.btn-app-store .btn-store-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-app-store .btn-store-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.btn-app-store .btn-store-sub {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.btn-app-store .btn-store-main {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  margin: 1px 0;
}

.btn-app-store .btn-store-badge {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.88;
}

/* Specific Style: Android APK Button */
.btn-app-android {
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%);
  border: 1.5px solid rgba(52, 211, 153, 0.4);
  color: #ffffff;
}

.btn-app-android:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%);
  border-color: #34d399;
  box-shadow: 0 14px 28px -4px rgba(16, 185, 129, 0.45);
}

.btn-app-android .btn-store-icon {
  color: #34d399;
}

/* Specific Style: Apple iOS Button */
.btn-app-ios {
  background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 50%, #0369a1 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  color: #ffffff;
}

.btn-app-ios:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #38bdf8 100%);
  border-color: #38bdf8;
  box-shadow: 0 14px 28px -4px rgba(14, 165, 233, 0.45);
}

.btn-app-ios .btn-store-icon {
  color: #ffffff;
}

.app-auxiliary-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.app-auxiliary-links .aux-link {
  color: #f7e7a9;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s;
}

.app-auxiliary-links .aux-link:hover {
  color: #ffffff;
}

.app-auxiliary-links .aux-sep {
  opacity: 0.4;
}

/* Mockup Presentation in Right Column */
.app-showcase-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.app-phone-mockup {
  position: relative;
  width: 100%;
  max-width: 330px;
}

.mockup-frame {
  background: #0f172a;
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.mockup-screen {
  background: #f8fafe;
  border-radius: 28px;
  padding: 16px;
  color: #0f172a;
  overflow: hidden;
  font-family: var(--font-sans);
}

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.screen-school-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.screen-school-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

.screen-school-brand strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #5e4384;
  line-height: 1.1;
}

.screen-school-brand small {
  font-size: 0.68rem;
  color: #64748b;
}

.screen-bell-dot {
  font-size: 1.1rem;
}

.screen-student-banner {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  box-shadow: 0 6px 16px rgba(109, 40, 217, 0.25);
}

.student-avatar-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.student-meta h4 {
  margin: 0;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

.student-meta span {
  font-size: 0.72rem;
  color: #e9d5ff;
}

.screen-quick-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.screen-metric-card {
  padding: 8px 6px;
  border-radius: 12px;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.screen-metric-card.green { border-top: 3px solid #10b981; }
.screen-metric-card.purple { border-top: 3px solid #7c3aed; }
.screen-metric-card.amber { border-top: 3px solid #f59e0b; }

.screen-metric-card .metric-val {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
}

.screen-metric-card .metric-lbl {
  font-size: 0.62rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
}

.screen-notice-preview {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
}

.preview-tag {
  font-size: 0.62rem;
  font-weight: 800;
  color: #be123c;
  background: #ffe4e6;
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.screen-notice-preview p {
  margin: 0;
  font-size: 0.72rem;
  color: #334155;
  line-height: 1.35;
}

.floating-app-tag {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.floating-app-tag .tag-icon {
  font-size: 1.25rem;
}

.floating-app-tag strong {
  display: block;
  font-size: 0.78rem;
  color: #ffffff;
  line-height: 1.1;
}

.floating-app-tag small {
  font-size: 0.68rem;
  color: #34d399;
}

@media (max-width: 900px) {
  .app-showcase-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .app-showcase-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .app-features-list {
    text-align: left;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .app-download-actions {
    justify-content: center;
  }
  .app-auxiliary-links {
    justify-content: center;
  }
  .app-showcase-visual {
    margin-top: 1.5rem;
  }
}

@media (max-width: 560px) {
  .app-features-list {
    grid-template-columns: 1fr;
  }
  .btn-app-store {
    width: 100%;
    min-width: unset;
    justify-content: center;
  }
}

/* Real-Time Live Sync Status Badge & Animations */
.live-realtime-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  color: #6d28d9;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-top: 0.75rem;
}
.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}
.live-pulse-dot.connecting,
.live-pulse-dot.reconnecting {
  background: #f59e0b;
  animation: pulse-amber 2s infinite;
}
.live-pulse-dot.syncing {
  background: #6366f1;
  animation: pulse-purple 1.5s infinite;
}
@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes pulse-amber {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
@keyframes pulse-purple {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(99, 102, 241, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}
.notice-fade-in {
  animation: fadeInNotice 0.4s ease-out;
}
@keyframes fadeInNotice {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   CONTACT PAGE — UNIQUE VISITOR COUNTER ("Our Digital Footprints")
   Theme: Lavender, Purple, White, Soft Grey
   ========================================================================== */
.visitor-counter-section {
  padding-top: 1rem;
  padding-bottom: 3.8rem;
  background: transparent;
}

.visitor-counter-card {
  max-width: 780px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ffffff 0%, #faf8ff 55%, #f5f3ff 100%);
  border: 1px solid rgba(109, 40, 217, 0.12);
  border-radius: var(--radius-lg, 24px);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3.5vw, 2.5rem);
  text-align: center;
  box-shadow: 0 10px 30px rgba(109, 40, 217, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.visitor-counter-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(109, 40, 217, 0.09), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.visitor-counter-header {
  margin-bottom: 1.25rem;
}

.visitor-counter-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ede9fe;
  color: var(--purple, #6d28d9);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.visitor-counter-eyebrow .footprint-svg {
  display: inline-block;
}

.visitor-counter-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--purple-dark, #3b0764);
  margin: 0;
  letter-spacing: -0.01em;
}

.visitor-counter-stat {
  margin: 1.5rem 0 1.25rem 0;
}

.visitor-counter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid rgba(109, 40, 217, 0.14);
  padding: 0.6rem 2.2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.07);
}

.visitor-counter-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f5f3ff;
  color: var(--purple, #6d28d9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.visitor-counter-number {
  font-family: var(--font-school), var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #6d28d9 0%, #3b0764 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  min-width: 80px;
  letter-spacing: -0.02em;
}

.visitor-counter-label {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-muted, #6b5c7c);
  margin: 0.75rem 0 0 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.visitor-counter-privacy {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(109, 40, 217, 0.08);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  text-align: left;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.visitor-counter-privacy .privacy-icon {
  font-size: 0.95rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.visitor-counter-privacy .privacy-text {
  font-size: 0.78rem;
  line-height: 1.55;
  color: #716282;
  margin: 0;
}

.visitor-counter-privacy .privacy-text strong {
  color: var(--purple-dark, #3b0764);
}

@media (max-width: 640px) {
  .visitor-counter-badge {
    padding: 0.5rem 1.4rem;
    gap: 0.5rem;
  }
  .visitor-counter-icon {
    width: 36px;
    height: 36px;
  }
  .visitor-counter-privacy {
    text-align: center;
    flex-direction: column;
    align-items: center;
  }
}

/* ==========================================================================
   PHASE 2 — HOMEPAGE REDESIGN, 8 LEARNING PILLARS, OUR STORY & CAMPUS TOUR
   ========================================================================== */

/* --- 1. HERO 3 BUTTONS & POLISH --- */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.hero-cta-group .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  border-radius: var(--radius-full, 9999px);
  text-decoration: none;
  transition: all 0.25s ease;
}
.button-secondary {
  background: var(--purple-light, #8b5cf6);
  color: #ffffff;
  border: 1px solid var(--purple, #6d28d9);
}
.button-secondary:hover {
  background: var(--purple, #6d28d9);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.25);
}

/* --- 2. THE 8 LEARNING PILLARS GRID --- */
.why-eight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.why-pill-card {
  background: #ffffff;
  border: 1px solid rgba(109, 40, 217, 0.1);
  border-radius: 16px;
  padding: 1.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.04);
}
.why-pill-card:hover {
  transform: translateY(-5px);
  border-color: rgba(109, 40, 217, 0.28);
  box-shadow: 0 12px 32px rgba(109, 40, 217, 0.12);
}
.why-pill-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--purple, #6d28d9);
  margin-bottom: 0.6rem;
}
.why-pill-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.why-pill-icon-wrap.icon-purple { background: #f3e8ff; color: #7c3aed; }
.why-pill-icon-wrap.icon-amber  { background: #fef3c7; color: #d97706; }
.why-pill-icon-wrap.icon-teal   { background: #ccfbf1; color: #0d9488; }
.why-pill-icon-wrap.icon-cyan   { background: #e0f2fe; color: #0284c7; }
.why-pill-icon-wrap.icon-rose   { background: #ffe4e6; color: #e11d48; }
.why-pill-icon-wrap.icon-indigo { background: #e0e7ff; color: #4f46e5; }
.why-pill-icon-wrap.icon-gold   { background: #fef9c3; color: #ca8a04; }
.why-pill-icon-wrap.icon-green  { background: #dcfce7; color: #16a34a; }

.why-pill-card h3 {
  font-family: var(--font-school, 'Baloo 2', sans-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--dark-text, #1f142e);
  margin: 0 0 0.65rem;
  line-height: 1.35;
}
.why-pill-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-body, #493b58);
  margin: 0 0 1.25rem;
  flex-grow: 1;
}
.why-pill-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: var(--bg-primary, #f8f6ff);
  color: var(--purple-dark, #3b0764);
  border: 1px solid rgba(109, 40, 217, 0.12);
}

/* --- 3. OUR STORY EDITORIAL & TIMELINE --- */
.story-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}
.story-narrative .story-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--dark-text, #1f142e);
  margin-bottom: 1.25rem;
}
.story-body p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-body, #493b58);
  margin-bottom: 1.25rem;
}
.story-quote-block {
  background: #ffffff;
  border-left: 4px solid var(--purple, #6d28d9);
  padding: 1.25rem 1.5rem;
  border-radius: 0 14px 14px 0;
  margin: 1.5rem 0;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.05);
  position: relative;
}
.story-quote-block .quote-symbol {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--purple-light, #8b5cf6);
  opacity: 0.4;
  margin-bottom: -0.5rem;
}
.story-quote-block p {
  font-size: 1rem;
  font-style: italic;
  color: var(--purple-deep, #240d3a);
  margin: 0;
  line-height: 1.6;
}
.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.story-timeline-card {
  background: #ffffff;
  border: 1px solid rgba(109, 40, 217, 0.12);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(109, 40, 217, 0.07);
}
.timeline-card-title {
  font-family: var(--font-school, 'Baloo 2', sans-serif);
  font-size: 1.35rem;
  color: var(--dark-text, #1f142e);
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(109, 40, 217, 0.1);
}
.timeline-flow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 0.5rem;
}
.timeline-flow::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 36px;
  width: 2px;
  background: rgba(109, 40, 217, 0.18);
}
.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
}
.timeline-step .step-marker {
  width: 64px;
  height: 32px;
  background: var(--bg-primary, #f8f6ff);
  border: 1px solid var(--purple-light, #8b5cf6);
  color: var(--purple, #6d28d9);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
}
.timeline-step.current .step-marker {
  background: var(--purple, #6d28d9);
  color: #ffffff;
  border-color: var(--purple-dark, #3b0764);
}
.timeline-step .step-detail h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-text, #1f142e);
  margin: 0 0 0.25rem;
}
.timeline-step .step-detail p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-body, #493b58);
  margin: 0;
}
.timeline-principal-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(109, 40, 217, 0.1);
}
.timeline-principal-avatar {
  border-radius: 50%;
  border: 2px solid var(--purple-light, #8b5cf6);
  object-fit: cover;
}
.timeline-principal-bar strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark-text, #1f142e);
}
.timeline-principal-bar span {
  display: block;
  font-size: 0.8rem;
  color: var(--purple, #6d28d9);
  font-weight: 600;
}
.timeline-principal-bar small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted, #6b5c7c);
  font-style: italic;
}

/* --- 4. CAMPUS TOUR FILTER & PHOTO GRID --- */
.tour-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}
.tour-filter-btn {
  background: #ffffff;
  border: 1px solid rgba(109, 40, 217, 0.15);
  color: var(--text-body, #493b58);
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tour-filter-btn:hover {
  border-color: var(--purple, #6d28d9);
  color: var(--purple, #6d28d9);
  background: var(--bg-primary, #f8f6ff);
}
.tour-filter-btn.active {
  background: var(--purple, #6d28d9);
  border-color: var(--purple, #6d28d9);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.22);
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.tour-item {
  background: #ffffff;
  border: 1px solid rgba(109, 40, 217, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.04);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tour-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.12);
}
.tour-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ede8f5;
}
.tour-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tour-item:hover .tour-img-wrap img {
  transform: scale(1.06);
}
.tour-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(36, 13, 58, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}
.tour-item-info {
  padding: 1.15rem 1.25rem;
}
.tour-item-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-text, #1f142e);
  margin: 0 0 0.35rem;
  line-height: 1.35;
}
.tour-item-info p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-body, #493b58);
  margin: 0;
}
.tour-cta-strip {
  margin-top: 2.5rem;
}

/* Tour Features 6-Grid (tour.php) */
.tour-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.tour-feat-card {
  background: #ffffff;
  border: 1px solid rgba(109, 40, 217, 0.1);
  border-radius: 16px;
  padding: 1.75rem 1.4rem;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.04);
}
.tour-feat-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--dark-text, #1f142e);
  margin: 0.85rem 0 0.5rem;
}
.tour-feat-card p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-body, #493b58);
  margin: 0;
}
.feat-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.feat-icon-box.purple { background: #f3e8ff; color: #7c3aed; }
.feat-icon-box.teal   { background: #ccfbf1; color: #0d9488; }
.feat-icon-box.amber  { background: #fef3c7; color: #d97706; }
.feat-icon-box.green  { background: #dcfce7; color: #16a34a; }
.feat-icon-box.rose   { background: #ffe4e6; color: #e11d48; }
.feat-icon-box.indigo { background: #e0e7ff; color: #4f46e5; }

/* Campus Visit Box (tour.php) */
.campus-visit-box {
  background: #ffffff;
  border: 1px solid rgba(109, 40, 217, 0.15);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: 0 10px 32px rgba(109, 40, 217, 0.08);
}
.visit-details-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.visit-details-list div strong {
  display: block;
  font-size: 0.88rem;
  color: var(--dark-text, #1f142e);
}
.visit-details-list div span {
  font-size: 0.9rem;
  color: var(--purple-dark, #3b0764);
}
.visit-actions-card {
  background: var(--bg-primary, #f8f6ff);
  border: 1px solid rgba(109, 40, 217, 0.15);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  text-align: center;
}
.visit-actions-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-text, #1f142e);
  margin: 0 0 0.5rem;
}
.visit-actions-card p {
  font-size: 0.86rem;
  color: var(--text-body, #493b58);
  margin: 0 0 1.5rem;
}
.visit-actions-card .button {
  width: 100%;
  margin-bottom: 0.75rem;
}

/* --- 5. TESTIMONIALS SECTION --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.25rem;
  align-items: stretch;
}
.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(109, 40, 217, 0.12);
  border-radius: 18px;
  padding: 1.85rem 1.5rem 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(91, 50, 135, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  box-sizing: border-box;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(91, 50, 135, 0.12);
  border-color: rgba(109, 40, 217, 0.28);
}
.testimonial-quote-icon {
  color: rgba(139, 92, 246, 0.38);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  transition: color 0.25s ease, transform 0.25s ease;
}
.testimonial-card:hover .testimonial-quote-icon {
  color: #6d28d9;
  transform: scale(1.06);
}
.testimonial-quote {
  font-size: 0.92rem;
  line-height: 1.68;
  color: #3b2e4c;
  font-style: normal;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}
.testimonial-footer {
  padding-top: 1.15rem;
  border-top: 1px solid rgba(109, 40, 217, 0.09);
  margin-top: auto;
}
.testimonial-footer .author-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: #6d28d9; /* Bold lavender accent */
  margin: 0 0 0.25rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.testimonial-footer .author-relationship {
  font-size: 0.84rem;
  color: #4b3e58;
  font-weight: 500;
  margin-bottom: 0.55rem;
  line-height: 1.4;
}
.testimonial-footer .author-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.testimonial-footer .meta-pill {
  display: inline-block;
  background: #f4effa;
  color: #5b3287;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(109, 40, 217, 0.12);
}
.testimonial-footer .meta-location {
  font-size: 0.76rem;
  color: #7a6e87;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* --- RESPONSIVE MEDIA QUERIES (PHASE 2) --- */
@media (max-width: 1100px) {
  .why-eight-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .story-layout { grid-template-columns: 1fr; }
  .campus-visit-box { grid-template-columns: 1fr; }
  .tour-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .why-eight-grid { grid-template-columns: 1fr; }
  .tour-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .testimonial-card { padding: 1.5rem 1.25rem 1.25rem; }
  .tour-features-grid { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .button { width: 100%; }
  .tour-filter-bar { overflow-x: auto; justify-content: flex-start; padding-bottom: 0.5rem; }
  .tour-filter-btn { white-space: nowrap; }
}

/* ==========================================================================
   PHASE 3: ACCESSIBILITY, FOCUS STATES & REDUCED MOTION PREFERENCES
   ========================================================================== */

/* 1. Respect User Reduced-Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .live-dot-pulse,
  .pulse-dot,
  .badge-dot {
    animation: none !important;
  }
}

/* 2. Accessible Keyboard Focus Indicators */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #7c3aed !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.25) !important;
}

/* 3. Mobile Touch Target Safety (Minimum 44px Height) */
@media (max-width: 768px) {
  .button,
  .hero-app-btn,
  .tour-filter-btn,
  .mobile-action-item,
  .nav-apply-btn,
  .nav-login-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
/* ==========================================================================
   MODULE 1: INTERACTIVE CAMPUS VISIT BOOKING WIDGET (LAVENDER / WHITE / GREY)
   ========================================================================== */
.campus-visit-booking-widget {
  background: #ffffff;
  border-radius: var(--radius-xl, 20px);
  padding: clamp(1.8rem, 3.5vw, 2.75rem);
  box-shadow: 0 10px 30px rgba(88, 43, 130, 0.07);
  border: 1px solid rgba(109, 40, 217, 0.12);
  margin: 1.5rem 0;
}

.booking-widget-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.2rem;
}

.widget-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f4eef9;
  border: 1px solid rgba(109, 40, 217, 0.15);
  color: var(--purple, #582b82);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--dark-text, #1e152a);
  margin-bottom: 0.65rem;
  font-weight: 800;
}

.widget-subtitle {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-muted, #645a72);
  margin: 0;
}

.booking-alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.booking-alert.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
}
.booking-alert.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

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

.selection-card {
  background: #faf8fc;
  border: 1px solid rgba(109, 40, 217, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
}

.selection-card-title {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(109, 40, 217, 0.08);
}

.selection-card-title .step-num {
  width: 32px;
  height: 32px;
  background: var(--purple, #582b82);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.selection-card-title h3 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
  color: var(--dark-text, #1e152a);
}

.selection-card-title p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted, #645a72);
}

.booking-date-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #dcd3e6;
  border-radius: 8px;
  background: #ffffff;
  font-size: 1rem;
  color: #1e152a;
  font-weight: 600;
}

.slots-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.slot-pill {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e2d9ec;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.slot-pill:hover:not(.disabled) {
  border-color: var(--purple, #582b82);
  background: #fdfaff;
}

.slot-pill input[type="radio"] {
  margin-right: 0.85rem;
  accent-color: var(--purple, #582b82);
  width: 18px;
  height: 18px;
}

.slot-pill.disabled {
  opacity: 0.55;
  background: #f1edf5;
  cursor: not-allowed;
  border-color: #e5e0ec;
}

.slot-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.slot-label strong {
  font-size: 0.92rem;
  color: var(--dark-text, #1e152a);
}

.slot-label small {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple, #582b82);
}

.slot-pill.disabled .slot-label small {
  color: #887e94;
}

.slot-info-footnote {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #726782;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.booking-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  padding: 0.9rem 1.5rem;
  background: var(--purple, #582b82);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(88, 43, 130, 0.25);
  transition: all 0.2s ease;
}

.booking-submit-btn:hover {
  background: #47216a;
  transform: translateY(-1px);
}

.booking-submit-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.booking-security-note {
  font-size: 0.78rem;
  text-align: center;
  color: var(--text-muted, #645a72);
  margin-top: 0.75rem;
}

/* Confirmation Card */
.booking-confirmation-modal {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  border: 2px solid #86efac;
  box-shadow: 0 14px 34px rgba(34, 197, 94, 0.12);
}

.conf-icon {
  width: 56px;
  height: 56px;
  background: #22c55e;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 800;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.18);
}

.conf-badge {
  display: inline-block;
  background: #f0fdf4;
  color: #166534;
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
  margin-bottom: 0.65rem;
}

.conf-details-card {
  background: #f9fbf9;
  border: 1px solid #dcfce7;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  text-align: left;
}

.conf-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.88rem;
}

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

.conf-row span {
  color: #64748b;
}

.conf-row strong {
  color: #1e293b;
}

.badge-code {
  background: #eef2ff;
  color: #4338ca;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
}

.conf-actions {
  display: flex;
  gap: 0.5rem;
}
/* ==========================================================================
   MODULE 2 & 3: SUPER ADMIN PIPELINE, STAGE FUNNEL & ADMISSION ANALYTICS
   ========================================================================== */
.dashboard-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.badge-stage-top {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--purple, #582b82);
  background: #f4eef9;
  border: 1px solid rgba(88, 43, 130, 0.15);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.page-main-heading {
  font-size: 1.85rem;
  font-weight: 800;
  color: #1e152a;
  margin: 0 0 0.3rem;
}

.page-sub-heading {
  margin: 0;
  font-size: 0.92rem;
  color: #645a72;
}

.header-action-btns {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* 7-Stage Funnel Metric Cards */
.pipeline-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.stage-metric-card {
  background: #ffffff;
  border: 1.5px solid #e9e4f0;
  border-top: 4px solid var(--stage-accent, #582b82);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.stage-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(88, 43, 130, 0.09);
  border-color: var(--stage-accent, #582b82);
}

.stage-metric-card.active-stage-card {
  background: #fbf9fe;
  border-color: var(--stage-accent, #582b82);
  box-shadow: 0 0 0 2px rgba(88, 43, 130, 0.15);
}

.stage-card-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--stage-accent, #582b82);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.stage-card-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e152a;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  flex-grow: 1;
}

.stage-card-count {
  font-size: 1.65rem;
  font-weight: 800;
  color: #1e152a;
}

.overdue-alert-banner {
  background: #fef2f2;
  border: 1.5px solid #f87171;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.alert-icon {
  font-size: 1.6rem;
}

.alert-body {
  flex-grow: 1;
}

.alert-body strong {
  display: block;
  color: #991b1b;
  font-size: 0.95rem;
}

.alert-body p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: #7f1d1d;
}

/* Enquiries Filter Form */
.enquiry-filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.filter-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #4b3f5c;
}

.filter-group select,
.filter-group input {
  padding: 0.6rem 0.85rem;
  border: 1.5px solid #dcd3e6;
  border-radius: 6px;
  background: #ffffff;
  font-size: 0.88rem;
}

.filter-group.actions {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.filter-group.actions .button {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

/* Table Enhancements */
.student-main-name {
  font-weight: 700;
  color: #1e152a;
  font-size: 0.94rem;
}

.table-sub-detail,
.table-date-sub,
.table-email-sub {
  font-size: 0.78rem;
  color: #645a72;
}

.code-badge {
  font-family: monospace;
  font-size: 0.85rem;
  color: #47216a;
}

.badge-dup {
  display: inline-block;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-left: 0.35rem;
}

.is-dup-row {
  background: #fffafa !important;
}

.class-pill {
  display: inline-block;
  background: #f4eef9;
  color: #582b82;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.contact-link {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  margin-bottom: 0.2rem;
}

.contact-link.wa {
  color: #15803d;
}

.badge-source {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.stage-status-badge {
  display: inline-block;
  background: var(--st-bg, #64748b);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.follow-up-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
}

.follow-up-badge.overdue {
  color: #dc2626;
  font-weight: 700;
}

.follow-up-badge.overdue small {
  display: block;
  background: #fecaca;
  color: #991b1b;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.7rem;
  width: fit-content;
}

.follow-up-badge.today {
  color: #d97706;
}

/* Modals */
.custom-admin-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 25, 0.65);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-dialog-box {
  background: #ffffff;
  border-radius: 14px;
  width: 100%;
  max-width: 580px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.22);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-dialog-box.large {
  max-width: 720px;
}

.modal-head {
  padding: 1.25rem 1.5rem;
  background: #faf8fc;
  border-bottom: 1px solid #ebe5f2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-head h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #1e152a;
}

.modal-sub {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #645a72;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #8a7e99;
  cursor: pointer;
  padding: 0;
}

.modal-form {
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #ebe5f2;
}

.modal-tabs {
  display: flex;
  background: #f4eef9;
  border-bottom: 1px solid #e5daf0;
}

.modal-tab-btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  background: none;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: #582b82;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.modal-tab-btn.active {
  background: #ffffff;
  border-bottom-color: #582b82;
  color: #1e152a;
}

.modal-tab-content {
  display: none;
}

.modal-tab-content.active {
  display: block;
}

.confirm-notice-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.confirm-notice-box strong {
  display: block;
  color: #166534;
  font-size: 0.92rem;
}

.confirm-notice-box p {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: #15803d;
}

/* ==========================================================================
   CONVERSION ANALYTICS DASHBOARD
   ========================================================================== */
.analytics-filter-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  border: 1px solid #e5daf0;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.range-pill-group {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.range-pill {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: #582b82;
  background: #f4eef9;
  transition: all 0.2s ease;
}

.range-pill.active {
  background: #582b82;
  color: #ffffff;
}

.custom-range-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.custom-range-form input[type="date"] {
  padding: 0.35rem 0.65rem;
  border: 1.5px solid #dcd3e6;
  border-radius: 6px;
  font-size: 0.84rem;
}

.conversion-rates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .conversion-rates-grid {
    grid-template-columns: 1fr;
  }
}

.conversion-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.5rem;
  border: 1.5px solid #e5daf0;
  box-shadow: 0 4px 14px rgba(88, 43, 130, 0.05);
  position: relative;
}

.conversion-card.hero-rate {
  border-color: #7c3aed;
  background: linear-gradient(180deg, #ffffff 0%, #faf8fe 100%);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.1);
}

.rate-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #7c3aed;
  background: #f5f3ff;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.conversion-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: #1e152a;
}

.rate-value {
  font-size: 2.75rem;
  font-weight: 900;
  color: #582b82;
  line-height: 1;
  margin-bottom: 0.75rem;
  font-feature-settings: "tnum";
}

.na-badge {
  font-size: 1.8rem;
  color: #94a3b8;
  font-weight: 800;
}

.rate-formula {
  font-size: 0.8rem;
  color: #475569;
  background: #f8fafc;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.cohort-explainer {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.45;
}

.comparison-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.comparison-note.pos {
  background: #dcfce7;
  color: #166534;
}
.comparison-note.neg {
  background: #fee2e2;
  color: #991b1b;
}

/* Funnel Stack */
.funnel-panel {
  margin-bottom: 1.5rem;
}

.funnel-bars-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.funnel-row {
  display: grid;
  grid-template-columns: 240px 1fr 100px;
  align-items: center;
  gap: 1.25rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1edf5;
}

@media (max-width: 768px) {
  .funnel-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

.funnel-label-col strong {
  display: block;
  font-size: 0.9rem;
  color: #1e152a;
}

.funnel-label-col small {
  display: block;
  font-size: 0.74rem;
  color: #64748b;
}

.funnel-bar-track {
  width: 100%;
  height: 24px;
  background: #f1edf5;
  border-radius: 999px;
  overflow: hidden;
}

.funnel-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.funnel-count-col {
  text-align: right;
}

.funnel-count-col strong {
  font-size: 1.1rem;
  color: #1e152a;
}

.funnel-count-col span {
  display: block;
  font-size: 0.74rem;
  color: #64748b;
}

/* Mini Bar inside tables */
.mini-bar-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mini-bar-fill {
  height: 8px;
  background: #8b5cf6;
  border-radius: 4px;
  min-width: 4px;
}

.mini-bar-wrap span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}

/* ==========================================================================
   OFFICIAL ACADEMIC CLASSES & AGE ELIGIBILITY SECTION
   Lavender, White & Purple Theme | Little Zaurez School Raniganj
   ========================================================================== */

.section-classes-eligibility {
  background: linear-gradient(180deg, #ffffff 0%, #faf6fe 100%);
  padding: 4rem 0;
}

.eligibility-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

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

@media (max-width: 600px) {
  .eligibility-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

.eligibility-card {
  background: #ffffff;
  border: 1.5px solid #e9dff7;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 16px rgba(94, 44, 165, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.eligibility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(94, 44, 165, 0.1);
  border-color: #baa0e6;
}

.eligibility-card.highlight {
  background: linear-gradient(160deg, #ffffff 0%, #f7effe 100%);
  border-color: #c9abf3;
  box-shadow: 0 6px 20px rgba(94, 44, 165, 0.08);
}

.eligibility-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.eligibility-stage-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5e2ca5;
  background: #f1e7fe;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

.eligibility-order-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: #8c78a5;
}

.eligibility-class-name {
  margin-bottom: 0.85rem;
}

.eligibility-class-name h3 {
  font-family: var(--font-heading, 'Baloo 2', cursive, sans-serif);
  font-size: 1.65rem;
  font-weight: 800;
  color: #2a1548;
  margin: 0;
  line-height: 1.2;
}

.eligibility-class-name .full-title-sub {
  display: block;
  font-size: 0.8rem;
  color: #695286;
  font-weight: 600;
  margin-top: 0.2rem;
}

.eligibility-age-box {
  background: #fbf7ff;
  border: 1px dashed #d5c0f2;
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.eligibility-age-box .age-prefix {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7b6598;
  font-weight: 700;
}

.eligibility-age-box .age-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: #4b1f86;
  margin-top: 0.15rem;
}

.eligibility-summary {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #534568;
  margin: 0 0 1.25rem 0;
  flex-grow: 1;
}

.eligibility-card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #f2eafd;
}

.eligibility-apply-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #5e2ca5;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.eligibility-apply-link:hover {
  color: #3b1770;
  transform: translateX(3px);
}

/* Reference Strip below the grid */
.eligibility-reference-strip {
  margin-top: 2.25rem;
  background: #ffffff;
  border: 1.5px solid #decbf8;
  border-radius: 16px;
  padding: 1.1rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 4px 14px rgba(94, 44, 165, 0.04);
}

.eligibility-reference-strip .reference-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.eligibility-reference-strip .reference-text {
  flex-grow: 1;
  font-size: 0.9rem;
  color: #3f2a5c;
  line-height: 1.45;
}

.eligibility-reference-strip .reference-text strong {
  display: block;
  font-size: 0.92rem;
  color: #271442;
  margin-bottom: 0.15rem;
}

@media (max-width: 800px) {
  .eligibility-reference-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

/* ==========================================================================
   INTERACTIVE ADMISSION AGE CALCULATOR WIDGET — OPTION 2: PREMIUM LAVENDER
   ========================================================================== */

#admission-age-checker,
#age-checker-section {
  background: #F3EDFF !important;
  padding: 3.5rem 1rem !important;
}

#admission-age-checker .section-container,
#age-checker-section .section-container {
  max-width: 950px;
  padding: 0;
}

.lzs-calc-card {
  max-width: 950px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(113, 56, 216, 0.12), 0 4px 16px rgba(113, 56, 216, 0.05);
  border: 1.5px solid #E6D9FA;
  padding: 2.5rem 2.75rem 2.25rem;
  position: relative;
  box-sizing: border-box;
  font-family: var(--font-body, 'Poppins', sans-serif);
  color: #211847;
}

@media (max-width: 768px) {
  .lzs-calc-card {
    padding: 1.75rem 1.25rem 1.5rem;
    border-radius: 20px;
  }
}

.lzs-calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(243, 237, 255, 0.65) 0%, rgba(248, 244, 255, 0.95) 100%);
  border-radius: 20px;
  padding: 1.75rem 2rem 1.25rem;
  border: 1px solid #ECE0FC;
}

@media (max-width: 768px) {
  .lzs-calc-header {
    flex-direction: column-reverse;
    text-align: center;
    padding: 1.25rem 1rem;
    gap: 1rem;
  }
}

.lzs-calc-header-text {
  flex: 1;
  z-index: 2;
}

.lzs-calc-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #7138D8;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(113, 56, 216, 0.25);
}

.lzs-calc-pill-badge .badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 0.72rem;
}

.lzs-calc-title {
  font-family: var(--font-heading, 'Baloo 2', cursive, sans-serif);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.18;
  color: #211847;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
}

@media (max-width: 600px) {
  .lzs-calc-title {
    font-size: 1.75rem;
  }
}

.lzs-calc-subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: #625B75;
  margin: 0;
  line-height: 1.45;
}

.lzs-calc-illustration-wrap {
  flex-shrink: 0;
  position: relative;
  width: 230px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .lzs-calc-illustration-wrap {
    width: 170px;
  }
}

.lzs-calc-illustration-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(113, 56, 216, 0.15));
  transition: transform 0.3s ease;
}

.lzs-calc-illustration-wrap:hover img {
  transform: scale(1.03);
}

.lzs-calc-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.lzs-calc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #F3EDFF;
  padding: 5px;
  border-radius: 9999px;
  border: 1.5px solid #E1D2F8;
  width: 100%;
  max-width: 580px;
  gap: 4px;
  box-sizing: border-box;
}

.lzs-calc-tab-btn {
  border: none;
  background: transparent;
  padding: 0.8rem 1.4rem;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: #211847;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  outline: none;
  user-select: none;
}

.lzs-calc-tab-btn:hover:not(.active) {
  background: rgba(183, 155, 234, 0.25);
  color: #7138D8;
}

.lzs-calc-tab-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(113, 56, 216, 0.35);
}

.lzs-calc-tab-btn.active {
  background: #7138D8;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(113, 56, 216, 0.32);
}

.lzs-calc-input-panel {
  display: none;
  animation: lzsFadeIn 0.3s ease;
}

.lzs-calc-input-panel.active {
  display: block;
}

.lzs-calc-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .lzs-calc-fields-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.lzs-calc-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.lzs-calc-field-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #211847;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.lzs-calc-input-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.lzs-calc-input-icon {
  position: absolute;
  left: 1rem;
  color: #7138D8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.lzs-calc-select,
.lzs-calc-date-input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 2.6rem 0.75rem 2.85rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #211847;
  background: #FFFFFF;
  border: 1.5px solid #D8C7F8;
  border-radius: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.lzs-calc-select:hover,
.lzs-calc-date-input:hover {
  border-color: #B79BEA;
}

.lzs-calc-select:focus,
.lzs-calc-date-input:focus {
  border-color: #7138D8;
  box-shadow: 0 0 0 4px rgba(113, 56, 216, 0.15);
}

.lzs-calc-select-arrow {
  position: absolute;
  right: 1.1rem;
  color: #625B75;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lzs-calc-dob-grid {
  max-width: 500px;
  margin: 0 auto 1rem auto;
}

.lzs-calc-cutoff-box {
  background: #FAF7FF;
  border: 1px solid #E2D3F8;
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  font-size: 0.88rem;
  color: #625B75;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem auto 1.5rem auto;
  max-width: 580px;
}

.lzs-calc-cutoff-box svg {
  flex-shrink: 0;
  color: #7138D8;
}

.lzs-calc-result-card {
  background: linear-gradient(135deg, #FAF7FF 0%, #F4EEFF 100%);
  border: 2px dashed #B79BEA;
  border-radius: 20px;
  padding: 2.25rem 2rem 2rem;
  text-align: center;
  position: relative;
  margin: 2rem 0;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.lzs-result-deco-star-tl {
  position: absolute;
  top: 18px;
  left: 24px;
  color: #F59E0B;
  opacity: 0.9;
  animation: lzsFloatStar 3s ease-in-out infinite alternate;
}

.lzs-result-deco-star-tr {
  position: absolute;
  top: 20px;
  right: 28px;
  color: #B79BEA;
  opacity: 0.85;
  animation: lzsFloatStar 3.5s ease-in-out infinite alternate-reverse;
}

.lzs-result-deco-shape-bl {
  position: absolute;
  bottom: 22px;
  left: 24px;
  color: #9333EA;
  opacity: 0.7;
  animation: lzsFloatStar 4s ease-in-out infinite alternate;
}

.lzs-result-books-deco {
  position: absolute;
  bottom: 12px;
  right: 18px;
  width: 82px;
  height: 70px;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.3s ease;
}

@media (max-width: 600px) {
  .lzs-result-books-deco {
    width: 58px;
    height: 50px;
    bottom: 8px;
    right: 10px;
    opacity: 0.8;
  }
}

.lzs-calc-result-badge-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.lzs-calc-result-cap-icon {
  color: #7138D8;
  display: inline-flex;
}

.lzs-calc-result-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #211847;
  letter-spacing: 0.02em;
}

.lzs-calc-class-name {
  font-family: var(--font-heading, 'Baloo 2', cursive, sans-serif);
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.1;
  color: #7138D8;
  margin: 0.3rem 0 0.6rem 0;
  letter-spacing: -0.02em;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (max-width: 600px) {
  .lzs-calc-class-name {
    font-size: 2.85rem;
  }
}

.lzs-calc-class-name.pop {
  animation: lzsClassPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lzs-calc-eligibility-info {
  font-size: 0.98rem;
  color: #211847;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.lzs-calc-eligibility-info strong {
  color: #7138D8;
  font-weight: 700;
}

.lzs-calc-eligibility-info .sep {
  color: #B79BEA;
  font-weight: bold;
}

.lzs-calc-result-summary {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #625B75;
  max-width: 640px;
  margin: 0.5rem auto 0 auto;
}

.lzs-calc-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .lzs-calc-actions {
    flex-direction: column;
    gap: 0.85rem;
  }
  .lzs-calc-btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

.lzs-calc-btn {
  min-height: 52px;
  padding: 0.85rem 2.2rem;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.22s ease;
  outline: none;
}

.lzs-calc-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(113, 56, 216, 0.4);
}

.lzs-calc-btn-primary {
  background: #7138D8;
  color: #FFFFFF;
  border: 2px solid #7138D8;
  box-shadow: 0 6px 18px rgba(113, 56, 216, 0.28);
}

.lzs-calc-btn-primary:hover {
  background: #5B26BC;
  border-color: #5B26BC;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(113, 56, 216, 0.35);
}

.lzs-calc-btn-secondary {
  background: #FFFFFF;
  color: #7138D8;
  border: 2px solid #7138D8;
}

.lzs-calc-btn-secondary:hover {
  background: #F3EDFF;
  border-color: #5B26BC;
  color: #5B26BC;
  transform: translateY(-2px);
}

.lzs-calc-footer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #ECE0FC;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.84rem;
  color: #625B75;
}

.lzs-calc-disclaimer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  line-height: 1.45;
}

.lzs-calc-info-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #7138D8;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  font-style: normal;
}

.lzs-calc-privacy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.8rem;
  color: #796F8E;
}

.lzs-calc-privacy svg {
  flex-shrink: 0;
  color: #B79BEA;
}

/* Home Section 6 - 5-card responsive layout */
.journey-grid.five-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1200px) {
  .journey-grid.five-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .journey-grid.five-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Pulse animation on prefilled class select */
@keyframes highlightSelectPulse {
  0% { box-shadow: 0 0 0 0 rgba(109, 53, 181, 0.7); }
  50% { box-shadow: 0 0 0 8px rgba(109, 53, 181, 0); }
  100% { box-shadow: 0 0 0 0 rgba(109, 53, 181, 0); }
}

select.highlight-pulse {
  animation: highlightSelectPulse 1.2s ease-in-out infinite;
  border-color: #6d35b5 !important;
}

/* ==========================================================================
   PHASE 1: PREMIUM NAVIGATION DROPDOWNS (ACADEMICS & LEARNING HUB)
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link-dropdown {
  font-family: var(--font-nav);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 0.5rem 0.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition);
}

.nav-link-dropdown .dropdown-caret {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
  color: #8c71a3;
}

.nav-item-dropdown:hover .nav-link-dropdown,
.nav-item-dropdown.active .nav-link-dropdown {
  color: var(--purple);
  font-weight: 600;
}

.nav-item-dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
  color: var(--purple);
}

/* Desktop Dropdown Menu Panel */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  min-width: 290px;
  border-radius: 16px;
  border: 1.5px solid #ded7e9;
  box-shadow: 0 16px 40px rgba(109, 40, 217, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 0.65rem;
  opacity: 0;
  visibility: hidden;
  display: none;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
  z-index: 100;
}

/* Small top arrow / pointer on dropdown */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1.5px solid #ded7e9;
  border-top: 1.5px solid #ded7e9;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.is-open .nav-dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown Menu Item */
.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
  color: var(--dark-text);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: #F4EEFC;
  transform: translateX(3px);
  outline: none;
}

.dropdown-item-icon {
  font-size: 1.25rem;
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 2px;
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.2;
  transition: color 0.18s ease;
}

.dropdown-item:hover .dropdown-item-title {
  color: var(--purple);
}

.dropdown-item-desc {
  font-size: 0.76rem;
  color: #7c6f8a;
  line-height: 1.35;
}

.dropdown-divider {
  height: 1px;
  background: #f0eaf8;
  margin: 0.35rem 0.5rem;
}

.mobile-dropdown-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  color: var(--text-body);
  cursor: pointer;
  border-radius: 6px;
}

/* Mobile Navigation Styles for Dropdowns */
@media (max-width: 991px) {
  .nav-item-dropdown {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-dropdown-trigger-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.4rem 0;
  }

  .mobile-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F4EEFC;
    color: var(--purple);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .mobile-dropdown-toggle[aria-expanded="true"] {
    background: var(--purple);
    color: #fff;
    transform: rotate(180deg);
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    left: auto;
    width: 100%;
    min-width: unset;
    box-shadow: none;
    border: none;
    background: #FAF8FF;
    border-radius: 12px;
    padding: 0.4rem;
    margin-top: 0.25rem;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-item-dropdown.mobile-open .nav-dropdown-menu {
    display: block;
  }

  .nav-item-dropdown:hover .nav-dropdown-menu {
    display: none;
  }

  .nav-item-dropdown.mobile-open:hover .nav-dropdown-menu {
    display: block;
  }

  .dropdown-item {
    padding: 0.5rem 0.6rem;
  }
}

/* ==========================================================================
   FEATURE STRIP (IMMEDIATELY BELOW HERO)
   ========================================================================== */
.home-feature-strip {
  background: #ffffff;
  border-top: 1px solid #f0eaf8;
  border-bottom: 1.5px solid #ded7e9;
  padding: 1.15rem 1rem;
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.03);
}

.feature-strip-container {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.feature-strip-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark-text);
  white-space: nowrap;
}

.feature-strip-item .feature-icon {
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F4EEFC;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .feature-strip-container {
    justify-content: center;
    gap: 1rem 1.75rem;
  }
}

@media (max-width: 640px) {
  .feature-strip-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .feature-strip-item {
    font-size: 0.8rem;
    white-space: normal;
  }
}

/* ==========================================================================
   OUR PROGRAMMES SECTION (5 CANONICAL CARDS)
   ========================================================================== */
.section-programmes {
  padding: 3.5rem 0 3rem;
  background: #FAF8FF;
}

.programmes-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.programmes-heading {
  font-family: var(--font-school);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--purple-dark);
  margin-bottom: 0.25rem;
  position: relative;
  display: inline-block;
}

.programmes-heading::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 48px;
  height: 3.5px;
  border-radius: 3px;
  background: var(--purple);
}

.programmes-subheading {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin: 0.4rem 0 0;
}

.button-outline-purple {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--purple);
  border: 1.5px solid var(--purple);
  padding: 0.52rem 1.15rem;
  border-radius: 9999px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.button-outline-purple:hover {
  background: var(--purple);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.22);
}

.programmes-cards-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
}

.programme-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e8def8;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
}

.programme-card:hover {
  transform: translateY(-4px);
  border-color: #c4b5fd;
  box-shadow: 0 12px 28px rgba(109, 40, 217, 0.14);
}

.programme-thumb-wrap {
  width: 100%;
  aspect-ratio: 350 / 134;
  overflow: hidden;
  background: #f4eefc;
}

.programme-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.programme-card:hover .programme-thumb-wrap img {
  transform: scale(1.05);
}

.programme-card-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  background: #ffffff;
}

.programme-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.badge-pink { background: #ffe4e6; }
.badge-rose { background: #fce7f3; }
.badge-cyan { background: #e0f2fe; }
.badge-green { background: #dcfce7; }
.badge-purple { background: #ede9fe; }

.programme-meta {
  flex: 1;
  min-width: 0;
}

.programme-name {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin: 0;
  line-height: 1.2;
}

.programme-age {
  font-size: 0.78rem;
  font-weight: 600;
  color: #7c6f8a;
  display: block;
}

.programme-arrow {
  font-size: 1.35rem;
  font-weight: 700;
  color: #c4b5fd;
  transition: transform 0.2s ease, color 0.2s ease;
}

.programme-card:hover .programme-arrow {
  color: var(--purple);
  transform: translateX(3px);
}

@media (max-width: 1100px) {
  .programmes-cards-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .programmes-cards-row {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

/* ==========================================================================
   LITTLE ZAUREZ LEARNING HUB (HOMEPAGE SECTION)
   ========================================================================== */
.section-home-learning-hub {
  padding: 1.5rem 0 3.5rem;
  background: #FAF8FF;
}

.home-hub-container {
  background: linear-gradient(135deg, #F4EEFC 0%, #FAF6FE 100%);
  border: 1.5px solid #E8DEF8;
  border-radius: 22px;
  padding: 1.85rem 2rem;
  box-shadow: 0 10px 30px rgba(109, 40, 217, 0.06);
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 1.75rem;
  align-items: center;
}

/* Left Banner Block */
.home-hub-banner-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-hub-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FEF3C7;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.18);
}

.home-hub-title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.home-hub-title {
  font-family: var(--font-school);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--purple-dark);
  margin: 0;
  line-height: 1.15;
}

.home-hub-new-pill {
  background: #f43f5e;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.3);
}

.home-hub-subtitle {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.home-hub-desc {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.button-hub-explore {
  background: var(--purple);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.62rem 1.35rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.button-hub-explore:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(109, 40, 217, 0.35);
  color: #fff;
}

/* Right 4 Cards Grid */
.home-hub-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.home-hub-card {
  background: #ffffff;
  border: 1px solid #e8def8;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.04);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-hub-card:hover {
  transform: translateY(-4px);
  border-color: #a78bfa;
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.12);
}

.home-hub-card-thumb {
  width: 100%;
  aspect-ratio: 284 / 118;
  overflow: hidden;
  background: #f4eefc;
}

.home-hub-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-hub-card:hover .home-hub-card-thumb img {
  transform: scale(1.05);
}

.home-hub-card-content {
  padding: 0.85rem 0.9rem;
  flex: 1;
}

.home-hub-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.home-hub-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.icon-blue { background: #dbeafe; }
.icon-teal { background: #ccfbf1; }
.icon-amber { background: #fef3c7; }
.icon-purple { background: #ede9fe; }

.home-hub-card-headings {
  flex: 1;
  min-width: 0;
}

.home-hub-card-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin: 0 0 2px;
  line-height: 1.2;
}

.home-hub-card-sub {
  font-size: 0.76rem;
  color: #7c6f8a;
  line-height: 1.35;
  margin: 0;
}

.home-hub-card-arrow {
  font-size: 1.25rem;
  font-weight: 700;
  color: #c4b5fd;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-top: 1px;
}

.home-hub-card:hover .home-hub-card-arrow {
  color: var(--purple);
  transform: translateX(3px);
}

/* Tablet & Mobile Breakpoints for Learning Hub */
@media (max-width: 1200px) {
  .home-hub-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .home-hub-banner-block {
    max-width: 600px;
  }
}

@media (max-width: 860px) {
  .home-hub-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .home-hub-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .home-hub-container {
    padding: 1.25rem 1rem;
  }
}

/* ==========================================================================
   LEARNING HUB DEDICATED OVERVIEW & MODULE PAGES
   ========================================================================== */
.hub-hero-section,
.hub-module-hero {
  background: linear-gradient(135deg, #F4EEFC 0%, #FAF8FF 100%);
  padding: 3.5rem 1rem 3rem;
  border-bottom: 1px solid #ded7e9;
  text-align: center;
}

.hub-hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.hub-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #7c6f8a;
  margin-bottom: 1rem;
}

.hub-breadcrumb a {
  color: var(--purple);
}

.hub-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: var(--purple);
  border: 1px solid #ded7e9;
  padding: 0.28rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hub-hero-title {
  font-family: var(--font-school);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--purple-dark);
  margin-bottom: 0.85rem;
  line-height: 1.15;
}

.module-hero-icon {
  margin-right: 0.35rem;
}

.hub-hero-lead {
  font-size: 1.12rem;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 740px;
  margin: 0 auto 1.5rem;
}

.hub-hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hub-pill {
  background: #ffffff;
  border: 1px solid #e8def8;
  color: var(--dark-text);
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.04);
}

.hub-status-callout {
  margin: 1.5rem auto 0;
  max-width: 680px;
  background: #ffffff;
  border: 1.5px solid #c4b5fd;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-align: left;
  box-shadow: 0 6px 18px rgba(109, 40, 217, 0.06);
}

.status-pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
  margin-top: 4px;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-callout-text strong {
  display: block;
  font-size: 0.94rem;
  color: var(--purple-dark);
  margin-bottom: 2px;
}

.status-callout-text p {
  font-size: 0.84rem;
  color: #6b5c7c;
  margin: 0;
  line-height: 1.45;
}

/* Learning Hub Overview Grid */
.hub-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.hub-main-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid #ded7e9;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.hub-main-card:hover {
  transform: translateY(-5px);
  border-color: #a78bfa;
  box-shadow: 0 16px 36px rgba(109, 40, 217, 0.12);
}

.hub-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 350 / 140;
  overflow: hidden;
  background: #F4EEFC;
}

.hub-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hub-main-card:hover .hub-card-thumb-wrap img {
  transform: scale(1.05);
}

.hub-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
}

.hub-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hub-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hub-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hub-card-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin: 0;
}

.hub-card-age {
  font-size: 0.78rem;
  color: #7c6f8a;
  font-weight: 600;
}

.hub-card-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.hub-card-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.button-hub {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--purple);
  color: #ffffff;
  border-radius: 9999px;
  padding: 0.58rem 1rem;
  font-weight: 700;
}

.hub-philosophy-strip {
  background: #ffffff;
  border: 1.5px solid #ded7e9;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  box-shadow: 0 6px 24px rgba(109, 40, 217, 0.05);
}

.strip-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.strip-content h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--purple-dark);
  margin: 0 0 0.35rem;
}

.strip-content p {
  font-size: 0.92rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.55;
}

.strip-action {
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .hub-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hub-philosophy-strip {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hub-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Module Detail Layout */
.module-layout-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.25rem;
}

.module-preview-card {
  background: #ffffff;
  border: 1.5px solid #ded7e9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.06);
  margin-bottom: 2rem;
}

.module-preview-img-wrap {
  width: 100%;
  aspect-ratio: 700 / 280;
  overflow: hidden;
  background: #f4eefc;
}

.module-preview-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-preview-body {
  padding: 2rem;
}

.module-preview-body h2 {
  font-family: var(--font-school);
  font-size: 1.85rem;
  color: var(--purple-dark);
  margin-bottom: 0.75rem;
}

.module-preview-body .lead-p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.module-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.module-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--dark-text);
  font-weight: 500;
}

.module-features-list .check-icon {
  color: #10b981;
  font-weight: 800;
  font-size: 1.1rem;
}

.module-navigation-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Interest Sidebar Card */
.module-interest-card {
  background: #ffffff;
  border: 1.5px solid #ded7e9;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.06);
  position: sticky;
  top: 115px;
}

.interest-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.interest-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--purple-dark);
  margin: 0 0 0.35rem;
}

.interest-header p {
  font-size: 0.86rem;
  color: #6b5c7c;
  margin-bottom: 1.25rem;
}

.interest-form .form-group {
  margin-bottom: 1rem;
}

.interest-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.35rem;
}

.interest-form .form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #ded7e9;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}

.interest-form .form-input:focus {
  border-color: var(--purple);
  outline: none;
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.12);
}

.button-block {
  width: 100%;
  padding: 0.72rem 1rem;
  font-weight: 700;
  border-radius: 10px;
  margin-top: 0.5rem;
}

.form-note {
  display: block;
  font-size: 0.74rem;
  color: #7c6f8a;
  text-align: center;
  margin-top: 0.75rem;
}

.direct-contact-box {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f0eaf8;
  text-align: center;
}

.direct-contact-box span {
  display: block;
  font-size: 0.78rem;
  color: #7c6f8a;
  margin-bottom: 0.35rem;
}

.direct-contact-box .phone-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--purple);
}

@media (max-width: 991px) {
  .module-layout-grid {
    grid-template-columns: 1fr;
  }
  .module-interest-card {
    position: static;
  }
}

/* ==========================================================================
   ONLINE ACADEMY — PHASE 2: LAVENDER STYLES & MANAGEMENT SUITE
   Primary: #9673C9 | Light: #F4EEFC | White: #FFFFFF | Dark: #333342
   ========================================================================== */

/* Superadmin Sidebar Section Heading */
.admin-nav-section-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a78bfa;
  padding: 1.1rem 1rem 0.35rem 1rem;
  opacity: 0.85;
}

/* Header Panel */
.academy-header-panel {
  background: linear-gradient(135deg, #f4eefc 0%, #ffffff 100%);
  border: 1.5px solid #e2d7f4;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 4px 16px rgba(150, 115, 201, 0.08);
}

.academy-brand-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c3aed;
  background: #ede3fa;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.35rem;
}

.academy-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #333342;
  margin: 0;
  line-height: 1.25;
}

.academy-title span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #9673c9;
  margin-left: 0.5rem;
}

.academy-subtitle {
  font-size: 0.88rem;
  color: #6b5c7c;
  margin: 0.35rem 0 0 0;
  max-width: 650px;
}

/* Academy Submenu Tabs */
.academy-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #ede3fa;
}

.academy-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.15rem;
  border-radius: 10px 10px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #6b5c7c;
  text-decoration: none;
  background: #fbf9fe;
  border: 1px solid #e6daf5;
  border-bottom: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.academy-tab:hover {
  color: #7c3aed;
  background: #f4eefc;
}

.academy-tab.active {
  color: #ffffff;
  background: #9673c9;
  border-color: #9673c9;
  box-shadow: 0 4px 12px rgba(150, 115, 201, 0.25);
}

.academy-tab .tab-icon {
  font-size: 1rem;
}

/* 6 Live Summary Cards Grid */
.academy-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.academy-kpi-card {
  border-radius: 14px;
  padding: 1.25rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.academy-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.card-lavender {
  background: #f4eefc;
  border-color: #ded1f3;
}

.card-purple {
  background: #efe9f9;
  border-color: #d8c6f1;
}

.card-soft {
  background: #faf7fd;
  border-color: #ece3f7;
}

.kpi-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 2px 8px rgba(150, 115, 201, 0.12);
  flex-shrink: 0;
}

.kpi-meta {
  display: flex;
  flex-direction: column;
}

.kpi-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #6b5c7c;
  letter-spacing: 0.04em;
}

.kpi-number {
  font-size: 1.7rem;
  font-weight: 800;
  color: #333342;
  line-height: 1.15;
  margin: 0.15rem 0;
}

.kpi-note {
  font-size: 0.72rem;
  color: #8c7b9e;
}

/* Quick Actions Bar */
.academy-quick-actions-bar {
  background: #ffffff;
  border: 1.5px solid #ede3fa;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.quick-actions-label strong {
  display: block;
  font-size: 0.95rem;
  color: #333342;
}

.quick-actions-label span {
  font-size: 0.82rem;
  color: #6b5c7c;
}

.quick-actions-btns {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* Buttons */
.button-lavender {
  background: #9673c9;
  color: #ffffff !important;
  border: 1.5px solid #9673c9;
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.button-lavender:hover {
  background: #845ebd;
  border-color: #845ebd;
  box-shadow: 0 4px 12px rgba(150, 115, 201, 0.35);
}

.button-purple {
  background: #7c3aed;
  color: #ffffff !important;
  border: 1.5px solid #7c3aed;
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.button-purple:hover {
  background: #6d28d9;
  border-color: #6d28d9;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.35);
}

.button-ghost-lavender {
  background: transparent;
  color: #7c3aed !important;
  border: 1.5px solid #ded1f3;
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.button-ghost-lavender:hover {
  background: #f4eefc;
  border-color: #9673c9;
}

/* Form Styles — Rule 1 compliant */
.academy-form-panel {
  border: 1.5px solid #e2d7f4;
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: #ffffff;
}

.academy-compact-form .form-section-title {
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7c3aed;
  background: #f8f4fd;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  margin: 1rem 0 0.75rem 0;
  border-left: 3px solid #9673c9;
}

.academy-compact-form .form-section-title:first-child {
  margin-top: 0;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.form-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.span-2 {
  grid-column: span 2;
}

.full-width {
  width: 100%;
  margin-bottom: 0.75rem;
}

.academy-compact-form .form-input,
.academy-compact-form .form-select,
.academy-compact-form .form-textarea {
  width: 100%;
  padding: 0.68rem 0.85rem;
  font-size: 0.88rem;
  color: #333342;
  background: #ffffff;
  border: 1.5px solid #ded7e9;
  border-radius: 10px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.academy-compact-form .form-input:focus,
.academy-compact-form .form-select:focus,
.academy-compact-form .form-textarea:focus {
  border-color: #9673c9;
  outline: none;
  box-shadow: 0 0 0 3px rgba(150, 115, 201, 0.16);
}

.readonly-input {
  background: #fbf9fe !important;
  color: #6b5c7c !important;
  font-weight: 700;
  cursor: default;
}

.age-range-flex,
.duration-flex,
.timezone-seat-flex {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.range-sep {
  font-size: 0.82rem;
  color: #8c7b9e;
  font-weight: 600;
}

.final-fee-calc-box {
  background: #f4eefc;
  border: 1.5px solid #ded1f3;
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  box-sizing: border-box;
}

.final-fee-calc-box small {
  font-size: 0.76rem;
  color: #6b5c7c;
  font-weight: 600;
}

.final-fee-calc-box strong {
  font-size: 1.1rem;
  color: #7c3aed;
}

.weekdays-selector {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: #faf7fd;
  border: 1.5px solid #e6daf5;
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
}

.weekdays-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #6b5c7c;
  margin-right: 0.25rem;
}

.weekday-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #333342;
  background: #ffffff;
  border: 1px solid #ded7e9;
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.weekday-pill input[type="checkbox"]:checked + span {
  color: #7c3aed;
}

.conflict-alert-box {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #b91c1c;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.auto-sessions-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #333342;
  cursor: pointer;
  margin-top: 0.65rem;
}

/* Filter Bar */
.academy-filter-bar {
  background: #faf7fd;
  border: 1px solid #ede3fa;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.academy-filter-bar .filter-form {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

.filter-input {
  flex: 1;
  min-width: 200px;
  padding: 0.55rem 0.8rem;
  border: 1.5px solid #ded7e9;
  border-radius: 8px;
  font-size: 0.86rem;
}

.filter-select {
  padding: 0.55rem 0.8rem;
  border: 1.5px solid #ded7e9;
  border-radius: 8px;
  font-size: 0.86rem;
  background: #ffffff;
}

/* Badges & Status */
.badge-lavender {
  background: #f4eefc;
  color: #7c3aed;
  border: 1px solid #e2d7f4;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
}

.badge-purple {
  background: #ede3fa;
  color: #6d28d9;
  border: 1px solid #d8c6f1;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: capitalize;
}

.status-draft { background: #f3f4f6; color: #4b5563; }
.status-published { background: #ecfdf5; color: #047857; }
.status-unpublished { background: #fffbeb; color: #b45309; }
.status-archived { background: #f1f5f9; color: #64748b; }
.status-open-for-enrolment { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }
.status-full { background: #fef2f2; color: #b91c1c; }
.status-in-progress { background: #eff6ff; color: #1d4ed8; }
.status-completed { background: #f0fdf4; color: #15803d; }
.status-cancelled { background: #fafafa; color: #9ca3af; text-decoration: line-through; }
.status-scheduled { background: #f5f3ff; color: #7c3aed; }
.status-rescheduled { background: #fff7ed; color: #c2410c; }
.status-replacement { background: #ecfdf5; color: #059669; }

.strike-fee {
  text-decoration: line-through;
  color: #9ca3af;
  margin-left: 0.35rem;
}

.course-cell-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.table-thumb-sm {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.btn-action {
  background: #faf7fd;
  border: 1px solid #ded7e9;
  border-radius: 6px;
  padding: 0.3rem 0.5rem;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}

.btn-action:hover {
  background: #f4eefc;
  border-color: #9673c9;
}

/* Modals */
.academy-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.academy-modal-dialog {
  background: #ffffff;
  border-radius: 16px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  border: 1.5px solid #ded7e9;
}

.modal-dialog-sm {
  max-width: 480px;
}

.academy-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1.5px solid #f0eaf8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.academy-modal-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #333342;
  font-weight: 800;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: #8c7b9e;
  cursor: pointer;
  padding: 0.25rem;
}

.academy-modal-body {
  padding: 1.5rem;
}

.modal-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.25rem;
  background: #faf7fd;
  border: 1px solid #ede3fa;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.detail-item strong {
  display: block;
  font-size: 0.76rem;
  color: #7c6f8a;
  text-transform: uppercase;
}

.detail-item span {
  font-size: 0.92rem;
  color: #333342;
  font-weight: 600;
}

.modal-section-block {
  margin-bottom: 1rem;
}

.modal-section-block h4 {
  font-size: 0.86rem;
  color: #7c3aed;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.35rem 0;
}

.modal-section-block p {
  font-size: 0.88rem;
  color: #554a61;
  line-height: 1.5;
  margin: 0;
}

.modal-footer-btns {
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

/* Calendar Screen */
.calendar-batch-selector-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.batch-select-form {
  display: flex;
  align-items: center;
}

.calendar-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0eaf8;
}

.calendar-controls-bar h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #333342;
}

.schedule-warning-banner {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  color: #92400e;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.warning-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.warning-content strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.warning-content p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.calendar-gen-meta-list {
  margin: 0.5rem 0 0 1.25rem;
  padding: 0;
  font-size: 0.86rem;
  color: #554a61;
}

/* Public Course Catalogue */
.academy-public-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #f4eefc;
}

.academy-section-heading {
  margin-bottom: 1.5rem;
}

.academy-section-heading h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #333342;
  margin: 0.45rem 0 0.35rem 0;
}

.academy-section-heading p {
  font-size: 0.95rem;
  color: #6b5c7c;
  margin: 0;
}

.public-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.public-course-card {
  background: #ffffff;
  border: 1.5px solid #ede3fa;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(150, 115, 201, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.public-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(150, 115, 201, 0.16);
  border-color: #9673c9;
}

.public-course-media {
  position: relative;
  height: 170px;
  background: linear-gradient(135deg, #ede3fa 0%, #f4eefc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.public-course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-default-hero {
  font-size: 3rem;
  color: #9673c9;
}

.public-cat-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  color: #7c3aed;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.public-course-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.public-tags-row {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.tag-age,
.tag-level {
  font-size: 0.74rem;
  font-weight: 700;
  color: #6b5c7c;
  background: #faf7fd;
  border: 1px solid #ede3fa;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.public-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #333342;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.public-desc {
  font-size: 0.86rem;
  color: #6b5c7c;
  line-height: 1.45;
  margin: 0 0 1rem 0;
  flex: 1;
}

.public-specs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: #fbf9fe;
  border: 1px solid #f0eaf8;
  border-radius: 10px;
  padding: 0.65rem 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.spec-box small {
  display: block;
  font-size: 0.7rem;
  color: #8c7b9e;
  text-transform: uppercase;
}

.spec-box strong {
  font-size: 0.84rem;
  color: #333342;
}

.fee-text {
  color: #7c3aed !important;
  font-weight: 800 !important;
}

.public-batch-count-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: #6b5c7c;
  margin-bottom: 1rem;
}

.reg-soon-badge {
  background: #ede3fa;
  color: #7c3aed;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.72rem;
}

.modal-enrollment-callout {
  background: #f4eefc;
  border: 1.5px solid #ded1f3;
  border-radius: 12px;
  padding: 1.15rem;
  margin-top: 1.25rem;
  text-align: center;
}

.callout-badge {
  display: inline-block;
  background: #7c3aed;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.45rem;
}

.modal-enrollment-callout h4 {
  font-size: 1.05rem;
  color: #333342;
  margin: 0 0 0.35rem 0;
}

.modal-enrollment-callout p {
  font-size: 0.85rem;
  color: #6b5c7c;
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .form-grid-2,
  .form-grid-3,
  .form-grid-4 {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: span 1;
  }
  .modal-detail-grid {
    grid-template-columns: 1fr;
  }
  .public-courses-grid {
    grid-template-columns: 1fr;
  }
  .academy-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   ONLINE ACADEMY PHASE 3: STUDENT REGISTRATION & ENROLMENT MANAGEMENT
   Theme: Premium Lavender and White (#9673C9, #F4EEFC, #FFFFFF, #333342)
   ========================================================================== */

/* Registration Hero & Breadcrumb */
.academy-reg-hero {
  background: linear-gradient(135deg, #2b174d 0%, #4a2478 50%, #9673C9 100%);
  color: #ffffff;
  padding: 3.5rem 1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.academy-reg-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 238, 252, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.reg-hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.reg-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.75rem 0 0.5rem;
}

.reg-pill-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.reg-pill-badge.badge-lavender {
  background: #F4EEFC;
  color: #5b21b6;
  border-color: #ded1f3;
}

.reg-main-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0.4rem 0 0.6rem;
  color: #ffffff;
}

.reg-lead-text {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #e6dbf7;
  max-width: 740px;
  margin: 0 0 1.75rem;
}

/* Stepper Progress Indicator */
.reg-stepper {
  display: flex;
  align-items: center;
  max-width: 560px;
  margin-top: 1rem;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: all 0.25s ease;
}

.step-item.active .step-num {
  background: #ffffff;
  color: #7c3aed;
  border-color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.step-item.completed .step-num {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.step-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e6dbf7;
}

.step-item.active .step-label {
  color: #ffffff;
  font-weight: 700;
}

.step-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 0.75rem;
}

.step-line.active {
  background: rgba(255, 255, 255, 0.6);
}

/* Registration Form Layout & Section Cards */
.section-academy-reg {
  background: #fbf9fd;
  padding: 2.5rem 1.25rem 4rem;
}

.reg-form-container {
  max-width: 900px;
  margin: 0 auto;
}

.academy-registration-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reg-section-card {
  background: #ffffff;
  border: 1px solid #e9dff7;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  box-shadow: 0 4px 18px rgba(150, 115, 201, 0.07);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.reg-section-card:hover {
  border-color: #ded1f3;
  box-shadow: 0 6px 24px rgba(150, 115, 201, 0.12);
}

.reg-section-card.highlight-lavender-card {
  background: linear-gradient(180deg, #ffffff 0%, #faf6fe 100%);
  border: 1.5px solid #d4c2ee;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.08);
}

.reg-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f3ecfb;
}

.card-step-badge {
  background: #F4EEFC;
  color: #7c3aed;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #ded1f3;
  white-space: nowrap;
}

.card-step-badge.badge-google {
  background: #ede9fe;
  color: #6d28d9;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #333342;
  margin: 0 0 0.2rem;
}

.card-subtitle {
  font-size: 0.84rem;
  color: #6b5c7c;
  margin: 0;
  line-height: 1.45;
}

/* Floating Input Groups */
.form-group-floating {
  position: relative;
  margin-bottom: 1.15rem;
}

.floating-input {
  width: 100%;
  height: 52px;
  padding: 1.25rem 1rem 0.4rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: #333342;
  background: #ffffff;
  border: 1.5px solid #ded1f3;
  border-radius: 10px;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

select.floating-input {
  padding-top: 1.1rem;
  cursor: pointer;
  appearance: auto;
}

.floating-input:focus {
  border-color: #9673C9;
  box-shadow: 0 0 0 4px rgba(150, 115, 201, 0.18);
  background: #ffffff;
}

.floating-input.readonly-input {
  background: #fbf9fd;
  color: #5b21b6;
  font-weight: 700;
  cursor: default;
}

.floating-label {
  position: absolute;
  top: 15px;
  left: 1rem;
  font-size: 0.88rem;
  color: #8c7b9e;
  pointer-events: none;
  transition: all 0.2s ease;
  transform-origin: left top;
}

.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label,
select.floating-input ~ .floating-label {
  top: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #7c3aed;
}

.input-hint {
  display: block;
  font-size: 0.72rem;
  color: #8c7b9e;
  margin-top: 0.3rem;
  padding-left: 0.25rem;
}

/* Batch Selection Details & Capacity Bar */
.batch-selection-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.selected-batch-highlight {
  background: #fcfaff;
  border: 1.5px solid #ded1f3;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-mini-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.selected-course-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #333342;
  margin: 0 0 0.35rem;
}

.selected-batch-lead {
  font-size: 0.92rem;
  color: #5b21b6;
  margin: 0 0 0.85rem;
}

.batch-specs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.chip-item {
  background: #ffffff;
  border: 1px solid #e2d5f5;
  color: #4a3d5e;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.batch-capacity-status-bar {
  background: #ffffff;
  border: 1px solid #ded1f3;
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.cap-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a3d5e;
  margin-bottom: 0.45rem;
}

.cap-progress-track {
  width: 100%;
  height: 8px;
  background: #f0e6fa;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.cap-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #9673C9 0%, #7c3aed 100%);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.cap-note {
  display: block;
  font-size: 0.7rem;
  color: #8c7b9e;
}

/* Switch Batch & Fee Card */
.switch-batch-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.switch-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #333342;
  margin-bottom: 0.35rem;
  display: block;
}

.fee-display-card {
  background: linear-gradient(135deg, #F4EEFC 0%, #ece2fb 100%);
  border: 1.5px solid #d4c2ee;
  border-radius: 12px;
  padding: 1.15rem;
  text-align: center;
}

.fee-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6b5c7c;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.fee-amount {
  display: block;
  font-size: 1.85rem;
  font-weight: 900;
  color: #5b21b6;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.fee-sub {
  display: block;
  font-size: 0.72rem;
  color: #7c3aed;
  font-weight: 600;
}

.guardian-note-box {
  background: #F4EEFC;
  border: 1px solid #ded1f3;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.76rem;
  color: #5b21b6;
  line-height: 1.45;
  display: flex;
  align-items: center;
}

/* Google Account Verification Box */
.google-verification-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.google-security-notice {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: #fbf9fd;
  border: 1px solid #e9dff7;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
}

.google-security-notice .shield-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.google-security-notice strong {
  display: block;
  font-size: 0.86rem;
  color: #333342;
  margin-bottom: 0.2rem;
}

.google-security-notice p {
  font-size: 0.8rem;
  color: #6b5c7c;
  margin: 0 0 0.3rem;
  line-height: 1.45;
}

.google-action-box {
  background: #ffffff;
  border: 1.5px dashed #cbb7ea;
  border-radius: 12px;
  padding: 1.4rem;
  text-align: center;
}

.google-prompt-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #333342;
  margin-bottom: 1rem;
}

.step-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #9673C9;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button-google-direct {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  color: #3c4043;
  border: 1.5px solid #dadce0;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.75rem 1.35rem;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.08);
  transition: all 0.2s ease;
}

.button-google-direct:hover {
  background: #f8fafd;
  border-color: #d2e3fc;
  box-shadow: 0 2px 8px rgba(66, 133, 244, 0.16);
}

.button-ghost-lavender {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: #7c3aed;
  border: 1.5px solid #ded1f3;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.button-ghost-lavender:hover {
  background: #F4EEFC;
  border-color: #9673C9;
}

.google-verified-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 1.25rem;
  animation: fadeInScale 0.3s ease;
}

.verified-avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.verified-meta {
  flex: 1;
}

.verified-meta h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #065f46;
  margin: 0.25rem 0 0.15rem;
}

.verified-meta p {
  font-size: 0.78rem;
  color: #047857;
  margin: 0 0 0.3rem;
}

.verified-meta code {
  background: rgba(16, 185, 129, 0.1);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.74rem;
}

/* Consent Card & Checkboxes */
.consent-section-card {
  background: #ffffff;
  border: 1px solid #e9dff7;
  border-radius: 16px;
  padding: 1.5rem 2rem;
}

.consent-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.consent-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #9673C9;
  accent-color: #7c3aed;
  margin-top: 0.2rem;
  cursor: pointer;
  flex-shrink: 0;
}

.consent-label {
  font-size: 0.84rem;
  color: #4a3d5e;
  line-height: 1.45;
  user-select: none;
}

.privacy-link-btn {
  background: none;
  border: none;
  color: #7c3aed;
  text-decoration: underline;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  font-size: 0.84rem;
}

/* Form Submit Bar */
.reg-submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: #ffffff;
  border: 1.5px solid #ded1f3;
  border-radius: 16px;
  padding: 1.25rem 2rem;
  box-shadow: 0 4px 20px rgba(150, 115, 201, 0.1);
}

.submit-assurance {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.assurance-icon {
  font-size: 1.3rem;
}

.submit-assurance strong {
  display: block;
  font-size: 0.88rem;
  color: #333342;
}

.submit-assurance small {
  display: block;
  font-size: 0.74rem;
  color: #7c3aed;
}

.button-register-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #7c3aed 0%, #9673C9 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
  padding: 0.95rem 1.85rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.button-register-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.button-register-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Confirmation Page & Printable Slip */
.academy-confirm-hero {
  background: linear-gradient(135deg, #2b174d 0%, #4a2478 50%, #9673C9 100%);
  color: #ffffff;
  padding: 3rem 1.5rem 2.2rem;
  text-align: center;
}

.confirm-status-icon {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.confirm-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: 0.5rem;
}

.confirm-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin: 0.25rem 0 0.5rem;
  color: #ffffff;
}

.confirm-lead-message {
  font-size: 1.05rem;
  color: #F4EEFC;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.55;
  font-style: italic;
}

.section-academy-confirm {
  background: #fbf9fd;
  padding: 2.5rem 1.25rem 4rem;
}

.confirm-container {
  max-width: 820px;
  margin: 0 auto;
}

.acknowledgement-card {
  background: #ffffff;
  border: 1.5px solid #ded1f3;
  border-radius: 16px;
  padding: 2.2rem 2.5rem;
  box-shadow: 0 8px 30px rgba(150, 115, 201, 0.1);
  margin-bottom: 1.75rem;
}

.ack-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1.5px solid #f3ecfb;
  margin-bottom: 1.25rem;
}

.ack-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ack-brand h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #333342;
  margin: 0;
}

.ack-brand small {
  font-size: 0.78rem;
  color: #7c3aed;
  font-weight: 600;
}

.ack-id-badge {
  text-align: right;
  background: #F4EEFC;
  border: 1px solid #ded1f3;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
}

.id-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #6b5c7c;
  letter-spacing: 0.06em;
}

.id-code {
  font-size: 1.15rem;
  font-weight: 900;
  color: #5b21b6;
  font-family: monospace;
}

.ack-status-banner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.ack-status-banner.banner-pending {
  background: #fffbeb;
  border: 1.5px solid #fef3c7;
  color: #92400e;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
  flex-shrink: 0;
}

.ack-status-banner strong {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 0.2rem;
}

.ack-status-banner p {
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.45;
}

.ack-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f3ecfb;
  margin-bottom: 1.5rem;
}

.ack-row {
  display: flex;
  flex-direction: column;
}

.ack-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8c7b9e;
  margin-bottom: 0.2rem;
}

.ack-value {
  font-size: 0.96rem;
  font-weight: 700;
  color: #333342;
}

.ack-value.fee-highlight {
  color: #5b21b6;
  font-size: 1.25rem;
  font-weight: 900;
}

.ack-next-steps {
  background: #fbf9fd;
  border: 1px solid #e9dff7;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.ack-next-steps h4 {
  font-size: 0.96rem;
  font-weight: 800;
  color: #333342;
  margin: 0 0 0.5rem;
}

.ack-steps-list {
  padding-left: 1.2rem;
  margin: 0;
  font-size: 0.84rem;
  color: #4a3d5e;
  line-height: 1.55;
}

.ack-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.button-print-ack {
  background: #F4EEFC;
  color: #5b21b6;
  border: 1.5px solid #ded1f3;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.button-print-ack:hover {
  background: #ded1f3;
}

/* Status Badges */
.badge-pending-payment {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-active {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.badge-cancelled {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.badge-completed {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.code-pill {
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 700;
  background: #F4EEFC;
  color: #5b21b6;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid #ded1f3;
}

/* Modals */
.academy-modal {
  position: fixed;
  inset: 0;
  background: rgba(43, 23, 77, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 9999;
  animation: fadeIn 0.2s ease;
}

.academy-modal-dialog {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.academy-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f3ecfb;
}

.academy-modal-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #333342;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #8c7b9e;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.academy-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  font-size: 0.88rem;
  color: #4a3d5e;
  line-height: 1.6;
}

.academy-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid #f3ecfb;
  background: #fbf9fd;
}

/* Print Styles for Printable Acknowledgement Slip */
@media print {
  body * {
    visibility: hidden;
  }
  #printableAcknowledgementSlip, #printableAcknowledgementSlip * {
    visibility: visible;
  }
  #printableAcknowledgementSlip {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 1.5rem;
    border: 1px solid #000000;
    box-shadow: none;
  }
  .ack-actions-bar {
    display: none !important;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .batch-selection-grid {
    grid-template-columns: 1fr;
  }
  .ack-details-grid {
    grid-template-columns: 1fr;
  }
  .reg-section-card {
    padding: 1.25rem 1.2rem;
  }
  .reg-main-title {
    font-size: 1.6rem;
  }
  .reg-submit-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.25rem;
  }
  .button-register-submit {
    justify-content: center;
    width: 100%;
  }
  .ack-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .ack-id-badge {
    text-align: left;
    width: 100%;
  }
}

/* =========================================================================
   PHASE 4: PAYMENT SUMMARY, CHECKOUT & DIGITAL RECEIPTS STYLES
   Theme: Premium Lavender & White (#9673C9, #F4EEFC, #FFFFFF, #333342)
   ========================================================================= */

.section-academy-payment {
  background: linear-gradient(180deg, #F9F7FC 0%, #FFFFFF 100%);
  padding: 3rem 1rem 5rem;
}

.payment-card {
  max-width: 720px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid #E5D9F8;
  box-shadow: 0 10px 30px rgba(88, 43, 130, 0.08);
  padding: 2.2rem 2.5rem;
}

.payment-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #F1E9FA;
  margin-bottom: 1.5rem;
}

.payment-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.payment-brand h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #333342;
  font-weight: 700;
}

.payment-brand small {
  color: #716b80;
  font-size: 0.85rem;
  display: block;
  margin-top: 2px;
}

.payment-reg-badge {
  text-align: right;
  background: #F4EEFC;
  padding: 0.4rem 0.9rem;
  border-radius: 10px;
  border: 1px solid #E1D2F6;
}

.payment-reg-badge span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7146a8;
}

.payment-reg-badge strong {
  font-size: 0.95rem;
  color: #3b1764;
  font-family: monospace;
}

/* Seat Reservation Timer Banner */
.seat-reserve-banner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #FAF6FD;
  border: 1px solid #E3D4F7;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.6rem;
}

.reserve-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9673C9;
  box-shadow: 0 0 0 0 rgba(150, 115, 201, 0.7);
  animation: pulse-dot 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(150, 115, 201, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(150, 115, 201, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(150, 115, 201, 0); }
}

.reserve-text {
  flex: 1;
}

.reserve-text strong {
  display: block;
  font-size: 0.9rem;
  color: #4a287a;
}

.reserve-text span {
  font-size: 0.82rem;
  color: #6d5b85;
}

.reserve-badge {
  background: #EADEFC;
  color: #55278c;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Payment Summary Grid */
.payment-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
  margin-bottom: 1.8rem;
  background: #FCFAFE;
  padding: 1.4rem;
  border-radius: 12px;
  border: 1px solid #F1E9FA;
}

.summary-cell {
  display: flex;
  flex-direction: column;
}

.cell-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #837599;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cell-value {
  font-size: 0.98rem;
  color: #2b2238;
}

/* Fee Breakdown Panel */
.fee-breakdown-panel {
  background: #FFFFFF;
  border: 1px solid #E8DCF9;
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.6rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  font-size: 0.94rem;
  color: #453c52;
}

.breakdown-row span:last-child {
  font-weight: 600;
}

.breakdown-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  margin-top: 0.8rem;
  border-top: 2px dashed #E5D9F8;
}

.breakdown-total strong {
  font-size: 1.15rem;
  color: #333342;
  display: block;
}

.breakdown-total small {
  color: #796c8f;
  font-size: 0.8rem;
}

.final-amount-display {
  font-size: 1.7rem;
  color: #582b82;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Payment Methods Supported Strip */
.payment-methods-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAF7FE;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.6rem;
  border: 1px solid #ECE2F8;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.methods-label {
  font-size: 0.8rem;
  color: #72628c;
  font-weight: 600;
}

.methods-icons {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.method-tag {
  background: #FFFFFF;
  border: 1px solid #DED0F4;
  color: #55278c;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

/* Sandbox Banner */
.sandbox-alert-banner {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sandbox-tag {
  background: #F59E0B;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* Checkout Button */
.checkout-actions {
  text-align: center;
}

.button-pay-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.15rem 2rem;
  background: linear-gradient(135deg, #9673C9 0%, #7647B5 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(118, 71, 181, 0.35);
  transition: all 0.25s ease;
}

.button-pay-hero:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(118, 71, 181, 0.45);
}

.button-pay-hero:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.lock-icon {
  font-size: 1.2rem;
}

.security-fineprint {
  font-size: 0.82rem;
  color: #8c7f9e;
  margin-top: 1rem;
  margin-bottom: 0;
}

.checkout-feedback {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.92rem;
  text-align: left;
}

.feedback-info {
  background: #F4EEFC;
  border: 1px solid #D5BEF4;
  color: #4a287a;
}

.feedback-success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.feedback-warning {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
}

.feedback-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* =========================================================================
   OFFICIAL DIGITAL RECEIPT SHEET
   ========================================================================= */

.section-academy-receipt {
  background: #F6F3FA;
  padding: 2rem 1rem 5rem;
}

.receipt-toolbar {
  max-width: 800px;
  margin: 0 auto 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.official-receipt-sheet {
  max-width: 800px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #DDCFF4;
  box-shadow: 0 12px 35px rgba(58, 25, 95, 0.08);
  padding: 3rem;
  position: relative;
  font-family: inherit;
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.receipt-brand {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.receipt-brand-title {
  margin: 0;
  font-size: 1.45rem;
  color: #3b1764;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.receipt-brand-meta {
  margin: 0.35rem 0 0 0;
  font-size: 0.82rem;
  color: #6a5a82;
  line-height: 1.4;
}

.receipt-doc-badge {
  text-align: right;
  border-left: 3px solid #9673C9;
  padding-left: 1rem;
}

.doc-type-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #7146a8;
}

.doc-number {
  font-size: 1.15rem;
  color: #2b124c;
  display: block;
  margin: 0.2rem 0;
  font-family: monospace;
}

.doc-date {
  font-size: 0.8rem;
  color: #776a8d;
}

.receipt-divider {
  height: 2px;
  background: linear-gradient(90deg, #9673C9 0%, #DDCFF4 100%);
  margin: 1.8rem 0;
}

.receipt-status-ribbon {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 10px;
  padding: 0.85rem 1.2rem;
  margin-bottom: 2rem;
}

.receipt-status-ribbon .ribbon-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #22C55E;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
}

.ribbon-text strong {
  display: block;
  font-size: 0.96rem;
  color: #14532D;
}

.ribbon-text span {
  font-size: 0.82rem;
  color: #166534;
}

.receipt-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.meta-section-title {
  margin: 0 0 0.85rem 0;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #582b82;
  border-bottom: 1px solid #F1E9FA;
  padding-bottom: 0.4rem;
}

.receipt-data-table {
  width: 100%;
  border-collapse: collapse;
}

.receipt-data-table th {
  width: 44%;
  font-size: 0.85rem;
  color: #716486;
  font-weight: 500;
  padding: 0.45rem 0;
  text-align: left;
  border: none;
}

.receipt-data-table td {
  font-size: 0.9rem;
  color: #2b2238;
  padding: 0.45rem 0;
  text-align: left;
  border: none;
}

.receipt-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}

.receipt-items-table th {
  background: #F6EFFC;
  color: #4a287a;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1rem;
  border: 1px solid #E6D9F7;
}

.receipt-items-table td {
  padding: 0.85rem 1rem;
  border: 1px solid #EFE6FA;
  font-size: 0.92rem;
}

.receipt-total-row td {
  background: #FAF7FE;
  border-top: 2px solid #9673C9;
  padding: 1rem;
}

.receipt-tx-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: #F9F7FD;
  border: 1px solid #EDE4F8;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-top: 1.8rem;
}

.tx-item {
  display: flex;
  flex-direction: column;
}

.tx-label {
  font-size: 0.74rem;
  color: #796c8f;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.tx-val {
  font-size: 0.88rem;
  color: #2a1f38;
}

.receipt-legal-notice {
  margin-top: 1.8rem;
  background: #FDFBFF;
  border-left: 3px solid #D5BEF4;
  padding: 0.85rem 1.2rem;
  font-size: 0.82rem;
  color: #65567a;
  line-height: 1.5;
}

.receipt-legal-notice ul {
  margin: 0.4rem 0 0 0;
  padding-left: 1.2rem;
}

.receipt-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #EFE6FA;
}

.receipt-seal-mark {
  border: 2px dashed #9673C9;
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  text-align: center;
}

.receipt-seal-mark span {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #7146a8;
  letter-spacing: 0.08em;
}

.receipt-seal-mark strong {
  display: block;
  font-size: 0.92rem;
  color: #166534;
  letter-spacing: 0.12em;
}

.receipt-footer-text {
  text-align: right;
  font-size: 0.8rem;
  color: #7a6e8e;
}

/* Print CSS */
@media print {
  body * {
    visibility: hidden;
  }
  .official-receipt-sheet, .official-receipt-sheet * {
    visibility: visible;
  }
  .official-receipt-sheet {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 2rem;
    box-shadow: none;
    border: none;
  }
  .no-print {
    display: none !important;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .payment-card {
    padding: 1.5rem 1.2rem;
  }
  .payment-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .payment-reg-badge {
    text-align: left;
    width: 100%;
  }
  .payment-summary-grid {
    grid-template-columns: 1fr;
  }
  .official-receipt-sheet {
    padding: 1.5rem;
  }
  .receipt-header {
    flex-direction: column;
  }
  .receipt-doc-badge {
    text-align: left;
    border-left: none;
    border-top: 2px solid #9673C9;
    padding-left: 0;
    padding-top: 0.75rem;
    width: 100%;
  }
  .receipt-meta-grid {
    grid-template-columns: 1fr;
  }
  .receipt-tx-block {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   ONLINE ACADEMY PHASE 5: STUDENT LEARNING DASHBOARD & GOOGLE MEET
   Theme: Premium Lavender & White (#9673C9, #F4EEFC, #FFFFFF, #333342)
   ========================================================================== */
.student-dashboard-page {
  background: #f8fafc;
  min-height: 100vh;
  padding: 1.5rem 0 3.5rem;
  color: #333342;
}

.student-dashboard-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Dashboard User Topbar */
.dashboard-user-topbar {
  background: #ffffff;
  border-radius: 14px;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(150, 115, 201, 0.08);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(150, 115, 201, 0.15);
  flex-wrap: wrap;
  gap: 1rem;
}

.topbar-student-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.topbar-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9673C9, #7e57c2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 2px 8px rgba(150, 115, 201, 0.3);
}

.child-switcher-dropdown {
  background: #f4eefc;
  border: 1px solid #9673C9;
  color: #5b21b6;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  outline: none;
}

/* Hero Banner */
.dashboard-hero-banner {
  background: linear-gradient(135deg, #9673C9 0%, #7e57c2 50%, #6a3ab2 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(150, 115, 201, 0.25);
  margin-bottom: 1.5rem;
}

.dashboard-hero-banner h1 {
  font-size: 1.85rem;
  margin: 0 0 0.35rem 0;
  font-weight: 800;
  color: #ffffff;
}

.dashboard-hero-banner p {
  margin: 0;
  opacity: 0.92;
  font-size: 1rem;
  color: #f4eefc;
}

/* Next Live Class Hero Card */
.next-live-hero-card {
  background: #ffffff;
  border-radius: 16px;
  border: 2px solid #9673C9;
  box-shadow: 0 8px 24px rgba(150, 115, 201, 0.12);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  position: relative;
}

.next-live-hero-card.live-now {
  border-color: #22c55e;
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.2);
}

.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseLiveGreen 1.6s infinite;
}

@keyframes pulseLiveGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.btn-join-class-live {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-join-class-live:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.45);
  color: #ffffff;
}

.btn-join-disabled {
  background: #e2e8f0;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  border: none;
  cursor: not-allowed;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Schedule Tab Table */
.dashboard-calendar-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
  border: 1px solid #f1f5f9;
}

.schedule-view-selector {
  display: flex;
  gap: 6px;
  background: #f4eefc;
  padding: 4px;
  border-radius: 10px;
}

.schedule-view-btn {
  border: none;
  background: transparent;
  color: #6a3ab2;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 7px;
  cursor: pointer;
}

.schedule-view-btn.active {
  background: #9673C9;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(150, 115, 201, 0.3);
}

/* Learning Materials Cards */
.materials-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.material-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.material-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(150, 115, 201, 0.12);
  border-color: #9673C9;
}

.material-badge {
  background: #f4eefc;
  color: #9673C9;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

/* Course Progress Card */
.progress-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
  margin-bottom: 1.5rem;
}

.progress-track {
  height: 10px;
  border-radius: 8px;
  background: #f1f5f9;
  overflow: hidden;
  margin: 0.75rem 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #9673C9, #7e57c2);
  border-radius: 8px;
  transition: width 0.5s ease;
}

.progress-phase6-notice {
  background: #f8fafc;
  border-left: 3px solid #9673C9;
  padding: 0.65rem 0.85rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .dashboard-user-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .next-live-hero-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .materials-masonry {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   PHASE 6: TEACHER DASHBOARD, LIVE CLASS & ATTENDANCE REGISTER
   Palette: #9673C9 (Primary Lavender), #F4EEFC (Light Lavender), #FFFFFF, #333342
   ========================================================================= */

.teacher-dashboard-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
  font-family: inherit;
  color: #333342;
}

.teacher-brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #fbf9fe 100%);
  border: 1px solid #e8def8;
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  box-shadow: 0 4px 16px rgba(150, 115, 201, 0.06);
  margin-bottom: 1.5rem;
}

.teacher-brand-bar .brand-badge {
  display: inline-block;
  background: #9673c9;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.35rem;
}

.teacher-brand-bar .brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f1d2b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.teacher-brand-bar .brand-title span {
  color: #9673c9;
  font-weight: 600;
  font-size: 1.15rem;
}

.teacher-brand-bar .brand-desc {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0.25rem 0 0;
}

.teacher-profile-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #f4eefc;
  padding: 0.5rem 0.85rem;
  border-radius: 12px;
  border: 1px solid #e0d0f5;
}

.teacher-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #9673c9;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.teacher-meta .teacher-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e1b2e;
}

.teacher-meta .teacher-role {
  font-size: 0.75rem;
  color: #6b5a88;
}

.teacher-select {
  border: 1px solid #d4c2ec;
  border-radius: 8px;
  background: #ffffff;
  font-size: 0.82rem;
  padding: 0.35rem 0.6rem;
  color: #333342;
}

/* KPI Overview Cards */
.teacher-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kpi-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid #ece4f9;
  box-shadow: 0 2px 10px rgba(150, 115, 201, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(150, 115, 201, 0.1);
}

.kpi-card .kpi-icon {
  font-size: 1.6rem;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4eefc;
}

.kpi-card.kpi-purple .kpi-icon { background: #f4eefc; }
.kpi-card.kpi-lavender .kpi-icon { background: #ede7f6; }
.kpi-card.kpi-indigo .kpi-icon { background: #e8eaf6; }
.kpi-card.kpi-teal .kpi-icon { background: #e0f2f1; }
.kpi-card.kpi-warning .kpi-icon { background: #fff8e1; }
.kpi-card.kpi-accent .kpi-icon { background: #fce4ec; }

.kpi-details .kpi-val {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #1f1d2b;
}

.kpi-details .kpi-label {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.2rem;
  font-weight: 500;
}

/* Quick Actions Bar */
.teacher-actions-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  background: #f4eefc;
  border: 1px solid #e2d3f5;
  border-radius: 12px;
  padding: 0.65rem 1rem;
  margin-bottom: 1.5rem;
}

.actions-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #5c3d8a;
}

.btn-quick {
  background: #ffffff;
  border: 1px solid #d8c5ef;
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a346f;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-quick:hover, .btn-quick.active {
  background: #9673c9;
  color: #ffffff;
  border-color: #9673c9;
}

/* Navigation Tabs */
.teacher-nav-tabs {
  display: flex;
  gap: 0.4rem;
  border-bottom: 2px solid #e8def8;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1px;
}

.teacher-nav-tabs .nav-tab {
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  border-radius: 8px 8px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.teacher-nav-tabs .nav-tab:hover {
  color: #9673c9;
  background: #f9f6fd;
}

.teacher-nav-tabs .nav-tab.active {
  color: #9673c9;
  background: #ffffff;
  border-bottom: 3px solid #9673c9;
  font-weight: 700;
}

/* Panel Boxes */
.panel-box {
  background: #ffffff;
  border: 1px solid #e8def8;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(150, 115, 201, 0.04);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.panel-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f0e6fa;
  background: #fbf9fe;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.panel-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f1d2b;
  margin: 0;
}

.panel-header p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0.2rem 0 0;
}

.panel-body {
  padding: 1.5rem;
}

/* Overview Layout */
.overview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

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

/* Class Session Cards */
.class-card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.class-session-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: #ffffff;
  border: 1px solid #ede4f8;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(150, 115, 201, 0.03);
  transition: border-color 0.2s ease;
}

.class-session-card:hover {
  border-color: #9673c9;
}

.session-time {
  background: #f4eefc;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  text-align: center;
  min-width: 90px;
}

.session-time .time-main {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #5c3d8a;
}

.session-time .time-sub {
  display: block;
  font-size: 0.75rem;
  color: #7b659c;
}

.session-info {
  flex: 1;
  min-width: 200px;
}

.course-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #9673c9;
  text-transform: uppercase;
}

.session-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f1d2b;
  margin: 0.2rem 0;
}

.session-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #64748b;
}

.session-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Meet Buttons */
.button-meet {
  background: #1a73e8;
  color: #ffffff;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.button-meet:hover {
  background: #1557b0;
  color: #ffffff;
}

/* Upcoming list */
.upcoming-class-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.upcoming-class-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f4eefc;
}

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

.uc-date {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f4eefc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.uc-day {
  font-size: 1rem;
  font-weight: 800;
  color: #5c3d8a;
  line-height: 1;
}

.uc-mon {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #7b659c;
  font-weight: 600;
}

.uc-info {
  flex: 1;
  font-size: 0.82rem;
}

.uc-info strong {
  display: block;
  color: #1f1d2b;
}

.uc-info div {
  color: #64748b;
  font-size: 0.78rem;
}

/* Batches Grid */
.batches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.batch-card {
  background: #ffffff;
  border: 1px solid #e8def8;
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 2px 10px rgba(150, 115, 201, 0.03);
}

.batch-card-active {
  border: 2px solid #9673c9;
  box-shadow: 0 4px 16px rgba(150, 115, 201, 0.12);
}

.batch-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.batch-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f1d2b;
  margin: 0;
}

.batch-course {
  font-size: 0.85rem;
  color: #64748b;
}

.batch-details-table {
  font-size: 0.82rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.65rem 0.85rem;
  background: #faf7fd;
  border-radius: 8px;
}

.batch-footer-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.batch-workspace-card {
  background: #ffffff;
  border: 1px solid #e8def8;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 14px rgba(150, 115, 201, 0.05);
  margin-top: 2rem;
}

.workspace-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f0e6fa;
  margin-bottom: 1.5rem;
}

.workspace-header h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1f1d2b;
  margin: 0.35rem 0;
}

/* Tables */
.teacher-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.teacher-table th {
  background: #fbf9fe;
  color: #5c3d8a;
  font-weight: 700;
  padding: 0.75rem 0.85rem;
  border-bottom: 2px solid #ede4f8;
  text-align: left;
}

.teacher-table td {
  padding: 0.85rem 0.85rem;
  border-bottom: 1px solid #f4eefc;
  vertical-align: middle;
}

.teacher-table tr:hover td {
  background: #fdfcff;
}

.google-email-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-size: 0.82rem;
}

.google-email-tag .google-g {
  font-weight: 900;
  color: #ea4335;
  font-size: 0.78rem;
}

.attendance-badge {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

/* Segmented Attendance Status Radio Controls */
.status-btn-group {
  display: inline-flex;
  border: 1px solid #d4c2ec;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.status-label {
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-right: 1px solid #ede4f8;
  margin: 0;
  user-select: none;
  transition: all 0.15s ease;
}

.status-label:last-child {
  border-right: none;
}

.status-label input {
  display: none;
}

.status-label-present.checked {
  background: #10b981;
  color: #ffffff;
}

.status-label-absent.checked {
  background: #ef4444;
  color: #ffffff;
}

.status-label-late.checked {
  background: #f59e0b;
  color: #ffffff;
}

.status-label-excused.checked {
  background: #64748b;
  color: #ffffff;
}

.form-input-sm {
  width: 100%;
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.attendance-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #ede4f8;
}

/* Rating Pills */
.rating-pill {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.rating-beginning { background: #fef3c7; color: #92400e; }
.rating-developing { background: #dbeafe; color: #1e40af; }
.rating-proficient { background: #ede9fe; color: #5b21b6; }
.rating-excellent { background: #d1fae5; color: #065f46; }

.rating-choice-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.rating-label {
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Modals */
.teacher-modal {
  position: fixed;
  inset: 0;
  background: rgba(30, 27, 46, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 1.15rem 1.5rem;
  background: #fbf9fe;
  border-bottom: 1px solid #f0e6fa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f1d2b;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #94a3b8;
  cursor: pointer;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1rem 1.5rem;
  background: #fbf9fe;
  border-top: 1px solid #f0e6fa;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Session Hero Banner */
.session-hero-banner {
  background: linear-gradient(135deg, #f4eefc 0%, #ffffff 100%);
  border: 1px solid #e0d0f5;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.session-hero-banner h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #1f1d2b;
  margin: 0.35rem 0;
}

.hero-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
}

.hero-right-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.report-kpis {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.kpi-mini {
  background: #f4eefc;
  border: 1px solid #e0d0f5;
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  min-width: 160px;
}

.kpi-mini .mini-label {
  font-size: 0.75rem;
  color: #7b659c;
  font-weight: 600;
  text-transform: uppercase;
}

.kpi-mini .mini-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #5c3d8a;
  margin-top: 0.2rem;
}

/* ==========================================================================
   ONLINE ACADEMY PHASE 7: CERTIFICATE VERIFICATION & REPORTING STYLES
   ========================================================================== */
.cert-verify-wrap {
  max-width: 820px;
  margin: 0 auto 3rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cert-verify-card {
  background: #ffffff;
  border: 1px solid #e7ddf6;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(150, 115, 201, 0.08);
}

.cert-verify-header {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.cert-verify-icon {
  font-size: 2.2rem;
  background: #f4eefc;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-verify-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #333342;
  margin: 0 0 0.35rem 0;
}

.cert-verify-desc {
  font-size: 0.95rem;
  color: #666677;
  margin: 0;
  line-height: 1.5;
}

.cert-verify-form {
  margin-top: 1rem;
}

.cert-verify-input-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cert-verify-input {
  flex: 1;
  min-width: 260px;
  padding: 0.85rem 1.25rem;
  font-size: 1.05rem;
  border: 2px solid #d8c5f0;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fdfcff;
}

.cert-verify-input:focus {
  border-color: #9673c9;
  box-shadow: 0 0 0 4px rgba(150, 115, 201, 0.18);
}

.cert-verify-btn {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  background: #9673c9;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.cert-verify-btn:hover {
  background: #805bb5;
}

.cert-result-card {
  border-radius: 16px;
  padding: 2.25rem;
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(150, 115, 201, 0.1);
  position: relative;
  overflow: hidden;
}

.cert-result-card.cert-valid {
  border: 2px solid #48bb78;
  background: linear-gradient(to bottom, #f7fdf9, #ffffff);
}

.cert-result-card.cert-revoked {
  border: 2px solid #f56565;
  background: linear-gradient(to bottom, #fff5f5, #ffffff);
}

.cert-result-card.cert-notfound {
  border: 2px solid #cbd5e0;
  background: linear-gradient(to bottom, #f7fafc, #ffffff);
}

.cert-result-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cert-status-badge {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
}

.badge-valid {
  background: #e6fffa;
  color: #234e52;
  border: 1px solid #b2f5ea;
}

.badge-revoked {
  background: #fed7d7;
  color: #742a2a;
  border: 1px solid #feb2b2;
}

.badge-notfound {
  background: #edf2f7;
  color: #4a5568;
  border: 1px solid #e2e8f0;
}

.cert-id-tag {
  font-family: monospace;
  font-weight: 700;
  font-size: 1rem;
  background: #f4eefc;
  color: #5b3287;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
}

.cert-student-heading {
  font-size: 1.85rem;
  font-weight: 800;
  color: #333342;
  margin: 0.5rem 0 0.25rem 0;
}

.cert-award-line {
  font-size: 0.95rem;
  color: #718096;
  margin: 0 0 0.5rem 0;
}

.cert-course-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #5b3287;
  margin-bottom: 1.5rem;
}

.cert-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  background: #fbf8fe;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid #eee4fa;
  margin-bottom: 1.5rem;
}

.cert-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cert-meta-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #8874a6;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cert-meta-val {
  font-size: 1rem;
  font-weight: 700;
  color: #333342;
}

.cert-privacy-guarantee {
  font-size: 0.85rem;
  color: #6b46c1;
  background: #faf5ff;
  border: 1px solid #e9d8fd;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  line-height: 1.5;
}

.cert-notfound-tips {
  background: #f7fafc;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #4a5568;
}

.cert-notfound-tips ul {
  margin: 0.5rem 0 0 1.25rem;
  padding: 0;
}

.cert-notfound-tips li {
  margin-bottom: 0.35rem;
}

.cert-info-box {
  background: #ffffff;
  border: 1px solid #e7ddf6;
  border-radius: 14px;
  padding: 1.5rem;
  font-size: 0.92rem;
  color: #555566;
  line-height: 1.6;
}

.cert-info-box h4 {
  margin: 0 0 0.5rem 0;
  color: #5b3287;
  font-size: 1.1rem;
}




