/* ===== MAPLEBEAR WEBSITE - OPTIMIZED STYLES ===== */
/* Design Philosophy: "Nurtured Discovery" */
/* Based on MapleBear Singapore brand guidelines */
/* Color Scheme: Deep Ocean Blue (#003366) + Maple Leaf Yellow (#FFD200) */

/* ===== ENHANCED DESIGN TOKENS ===== */
:root {
  /* Brand Colors - Matching MapleBear Singapore */
  --maple-blue: #003366;      /* Primary: Deep Ocean Blue */
  --maple-yellow: #FFD200;    /* Accent: Maple Leaf Yellow */
  --maple-red: #c0392b;       /* Supporting: Trust Red */
  --maple-green: #27ae60;     /* Supporting: Growth Green */
  
  /* Neutral Palette */
  --white: #ffffff;
  --cream: #FFF9E5;           /* Warm background tint */
  --gray-100: #f8f9fb;
  --gray-200: #e5e5e5;
  --gray-600: #666666;
  --gray-800: #333333;
  --gray-900: #1a1a2e;
  
  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(0, 51, 102, 0.08);
  --shadow-md: 0 4px 24px rgba(0, 51, 102, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 51, 102, 0.16);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== ENHANCED HERO SECTION ===== */
.hero-enhanced {
  min-height: 90vh;
  background: url('images/hero/hero-main.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.hero-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 210, 0, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  color: white;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  max-width: 900px;
}

.hero-stat {
  text-align: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--maple-yellow);
  margin-bottom: 8px;
}

.hero-stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition-base);
}

.hero-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.hero-card-icon {
  width: 56px;
  height: 56px;
  background: var(--maple-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--maple-blue);
}

.hero-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.hero-card-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* ===== ENHANCED BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
  font-family: 'Poppins', sans-serif;
}

.btn-primary {
  background: var(--maple-yellow);
  color: var(--maple-blue);
  box-shadow: 0 4px 16px rgba(255, 210, 0, 0.3);
}

.btn-primary:hover {
  background: #e6bc00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 210, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* ===== ENHANCED TRUST BAR ===== */
.trust-bar-enhanced {
  background: white;
  padding: 32px 0;
  box-shadow: var(--shadow-sm);
}

.trust-bar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.95rem;
}

.trust-icon {
  width: 40px;
  height: 40px;
  background: var(--maple-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--maple-blue);
  flex-shrink: 0;
}

/* ===== ENHANCED PROGRAMMES ===== */
.programmes-section {
  padding: 80px 0;
  background: var(--gray-100);
}

.programmes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.programme-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.programme-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.programme-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--maple-blue), var(--maple-yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.programme-content {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.programme-age {
  display: inline-block;
  background: var(--cream);
  color: var(--maple-blue);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  align-self: flex-start;
}

.programme-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.programme-description {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.programme-features {
  list-style: none;
  padding: 0;
  margin-top: auto;
}

.programme-features li {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.programme-features li::before {
  content: '✓';
  color: var(--maple-yellow);
  font-weight: bold;
}

/* ===== ENHANCED ICONS ===== */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

/* Education Icons */
.icon-book::before { content: '📚'; }
.icon-graduation::before { content: '🎓'; }
.icon-toy::before { content: '🧸'; }
.icon-blocks::before { content: '🧱'; }
.icon-paint::before { content: '🎨'; }
.icon-music::before { content: '🎵'; }
.icon-sports::before { content: '⚽'; }
.icon-language::before { content: '🗣️'; }

/* Age Group Icons */
.icon-baby::before { content: '👶'; }
.icon-toddler::before { content: '🧒'; }
.icon-child::before { content: '👦'; }
.icon-children::before { content: '👧'; }

/* Service Icons */
.icon-clock::before { content: '⏰'; }
.icon-calendar::before { content: '📅'; }
.icon-location::before { content: '📍'; }
.icon-phone::before { content: '📞'; }
.icon-email::before { content: '✉️'; }
.icon-whatsapp::before { content: '💬'; }

/* Quality Icons */
.icon-star::before { content: '⭐'; }
.icon-check::before { content: '✅'; }
.icon-shield::before { content: '🛡️'; }
.icon-award::before { content: '🏆'; }
.icon-heart::before { content: '❤️'; }

/* Navigation Icons */
.icon-home::before { content: '🏠'; }
.icon-info::before { content: 'ℹ️'; }
.icon-programs::before { content: '📖'; }
.icon-contact::before { content: '📞'; }

/* Transportation Icons */
.icon-train::before { content: '🚇'; }
.icon-bus::before { content: '🚌'; }
.icon-car::before { content: '🚗'; }

/* Enhanced Icon Styles */
.icon-bg {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--maple-yellow);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maple-blue);
  box-shadow: var(--shadow-sm);
}

/* ===== REAL IMAGES ===== */
.hero-background {
  background-image: url('images/hero/hero-main.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.programme-infant {
  background-image: url('images/programmes/infant-care-1.jpeg');
}

.programme-toddler {
  background-image: url('images/programmes/toddler-1.jpeg');
}

.programme-playgroup {
  background-image: url('images/programmes/playgroup-1.jpeg');
}

.programme-nursery {
  background-image: url('images/programmes/nursery-1.jpeg');
}

.programme-kindergarten {
  background-image: url('images/programmes/kindergarten-1.jpeg');
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .trust-bar-inner {
    flex-direction: column;
    gap: 24px;
  }
  
  .programmes-grid {
    grid-template-columns: 1fr;
  }
}
