/* ==========================================================================
   Stitch Design System - AJC Schools Okota
   Production Source of Truth: DESIGN.md
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* Brand Color Tokens */
  --color-primary: #001E40;
  --color-primary-container: #003366;
  --color-on-primary: #ffffff;
  --color-secondary: #3D6A00;
  --color-secondary-container: #76BC21;
  --color-on-secondary: #ffffff;
  --color-tertiary-container: #FFC548;
  --color-error: #FF3D37;
  --color-neutral-dark: #001A33;

  /* Surface & Elevation Tokens */
  --color-bg-app: #F8F9FA;
  --color-surface-lowest: #ffffff;
  --color-surface-container: #EDEEEF;
  --color-border-subtle: #C3C6D1;
  --color-outline: #737780;

  /* Typography Tokens */
  --font-main: 'Hanken Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing Scale (8px Spatial Grid) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 128px;

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

  /* Shadows */
  --shadow-subtle: 0 4px 12px rgba(0, 30, 64, 0.06);
  --shadow-hover: 0 8px 24px rgba(0, 30, 64, 0.12);
  --shadow-dropdown: 0 10px 30px rgba(0, 26, 51, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-app);
  color: var(--color-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* Container & Grid System */
.stitch-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

@media (max-width: 768px) {
  .stitch-container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
}

.stitch-section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

@media (min-width: 1024px) {
  .stitch-section-large {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }
}

/* Typography Utilities */
.display-lg {
  font-size: 48px;
  line-height: 56px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.headline-lg {
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
}

.headline-md {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

.body-lg {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
}

.body-md {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.label-md {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.caption {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .display-lg {
    font-size: 30px;
    line-height: 38px;
  }
  .headline-lg {
    font-size: 24px;
    line-height: 32px;
  }
  .headline-md {
    font-size: 19px;
    line-height: 26px;
  }
  .body-lg {
    font-size: 16px;
    line-height: 24px;
  }
}

/* Header & Topbar System */
.stitch-topbar {
  background-color: var(--color-primary-container);
  color: var(--color-on-primary);
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stitch-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stitch-topbar-info {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.stitch-topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  white-space: nowrap;
}

.stitch-topbar-portals {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.stitch-portal-pill {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
  transition: background var(--transition-fast);
}

.stitch-portal-pill:hover {
  background: var(--color-secondary-container);
  color: #fff;
}

@media (max-width: 991px) {
  .stitch-topbar-portals {
    display: none;
  }
  .stitch-topbar-info {
    gap: var(--space-md);
  }
  .stitch-topbar-info span.stitch-hide-mobile {
    display: none;
  }
}

@media (max-width: 600px) {
  .stitch-topbar {
    display: none; /* Hide topbar on small mobile to maximize clean viewport */
  }
}

.stitch-navbar {
  background: var(--color-surface-lowest);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-normal);
}

.stitch-navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.stitch-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.stitch-brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.stitch-brand-text {
  display: flex;
  flex-direction: column;
}

.stitch-brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary-container);
  letter-spacing: -0.01em;
  line-height: 1.1;
  white-space: nowrap;
}

.stitch-brand-location {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-secondary-container);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.stitch-nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.stitch-nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.stitch-nav-link:hover,
.stitch-nav-link.active {
  color: var(--color-primary-container);
}

.stitch-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-secondary-container);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.stitch-nav-link:hover::after,
.stitch-nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu */
.stitch-nav-item-dropdown {
  position: relative;
}

.stitch-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--color-surface-lowest);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dropdown);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

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

.stitch-dropdown-item {
  display: block;
  padding: 10px var(--space-lg);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  transition: background var(--transition-fast);
}

.stitch-dropdown-item:hover {
  background: var(--color-bg-app);
  color: var(--color-primary-container);
}

/* Mobile Toggle */
.stitch-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-primary-container);
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 991px) {
  .stitch-nav-links {
    display: none;
  }
  .stitch-mobile-toggle {
    display: block;
  }
}

@media (max-width: 576px) {
  .stitch-navbar-inner {
    height: 66px;
  }
  .stitch-brand-logo {
    height: 44px;
  }
  .stitch-brand-name {
    font-size: 16px;
  }
  .stitch-brand-location {
    font-size: 10px;
  }
}

/* Buttons */
.stitch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  line-height: 1.2;
  white-space: nowrap;
}

.stitch-btn-primary {
  background-color: var(--color-primary-container);
  color: var(--color-on-primary);
  border-color: var(--color-primary-container);
}

.stitch-btn-primary:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.stitch-btn-secondary {
  background-color: var(--color-secondary-container);
  color: var(--color-on-secondary);
  border-color: var(--color-secondary-container);
}

.stitch-btn-secondary:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.stitch-btn-outline {
  background-color: transparent;
  color: var(--color-primary-container);
  border-color: var(--color-primary-container);
}

.stitch-btn-outline:hover {
  background-color: var(--color-primary-container);
  color: var(--color-on-primary);
  transform: translateY(-2px);
}

.stitch-btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.stitch-btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--color-primary-container);
  transform: translateY(-2px);
}

.stitch-btn-pill {
  border-radius: var(--radius-full);
}

@media (max-width: 576px) {
  .stitch-btn-pill {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* Hero Section */
.stitch-hero {
  position: relative;
  background-color: var(--color-primary);
  color: #ffffff;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.stitch-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.stitch-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 30, 64, 0.92) 0%, rgba(0, 51, 102, 0.65) 100%);
}

.stitch-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--space-2xl) 0;
}

.stitch-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background-color: var(--color-tertiary-container);
  color: var(--color-neutral-dark);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stitch-hero-title {
  color: #ffffff;
  margin-bottom: var(--space-md);
}

.stitch-hero-subtitle {
  font-size: 20px;
  line-height: 30px;
  color: #E1E3E4;
  margin-bottom: var(--space-xl);
}

.stitch-hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Cards System */
.stitch-card {
  background: var(--color-surface-lowest);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-lg);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.stitch-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.stitch-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-md);
  flex-shrink: 0;
}

.stitch-card-icon-primary {
  background: rgba(0, 51, 102, 0.1);
  color: var(--color-primary-container);
}

.stitch-card-icon-secondary {
  background: rgba(118, 188, 33, 0.15);
  color: var(--color-secondary-container);
}

.stitch-card-icon-gold {
  background: rgba(255, 197, 72, 0.2);
  color: #B28000;
}

.stitch-card-title {
  color: var(--color-primary-container);
  margin-bottom: var(--space-sm);
}

.stitch-card-text {
  color: var(--color-outline);
  font-size: 15px;
  line-height: 22px;
  flex-grow: 1;
}

/* Grid Layout Utilities */
.stitch-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}

.stitch-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}

.stitch-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}

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

@media (max-width: 768px) {
  .stitch-grid-4, .stitch-grid-3, .stitch-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Section Header Component */
.stitch-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl) auto;
}

.stitch-section-subtitle {
  color: var(--color-secondary-container);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  margin-bottom: var(--space-xs);
  display: block;
}

.stitch-section-title {
  color: var(--color-primary-container);
  margin-bottom: var(--space-sm);
}

/* FAQ Accordion Component */
.stitch-faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.stitch-faq-item {
  background: var(--color-surface-lowest);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.stitch-faq-item.active {
  border-color: var(--color-primary-container);
  box-shadow: var(--shadow-subtle);
}

.stitch-faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary-container);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.stitch-faq-icon {
  font-size: 14px;
  transition: transform var(--transition-fast);
  color: var(--color-secondary-container);
  flex-shrink: 0;
}

.stitch-faq-item.active .stitch-faq-icon {
  transform: rotate(180deg);
}

.stitch-faq-answer {
  padding: 0 24px 20px 24px;
  display: none;
  font-size: 15px;
  line-height: 24px;
  color: var(--color-outline);
}

.stitch-faq-item.active .stitch-faq-answer {
  display: block;
  animation: fadeIn 200ms ease;
}

/* Gallery Masonry & Lightbox Modal */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.gallery-filter-btn {
  background: var(--color-surface-lowest);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-primary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--color-primary-container);
  color: #ffffff;
  border-color: var(--color-primary-container);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

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

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

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-lowest);
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 30, 64, 0.85) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #ffffff;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-badge {
  display: inline-block;
  background: var(--color-secondary-container);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
  width: fit-content;
}

.gallery-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 26, 51, 0.9);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content-box {
  max-width: 900px;
  width: 100%;
  background: var(--color-surface-lowest);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-dropdown);
  position: relative;
}

.lightbox-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}

.lightbox-details {
  padding: 20px 24px;
}

.lightbox-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--color-error);
}

/* Form Controls */
.stitch-form-card {
  background: var(--color-surface-lowest);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--color-border-subtle);
}

@media (max-width: 576px) {
  .stitch-form-card {
    padding: var(--space-lg);
  }
}

.stitch-form-group {
  margin-bottom: var(--space-lg);
}

.stitch-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.stitch-input, .stitch-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-main);
  font-size: 15px;
  border: 1px solid var(--color-outline);
  border-radius: var(--radius-sm);
  background: var(--color-surface-lowest);
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.stitch-input:focus, .stitch-textarea:focus {
  outline: none;
  border-color: var(--color-primary-container);
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.15);
}

/* Mobile Drawer Canvas */
.stitch-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 26, 51, 0.6);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.stitch-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: var(--color-surface-lowest);
  z-index: 10001;
  padding: var(--space-xl) var(--space-lg);
  transition: right var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.stitch-drawer.active {
  right: 0;
}

.stitch-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.stitch-drawer-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-primary);
  cursor: pointer;
}

/* Drawer Mobile Portals section */
.stitch-drawer-portals {
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stitch-drawer-portal-btn {
  background: var(--color-bg-app);
  color: var(--color-primary-container);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background var(--transition-fast);
}

.stitch-drawer-portal-btn:hover {
  background: var(--color-primary-container);
  color: #ffffff;
}

/* Footer */
.stitch-footer {
  background-color: var(--color-neutral-dark);
  color: #A0AAB5;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-xl);
  font-size: 14px;
}

.stitch-footer-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.stitch-footer-links {
  list-style: none;
}

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

.stitch-footer-links a:hover {
  color: var(--color-secondary-container);
}

.stitch-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

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

/* ==========================================================================
   Header Sticky & Topbar Mobile Rules
   ========================================================================== */
.stitch-navbar-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--shadow-dropdown);
  animation: slideDown 0.3s ease;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@media (max-width: 767px) {
  .stitch-topbar-address {
    display: none !important; /* Hide address on mobile phones to prevent text wrapping */
  }
  .stitch-topbar-inner {
    justify-content: center;
  }
  .stitch-topbar-info {
    gap: 16px;
  }
}

.stitch-mobile-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stitch-mobile-nav a {
  font-weight: 600;
  font-size: 16px;
  color: var(--color-primary);
  display: block;
  padding: 6px 0;
}

.stitch-mobile-nav a.active {
  color: var(--color-secondary-container);
}

.stitch-text-gold {
  color: var(--color-tertiary-container) !important;
}

.stitch-social-links {
  display: flex;
  gap: 10px;
}

.stitch-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.stitch-social-links a:hover {
  background: var(--color-secondary-container);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Slider Component & Ken Burns Animation
   ========================================================================== */
.stitch-hero-slider {
  position: relative;
  width: 100%;
  min-height: 580px;
  background-color: var(--color-neutral-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.stitch-slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
  z-index: 1;
}

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

.stitch-slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 8s ease-out;
}

.stitch-slider-slide.active .stitch-slider-img {
  transform: scale(1.08); /* Gentle Ken Burns Zoom Effect */
}

.stitch-slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 30, 64, 0.55) 0%, rgba(0, 26, 51, 0.85) 100%);
  z-index: 3;
}

.stitch-slider-content {
  position: relative;
  z-index: 4;
  color: #ffffff;
  max-width: 820px;
  padding: var(--space-3xl) 0;
}

.stitch-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 30, 64, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
}

.stitch-slider-arrow:hover {
  background: var(--color-secondary-container);
  border-color: var(--color-secondary-container);
  color: #ffffff;
}

.stitch-slider-prev { left: 24px; }
.stitch-slider-next { right: 24px; }

.stitch-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.stitch-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.stitch-slider-dot.active {
  width: 32px;
  border-radius: 12px;
  background: var(--color-secondary-container);
}

@media (max-width: 768px) {
  .stitch-hero-slider { min-height: 480px; }
  .stitch-slider-arrow { width: 38px; height: 38px; font-size: 14px; }
  .stitch-slider-prev { left: 10px; }
  .stitch-slider-next { right: 10px; }
}

/* ==========================================================================
   Floating WhatsApp Chat Widget
   ========================================================================== */
.stitch-whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.stitch-whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.stitch-whatsapp-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2s infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

.stitch-whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--color-primary);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-subtle);
  pointer-events: none;
}

.stitch-whatsapp-float:hover .stitch-whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 66px;
}

/* ==========================================================================
   Testimonial Carousel Component
   ========================================================================== */
.stitch-testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  min-height: 280px;
}

.stitch-testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--color-border-subtle);
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stitch-testimonial-card.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.stitch-testimonial-quote {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 24px;
}

.stitch-testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stitch-testimonial-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-secondary-container);
}

.stitch-testimonial-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary-container);
}

.stitch-testimonial-role {
  font-size: 13px;
  color: var(--color-outline);
}

.stitch-testimonial-badge {
  background: var(--color-bg-app);
  color: var(--color-secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-left: auto;
}

/* ==========================================================================
   Multi-Step Admission Form Wizard
   ========================================================================== */
.stitch-wizard-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.stitch-wizard-progress::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-border-subtle);
  z-index: 1;
}

.stitch-wizard-progress-bar {
  position: absolute;
  top: 18px;
  left: 0;
  height: 3px;
  background: var(--color-secondary-container);
  z-index: 2;
  transition: width 0.4s ease;
}

.stitch-wizard-step-node {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-app);
  padding: 0 8px;
}

.stitch-wizard-bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--color-border-subtle);
  color: var(--color-outline);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
}

.stitch-wizard-step-node.active .stitch-wizard-bubble {
  border-color: var(--color-secondary-container);
  background: var(--color-secondary-container);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(118, 188, 33, 0.2);
}

.stitch-wizard-step-node.completed .stitch-wizard-bubble {
  background: var(--color-primary-container);
  border-color: var(--color-primary-container);
  color: #ffffff;
}

.stitch-wizard-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-outline);
  text-align: center;
}

.stitch-wizard-step-node.active .stitch-wizard-title {
  color: var(--color-primary-container);
  font-weight: 700;
}

.stitch-wizard-panel {
  display: none;
  background: #ffffff;
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-subtle);
}

.stitch-wizard-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.stitch-wizard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-subtle);
}

@media (max-width: 768px) {
  .stitch-wizard-title { display: none; }
  .stitch-wizard-panel { padding: 20px; }
}

/* Print Styles */
@media print {
  body { background: #ffffff !important; color: #000000 !important; }
  .stitch-topbar, .stitch-navbar, .stitch-footer, .stitch-whatsapp-float, .no-print { display: none !important; }
  .stitch-container { max-width: 100% !important; padding: 0 !important; }
  .stitch-wizard-panel { border: none !important; box-shadow: none !important; padding: 0 !important; }
}

