/* ===========================
   Chirplops Pages — Modern Kid-Friendly Styles
   =========================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One:wght@400&family=Nunito:wght@400;600;700;800&display=swap');

:root{
  /* Character Colors */
  --sunny-yellow: #FFD600;
  --sunny-amber: #F4A300;
  --sunny-turquoise: #22D3EE;
  --sunny-violet: #8B5CF6;
  
  --cosmo-pink: #FF5DA2;
  --cosmo-yellow: #FFE24A;
  --cosmo-gold: #FFD54A;
  --cosmo-magenta: #D81B60;
  
  --nova-blue: #7C4DFF;
  --nova-lilac: #B388FF;
  --nova-cyan: #40C4FF;
  --nova-indigo: #311B92;
  
  /* Page Layout */
  --page-padding: 2rem;
  --card-radius: 20px;
  --card-shadow: 0 8px 32px rgba(0,0,0,0.1);
  --card-hover-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* ===========================
   Page Background with Ken Burns Effect
   =========================== */

body {
  background: #0e0b16; /* Fallback color */
}

.page-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url('/assets/pooplands-background.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation: ken-burns 25s ease-in-out infinite;
}

/* Removed the spinning background elements - keeping only header animation */

/* Ken Burns Effect - Boomerang pan and zoom */
@keyframes ken-burns {
  0% { 
    transform: scale(1) translateX(0) translateY(0); 
  }
  50% { 
    transform: scale(1.08) translateX(-3%) translateY(-2%); 
  }
  100% { 
    transform: scale(1) translateX(0) translateY(0); 
  }
}

/* Floating elements animation */
@keyframes float-up {
  0% {
    transform: translateY(200px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-50px) rotate(360deg);
    opacity: 0;
  }
}

/* Dark overlay for text readability */
.page-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* ===========================
   Page Header
   =========================== */

.page-header{
  background: linear-gradient(135deg, var(--sunny-yellow) 0%, var(--cosmo-pink) 50%, var(--nova-blue) 100%);
  padding: calc(var(--nav-h) + 2rem) 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

/* Removed floating animation - keeping clean gradient only */

.page-hero{
  position: relative; z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.page-title{
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2.5rem, 8vw, 4rem);
  color: white;
  margin: 0 0 1rem;
  text-shadow: 0 4px 8px rgba(0,0,0,0.3);
  line-height: 1.1;
}

.page-subtitle{
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: rgba(255,255,255,0.95);
  margin: 0;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ===========================
   Page Content
   =========================== */

.page-content{
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem var(--page-padding);
  position: relative;
  z-index: 2;
}

/* ===========================
   Characters Grid
   =========================== */

.characters-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.character-card{
  background: white;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

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

.character-illustration{
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.character-image{
  width: 120px;
  height: auto;
  z-index: 2;
  position: relative;
  transition: transform 0.3s ease;
}

.character-card:hover .character-image{
  transform: scale(1.1);
}

.character-glow{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 170px; height: 170px;
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse-glow 3s ease-in-out infinite;
}

.sunny-glow{
  background: radial-gradient(circle, var(--sunny-yellow) 0%, transparent 70%);
}

.cosmo-glow{
  background: radial-gradient(circle, var(--cosmo-pink) 0%, transparent 70%);
}

.nova-glow{
  background: radial-gradient(circle, var(--nova-blue) 0%, transparent 70%);
}

.comet-glow{
  background: radial-gradient(circle, #ff6b6b 0%, #4ecdc4 50%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}

.fish-glow{
  background: radial-gradient(circle, #404040 0%, #808080 50%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}

.frog-glow{
  background: radial-gradient(circle, #FF6B6B 0%, #FFB3B3 50%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow{
  0%, 100%{ transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50%{ transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

.character-info{
  padding: 1.5rem;
}

.character-name{
  font-family: 'Fredoka One', cursive;
  font-size: 1.8rem;
  margin: 0 0 0.5rem;
  color: #333;
}

.character-title{
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.character-description{
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin: 0 0 1.5rem;
}

.character-traits{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trait{
  background: #f8f9fa;
  color: #666;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid #e9ecef;
  transition: all 0.2s ease;
}

.trait:hover{
  background: #e9ecef;
  transform: scale(1.05);
}

/* ===========================
   Fun Facts Section
   =========================== */

.fun-facts{
  background: rgba(248, 249, 250, 0.85);
  border-radius: var(--card-radius);
  padding: 3rem 2rem;
  text-align: center;
}

.section-title{
  font-family: 'Fredoka One', cursive;
  font-size: 2.2rem;
  color: #333;
  margin: 0 0 2rem;
}

.facts-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fact-card{
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.fact-card:hover{
  transform: translateY(-4px);
}

.fact-icon{
  font-size: 3rem;
  margin-bottom: 1rem;
}

.fact-card h3{
  font-family: 'Fredoka One', cursive;
  font-size: 1.3rem;
  color: #333;
  margin: 0 0 1rem;
}

.fact-card p{
  font-family: 'Nunito', sans-serif;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* ===========================
   Activity Grid
   =========================== */

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.activity-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--card-radius);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  border: 4px solid var(--sunny-yellow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.activity-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.activity-card h2 {
  font-family: 'Fredoka One', cursive;
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.activity-card p {
  color: #666;
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.activity-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--sunny-yellow) 0%, var(--cosmo-pink) 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  border: 3px solid white;
}

.activity-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* ===========================
   Coming Soon Grid
   =========================== */

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.coming-soon-item {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: 3px solid var(--cosmo-pink);
  transition: all 0.3s ease;
}

.coming-soon-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.coming-soon-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.coming-soon-item h3 {
  font-family: 'Fredoka One', cursive;
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.coming-soon-item p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

/* ===========================
   Content Card
   =========================== */

.content-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--card-radius);
  padding: 3rem;
  box-shadow: var(--card-shadow);
  margin-bottom: 2rem;
}

.content-card h2 {
  font-family: 'Fredoka One', cursive;
  color: #333;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.content-card h3 {
  font-family: 'Fredoka One', cursive;
  color: #333;
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.content-card p {
  font-family: 'Nunito', sans-serif;
  color: #666;
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ===========================
   Mobile Responsive
   =========================== */

@media (max-width: 768px){
  .characters-grid{
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .character-card{
    margin: 0 0.5rem;
  }
  
  .page-content{
    padding: 2rem 1rem;
  }
  
  .fun-facts{
    padding: 2rem 1rem;
  }
  
  .facts-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px){
  .character-illustration{
    height: 150px;
  }
  
  .character-image{
    width: 100px;
  }
  
  .character-glow{
    width: 170px; height: 170px;
  }
  
  .character-info{
    padding: 1rem;
  }
  
  .character-name{
    font-size: 1.5rem;
  }
  
  .trait{
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }
}

/* ===========================
   Locations Grid
   =========================== */

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.location-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  overflow: visible;
  box-shadow: var(--card-shadow);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

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

.location-preview {
  padding: 1.5rem;
}

.location-image {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
}

.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: 100%;
  transition: transform 0.3s ease;
}

.location-card:hover .location-image img {
  transform: scale(1.05);
}

.location-placeholder {
  display: none;
  font-size: 4rem;
  text-align: center;
  line-height: 200px;
  color: rgba(255, 255, 255, 0.8);
}

.location-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  color: #2c3e50;
  font-weight: 700;
  font-family: 'Fredoka One', cursive;
}

.location-card p {
  margin: 0 0 1rem 0;
  color: #7f8c8d;
  line-height: 1.5;
  font-family: 'Nunito', sans-serif;
}

.explore-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
}

.explore-btn:hover {
  background: linear-gradient(135deg, #764ba2, #667eea);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ===========================
   Location Details (Expanded)
   =========================== */

.location-details {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  z-index: 9999;
  padding: 2rem;
  overflow-y: auto;
  width: 100vw;
  height: 100vh;
  transform: none;
}

.location-details.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2rem;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  margin: 0 auto;
}

.location-content h4 {
  color: #2c3e50;
  margin: 1.5rem 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: 'Fredoka One', cursive;
}

.location-content h4:first-child {
  margin-top: 0;
}

.location-content p {
  color: #34495e;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-family: 'Nunito', sans-serif;
}

.location-content ul {
  margin: 0.5rem 0 1rem 0;
  padding-left: 1.5rem;
}

.location-content li {
  color: #34495e;
  line-height: 1.5;
  margin-bottom: 0.25rem;
  font-family: 'Nunito', sans-serif;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #e74c3c;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: #c0392b;
  transform: scale(1.1);
}

/* ===========================
   About Page Styles
   =========================== */

.creator-intro {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 2rem 0;
}

.creator-avatar {
  flex-shrink: 0;
}

.creator-image {
  width: 240px;   /* double original width */
  height: auto;   /* preserve aspect ratio */
  border-radius: 0; /* not circular */
  object-fit: contain;
  border: 3px solid var(--sunny-yellow);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.creator-image:hover {
  transform: scale(1.05);
}

.creator-text h2 {
  color: #2c3e50;
  margin: 0 0 0.5rem 0;
  font-family: 'Fredoka One', cursive;
  font-size: 2.2rem;
}

.creator-subtitle {
  color: #7f8c8d;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 2rem 0;
  font-family: 'Nunito', sans-serif;
}

.creator-text p {
  color: #34495e;
  line-height: 1.7;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Nunito', sans-serif;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.problem-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-top: 4px solid #e74c3c;
  transition: transform 0.3s ease;
  overflow: hidden;
  position: relative;
}

.problem-item:hover {
  transform: translateY(-4px);
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.problem-item h3 {
  color: #2c3e50;
  margin: 0 0 1rem 0;
  font-family: 'Fredoka One', cursive;
  font-size: 1.3rem;
}

.problem-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-family: 'Nunito', sans-serif;
}

.solution-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-top: 4px solid var(--sunny-yellow);
  transition: transform 0.3s ease;
  overflow: hidden;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.feature-card h3 {
  color: #2c3e50;
  margin: 0 0 1rem 0;
  font-family: 'Fredoka One', cursive;
  font-size: 1.3rem;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-family: 'Nunito', sans-serif;
}

.mission-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 3px solid var(--cosmo-pink);
}

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

.mission-text p {
  color: #2c3e50;
  line-height: 1.7;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-family: 'Nunito', sans-serif;
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat {
  text-align: center;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
}

.stat-emoji {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--cosmo-pink);
  font-family: 'Fredoka One', cursive;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
}

.vision-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  margin: 2rem 0;
}

.vision-box h3 {
  color: white;
  margin: 0 0 1rem 0;
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
}

.vision-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  font-family: 'Nunito', sans-serif;
}

/* ===========================
   Thank You Page
   =========================== */

.thank-you-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.next-steps {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: left;
}

.next-steps h3 {
  color: var(--sunny-yellow);
  margin-bottom: 1rem;
  text-align: center;
}

.next-steps ul {
  list-style: none;
  padding: 0;
}

.next-steps li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--sunny-yellow), var(--cosmo-pink));
  color: white;
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 214, 0, 0.3);
}

.cta-button.secondary {
  background: transparent;
  color: var(--cosmo-pink);
  border-color: var(--cosmo-pink);
}

.cta-button.secondary:hover {
  background: var(--cosmo-pink);
  color: white;
  transform: translateY(-2px);
}

/* ===========================
   Contact Page Styles
   =========================== */

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2c3e50;
  font-family: 'Nunito', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sunny-yellow);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #666;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  flex-shrink: 0;
}

.submit-btn {
  background: linear-gradient(135deg, var(--sunny-yellow) 0%, #f1c40f 100%);
  color: #2c3e50;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  display: block;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-method {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-top: 4px solid var(--cosmo-pink);
  transition: transform 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-4px);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.contact-method h3 {
  color: #2c3e50;
  margin: 0 0 1rem 0;
  font-family: 'Fredoka One', cursive;
  font-size: 1.3rem;
}

.contact-method p {
  color: #666;
  line-height: 1.5;
  margin: 0 0 0.5rem 0;
  font-family: 'Nunito', sans-serif;
}

.contact-detail {
  font-weight: 600;
  color: var(--cosmo-pink) !important;
}

.faq-list {
  margin: 2rem 0;
}

.faq-item {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-left: 4px solid var(--nova-blue);
}

.faq-item h3 {
  color: #2c3e50;
  margin: 0 0 1rem 0;
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
}

.faq-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-family: 'Nunito', sans-serif;
}

/* ===========================
   Parents Page Styles
   =========================== */

.highlight-box {
  background: linear-gradient(135deg, #e8f4f8 0%, #d1ecf1 100%);
  border: 2px solid var(--sunny-yellow);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.highlight-box h3 {
  color: #2c3e50;
  margin: 0 0 1rem 0;
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
}

.routines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.routine-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: 3px solid var(--cosmo-pink);
  transition: transform 0.3s ease;
}

.routine-card:hover {
  transform: translateY(-4px);
}

.routine-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.routine-card h3 {
  color: #2c3e50;
  margin: 0 0 1.5rem 0;
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  text-align: center;
}

.routine-lore, .routine-tip, .routine-reward {
  margin-bottom: 1.5rem;
}

.routine-lore h4, .routine-tip h4, .routine-reward h4 {
  color: #34495e;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
}

.routine-lore p, .routine-tip p, .routine-reward p {
  color: #666;
  line-height: 1.5;
  margin: 0;
  font-family: 'Nunito', sans-serif;
}

.routine-tip {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--sunny-yellow);
}

.routine-reward {
  background: #e8f5e8;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #28a745;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefit-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-2px);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  color: #2c3e50;
  margin: 0 0 1rem 0;
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
}

.benefit-card p {
  color: #666;
  line-height: 1.5;
  margin: 0;
  font-family: 'Nunito', sans-serif;
}

.age-guidelines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.age-group {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-left: 6px solid var(--nova-blue);
}

.age-group h3 {
  color: #2c3e50;
  margin: 0 0 1rem 0;
  font-family: 'Fredoka One', cursive;
  font-size: 1.3rem;
}

.age-group ul {
  margin: 0;
  padding-left: 1.5rem;
}

.age-group li {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  font-family: 'Nunito', sans-serif;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.safety-item {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.safety-item h3 {
  color: #2c3e50;
  margin: 0 0 1rem 0;
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
}

.safety-item ul {
  margin: 0;
  padding-left: 1.5rem;
}

.safety-item li {
  color: #666;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  font-family: 'Nunito', sans-serif;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.resource-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-top: 4px solid var(--cosmo-pink);
}

.resource-card h3 {
  color: #2c3e50;
  margin: 0 0 1rem 0;
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
}

.resource-card ul {
  margin: 0;
  padding-left: 1.5rem;
}

.resource-card li {
  color: #666;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  font-family: 'Nunito', sans-serif;
}

.social-links {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e1e8ed;
}

.social-links h4 {
  color: #2c3e50;
  margin: 0 0 1rem 0;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
}

.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
}

.social-link:hover {
  color: var(--cosmo-pink);
  background: rgba(255, 91, 162, 0.1);
  transform: translateY(-2px);
}

.social-icon {
  font-size: 1.5rem;
  display: block;
}

.social-label {
  font-size: 0.8rem;
  font-weight: 500;
  font-family: 'Nunito', sans-serif;
}

.cta-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  border: none;
}

.cta-card h2 {
  color: white;
  margin: 0 0 1rem 0;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-button.primary {
  background: var(--sunny-yellow);
  color: #2c3e50;
  border-color: var(--sunny-yellow);
}

.cta-button.primary:hover {
  background: #f1c40f;
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.cta-button.secondary:hover {
  background: white;
  color: #667eea;
  transform: translateY(-2px);
}

/* ===========================
   Mobile Responsive for Locations
   =========================== */

@media (max-width: 768px) {
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .facts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .routines-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  @media (min-width: 768px) and (max-width: 1024px) {
    .routines-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .age-guidelines {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .safety-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .resources-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  @media (min-width: 768px) and (max-width: 1024px) {
    .resources-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .mission-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .mission-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .creator-intro {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .creator-image {
    width: 100px;
    height: auto; /* preserve aspect ratio on small screens */
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-form {
    margin: 1rem auto;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .location-details {
    padding: 1rem;
  }
  
  .location-content {
    padding: 1.5rem;
    max-height: 90vh;
  }
  
  .location-image {
    height: 150px;
  }
  
  .location-placeholder {
    line-height: 150px;
    font-size: 3rem;
  }
}
