/* ============================================
   SHUBHA BIHAN SCHOOL - COMPLETE STYLESHEET
   Extracted & Consolidated from All Files
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --primary: #FF9B42;
  --primary-light: #FFB366;
  --primary-dark: #E8852E;
  --secondary: #7DD3C0;
  --accent: #F4A6CD;
  --yellow: #FFD93D;
  --blue: #6BCBFF;
  --purple: #C8B6FF;
  --cream: #FFF9F0;
  --white: #FFFFFF;
  --dark: #2D3436;
  --gray: #636E72;
  --light-gray: #F5F5F5;
  
  /* Typography */
  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Spacing */
  --section-padding: 5rem 5%;
  --container-max: 1200px;
  
  /* Effects */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.8s ease;
  --shadow-sm: 0 2px 20px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 15px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 25px 50px rgba(0,0,0,0.15);
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes morph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { 
    opacity: 0;
    transform: scale(0.8);
  }
  to { 
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes floatDot {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-50px, 30px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Fade-in utility */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
 transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 155, 66, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 155, 66, 0.6);
}

.btn-secondary {
  background: white;
  color: var(--dark);
  border: 2px solid var(--dark);
}

.btn-secondary:hover {
  background: var(--dark);
  color: white;
}

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 70px;
  height: 70px;
  /* background: linear-gradient(135deg, var(--primary), var(--primary-light)); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.logo-text {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  color: var(--dark);
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--dark);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 155, 66, 0.3);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 155, 66, 0.4);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: 0.3s;
}

/* ===== PAGE HEADER ===== */
.page-header {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 5% 4rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--yellow);
  opacity: 0.2;
  border-radius: 50%;
  animation: floatDot 5s ease-in-out infinite alternate;
}

.page-header h1 {
  font-size: 3.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.3rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Page-specific headers */
.page-header--home {
  min-height: 100vh;
  text-align: left;
  justify-content: flex-start;
  background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
}

.page-header--home::before {
  display: none;
}

.page-header--about {
  min-height: 60vh;
  background: linear-gradient(135deg, rgba(255,155,66,0.1) 0%, rgba(125,211,192,0.1) 100%);
}

.page-header--programs {
  background: linear-gradient(135deg, rgba(255,155,66,0.15) 0%, rgba(125,211,192,0.15) 100%);
}

.page-header--programs::before {
  display: none;
}

.page-header--activities {
  background: linear-gradient(135deg, rgba(244,166,205,0.2) 0%, rgba(125,211,192,0.2) 100%);
}

.page-header--activities::before {
  display: none;
}

.page-header--gallery {
  background: linear-gradient(135deg, rgba(255,155,66,0.15) 0%, rgba(200,182,255,0.15) 100%);
}

.page-header--gallery::before {
  display: none;
}

.page-header--contact {
  background: linear-gradient(135deg, rgba(255,155,66,0.15) 0%, rgba(125,211,192,0.15) 100%);
}

.page-header--contact::before {
  display: none;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 5% 4rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #2D3436;
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  animation: slideInLeft 1s ease;
}

.hero h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--dark);
  animation: slideInLeft 1s ease 0.2s both;
}

.hero h1 span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--yellow);
  opacity: 0.4;
  z-index: -1;
  border-radius: 10px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--gray);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: slideInLeft 1s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  animation: slideInLeft 1s ease 0.6s both;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px dashed rgba(0,0,0,0.1);
  animation: slideInLeft 1s ease 0.8s both;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 600;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-blob {
  width: 550px;
  height: 550px;
  background: linear-gradient(135deg, var(--secondary), var(--blue));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph 8s ease-in-out infinite;
  position: absolute;
  opacity: 0.15;
}

.hero-img-container {
  position: relative;
  z-index: 1;
}

.hero-img {
  width: 450px;
  height: 450px;
  object-fit: cover;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  animation: float 6s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: float 4s ease-in-out infinite;
  
}


.floating-card.card-1 {
            top: 10%;
            left: -30px;
            animation-delay: 0.5s;
        }

.floating-card.card-2 {
            bottom: 20%;
            right: -20px;
            animation-delay: 0.5s;
        }

.floating-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.floating-text {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}

.floating-sub {
  font-size: 0.75rem;
  color: var(--gray);
}

 @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }



/* ===== BACKGROUND SHAPES ===== */
.shapes {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.shape {
  position: absolute;
  opacity: 0.08;
  animation: float 20s infinite ease-in-out;
}

.shape:nth-child(1) {
  top: 10%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  animation-delay: 0s;
}

.shape:nth-child(2) {
  top: 20%;
  right: 15%;
  width: 60px;
  height: 60px;
  background: var(--secondary);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation-delay: 2s;
}

.shape:nth-child(3) {
  bottom: 20%;
  left: 20%;
  width: 100px;
  height: 100px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation-delay: 4s;
}

.shape:nth-child(4) {
  bottom: 10%;
  right: 10%;
  width: 70px;
  height: 70px;
  background: var(--yellow);
  border-radius: 50%;
  animation-delay: 6s;
}

/* ===== FEATURES STRIP ===== */
.features-strip {
  background: white;
  padding: 2.5rem 5%;
  display: flex;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.05);
  position: relative;
  z-index: 10;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon {
  width: 55px;
  height: 55px;
  background: var(--cream);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: transform 0.3s;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-text h4 {
  font-size: 0.85rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}

.feature-text p {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.1rem;
}

/* ===== SECTIONS COMMON ===== */
section {
  padding: 5rem 5%;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-tag {
  display: inline-block;
  background: rgba(255, 155, 66, 0.1);
  color: var(--primary);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ===== PROGRAMS SECTION ===== */
.programs {
  background: var(--cream);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.program-card {
  background: white;
  border-radius: 30px;
  padding: 2.5rem;
  text-align: left;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  border: 2px solid transparent;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.program-card:hover::before {
  transform: scaleX(1);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
  border-color: rgba(255, 155, 66, 0.2);
}

.program-icon {
  width: 75px;
  height: 75px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.program-card:hover .program-icon {
  transform: scale(1.1) rotate(-5deg);
}

.program-card:nth-child(1) .program-icon { background: #FFE5D9; }
.program-card:nth-child(2) .program-icon { background: #D8F3DC; }
.program-card:nth-child(3) .program-icon { background: #E0BBE4; }

.program-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.program-card p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.program-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.program-features li {
  padding: 0.4rem 0;
  color: var(--dark);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.program-features li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
}

.program-age {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

/* ===== WHY US SECTION ===== */
.why-us {
  background: white;
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--yellow);
  opacity: 0.1;
  border-radius: 50%;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.why-us-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.why-us-content > p {
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--cream);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.benefit-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--dark);
}

.benefit-text p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.why-us-image {
  position: relative;
}

.why-us-img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--primary);
  color: white;
  padding: 2rem;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(255, 155, 66, 0.3);
}

.experience-badge .years {
  font-family: 'Fredoka', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ===== DAILY RHYTHM / TIMELINE ===== */
.rhythm {
  background: linear-gradient(to bottom, var(--cream), white);
  position: relative;
}

.rhythm-container {
  max-width: 1000px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--blue), var(--purple));
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  background: white;
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.3s;
}

.timeline-content:hover {
  transform: scale(1.02);
}

.timeline-content::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  background: white;
  border: 5px solid var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(255, 155, 66, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content::after {
  right: -62px;
  transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::after {
  left: -62px;
  transform: translateY(-50%);
}

.timeline-time {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-title {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.timeline-desc {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.6;
}

.timeline-activities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.activity-tag {
  background: var(--cream);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--dark);
  font-weight: 600;
}

/* ===== ACTIVITIES SECTION ===== */
.activities {
  background: white;
  text-align: center;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.activity-card {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transition: all 0.4s;
  border: 2px solid transparent;
}

.activity-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  border-color: rgba(255, 155, 66, 0.2);
}

.activity-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.activity-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.activity-card:hover .activity-img {
  transform: scale(1.1);
}

.activity-icon-overlay {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: 4px solid var(--cream);
}

.activity-content {
  padding: 2.5rem 1.5rem 1.5rem;
}

.activity-content h3 {
  color: var(--dark);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.activity-content p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
  padding: 6rem 5%;
  
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.testimonials::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.testimonials h2 {
  text-align: center;
  color: white;
  font-size: 2.8rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.testimonial-grid {
  display: flex;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;

  overflow-x: auto;     /* horizontal scroll */
  overflow-y: hidden;   /* disable vertical scroll */

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}


.testimonial-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-grid {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testimonial-card {
  flex: 0 0 50%;
  max-width: 50%;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.95);
  padding: 2.5rem;
  border-radius: 25px;
  position: relative;
  backdrop-filter: blur(10px);
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
}

.testimonial-stars {
  color: var(--yellow);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--dark);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
  font-family: 'Fredoka', sans-serif;
}

.author-info h4 {
  color: var(--dark);
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.author-info p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===== GALLERY PREVIEW ===== */
.gallery-preview {
  background: var(--cream);
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 3rem auto;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-text {
  color: white;
  text-align: left;
}

.gallery-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.gallery-text p {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* ===== CTA SECTION ===== */
.cta {
  padding: 6rem 5%;
  text-align: center;
  background: linear-gradient(to bottom, var(--cream), white);
}

.cta-box {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 4rem 3rem;
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background: var(--yellow);
  opacity: 0.2;
  border-radius: 50%;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: var(--accent);
  opacity: 0.2;
  border-radius: 50%;
}

.cta h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--dark);
  position: relative;
  z-index: 1;
}

.cta > p {
  color: var(--gray);
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark);
  font-weight: 600;
}

.cta-feature::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: white;
  padding: 2.5rem 5% 1.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.footer-section p {
  color: #b2bec3;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-section a {
  color: #b2bec3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.social-links a {
  width: 35px;
  height: 35px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #b2bec3;
  font-size: 0.9rem;
}

.contact-info .icon {
  color: var(--primary);
  font-size: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #636e72;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--primary);
}

/* ===== ABOUT PAGE SPECIFIC ===== */
.our-story {
  background: white;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.story-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.story-content > p {
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.story-image {
  position: relative;
}

.story-img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.story-badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--secondary);
  color: white;
  padding: 2rem;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(125,211,192,0.3);
}

.story-badge .number {
  font-family: 'Fredoka', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.mission-vision {
  background: var(--cream);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.mv-card {
  background: white;
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s;
}

.mv-card:hover {
  transform: translateY(-10px);
}

.mv-icon {
  width: 90px;
  height: 90px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
}

.mv-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.mv-card p {
  color: var(--gray);
  line-height: 1.8;
}

.core-values {
  background: white;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  padding: 2.5rem;
  background: var(--cream);
  border-radius: 25px;
  transition: all 0.3s;
}

.value-card:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-5px);
}

.value-card:hover h3,
.value-card:hover p {
  color: white;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.value-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.principal-section {
  background: linear-gradient(135deg, var(--secondary), var(--blue));
  position: relative;
  overflow: hidden;
}

.principal-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.principal-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.principal-image {
  position: relative;
}

.principal-img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.principal-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: white;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
}

.principal-badge .name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: var(--dark);
  font-size: 1.2rem;
}

.principal-badge .title {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.principal-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.principal-content .quote {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 2rem;
  padding-left: 2rem;
  border-left: 4px solid var(--yellow);
}

.principal-content p {
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* TEAM SECTION - CONSOLIDATED (was duplicated 3x in about.html) */
.team {
  background: var(--cream);
  padding: 4rem 5%;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.team-card {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
}

/* CRITICAL FIX: Portrait image sizing from inline CSS */
.team-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.team-info {
  padding: 1.5rem;
  flex: 1;
}

.team-info h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.team-info .role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.6rem;
}

.team-info p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .team-card img {
    height: 300px;
  }
}

.facilities {
  background: white;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.facility-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--cream);
  border-radius: 20px;
  transition: all 0.3s;
}

.facility-card:hover {
  background: var(--primary);
  color: white;
}

.facility-card:hover .facility-icon {
  background: white;
}

.facility-card:hover h3,
.facility-card:hover p {
  color: white;
}

.facility-icon {
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  transition: all 0.3s;
}

.facility-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.facility-content p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== PROGRAMS PAGE SPECIFIC ===== */
.programs-hero {
  padding: 4rem 5%;
  background: white;
}

.age-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.age-tab {
  padding: 1rem 2rem;
  border: 2px solid var(--primary);
  background: white;
  color: var(--primary);
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
}

.age-tab.active,
.age-tab:hover {
  background: var(--primary);
  color: white;
}

.program-detail {
  max-width: 1200px;
  margin: 0 auto;
  display: none;
}

.program-detail.active {
  display: block;
}

.program-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.program-visual {
  position: relative;
}

.program-img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.age-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--primary);
  color: white;
  padding: 1.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(255,155,66,0.3);
}

.age-badge .years {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.program-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.program-subtitle {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.program-description {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.curriculum-areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.area-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: var(--cream);
  border-radius: 12px;
}

.area-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.area-text {
  font-weight: 600;
  color: var(--dark);
}

.learning-approach {
  padding: 5rem 5%;
  background: var(--cream);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.approach-card {
  background: white;
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.approach-card:hover {
  transform: translateY(-10px);
}

.approach-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.approach-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.approach-card p {
  color: var(--gray);
  line-height: 1.7;
}

.schedule-section {
  padding: 5rem 5%;
  background: white;
}

.schedule-container {
  max-width: 1000px;
  margin: 0 auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.schedule-table th {
  background: var(--primary);
  color: white;
  padding: 1.5rem;
  text-align: left;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
}

.schedule-table td {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  color: var(--dark);
}

.schedule-table tr:hover {
  background: var(--cream);
}

.time-slot {
  font-weight: 700;
  color: var(--primary);
}

.fees-section {
  padding: 5rem 5%;
  background: linear-gradient(135deg, var(--secondary), var(--blue));
  text-align: center;
}

.fees-section h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.fees-section > p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.fees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.fee-card {
  background: rgba(255,255,255,0.95);
  padding: 2.5rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s;
}

.fee-card:hover {
  transform: scale(1.05);
}

.fee-card.featured {
  background: white;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  transform: scale(1.1);
}

.fee-card.featured:hover {
  transform: scale(1.15);
}

.fee-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.fee-price {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.fee-price span {
  font-size: 1rem;
  color: var(--gray);
}

.fee-features {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.fee-features li {
  padding: 0.5rem 0;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fee-features li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
}

/* ===== ACTIVITIES PAGE SPECIFIC ===== */
.activities-section {
  padding: 5rem 5%;
  background: white;
}

.activity-card-large {
  background: var(--cream);
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.4s;
  position: relative;
}

.activity-card-large:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.activity-header {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.activity-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.activity-card-large:hover .activity-header img {
  transform: scale(1.1);
}

.activity-icon-float {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 5px solid var(--cream);
  z-index: 2;
}

.activity-content-large {
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.activity-content-large h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.activity-meta {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.activity-content-large > p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.activity-benefits {
  list-style: none;
  text-align: left;
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 1.5rem;
}

.activity-benefits li {
  padding: 0.5rem 0;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.activity-benefits li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
}

.events-section {
  padding: 5rem 5%;
  background: var(--cream);
}

.event-card:hover {
  transform: translateX(10px);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Event Card Styles */
/* Event Card Styles - Compact Design */
.event-card {
  display: flex;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  min-height: 120px;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 85px;
  padding: 1rem 0.5rem;
  background: #FF9B42;
  color: white;
  text-align: center;
  position: relative;
} 

/* Holiday styling - Red background */
.event-date.holiday {
  background: #DC2626;
}

.event-date .day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  font-family: 'Fredoka', sans-serif;
}

.event-date .month {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
  font-weight: 600;
}

.holiday-badge {
  position: absolute;
  bottom: 6px;
  font-size: 0.6rem;
  background: rgba(255,255,255,0.25);
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
}

.event-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-info h3 {
  color: var(--dark);
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
  font-family: 'Fredoka', sans-serif;
}

.event-info p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

/* ===== GALLERY PAGE SPECIFIC ===== */
.gallery-section {
  padding: 4rem 5%;
}
    .gallery-section {
      padding: 4rem 5%;
    }

    .filter-tabs {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-bottom: 3rem;
      flex-wrap: wrap;
    }

    .filter-tab {
      padding: 0.8rem 1.5rem;
      background: white;
      border: 2px solid transparent;
      border-radius: 50px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s;
      font-family: 'Nunito', sans-serif;
      color: var(--gray);
    }

    .filter-tab.active,
    .filter-tab:hover {
      background: var(--primary);
      color: white;
    }

   .gallery-grid {
  column-count: 3;
  column-gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
}

    .gallery-item.featured {
      grid-column: span 2;
      grid-row: span 2;
    }

 .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

   .gallery-item:hover img {
  transform: scale(1.05);
}

    .gallery-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 2rem;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .gallery-item:hover .gallery-overlay {
      opacity: 1;
    }

    .gallery-category {
      color: var(--primary);
      font-weight: 700;
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .gallery-title {
      color: white;
      font-size: 1.3rem;
      margin-top: 0.5rem;
    }

    .video-section {
      background: var(--cream);
      text-align: center;
    }

    .video-container {
      max-width: 900px;
      margin: 0 auto;
      border-radius: 30px;
      overflow: hidden;
      box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    }

    .video-container iframe {
      width: 100%;
      height: 500px;
      border: none;
    }

    @media (max-width: 968px) {
      .gallery-item.featured {
        grid-column: span 1;
        grid-row: span 1;
      }

      .video-container iframe {
        height: 300px;
      }
    }

/* ===== CONTACT PAGE SPECIFIC ===== */
.contact-section {
  padding: 5rem 5%;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.contact-info > p {
  color: var(--gray);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: 20px;
  transition: transform 0.3s;
}

.info-card:hover {
  transform: translateX(10px);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--dark);
}

.info-content p {
  color: var(--gray);
  line-height: 1.6;
}

.contact-form-wrapper {
  background: var(--cream);
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h3 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--gray);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid transparent;
  border-radius: 15px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  background: white;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-submit {
  width: 100%;
  padding: 1.2rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 15px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 155, 66, 0.4);
}

.map-section {
  padding: 0 5% 5rem;
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.faq-section {
  padding: 5rem 5%;
  background: var(--cream);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 20px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--dark);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-toggle {
  width: 30px;
  height: 30px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: var(--primary);
  color: white;
}

/* ===== POPUP/LIGHTBOX ===== */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
  display: flex;
}

.popup-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn 0.3s ease;
}

.popup-image {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}

.popup-image:hover {
  transform: scale(1.02);
}

.popup-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.popup-close:hover {
  background: #e74c3c;
  color: white;
  transform: rotate(90deg);
}

/* ===== LOADING STATES ===== */
.loading-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--cream);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.3s;
  }

  .nav-links.active {
    display: flex;
    right: 0;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-buttons,
  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    margin-top: 4rem;
  }

  .hero-blob,
  .hero-img {
    width: 350px;
    height: 350px;
  }

  .floating-card {
    display: none;
  }

  .why-us-grid,
  .mv-grid,
  .principal-container,
  .story-grid,
  .program-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .principal-image,
  .experience-badge {
    max-width: 400px;
    margin: 0 auto;
  }

  .experience-badge {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 80px;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-content::after {
    left: -50px !important;
    right: auto !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .video-container iframe {
    height: 300px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .curriculum-areas {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .page-header h1,
  .hero h1 {
    font-size: 2.2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .features-strip {
    gap: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.featured {
    grid-column: span 1;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-box {
    padding: 3rem 1.5rem;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .contact-form-wrapper {
    padding: 2rem;
  }

  .popup-container {
    max-width: 95%;
  }

  .popup-image {
    max-height: 70vh;
    border-radius: 15px;
  }

  .popup-close {
    top: -45px;
    right: 10px;
    width: 35px;
    height: 35px;
  }

  .story-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }

  .fee-card.featured {
    transform: scale(1);
  }

  .fee-card.featured:hover {
    transform: scale(1.02);
  }
}

/* Print styles */
@media print {
  nav, .popup-overlay, .mobile-menu, .btn {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  section {
    page-break-inside: avoid;
  }
}


