/* ==========================================================================
   Kidz360 Design System & Master Stylesheet
   Domain: kidz360.in | Discover. Learn. Play. Grow.
   Target: Delhi-NCR, India
   Tech: Pure CSS3, Google Fonts (Poppins & Inter), Font Awesome 6
   ========================================================================== */

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

/* --- 1. CSS Variables / Design Tokens --- */
:root {
  /* Brand Core Colors */
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #EFF6FF;
  --primary-rgb: 37, 99, 235;

  --secondary: #F59E0B;
  --secondary-hover: #D97706;
  --secondary-light: #FEF3C7;

  --accent: #10B981;
  --accent-dark: #059669;
  --accent-light: #ECFDF5;

  /* Playful Supporting Tints */
  --purple: #8B5CF6;
  --purple-light: #F5F3FF;
  --rose: #F43F5E;
  --rose-light: #FFF1F2;
  --cyan: #06B6D4;
  --cyan-light: #ECFEFF;
  --orange: #FB923C;

  /* Neutrals & Dark Text */
  --dark: #0F172A;
  --dark-navy: #0B1329;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Backgrounds & Borders */
  --light: #F8FAFC;
  --light-gray: #F1F5F9;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --white: #FFFFFF;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 22px 40px -12px rgba(37, 99, 235, 0.18);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. CSS Reset & Base Elements --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

a:hover {
  color: var(--primary-dark);
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --- 3. Container & Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-fluid {
  width: 100%;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-sm {
  padding: 50px 0;
}

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

.section-bg-primary {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 60%, #3B82F6 100%);
  color: var(--white);
}

.section-bg-dark {
  background-color: var(--dark);
  color: var(--white);
}

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

.section-header.text-left {
  text-align: left;
  margin: 0 0 40px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
  background-color: var(--primary-light);
  color: var(--primary);
}

.badge-tag.badge-secondary {
  background-color: var(--secondary-light);
  color: var(--secondary-hover);
}

.badge-tag.badge-accent {
  background-color: var(--accent-light);
  color: var(--accent-dark);
}

.badge-tag.badge-white {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.section-bg-primary .section-title,
.section-bg-dark .section-title {
  color: var(--white);
}

.section-bg-primary .section-subtitle,
.section-bg-dark .section-subtitle {
  color: #CBD5E1;
}

/* --- 4. Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--dark);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text-main);
  background-color: var(--white);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: transparent;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background-color: #F8FAFC;
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* --- 5. Announcement Bar --- */
.announcement-bar {
  background: linear-gradient(90deg, #1E3A8A 0%, #2563EB 50%, #0D9488 100%);
  color: var(--white);
  font-size: 0.88rem;
  padding: 10px 24px;
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.announcement-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.announcement-content strong {
  font-weight: 600;
}

.announcement-badge {
  background-color: var(--secondary);
  color: var(--dark);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.announcement-link {
  color: #FEF08A;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 6px;
}

.announcement-link:hover {
  color: var(--white);
}

.announcement-close {
  position: absolute;
  right: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  padding: 4px 8px;
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
}

.announcement-close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

/* --- 6. Navigation Bar --- */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
  padding: 16px 0;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.98);
}

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

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.brand-logo .dot-360 {
  color: var(--secondary);
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--light);
}

.hamburger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-backdrop.visible {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer-close {
  font-size: 1.5rem;
  color: var(--text-muted);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.mobile-nav-links a {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--dark);
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-links a:hover {
  color: var(--primary);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- 7. Hero Section --- */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(239, 246, 255, 0.8) 0%, rgba(255, 255, 255, 1) 90%);
  padding: 70px 0 100px;
  overflow: hidden;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.shape-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.blob-1 {
  top: -80px;
  right: -50px;
  width: 450px;
  height: 450px;
  background: rgba(245, 158, 11, 0.2);
}

.blob-2 {
  bottom: 20px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: rgba(37, 99, 235, 0.15);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 620px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.hero-tag span {
  color: var(--secondary);
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: linear-gradient(120deg, var(--primary) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheading {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-avatar-stack {
  display: flex;
  margin-left: 8px;
}

.trust-avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -8px;
  object-fit: cover;
}

.trust-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}

.trust-text strong {
  color: var(--dark);
  display: block;
}

/* Hero Visual Collage & Floating Cards */
.hero-visual-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-collage {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
}

.collage-main-card {
  width: 82%;
  height: 82%;
  position: absolute;
  top: 9%;
  left: 9%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}

.collage-main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-secondary-card {
  width: 44%;
  height: 44%;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
  z-index: 3;
}

.collage-secondary-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-tertiary-card {
  width: 42%;
  height: 42%;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
  z-index: 2;
}

.collage-tertiary-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating UI Badges */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  animation: floatUpDown 4s ease-in-out infinite;
}

.badge-top-left {
  top: 10%;
  left: -20px;
  animation-delay: 0s;
}

.badge-bottom-right {
  bottom: 8%;
  right: -20px;
  animation-delay: 2s;
}

.badge-center-right {
  top: 48%;
  right: -30px;
  animation-delay: 1s;
}

.floating-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--white);
}

.bg-yellow {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.bg-blue {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
}

.bg-green {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.floating-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
}

.floating-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --- 8. Search / Discovery Box --- */
.search-discovery-section {
  position: relative;
  margin-top: -50px;
  z-index: 10;
  margin-bottom: 40px;
}

.search-box-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 30px 36px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--border);
}

.search-box-header {
  margin-bottom: 20px;
}

.search-box-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-form-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr auto;
  gap: 16px;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-light);
  font-size: 1rem;
  pointer-events: none;
}

.form-control {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background-color: var(--light);
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.search-popular-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.popular-tag-title {
  font-weight: 600;
  color: var(--text-muted);
}

.search-pill {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background-color: var(--light);
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.search-pill:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* --- 9. Category Section (Explore by Interest) --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 99, 235, 0.3);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.category-card:hover .category-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.category-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.category-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.category-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
}

.category-footer i {
  transition: transform 0.2s ease;
}

.category-card:hover .category-footer i {
  transform: translateX(4px);
}

/* --- 10. Age Section --- */
.age-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.age-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  border: 2px solid var(--border);
  text-align: center;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.age-badge-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.age-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.age-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

/* --- 11. Popular Activities Cards --- */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.activity-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 99, 235, 0.3);
}

.card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--light);
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.activity-card:hover .card-image-wrap img {
  transform: scale(1.06);
}

.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge-trial {
  background-color: var(--accent);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

.badge-featured {
  background-color: var(--secondary);
  color: var(--dark);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.card-favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.95rem;
  transition: var(--transition);
  z-index: 2;
  border: none;
  cursor: pointer;
}

.card-favorite-btn:hover, .card-favorite-btn.favorited {
  color: var(--rose);
  background: var(--white);
  transform: scale(1.1);
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
}

.card-rating i {
  color: #F59E0B;
  font-size: 0.85rem;
}

.card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.35;
}

.card-title a {
  color: var(--dark);
}

.card-title a:hover {
  color: var(--primary);
}

.card-provider {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.card-provider i {
  color: var(--primary);
}

.card-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.card-tag-pill {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background-color: var(--light);
  color: var(--text-main);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 600;
}

.price-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
}

.price-value span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* --- 12. 360° Child Development Circular Graphic --- */
.dev-360-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  overflow: hidden;
  position: relative;
}

.dev-360-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.dev-360-interactive {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-orbital-ring {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  border: 2px dashed rgba(37, 99, 235, 0.25);
  animation: slowOrbit 45s linear infinite;
}

.dev-orbital-ring-outer {
  position: absolute;
  width: 98%;
  height: 98%;
  border-radius: 50%;
  border: 1px solid rgba(245, 158, 11, 0.18);
}

.dev-center-hub {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.35);
  z-index: 5;
  border: 6px solid var(--white);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.dev-center-hub:hover {
  transform: scale(1.05);
}

.dev-center-hub span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  color: #FEF08A;
}

.dev-center-hub h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
}

.dev-node {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  z-index: 6;
  transition: var(--transition);
  cursor: pointer;
}

.dev-node:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: scale(1.1);
  box-shadow: var(--shadow-hover);
}

.node-academics { top: 4%; left: 50%; transform: translateX(-50%); }
.node-technology { top: 16%; right: 4%; }
.node-sports { top: 50%; right: -10px; transform: translateY(-50%); }
.node-creativity { bottom: 16%; right: 4%; }
.node-communication { bottom: 4%; left: 50%; transform: translateX(-50%); }
.node-confidence { bottom: 16%; left: 4%; }
.node-lifeskills { top: 50%; left: -10px; transform: translateY(-50%); }
.node-socialskills { top: 16%; left: 4%; }

@keyframes slowOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.dev-content-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-main);
  border-left: 4px solid var(--secondary);
  padding-left: 20px;
  margin: 24px 0 32px;
  line-height: 1.6;
}

.dev-pillars-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.dev-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

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

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

/* --- 13. How It Works Section --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  text-align: center;
}

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

.step-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(37, 99, 235, 0.12);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.step-card:hover .step-number {
  color: var(--primary);
}

.step-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- 14. Why Choose Kidz360 --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.25);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.why-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

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

/* --- 15. Parent Dashboard Preview Section --- */
.dashboard-preview-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
}

.mockup-top-bar {
  background: var(--light);
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-dots {
  display: flex;
  gap: 8px;
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.mockup-body {
  padding: 32px 36px;
}

.mockup-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.mockup-user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mockup-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.progress-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.progress-item-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.progress-bar-bg {
  height: 10px;
  background: var(--light-gray);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1s ease-in-out;
}

.fill-blue { background: var(--primary); }
.fill-amber { background: var(--secondary); }
.fill-green { background: var(--accent); }
.fill-purple { background: var(--purple); }
.fill-rose { background: var(--rose); }

.schedule-card-item {
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  border-left: 4px solid var(--primary);
}

.schedule-card-item:nth-child(2) {
  border-left-color: var(--secondary);
}

.schedule-card-item:nth-child(3) {
  border-left-color: var(--purple);
}

.schedule-icon {
  font-size: 1.4rem;
}

.schedule-details strong {
  display: block;
  font-size: 0.95rem;
}

.schedule-details span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- 16. Provider & School Banners --- */
.split-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.feature-banner-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.feature-banner-box.banner-provider {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: var(--white);
}

.feature-banner-box.banner-provider h2 {
  color: var(--white);
}

.feature-banner-box.banner-provider p {
  color: #94A3B8;
}

.feature-banner-box.banner-school {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-color: #BFDBFE;
}

.banner-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin: 24px 0 32px;
}

.banner-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* --- 17. Testimonials Slider --- */
.testimonials-section {
  background: var(--light);
}

.testimonials-slider-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.4s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 16px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
}

.testimonial-quote-icon {
  font-size: 2.4rem;
  color: rgba(37, 99, 235, 0.2);
  margin-bottom: 16px;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.testimonial-quote {
  font-size: 1.2rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 28px;
  font-weight: 500;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.testimonial-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--dark);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  width: 24px;
  border-radius: var(--radius-full);
  background: var(--primary);
}

/* --- 18. Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.blog-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.blog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-category-tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-card h3 a {
  color: var(--dark);
}

.blog-card h3 a:hover {
  color: var(--primary);
}

.blog-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
  flex-grow: 1;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* --- 19. CTA Section & Newsletter --- */
.cta-banner-box {
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 60%, #0D9488 100%);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner-box h2 {
  color: var(--white);
  font-size: 2.6rem;
  font-weight: 900;
  max-width: 780px;
  margin: 0 auto 16px;
  letter-spacing: -0.02em;
}

.cta-banner-box p {
  font-size: 1.15rem;
  color: #DBEAFE;
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-box {
  background: var(--light);
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--border);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 24px auto 12px;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  outline: none;
  font-size: 0.95rem;
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

/* --- 20. Footer --- */
.footer {
  background-color: var(--dark-navy);
  color: #94A3B8;
  padding: 80px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .brand-logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  font-size: 1rem;
}

.social-icon:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #94A3B8;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* --- 21. Marketplace Layout (activities.html) --- */
.marketplace-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: flex-start;
}

.filters-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.filters-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.btn-reset-filters {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
}

.filter-group {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main);
  cursor: pointer;
}

.custom-checkbox input {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.marketplace-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.marketplace-results-count {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.marketplace-results-count strong {
  color: var(--dark);
}

.marketplace-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.view-toggle-btns {
  display: flex;
  background: var(--light);
  border-radius: var(--radius-sm);
  padding: 3px;
  border: 1px solid var(--border);
}

.view-btn {
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
  background: none;
  border: none;
  cursor: pointer;
}

.view-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

/* List view style override */
.activities-grid.list-view {
  grid-template-columns: 1fr;
}

.activities-grid.list-view .activity-card {
  flex-direction: row;
}

.activities-grid.list-view .card-image-wrap {
  width: 280px;
  aspect-ratio: auto;
  flex-shrink: 0;
}

/* --- 22. Detail Page Elements (activity-details.html) --- */
.detail-hero {
  padding: 40px 0 60px;
  background: var(--light);
}

.detail-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 36px;
}

.detail-main-img {
  aspect-ratio: 16 / 10;
  width: 100%;
}

.detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-sub-imgs {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.detail-sub-imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-content-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
}

.detail-booking-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

.detail-curriculum-item {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
}

.curriculum-step-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sticky-mobile-booking-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 998;
  align-items: center;
  justify-content: space-between;
}

/* --- 23. Dashboard Components (parent & provider) --- */
.dashboard-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 80px);
  background-color: var(--light);
}

.dashboard-sidebar {
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 32px 18px;
  display: flex;
  flex-direction: column;
}

.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  margin-bottom: 6px;
}

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

.dashboard-main {
  padding: 36px 40px;
  overflow-y: auto;
}

/* Child Profile Switcher Pills */
.child-pill-btn {
  background: var(--white);
  color: var(--text-main);
  border: 1.5px solid var(--border);
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.child-pill-btn:hover {
  background: var(--light);
  border-color: var(--primary);
  color: var(--primary);
}

.child-pill-btn.active {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.kpi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kpi-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.kpi-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-top: 4px;
}

.kpi-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.dashboard-table th, .dashboard-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.dashboard-table th {
  background-color: var(--light);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.status-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
}

.status-confirmed { background: var(--accent-light); color: var(--accent-dark); }
.status-pending { background: var(--secondary-light); color: var(--secondary-hover); }
.status-completed { background: var(--primary-light); color: var(--primary); }

/* --- 24. Modals & Toast System --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

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

.modal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 540px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transform: translateY(20px) scale(0.96);
  transition: var(--transition-slow);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.modal-close-btn {
  font-size: 1.25rem;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--light);
  color: var(--dark);
}

.modal-body {
  padding: 24px 28px;
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--border);
  background: var(--light);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--dark);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  pointer-events: auto;
  animation: slideInToast 0.3s ease forwards;
}

.toast.toast-success {
  border-left: 4px solid var(--accent);
}

.toast.toast-info {
  border-left: 4px solid var(--primary);
}

.toast.toast-warning {
  border-left: 4px solid var(--secondary);
}

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

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-4px);
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* Auth Cards */
.auth-wrapper {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: radial-gradient(circle at 10% 20%, rgba(239, 246, 255, 0.6) 0%, rgba(255, 255, 255, 1) 90%);
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.auth-tabs {
  display: flex;
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 24px;
}

.auth-tab-btn {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: var(--transition);
}

.auth-tab-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-light);
  font-size: 0.85rem;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
