/* ============================================
   הבית של סיגי - Sigi's Home Kindergarten
   Beautiful Modern CSS with RTL Support
   ============================================ */

/* ============ CSS Variables ============ */
:root {
  /* Primary Colors - Warm & Playful */
  --primary-purple: #7159DE;
  --primary-purple-dark: #5840c4;
  --primary-purple-light: #A7A0F7;
  --primary-purple-soft: #D8D2FC;
  
  /* Accent Colors */
  --accent-amber: #FFC107;
  --accent-amber-dark: #FFB300;
  --accent-orange: #FD7B52;
  --accent-pink: #E65370;
  --accent-green: #79DD7D;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --off-white: #F9F9FB;
  --light-gray: #F1F0FA;
  --medium-gray: #A5A5AD;
  --dark-gray: #44474E;
  --black: #1C1B1F;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #7159DE 0%, #A7A0F7 100%);
  --gradient-warm: linear-gradient(135deg, #FFC107 0%, #FD7B52 100%);
  --gradient-hero: linear-gradient(180deg, rgba(113, 89, 222, 0.9) 0%, rgba(167, 160, 247, 0.8) 100%);
  
  /* Typography */
  --font-hebrew: 'Open Sans Hebrew', 'Heebo', 'Arial Hebrew', sans-serif;
  --font-english: 'Poppins', sans-serif;
  
  /* Spacing */
  --section-padding: 80px;
  --card-padding: 30px;
  --container-max-width: 1200px;
  
  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(113, 89, 222, 0.1);
  --shadow-medium: 0 8px 30px rgba(113, 89, 222, 0.15);
  --shadow-strong: 0 15px 50px rgba(113, 89, 222, 0.2);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.08);
  
  /* Border Radius */
  --radius-small: 8px;
  --radius-medium: 16px;
  --radius-large: 24px;
  --radius-round: 50%;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-hebrew);
  background-color: var(--white);
  color: var(--black);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============ SVG Icons ============ */
.icon-inline {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  flex-shrink: 0;
}

.icon-inline svg {
  display: inline-block;
  vertical-align: middle;
}

.heart-icon {
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-amber) 0%, var(--accent-orange) 100%);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 4px 15px rgba(253, 123, 82, 0.3);
}

/* ============ Typography ============ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  font-size: 1.1rem;
  color: var(--dark-gray);
}

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

.section-title {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-warm);
  margin: 20px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: var(--medium-gray);
  font-size: 1.2rem;
}

/* ============ Layout ============ */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding) 0;
}

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

.section-purple {
  background: var(--gradient-primary);
  color: var(--white);
}

.section-purple h2,
.section-purple h3,
.section-purple p {
  color: var(--white);
}

/* ============ Header & Navigation ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary-purple);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-medium);
}

.header.scrolled {
  background: rgba(113, 89, 222, 0.98);
  box-shadow: var(--shadow-medium);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

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

.logo img {
  height: 60px;
  width: auto;
  transition: var(--transition-medium);
}

.header.scrolled .logo img {
  height: 50px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link {
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-small);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--accent-amber);
  border-radius: 2px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-amber);
  color: var(--black);
  padding: 12px 24px;
  border-radius: var(--radius-large);
  font-weight: 600;
  transition: var(--transition-medium);
}

.header-phone:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.header-phone svg {
  width: 18px;
  height: 18px;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--primary-purple);
    flex-direction: column;
    justify-content: flex-start;
    padding: 100px 30px 30px;
    box-shadow: var(--shadow-strong);
    transition: var(--transition-medium);
    gap: 10px;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    width: 100%;
    text-align: right;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  .header-phone {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
  }
}

/* ============ Hero Section ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 90px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
}

.hero-content {
  text-align: center;
  color: var(--white);
  padding: 40px 20px;
  max-width: 800px;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1.2s ease;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.4s ease;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius-large);
  transition: var(--transition-medium);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-amber);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--accent-amber-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary-purple);
  border: 2px solid var(--primary-purple);
}

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

/* ============ Feature Cards ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: var(--white);
  padding: var(--card-padding);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
  transition: var(--transition-medium);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-warm);
  transform: scaleX(0);
  transition: var(--transition-medium);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

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

.feature-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 25px;
  border-radius: var(--radius-large);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
  transition: var(--transition-medium);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
}

.feature-icon img {
  width: 80px;
  height: 80px;
  transition: var(--transition-medium);
}

.feature-card:hover .feature-icon img {
  filter: brightness(0) invert(1);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--primary-purple);
  transition: var(--transition-medium);
}

.feature-card:hover .feature-icon svg {
  fill: white;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.feature-card p {
  font-size: 1rem;
  color: var(--medium-gray);
}

/* ============ Age Groups Section ============ */
.age-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.age-card {
  background: var(--white);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-medium);
}

.age-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-strong);
}

.age-card-header {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 25px;
  text-align: center;
}

.age-card-header h3 {
  color: var(--white);
  margin-bottom: 5px;
}

.age-card-header span {
  font-size: 0.9rem;
  opacity: 0.9;
}

.age-card-body {
  padding: 25px;
}

.age-card-body p {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============ Image Gallery ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-medium);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(113, 89, 222, 0.8);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
}

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

.gallery-overlay svg {
  width: 40px;
  height: 40px;
  color: var(--white);
}

/* ============ Call to Action Section ============ */
.cta-section {
  background: var(--gradient-primary);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
}

/* ============ FAQ Accordion ============ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-medium);
  margin-bottom: 15px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: var(--transition-medium);
}

.faq-item:hover {
  box-shadow: var(--shadow-medium);
}

.faq-question {
  width: 100%;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  background: var(--white);
  text-align: right;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary-purple);
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-round);
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
  flex-shrink: 0;
  margin-right: 15px;
}

.faq-item.active .faq-icon {
  background: var(--primary-purple);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 30px 25px;
  color: var(--dark-gray);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .faq-list {
    max-width: 100%;
    padding: 0;
  }
  
  .faq-question {
    padding: 20px 15px;
    font-size: 0.95rem;
  }
  
  .faq-answer-content {
    padding: 0 15px 20px;
    font-size: 0.9rem;
  }
  
  .faq-icon {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    margin-right: 10px;
  }
}

@media (max-width: 600px) {
  .faq-question {
    padding: 18px 12px;
    font-size: 0.9rem;
  }
  
  .faq-answer-content {
    padding: 0 12px 18px;
    font-size: 0.85rem;
    line-height: 1.7;
  }
  
  .faq-icon {
    width: 22px;
    height: 22px;
  }
}

/* ============ Menu Table ============ */
.menu-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 40px;
}

.menu-table th,
.menu-table td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--light-gray);
}

.menu-table th {
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}

.menu-table tr:last-child td {
  border-bottom: none;
}

.menu-table tr:hover td {
  background: var(--light-gray);
}

.meal-type {
  background: var(--off-white);
  font-weight: 600;
  color: var(--primary-purple);
}

/* ============ App Features Section ============ */
.app-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .app-showcase {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .app-showcase {
    gap: 30px;
  }
  
  .app-mockup img {
    max-width: 100%;
    width: 100%;
    padding: 0 15px;
  }
}

@media (max-width: 600px) {
  .app-showcase {
    gap: 20px;
  }
  
  .app-mockup img {
    max-width: 100%;
    padding: 0 10px;
  }
}

.app-mockup {
  position: relative;
  text-align: center;
  width: 100%;
  overflow: hidden;
}

.app-mockup img {
  max-width: 350px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 30px 60px rgba(113, 89, 222, 0.3));
}

.app-features-list {
  display: grid;
  gap: 20px;
}

.app-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-medium);
}

.app-feature-item:hover {
  transform: translateX(-10px);
  box-shadow: var(--shadow-medium);
}

.app-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-small);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.app-feature-content h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.app-feature-content p {
  font-size: 0.95rem;
  color: var(--medium-gray);
}

/* ============ Staff Section ============ */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.staff-card {
  background: var(--white);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-medium);
  text-align: center;
}

.staff-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.staff-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.staff-info {
  padding: 25px;
}

.staff-info h3 {
  margin-bottom: 8px;
}

.staff-info span {
  color: var(--primary-purple);
  font-weight: 500;
}

/* ============ Footer ============ */
.footer {
  background: var(--accent-amber);
  color: var(--black);
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-brand {
  text-align: center;
}

.footer-brand img {
  height: 80px;
  margin: 0 auto 20px;
}

.footer-brand p {
  color: var(--black);
  opacity: 0.8;
}

.footer-links h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  opacity: 0.8;
  transition: var(--transition-fast);
}

.footer-links ul li a:hover {
  opacity: 1;
  padding-right: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.footer-social a {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-round);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
}

.footer-social a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.footer-social img {
  width: 25px;
  height: 25px;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
  color: var(--black);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* ============ WhatsApp Button ============ */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  z-index: 999;
  transition: var(--transition-medium);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 15px rgba(37, 211, 102, 0.4));
}

/* ============ Animations ============ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-fade-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* ============ Utility Classes ============ */
.text-center {
  text-align: center;
}

.text-white {
  color: var(--white);
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mt-40 {
  margin-top: 40px;
}

.hidden {
  display: none;
}

/* ============ Page Header ============ */
.page-header {
  background: var(--gradient-primary);
  padding: 150px 20px 80px;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 15px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============ Timeline / Daily Schedule ============ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 50px auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  transform: translateX(50%);
  width: 4px;
  height: 100%;
  background: var(--primary-purple-soft);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 20px 0;
  display: flex;
  align-items: flex-start;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: left;
}

.timeline-time {
  width: 100px;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--primary-purple);
  font-size: 1.2rem;
}

.timeline-dot {
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  width: 20px;
  height: 20px;
  background: var(--accent-amber);
  border: 4px solid var(--white);
  border-radius: var(--radius-round);
  z-index: 1;
}

.timeline-content {
  flex: 1;
  padding: 25px;
  background: var(--white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
  margin: 0 30px;
}

.timeline-content h4 {
  margin-bottom: 10px;
  color: var(--black);
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--medium-gray);
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
  }
  
  .timeline::before {
    right: 30px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: column;
    text-align: right;
    padding-right: 50px;
  }
  
  .timeline-time {
    margin-bottom: 10px;
  }
  
  .timeline-dot {
    right: 21px;
    transform: none;
  }
  
  .timeline-content {
    margin: 0;
  }
  
  /* Fix any content that might overflow */
  p, li, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  
  /* Ensure images don't overflow */
  img {
    max-width: 100% !important;
    height: auto;
    width: auto;
  }
  
  /* Fix tables on mobile */
  table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Fix any section content */
  .section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  /* Fix page header on mobile */
  .page-header {
    width: 100%;
    max-width: 100vw;
  }
  
  /* Fix FAQ tips grid on mobile */
  .features-grid[style*="minmax(400px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ============ Programs Grid ============ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-medium);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.program-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.program-card-content {
  padding: 25px;
}

.program-card-content h3 {
  margin-bottom: 10px;
}

.program-card-content p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.program-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.program-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: var(--primary-purple);
  background: var(--light-gray);
  padding: 5px 12px;
  border-radius: 20px;
}

/* ============ Health Info Blocks ============ */
.health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .health-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .health-card {
    padding: 20px;
  }
}

.health-card {
  background: var(--white);
  border-radius: var(--radius-medium);
  padding: 30px;
  box-shadow: var(--shadow-card);
  border-right: 4px solid var(--primary-purple);
}

.health-card h3 {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.health-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-round);
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 12px;
}

.health-card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-purple);
}

/* ============ Responsive Adjustments ============ */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .page-header {
    padding: 120px 15px 60px;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .page-header p {
    font-size: 1rem;
  }
  
  .health-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .health-card {
    padding: 20px;
  }
  
  .programs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 60px 0;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .hero-content {
    padding: 20px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
  }
  
  .features-grid,
  .age-groups,
  .programs-grid {
    grid-template-columns: 1fr !important;
  }
  
  .health-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .health-card {
    padding: 15px;
  }
  
  .menu-table {
    font-size: 0.85rem;
  }
  
  .menu-table th,
  .menu-table td {
    padding: 12px 8px;
  }
  
  .page-header {
    padding: 100px 15px 50px;
  }
  
  .page-header h1 {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    padding: 0 10px;
  }
  
  .faq-list {
    width: 100%;
    max-width: 100%;
  }
}

/* ============ Print Styles ============ */
@media print {
  .header,
  .footer,
  .whatsapp-btn {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 40px 0;
  }
  
  .section {
    page-break-inside: avoid;
  }
}
