/* Sunshine Academy - Playful & Colorful School Design System */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  /* Playful Palette */
  --primary-blue: #4F46E5;
  --primary-blue-light: #EEF2FF;
  --accent-yellow: #FFC72C;
  --accent-yellow-light: #FFFBEB;
  --accent-pink: #FF4785;
  --accent-pink-light: #FFF1F5;
  --accent-green: #10B981;
  --accent-green-light: #ECFDF5;
  --accent-orange: #FF7A00;
  --accent-orange-light: #FFF7ED;
  --accent-purple: #8B5CF6;
  --accent-purple-light: #F5F3FF;
  --accent-cyan: #06B6D4;

  /* Neutral Soft Colors */
  --bg-main: #FDFBF7;
  --bg-card: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border-light: #E2E8F0;

  /* Fonts */
  --font-heading: 'Fredoka', cursive, sans-serif;
  --font-body: 'Quicksand', sans-serif;

  /* Shadows & Effects */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(79, 70, 229, 0.08);
  --shadow-lg: 0 16px 36px rgba(79, 70, 229, 0.12);
  --shadow-hover: 0 20px 40px rgba(79, 70, 229, 0.18);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --transition-fast: 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 0.3s ease;
}

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

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

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

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-heading);
}

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

/* Floating Background Elements */
.bg-doodles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  opacity: 0.18;
  animation: floatAnim 6s ease-in-out infinite alternate;
}

.shape-1 { top: 10%; left: 3%; width: 60px; color: var(--accent-yellow); animation-delay: 0s; }
.shape-2 { top: 35%; right: 4%; width: 80px; color: var(--accent-pink); animation-delay: 1.5s; }
.shape-3 { top: 70%; left: 5%; width: 70px; color: var(--accent-cyan); animation-delay: 3s; }
.shape-4 { top: 85%; right: 8%; width: 65px; color: var(--accent-green); animation-delay: 4.5s; }

@keyframes floatAnim {
  0% { transform: translateY(0px) rotate(0deg) scale(1); }
  100% { transform: translateY(-20px) rotate(15deg) scale(1.1); }
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 5rem 0;
}

/* Badge System */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge-yellow { background-color: var(--accent-yellow-light); color: #B45309; border: 1.5px solid #FCD34D; }
.badge-pink { background-color: var(--accent-pink-light); color: #BE185D; border: 1.5px solid #FBCFE8; }
.badge-blue { background-color: var(--primary-blue-light); color: var(--primary-blue); border: 1.5px solid #C7D2FE; }
.badge-green { background-color: var(--accent-green-light); color: #047857; border: 1.5px solid #A7F3D0; }
.badge-purple { background-color: var(--accent-purple-light); color: #6D28D9; border: 1.5px solid #DDD6FE; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  font-weight: 600;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), #6366F1);
  color: #FFFFFF;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent-pink), #F43F5E);
  color: #FFFFFF;
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 30px rgba(255, 71, 133, 0.3);
}

.btn-yellow {
  background: linear-gradient(135deg, var(--accent-yellow), #F59E0B);
  color: #78350F;
}

.btn-yellow:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 30px rgba(255, 199, 44, 0.4);
}

.btn-outline {
  background-color: transparent;
  border: 2.5px solid var(--primary-blue);
  color: var(--primary-blue);
  box-shadow: none;
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

/* Header & Sticky Navigation */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px dashed rgba(226, 232, 240, 0.9);
  transition: var(--transition-smooth);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.5rem;
  box-shadow: 0 8px 16px rgba(255, 122, 0, 0.25);
  transform: rotate(-6deg);
  transition: var(--transition-fast);
}

.brand-logo:hover .logo-icon {
  transform: rotate(12deg) scale(1.1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-blue);
  background-color: var(--primary-blue-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 4px;
  background-color: var(--accent-pink);
  border-radius: var(--radius-pill);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-btn-trigger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 2px solid var(--border-light);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.search-btn-trigger:hover {
  background-color: var(--accent-yellow-light);
  border-color: var(--accent-yellow);
  color: var(--text-dark);
  transform: scale(1.1);
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  color: var(--text-dark);
}

/* Hero Section */
.hero-section {
  padding: 4rem 0 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  color: var(--text-dark);
}

.hero-title .highlight-blue {
  color: var(--primary-blue);
}

.hero-title .highlight-pink {
  color: var(--accent-pink);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 520px;
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-media-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-card {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #FFFFFF;
  transform: rotate(2deg);
  transition: var(--transition-fast);
}

.hero-img-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-badge-float {
  position: absolute;
  background: #FFFFFF;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 10;
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.float-top-left {
  top: -15px;
  left: -20px;
  border-left: 5px solid var(--accent-yellow);
}

.float-bottom-right {
  bottom: -20px;
  right: -10px;
  border-left: 5px solid var(--accent-green);
  animation-delay: 2s;
}

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

/* Quick Stats Bar */
.stats-banner {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-md);
  margin-top: -2rem;
  position: relative;
  z-index: 20;
  border: 2px dashed #E2E8F0;
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-dark);
}

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

/* Playful Program Cards */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.program-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-md);
  border: 3px solid transparent;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
}

.card-stem::before { background: var(--accent-pink); }
.card-arts::before { background: var(--accent-yellow); }
.card-sports::before { background: var(--accent-green); }
.card-global::before { background: var(--primary-blue); }

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(79, 70, 229, 0.15);
}

.program-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* Wave Separator */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: 2rem 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 70px;
}

/* About Page / Section */
.about-history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.value-box {
  background-color: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-icon {
  font-size: 1.8rem;
}

/* Teacher Grid */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2.2rem;
}

.teacher-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-light);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.teacher-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-blue);
}

.teacher-photo-container {
  height: 240px;
  position: relative;
  overflow: hidden;
  background-color: var(--primary-blue-light);
}

.teacher-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-fast);
}

.teacher-card:hover .teacher-photo {
  transform: scale(1.06);
}

.teacher-info {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.teacher-name {
  font-size: 1.35rem;
}

.teacher-subject {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.95rem;
}

.teacher-short-bio {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Filter Controls */
.filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-chip {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  background-color: #FFFFFF;
  border: 2px solid var(--border-light);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.filter-chip:hover, .filter-chip.active {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Achievements Grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.2rem;
}

.achievement-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-light);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
}

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

.achievement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.achievement-icon {
  font-size: 2.4rem;
}

.achievement-title {
  font-size: 1.3rem;
}

.achievement-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.celebrate-btn {
  margin-top: auto;
  align-self: flex-start;
  background-color: var(--accent-yellow-light);
  color: #B45309;
  border: 2px dashed #FBBF24;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.celebrate-btn:hover {
  background-color: var(--accent-yellow);
  color: #78350F;
  transform: scale(1.05) rotate(2deg);
}

/* Events Timeline & Cards */
.events-view-toggle {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.2rem;
}

.event-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-light);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}

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

.event-image-box {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #FFFFFF;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--accent-pink);
}

.date-day {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-pink);
  line-height: 1;
}

.date-month {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
}

.event-details {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.event-title {
  font-size: 1.3rem;
}

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-card);
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  transition: var(--transition-fast);
}

.contact-card:hover {
  border-color: var(--primary-blue);
  transform: translateX(6px);
}

.contact-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Interactive Form */
.contact-form-box {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--primary-blue-light);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-light);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  background-color: var(--bg-main);
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-blue);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 4px var(--primary-blue-light);
}

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

/* Interactive Map Simulation */
.map-widget-box {
  margin-top: 3.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
  border: 2px dashed var(--border-light);
}

.campus-map-interactive {
  height: 340px;
  background: linear-gradient(135deg, #E0F2FE, #BAE6FD);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  border: 3px solid #FFFFFF;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
}

.map-pin {
  position: absolute;
  cursor: pointer;
  transform: translate(-50%, -100%);
  transition: var(--transition-fast);
  z-index: 10;
}

.map-pin:hover {
  transform: translate(-50%, -110%) scale(1.2);
}

.pin-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-pink);
  color: #FFFFFF;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(255, 71, 133, 0.4);
}

.pin-icon i {
  transform: rotate(45deg);
  font-size: 1.1rem;
}

.map-popup-card {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 20;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-box {
  background: #FFFFFF;
  width: 90%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 85vh;
  overflow-y: auto;
}

.modal-backdrop.open .modal-content-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-pink);
  color: #FFFFFF;
  transform: rotate(90deg);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--accent-green);
  color: #FFFFFF;
  padding: 1rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Canvas Confetti */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Footer */
.site-footer {
  background: #1E1B4B;
  color: #F8FAFC;
  padding: 4rem 0 2rem 0;
  position: relative;
  overflow: hidden;
}

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

.footer-brand p {
  color: #94A3B8;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #CBD5E1;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-yellow);
  padding-left: 5px;
}

.footer-newsletter p {
  color: #94A3B8;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  border: none;
  outline: none;
  font-family: var(--font-body);
  flex-grow: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #94A3B8;
  font-size: 0.9rem;
}

/* Page Section visibility for SPA router */
.page-section {
  display: block;
}

.page-section.hidden-section {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .hero-grid, .about-history-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--primary-blue);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .nav-menu.mobile-active {
    transform: translateY(0);
  }

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