/* ==========================================================================
   BRIO WORLD SCHOOL Master Stylesheet
   ========================================================================== */

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

:root {
  /* Color Tokens */
  --primary-dark: #0A192F;
  --primary-navy: #0F172A;
  --primary-blue: #1E3A8A;
  --accent-gold: #F59E0B;
  --accent-gold-hover: #D97706;
  --accent-amber: #FBBF24;
  --accent-crimson: #DC2626;
  --accent-emerald: #059669;

  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-dark-card: #1E293B;

  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  --border-light: #E2E8F0;
  --border-dark: #334155;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
  --shadow-gold: 0 4px 20px rgba(245, 158, 11, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Utilities */
.text-gold { color: var(--accent-gold); }
.text-emerald { color: var(--accent-emerald); }
.text-navy { color: var(--primary-navy); }
.bg-navy { background-color: var(--primary-navy); color: white; }
.bg-light { background-color: var(--bg-light); }

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #D97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-navy {
  background: rgba(15, 23, 42, 0.08);
  color: var(--primary-navy);
}
.badge-emerald {
  background: rgba(5, 150, 105, 0.12);
  color: var(--accent-emerald);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
}
.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: #0F172A;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.4);
}
.btn-navy {
  background: var(--primary-navy);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}
.btn-navy:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-navy);
  color: var(--primary-navy);
}
.btn-outline:hover {
  background: var(--primary-navy);
  color: var(--text-white);
}
.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: var(--text-white);
}
.btn-outline-white:hover {
  background: var(--text-white);
  color: var(--primary-navy);
}

/* Header & Announcement Bar */
.top-ticker-bar {
  background: #0B1324;
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-ticker-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ticker-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.ticker-pulse {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-gold);
  font-weight: 600;
}
.ticker-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-gold);
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.ticker-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.ticker-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.ticker-link:hover {
  color: var(--accent-gold);
}

/* Sticky Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.6rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.brand-text h1 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary-navy);
  line-height: 1.1;
}
.brand-text p {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-gold-hover);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
}
.nav-item {
  position: relative;
}
.nav-link {
  padding: 0.55rem 0.95rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1E293B;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover {
  color: #D97706;
  background: #FEF3C7;
}
.nav-link.active {
  color: #B45309;
  background: #FEF3C7;
  box-shadow: inset 0 0 0 1.5px rgba(245, 158, 11, 0.5);
  font-weight: 800;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--primary-navy);
}

/* Page View System */
.page-view {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}
.page-view.active-page,
.page-view:target {
  display: block !important;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero 5-Slide Carousel */
.hero-carousel-section {
  position: relative;
  overflow: hidden;
  background: #091224;
  height: 560px;
}
.hero-carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-slide-content {
  max-width: 820px;
  color: #FFFFFF;
}
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(15, 23, 42, 0.65);
  color: var(--accent-gold);
  border: 2px solid rgba(245, 158, 11, 0.5);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}
.carousel-control:hover {
  background: var(--accent-gold);
  color: #0F172A;
}
.carousel-control.prev-slide { left: 2rem; }
.carousel-control.next-slide { right: 2rem; }

.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.65rem;
}
.carousel-indicators .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}
.carousel-indicators .dot.active {
  background: var(--accent-gold);
  width: 36px;
  border-radius: 8px;
}

/* Scroll To Explore Indicator Overlay */
.scroll-explore-container {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  text-align: center;
  pointer-events: none;
}
.scroll-explore-line {
  width: 140px;
  height: 3px;
  background: var(--accent-gold);
  margin: 0 auto 0.4rem;
  border-radius: 2px;
  position: relative;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}
.scroll-explore-line::before, .scroll-explore-line::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-gold);
}
.scroll-explore-line::before { left: 0; }
.scroll-explore-line::after { right: 0; }

.scroll-explore-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 0.2rem;
}
.scroll-explore-arrow {
  font-size: 1.1rem;
  color: var(--accent-gold);
  animation: bounceDown 1.8s infinite;
}
@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* Leadership Carousel Navigation Buttons */
.leadership-nav-btn {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  z-index: 15;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #1E3A8A;
  border: 2px solid #CBD5E1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.leadership-nav-btn:hover {
  background: #1E3A8A;
  color: #FFFFFF;
  border-color: #1E3A8A;
  box-shadow: 0 6px 18px rgba(30, 58, 138, 0.3);
}
.leadership-nav-btn.lead-prev-btn { left: -1.2rem; }
.leadership-nav-btn.lead-next-btn { right: -1.2rem; }

.lead-thumb-card.active {
  outline: 3px solid #2563EB;
  outline-offset: -3px;
  transform: translateY(-4px);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-card {
  text-align: left;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
  font-family: 'Outfit', sans-serif;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Hero Right Card */
.hero-widget-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.widget-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.widget-header i {
  font-size: 1.8rem;
  color: var(--accent-gold);
}
.widget-header h3 {
  color: white;
  font-size: 1.25rem;
}

.quick-notice-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.quick-notice-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.notice-date {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  min-width: 55px;
}
.notice-date span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
}
.notice-text h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.notice-text p {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* Section Headers & Cards Balance */
.section-padding {
  padding: 5rem 0;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-header h2 {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0.6rem 0 0.85rem;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 auto;
}

/* Balanced Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
}
.feature-icon {
  width: 54px;
  height: 54px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold-hover);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Academic Wing Cards Balance */
.wing-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.wing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.wing-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.wing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.wing-card:hover .wing-img img {
  transform: scale(1.05);
}
.wing-content {
  padding: 1.5rem;
}
.wing-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.wing-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

/* Interactive Fee Calculator */
.calculator-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--primary-navy);
}
.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--accent-gold-hover);
  outline: none;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.fee-breakdown-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.fee-breakdown-table th, .fee-breakdown-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}
.fee-breakdown-table th {
  background: var(--bg-light);
  font-family: 'Outfit', sans-serif;
  color: var(--primary-navy);
}
.fee-total-row td {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  border-top: 2px solid var(--primary-navy);
}

/* Multi-step Form Wizard */
.wizard-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}
.wizard-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border-light);
  z-index: 1;
}
.step-item {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  padding: 0 0.5rem;
  text-align: center;
}
.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 auto 0.4rem;
  transition: var(--transition);
}
.step-item.active .step-circle {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--primary-navy);
}
.step-item.completed .step-circle {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: white;
}
.step-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}
.step-item.active .step-title {
  color: var(--primary-navy);
}

.wizard-content-step {
  display: none;
}
.wizard-content-step.active-step {
  display: block;
}

/* Campus Gallery Filters */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary-navy);
  color: white;
  border-color: var(--primary-navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: white;
  opacity: 0.9;
  transition: var(--transition);
}
.gallery-card:hover img {
  transform: scale(1.08);
}
.gallery-card:hover .gallery-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.3) 100%);
}

/* AI Bot Assistant */
.brio-bot-trigger {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
  cursor: pointer;
  transition: var(--transition);
}
.brio-bot-trigger:hover {
  transform: scale(1.1);
}

.chat-widget {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 2000;
  width: 370px;
  height: 520px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.chat-widget.active {
  display: flex;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-header {
  background: var(--primary-navy);
  color: white;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chat-avatar {
  width: 36px;
  height: 36px;
  background: var(--accent-gold);
  color: var(--primary-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.chat-header h4 {
  color: white;
  font-size: 1rem;
}
.chat-header p {
  font-size: 0.75rem;
  color: var(--accent-gold);
}

.chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.chat-msg {
  max-width: 82%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.4;
}
.chat-msg-bot {
  background: white;
  color: var(--primary-navy);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.chat-msg-user {
  background: var(--primary-navy);
  color: white;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-quick-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.chat-chip {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold-hover);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.3rem 0.65rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.chat-chip:hover {
  background: var(--accent-gold);
  color: var(--primary-navy);
}

.chat-footer {
  padding: 0.75rem;
  border-top: 1px solid var(--border-light);
  background: white;
  display: flex;
  gap: 0.5rem;
}
.chat-footer input {
  flex: 1;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
}

/* Modal Popup Overlay */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-backdrop.active {
  display: flex;
}
.modal-card {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 650px;
  padding: 2.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: modalPop 0.3s ease-out;
}
@keyframes modalPop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
}
.modal-close-btn:hover {
  background: var(--primary-navy);
  color: white;
}

/* Footer */
.main-footer {
  background: #091224;
  color: var(--text-light);
  padding: 5rem 0 2rem;
  border-top: 3px solid var(--accent-gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-col h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--accent-gold);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: var(--text-light);
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .chat-widget { width: 340px; right: 1.5rem; }
}

@media (max-width: 768px) {
  .top-ticker-content { flex-direction: column; gap: 0.4rem; text-align: center; }
  .ticker-left { flex-direction: column; gap: 0.2rem; }
  .ticker-links { display: none; }
  
  .hero-section { padding: 3rem 0 4rem; }
  .hero-title { font-size: 2rem !important; }
  .hero-subtitle { font-size: 0.95rem !important; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr !important; }
  
  .nav-menu { display: none; }
  .mobile-nav-toggle { display: block; }
  .hero-stats-row { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-num { font-size: 1.8rem; }
  
  /* Leadership Section Mobile Responsive Layout */
  #leadership-slider-container {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  #lead-spotlight-card > div {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    padding: 1.25rem 0.85rem !important;
  }

  #spotlight-img {
    height: 300px !important;
    width: 100% !important;
    max-width: 260px !important;
    margin: 0 auto 1rem auto !important;
    object-fit: cover !important;
    border-radius: 8px !important;
  }

  #spotlight-badge {
    margin: 0 auto 0.75rem auto !important;
    display: inline-block !important;
  }

  #spotlight-quote {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
  }

  #lead-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .lead-thumb-card img {
    height: 160px !important;
  }

  .leadership-nav-btn.lead-prev-btn {
    left: 0.1rem !important;
    top: 36% !important;
    z-index: 25 !important;
    width: 38px !important;
    height: 38px !important;
  }
  .leadership-nav-btn.lead-next-btn {
    right: 0.1rem !important;
    top: 36% !important;
    z-index: 25 !important;
    width: 38px !important;
    height: 38px !important;
  }

  .wizard-steps { flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
  .wizard-steps::before { display: none; }
  
  .chat-widget {
    width: 92vw;
    right: 4vw;
    bottom: 5.5rem;
    height: 480px;
  }
  
  .admin-remote-trigger {
    bottom: 1.25rem;
    left: 1rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
  }
  .brio-bot-trigger {
    bottom: 4.5rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
  
  .modal-card {
    max-width: 94vw !important;
    padding: 1.25rem !important;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  /* Mobile Non-Blocking Floating Admission Button */
  .admission-sidebar-tab {
    top: auto !important;
    bottom: 1rem !important;
    right: 1rem !important;
    left: auto !important;
    transform: none !important;
    writing-mode: horizontal-tb !important;
    text-orientation: unset !important;
    padding: 0.65rem 1.15rem !important;
    border-radius: 9999px !important;
    font-size: 0.82rem !important;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.6) !important;
    border: 2px solid #FFFFFF !important;
    animation: none !important;
  }
  .admission-sidebar-tab:hover {
    transform: translateY(-2px) !important;
  }
}

