/* ===========================
   智立方文理補習班 Stylesheet
   =========================== */

:root {
  --primary: #4CAF50;
  --primary-dark: #2E7D32;
  --primary-light: #81C784;
  --accent-yellow: #FFC107;
  --accent-orange: #FF9800;
  --accent-red: #E53935;
  --accent-blue: #2196F3;
  --accent-pink: #FF6B9D;
  --accent-purple: #9C27B0;
  --bg-cream: #FFF9E6;
  --bg-light: #F5F9F2;
  --text-dark: #2C3E2D;
  --text-gray: #5D6D5D;
  --text-light: #8A9A8A;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Noto Sans TC', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: inherit;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(76, 175, 80, 0.45);
}

.btn-secondary {
  background: white;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}

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

.btn-full {
  width: 100%;
}

.btn-multi {
  flex-direction: column;
  gap: 4px;
  padding: 14px 36px;
  line-height: 1.3;
}

.btn-line-1 {
  font-size: 16px;
  font-weight: 700;
}

.btn-line-2 {
  font-size: 22px;
  font-weight: 900;
  font-family: 'Fredoka', sans-serif;
  letter-spacing: 1px;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(76, 175, 80, 0.3));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-img {
  transform: rotate(15deg) scale(1.15);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
}

.logo-subtitle {
  font-size: 11px;
  color: var(--primary);
  font-family: 'Fredoka', sans-serif;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 36px;
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.3s ease;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--primary);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: 0.3s;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFF9E6 0%, #F0F9F0 50%, #E8F5E9 100%);
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #FFD54F, #FFC107);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #81C784, #4CAF50);
  top: 20%;
  right: 10%;
  animation-delay: 1.5s;
}

.shape-3 {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #FF8A65, #FF5722);
  bottom: 15%;
  left: 15%;
  animation-delay: 3s;
}

.shape-4 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #64B5F6, #2196F3);
  bottom: 20%;
  right: 8%;
  animation-delay: 2s;
  border-radius: 30%;
}

.shape-5 {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #BA68C8, #9C27B0);
  top: 50%;
  right: 30%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-full-logo {
  max-width: 480px;
  width: 90%;
  height: auto;
  margin: 0 auto 32px;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(76, 175, 80, 0.25));
  animation: logoFadeIn 1s ease-out;
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-badge {
  display: inline-block;
  background: white;
  color: var(--primary-dark);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
  border: 2px dashed var(--primary);
  animation: bounce 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 28px;
  color: var(--text-dark);
}

.hero-title span {
  display: inline-block;
  margin: 0 4px;
  position: relative;
  animation: titleSlide 0.8s ease-out backwards;
}

.line-1 { color: var(--primary-dark); animation-delay: 0.1s; }
.line-2 {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation-delay: 0.3s;
}
.line-3 { color: var(--accent-blue); animation-delay: 0.5s; }

@keyframes titleSlide {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-desc {
  font-size: 17px;
  color: var(--text-gray);
  margin-bottom: 40px;
  font-family: 'Fredoka', 'Noto Sans TC', sans-serif;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  border: 2px solid white;
}

.stat-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 4px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--primary-dark);
  border-radius: 20px;
  display: flex;
  justify-content: center;
}

.scroll-indicator span {
  width: 4px;
  height: 8px;
  background: var(--primary-dark);
  border-radius: 2px;
  margin-top: 8px;
  animation: scrollDot 1.5s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* ===========================
   Section Header
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-family: 'Fredoka', sans-serif;
}

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

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-title.light {
  color: white;
}

.section-desc {
  font-size: 17px;
  color: var(--text-gray);
}

.section-desc.light {
  color: rgba(255,255,255,0.85);
}

/* ===========================
   About Section
   =========================== */
.about {
  padding: 100px 0;
  background: var(--white);
}

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

.about-text h3 {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.about-text p {
  color: var(--text-gray);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.9;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-item:hover {
  background: white;
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 13px;
  color: var(--text-gray);
  margin: 0;
}

/* Logo Showcase */
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
}

.logo-showcase {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(76, 175, 80, 0.35));
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(-3deg);
  }
}

.logo-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.about-visual::before {
  content: '';
  position: absolute;
  width: 90%;
  height: 90%;
  background-image:
    radial-gradient(circle at 10% 20%, var(--accent-yellow) 0, transparent 8%),
    radial-gradient(circle at 90% 80%, var(--accent-orange) 0, transparent 8%),
    radial-gradient(circle at 80% 15%, var(--accent-blue) 0, transparent 6%),
    radial-gradient(circle at 20% 85%, var(--accent-pink) 0, transparent 7%);
  opacity: 0.4;
  z-index: 0;
}

/* ===========================
   Courses Section
   =========================== */
.courses {
  padding: 100px 0;
  background: linear-gradient(180deg, #FFF9E6 0%, #FFFFFF 100%);
  position: relative;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.course-card {
  background: white;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  border-top: 6px solid transparent;
}

.course-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.course-1 { border-top-color: var(--primary); }
.course-2 { border-top-color: var(--accent-orange); }
.course-3 { border-top-color: var(--accent-pink); }
.course-4 { border-top-color: #E91E63; }

/* ㄅㄆㄇ 文字圖示樣式（取代 emoji） */
.course-icon-text {
  font-size: 36px !important;
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #E91E63, #AD1457);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* 特價樣式 */
.course-price-special {
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
  border: 2px dashed #FF9800;
}

.price-original-small {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.price-discount {
  color: #E53935 !important;
  font-size: 28px !important;
  text-shadow: 0 2px 8px rgba(229, 57, 53, 0.2);
}

.course-price-special .price-label {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: -4px;
}

/* 查看完整介紹連結 */
.course-link {
  display: block;
  margin-top: 12px;
  padding: 10px;
  text-align: center;
  background: linear-gradient(135deg, #E91E63, #AD1457);
  color: white;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.3s ease;
}

.course-link:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(233, 30, 99, 0.3);
}

.course-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent-red);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.course-icon {
  font-size: 64px;
  margin-bottom: 16px;
  display: inline-block;
  animation: iconBob 3s ease-in-out infinite;
}

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

.course-card h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.course-target {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px dashed var(--primary-light);
}

.course-list {
  text-align: left;
  margin-bottom: 24px;
}

.course-list li {
  padding: 8px 0;
  color: var(--text-gray);
  font-size: 14px;
  position: relative;
  padding-left: 24px;
}

.course-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
  font-size: 16px;
}

.course-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.price-label {
  font-size: 12px;
  color: var(--text-gray);
}

.price-amount {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary-dark);
}

.course-promo {
  margin-top: 8px;
  background: var(--accent-yellow);
  color: var(--text-dark);
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
}

/* ===========================
   Phonics Class Section (正音班)
   =========================== */
.phonics {
  padding: 100px 0 100px;
  background:
    linear-gradient(135deg, #FFF8E1 0%, #FFECB3 50%, #FFE0B2 100%);
  position: relative;
  overflow: hidden;
}

.phonics-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.phonics-deco {
  position: absolute;
  font-size: 48px;
  opacity: 0.4;
  animation: phonics-float 5s ease-in-out infinite;
}

.p-d1 { top: 8%; left: 6%; animation-delay: 0s; }
.p-d2 { top: 12%; right: 8%; animation-delay: 1s; }
.p-d3 { top: 50%; left: 3%; animation-delay: 2s; font-size: 36px; }
.p-d4 { top: 55%; right: 5%; animation-delay: 0.5s; }
.p-d5 { bottom: 8%; left: 10%; animation-delay: 1.5s; }
.p-d6 { bottom: 12%; right: 12%; animation-delay: 2.5s; font-size: 42px; }

@keyframes phonics-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-20px) rotate(15deg); }
}

/* Banner */
.phonics-banner {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.banner-tag {
  display: inline-block;
  background: linear-gradient(135deg, #E91E63, #AD1457);
  color: white;
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(233, 30, 99, 0.4);
  animation: bounce 2s ease-in-out infinite;
}

.banner-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.banner-line-1 {
  display: inline-block;
  background: linear-gradient(135deg, #FF6F00, #E65100);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 16px;
  text-shadow: 4px 4px 0 rgba(255, 152, 0, 0.2);
}

.banner-line-2 {
  display: inline-block;
  background: linear-gradient(135deg, #1976D2, #0D47A1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.banner-slogan {
  font-size: 22px;
  font-weight: 700;
  color: #E91E63;
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.banner-deadline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--text-dark);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border: 3px dashed #E91E63;
  font-weight: 700;
}

.banner-deadline strong {
  color: #E53935;
  font-size: 20px;
  margin: 0 4px;
}

.deadline-icon {
  font-size: 22px;
  animation: bell-shake 2s ease-in-out infinite;
}

@keyframes bell-shake {
  0%, 100% { transform: rotate(0); }
  10%, 30%, 50% { transform: rotate(-15deg); }
  20%, 40%, 60% { transform: rotate(15deg); }
  70% { transform: rotate(0); }
}

/* Period + Price Info */
.phonics-info {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 24px;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.period-card {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  border-top: 6px solid var(--primary);
  transition: transform 0.3s ease;
}

.period-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.period-label {
  display: inline-block;
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.period-1 {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.period-2 {
  background: linear-gradient(135deg, #E53935, #C62828);
}

.period-card:nth-child(3) {
  border-top-color: #E53935;
}

.period-date {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-dark);
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.date-icon {
  font-size: 44px;
  display: inline-block;
  animation: iconBob 3s ease-in-out infinite;
}

.period-note {
  font-size: 16px;
  color: var(--text-gray);
  margin-top: 12px;
  font-weight: 500;
}

.price-card {
  background: white;
  color: var(--text-dark);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 6px solid #FF8A00;
  transition: transform 0.3s ease;
}

.price-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.price-card::before {
  content: '✨';
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  opacity: 0.5;
  animation: phonics-float 3s ease-in-out infinite;
}

.price-card::after {
  content: '🎁';
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 24px;
  animation: phonics-float 4s ease-in-out infinite;
}

.price-header {
  display: inline-block;
  background: linear-gradient(135deg, #FF8A00, #E53935);
  color: white;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.3);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.price-label-line {
  font-size: 14px;
  color: var(--text-gray);
  margin-right: 6px;
}

.price-original {
  font-size: 26px;
  font-weight: 700;
  text-decoration: line-through;
  color: #999;
}

.price-special-row {
  margin-bottom: 16px;
}

.price-special {
  font-size: 52px;
  font-weight: 900;
  color: #E53935;
  text-shadow: 0 4px 12px rgba(229, 57, 53, 0.2);
}

.price-unit {
  font-size: 14px;
  color: var(--text-gray);
}

.price-cp {
  margin-top: 16px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #FFF8E1, #FFECB3);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-dark);
  border: 1px dashed #FFA726;
}

.price-cp strong {
  color: #E53935;
  font-size: 15px;
}

/* Features Header */
.phonics-features-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.phonics-features-header h3 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.phonics-features-header p {
  font-size: 16px;
  color: var(--text-gray);
}

/* 8 Features Grid */
.phonics-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.feature-step {
  background: white;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 3px solid transparent;
}

.feature-step:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  font-family: 'Fredoka', sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.step-1 { border-color: #E91E63; }
.step-1 .step-number { background: linear-gradient(135deg, #E91E63, #AD1457); }
.step-2 { border-color: #29B6F6; }
.step-2 .step-number { background: linear-gradient(135deg, #29B6F6, #0277BD); }
.step-3 { border-color: #66BB6A; }
.step-3 .step-number { background: linear-gradient(135deg, #66BB6A, #2E7D32); }
.step-4 { border-color: #FFA726; }
.step-4 .step-number { background: linear-gradient(135deg, #FFA726, #E65100); }
.step-5 { border-color: #AB47BC; }
.step-5 .step-number { background: linear-gradient(135deg, #AB47BC, #6A1B9A); }
.step-6 { border-color: #FF7043; }
.step-6 .step-number { background: linear-gradient(135deg, #FF7043, #BF360C); }
.step-7 { border-color: #42A5F5; }
.step-7 .step-number { background: linear-gradient(135deg, #42A5F5, #1565C0); }
.step-8 { border-color: #FFCA28; }
.step-8 .step-number { background: linear-gradient(135deg, #FFCA28, #F57F17); color: #5D4037; }

.step-icon {
  font-size: 56px;
  margin: 16px 0 12px;
  display: inline-block;
  animation: iconBob 3s ease-in-out infinite;
}

.step-icon-text {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #E91E63, #AD1457);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 0 rgba(233, 30, 99, 0.15);
}

.feature-step h4 {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-step p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* Phonics Poster Buttons */
.phonics-poster-area {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  margin-bottom: 56px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
  text-align: center;
  overflow: hidden;
}

.phonics-poster-area::before,
.phonics-poster-area::after {
  content: '✨';
  position: absolute;
  font-size: 32px;
  opacity: 0.4;
  animation: phonics-float 4s ease-in-out infinite;
}

.phonics-poster-area::before { top: 16px; left: 24px; content: '🎉'; }
.phonics-poster-area::after { top: 16px; right: 24px; content: '📚'; }

.poster-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.poster-desc {
  font-size: 15px;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.poster-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.poster-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: white;
  border: 3px solid #FFE0B2;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: left;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.poster-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 152, 0, 0.05) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.poster-btn-schedule {
  border-color: #FFB74D;
  background: linear-gradient(135deg, #FFF8E1, #FFFFFF);
}

.poster-btn-poster {
  border-color: #F06292;
  background: linear-gradient(135deg, #FCE4EC, #FFFFFF);
}

.poster-btn:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.poster-btn:hover::before {
  opacity: 1;
}

.poster-btn-schedule:hover {
  border-color: #FF9800;
}

.poster-btn-poster:hover {
  border-color: #E91E63;
}

.pb-icon {
  font-size: 48px;
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.poster-btn-schedule .pb-icon { background: linear-gradient(135deg, #FFE0B2, #FFCC80); }
.poster-btn-poster .pb-icon { background: linear-gradient(135deg, #FCE4EC, #F8BBD0); }

.pb-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pb-label {
  font-size: 18px;
  font-weight: 900;
  color: var(--text-dark);
}

.pb-sub {
  font-size: 13px;
  color: var(--text-gray);
}

.pb-arrow {
  font-size: 28px;
  font-weight: 900;
  color: #BF360C;
  transition: transform 0.3s ease;
}

.poster-btn-poster .pb-arrow { color: #AD1457; }

.poster-btn:hover .pb-arrow {
  transform: translateX(8px);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.active {
  display: flex;
  animation: lightbox-fade 0.3s ease-out;
}

@keyframes lightbox-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 1;
  animation: lightbox-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lightbox-pop {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: -56px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: none;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lightbox-close:hover {
  transform: rotate(90deg) scale(1.1);
}

.lightbox-title {
  color: white;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 8px 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .poster-buttons {
    grid-template-columns: 1fr;
  }

  .lightbox-close {
    top: -50px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}

/* Phonics Weekly Schedule */
.phonics-schedule {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  margin-bottom: 56px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.phonics-schedule::before,
.phonics-schedule::after {
  content: '⭐';
  position: absolute;
  font-size: 28px;
  opacity: 0.4;
}

.phonics-schedule::before {
  top: 16px;
  left: 24px;
  content: '🐸';
}

.phonics-schedule::after {
  top: 16px;
  right: 24px;
  content: '🦄';
}

.schedule-header-banner {
  text-align: center;
  margin-bottom: 24px;
}

.schedule-header-banner h3 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.class-size-tag {
  display: inline-block;
  background: linear-gradient(135deg, #FF6F00, #E65100);
  color: white;
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  box-shadow: 0 6px 16px rgba(255, 111, 0, 0.4);
}

.schedule-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.schedule-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 4px;
  background: #FFF8E1;
  border-radius: var(--radius-md);
  padding: 6px;
}

.schedule-table thead th {
  background: linear-gradient(135deg, #5D4037, #3E2723);
  color: white;
  padding: 14px 8px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  text-align: center;
}

.schedule-table .time-col {
  background: linear-gradient(135deg, #FF7043, #BF360C);
  width: 130px;
}

.schedule-table tbody tr {
  background: transparent;
}

.schedule-table tbody td {
  background: white;
  padding: 14px 8px;
  text-align: center;
  font-size: 14px;
  border-radius: 6px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.schedule-table tbody td:hover {
  transform: scale(1.03);
  z-index: 1;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.time-cell {
  background: linear-gradient(180deg, #FFE0B2, #FFCC80) !important;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 700;
}

.time-label {
  font-size: 15px;
  font-weight: 900;
  color: #BF360C;
}

.time-sub {
  font-size: 12px;
  color: #5D4037;
  font-weight: 500;
}

.row-break .merge-cell {
  background: linear-gradient(135deg, #FFF3E0, #FFE0B2) !important;
  font-weight: 700;
  color: #BF360C;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 14px;
}

.merge-lunch {
  background: linear-gradient(135deg, #E1F5FE, #B3E5FC) !important;
  color: #01579B !important;
}

.merge-home {
  background: linear-gradient(135deg, #FCE4EC, #F8BBD0) !important;
  color: #AD1457 !important;
}

/* Subject styles - colored chip in cells */
.subj {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.5;
  width: 100%;
  box-sizing: border-box;
}

.subj-cn    { background: #FFEBEE; color: #C62828; }
.subj-eng   { background: #E3F2FD; color: #1565C0; }
.subj-math  { background: #F3E5F5; color: #6A1B9A; }
.subj-art   { background: #FFF3E0; color: #E65100; }
.subj-game  { background: #E8F5E9; color: #2E7D32; }
.subj-read  { background: #FFF8E1; color: #F57F17; }
.subj-write { background: #E0F7FA; color: #006064; }
.subj-sport { background: #FCE4EC; color: #AD1457; }

/* Legend */
.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding-top: 16px;
  border-top: 2px dashed #E0E0E0;
}

.legend-item {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.legend-cn    { background: #FFEBEE; color: #C62828; }
.legend-eng   { background: #E3F2FD; color: #1565C0; }
.legend-math  { background: #F3E5F5; color: #6A1B9A; }
.legend-art   { background: #FFF3E0; color: #E65100; }
.legend-game  { background: #E8F5E9; color: #2E7D32; }
.legend-read  { background: #FFF8E1; color: #F57F17; }
.legend-write { background: #E0F7FA; color: #006064; }
.legend-sport { background: #FCE4EC; color: #AD1457; }

/* CTA */
.phonics-cta {
  text-align: center;
  background: white;
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border: 4px dashed var(--primary-light);
  position: relative;
  z-index: 1;
}

.cta-msg {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   Camps Section
   =========================== */
.camps {
  padding: 100px 0;
  background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
  position: relative;
  overflow: hidden;
}

.camps::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0, transparent 50%);
}

.camps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}

/* Merged Camps Card */
.camps-merged {
  position: relative;
  z-index: 1;
}

.camps-merged-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

.camps-merged-card::before {
  content: '☀️';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 56px;
  opacity: 0.15;
  animation: phonics-float 4s ease-in-out infinite;
}

.camps-merged-card::after {
  content: '❄️';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 56px;
  opacity: 0.15;
  animation: phonics-float 4s ease-in-out infinite reverse;
}

.camp-merged-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 3px dashed var(--primary-light);
}

.camp-merged-header h3 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.camp-seasons-tags {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.camp-season-summer {
  background: linear-gradient(135deg, #FF9800, #F57C00);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  box-shadow: 0 6px 16px rgba(245, 124, 0, 0.3);
}

.camp-season-winter {
  background: linear-gradient(135deg, #2196F3, #0D47A1);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  box-shadow: 0 6px 16px rgba(13, 71, 161, 0.3);
}

.camp-section-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 20px;
  text-align: center;
}

/* Activities grid (10 items) */
.camp-activities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.cact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 8px;
  background: linear-gradient(135deg, #FFF8E1, #FFFDE7);
  border-radius: var(--radius-md);
  border: 2px solid #FFE082;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}

.cact:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
  border-color: var(--accent-orange);
}

.cact-icon {
  font-size: 32px;
  display: inline-block;
  animation: iconBob 3s ease-in-out infinite;
}

.cact span:last-child {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Period cards (Summer / Winter) */
.camp-periods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.camp-period-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
  border-top: 6px solid;
}

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

.camp-period-summer {
  background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
  border-top-color: #FF9800;
}

.camp-period-winter {
  background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
  border-top-color: #2196F3;
}

.period-icon {
  font-size: 48px;
  margin-bottom: 8px;
  display: inline-block;
  animation: iconBob 3s ease-in-out infinite;
}

.camp-period-card h4 {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.period-date-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding: 8px 16px;
  background: white;
  border-radius: 50px;
  display: inline-block;
}

.period-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.period-info-list li {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 6px;
  padding: 6px 0;
}

.period-info-list strong {
  color: var(--text-dark);
  margin-right: 4px;
}

.camp-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.camp-card.summer::before {
  content: '☀️';
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 48px;
  opacity: 0.2;
}

.camp-card.winter::before {
  content: '❄️';
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 48px;
  opacity: 0.2;
}

.camp-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 3px dashed var(--primary-light);
}

.camp-header h3 {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.camp-season {
  background: var(--primary);
  color: white;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Fredoka', sans-serif;
  letter-spacing: 1px;
}

.camp-card.winter .camp-season {
  background: var(--accent-blue);
}

.camp-card.summer .camp-season {
  background: var(--accent-orange);
}

.camp-schedule {
  margin-bottom: 24px;
}

.schedule-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.schedule-row:hover {
  background: var(--primary);
  color: white;
  transform: translateX(8px);
}

.schedule-row .day {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-dark);
  min-width: 50px;
}

.schedule-row:hover .day {
  color: white;
}

.schedule-row .activity {
  font-size: 16px;
  font-weight: 500;
}

.camp-time {
  background: var(--bg-cream);
  padding: 16px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-orange);
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
}

/* ===========================
   Gallery / Life Section
   =========================== */
.gallery {
  padding: 100px 0;
  background:
    radial-gradient(circle at 10% 20%, #FFF3E0 0%, transparent 35%),
    radial-gradient(circle at 90% 80%, #E8F5E9 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, #FFFDE7 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.gallery-bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.gallery-bg-deco span {
  position: absolute;
  font-weight: 900;
  opacity: 0.15;
  animation: deco-drift 8s ease-in-out infinite;
}

.deco-star {
  font-size: 80px;
  color: var(--accent-yellow);
}
.deco-heart {
  font-size: 70px;
  color: var(--accent-pink);
}
.deco-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-blue));
  opacity: 0.1;
}
.deco-1 { top: 8%; left: 5%; animation-delay: 0s; }
.deco-2 { top: 15%; right: 8%; animation-delay: 1s; }
.deco-3 { bottom: 15%; left: 10%; animation-delay: 2s; }
.deco-4 { top: 60%; right: 12%; animation-delay: 3s; font-size: 60px; color: var(--accent-orange); }
.deco-5 { bottom: 8%; right: 20%; animation-delay: 1.5s; width: 70px; height: 70px; }
.deco-6 { top: 45%; left: 8%; animation-delay: 2.5s; }

@keyframes deco-drift {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(15px, -20px) rotate(8deg); }
  50% { transform: translate(-10px, -10px) rotate(-5deg); }
  75% { transform: translate(20px, 10px) rotate(3deg); }
}

.title-emoji {
  display: inline-block;
  animation: emoji-wobble 2s ease-in-out infinite;
}

@keyframes emoji-wobble {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-12deg); }
  75% { transform: rotate(12deg); }
}

/* Polaroid Wall */
.polaroid-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 50px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 40px 20px;
}

.polaroid {
  background: white;
  padding: 18px 18px 24px;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.1),
    0 12px 30px rgba(0,0,0,0.08);
  border-radius: 4px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.polaroid-1 { transform: rotate(-4deg); }
.polaroid-2 { transform: rotate(3deg) translateY(-15px); }
.polaroid-3 { transform: rotate(-2deg) translateY(20px); }
.polaroid-4 { transform: rotate(4deg); }
.polaroid-5 { transform: rotate(-3deg) translateY(-10px); }
.polaroid-6 { transform: rotate(2deg) translateY(15px); }

.polaroid:hover {
  transform: rotate(0) translateY(-15px) scale(1.05);
  z-index: 5;
  box-shadow:
    0 12px 25px rgba(0,0,0,0.15),
    0 25px 50px rgba(0,0,0,0.12);
}

.polaroid .photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-color: #f0f0f0;
  border-radius: 2px;
  margin-bottom: 14px;
  transition: filter 0.4s ease;
}

.polaroid:hover .photo {
  filter: saturate(1.2) contrast(1.05);
}

.polaroid .caption {
  font-family: 'Noto Sans TC', cursive;
  font-size: 17px;
  text-align: center;
  color: var(--text-dark);
  font-weight: 700;
  padding: 4px;
  margin: 0;
}

/* Tape decorations */
.tape {
  position: absolute;
  top: -12px;
  width: 70px;
  height: 24px;
  background: rgba(255, 235, 59, 0.65);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 2;
}

.tape-1 {
  left: 30%;
  transform: rotate(-8deg);
  background: rgba(255, 213, 79, 0.7);
}

.tape-2 {
  right: 25%;
  transform: rotate(10deg);
  background: rgba(129, 199, 132, 0.65);
}

.tape::before,
.tape::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6px;
  background-image: linear-gradient(45deg, transparent 33%, rgba(255,255,255,0.5) 50%, transparent 66%);
}

.tape::before { left: 0; }
.tape::after { right: 0; }

/* ===========================
   A Day in the Life Section
   =========================== */
.day-life {
  padding: 100px 0;
  background:
    linear-gradient(135deg, #FFB74D 0%, #FF8A65 50%, #F06292 100%);
  position: relative;
  overflow: hidden;
}

.day-life::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15) 0, transparent 25%),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,0.15) 0, transparent 25%),
    radial-gradient(circle at 50% 90%, rgba(255,255,255,0.1) 0, transparent 30%);
}

.day-life::after {
  content: '⭐ 🌈 🎈 🎨 ✨ 🌟';
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 28px;
  letter-spacing: 100px;
  opacity: 0.25;
  pointer-events: none;
  white-space: nowrap;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
  margin-bottom: 60px;
}

.exp-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.exp-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.exp-card:nth-child(odd):hover {
  transform: translateY(-12px) scale(1.02) rotate(-1deg);
}

.exp-card:nth-child(even):hover {
  transform: translateY(-12px) scale(1.02) rotate(1deg);
}

.exp-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #f0f0f0;
  position: relative;
  overflow: hidden;
}

.exp-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
  transition: opacity 0.4s ease;
}

.exp-emoji {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 64px;
  height: 64px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  z-index: 2;
  animation: emoji-bounce 3s ease-in-out infinite;
}

@keyframes emoji-bounce {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-8px) rotate(10deg); }
}

.exp-content {
  padding: 28px 24px;
}

.exp-content h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.exp-content p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 14px;
}

.exp-tag {
  display: inline-block;
  background: linear-gradient(135deg, #FFD54F, #FF9800);
  color: white;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.exp-card-1 .exp-tag { background: linear-gradient(135deg, #4CAF50, #2E7D32); }
.exp-card-2 .exp-tag { background: linear-gradient(135deg, #E91E63, #AD1457); }
.exp-card-3 .exp-tag { background: linear-gradient(135deg, #2196F3, #1565C0); }
.exp-card-4 .exp-tag { background: linear-gradient(135deg, #9C27B0, #6A1B9A); }
.exp-card-5 .exp-tag { background: linear-gradient(135deg, #FF9800, #E65100); }
.exp-card-6 .exp-tag { background: linear-gradient(135deg, #00BCD4, #00838F); }

/* Growth Banner */
.growth-banner {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
  border: 4px dashed var(--primary-light);
  max-width: 900px;
  margin: 0 auto;
}

.growth-banner::before {
  content: '🌱';
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
  animation: growth-pulse 2s ease-in-out infinite;
}

@keyframes growth-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.1); }
}

.growth-content h3 {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary-dark);
  margin: 16px 0 16px;
}

.growth-content p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.9;
}

/* ===========================
   Adventure Scroll Strip (Marquee)
   =========================== */
.adventure-strip {
  background: white;
  padding: 32px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
  margin-top: 80px;
}

.adventure-strip::before,
.adventure-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.adventure-strip::before {
  left: 0;
  background: linear-gradient(90deg, white, transparent);
}

.adventure-strip::after {
  right: 0;
  background: linear-gradient(-90deg, white, transparent);
}

.adventure-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.adventure-strip:hover .adventure-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.adv-item {
  flex-shrink: 0;
  width: 220px;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.adv-item:hover {
  transform: scale(1.06) rotate(-1deg);
  z-index: 3;
}

.adv-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.adv-item:hover img {
  transform: scale(1.15);
}

.adv-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
  color: white;
  padding: 24px 12px 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

/* ===========================
   Schedule Section
   =========================== */
.schedule {
  padding: 100px 0;
  background: var(--bg-light);
}

.schedule-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.schedule-timeline::before {
  content: '';
  position: absolute;
  left: 90px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  border-radius: 4px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 24px;
  position: relative;
}

.time {
  width: 80px;
  flex-shrink: 0;
  font-family: 'Fredoka', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: right;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 84px;
  width: 16px;
  height: 16px;
  background: white;
  border: 4px solid var(--primary);
  border-radius: 50%;
  z-index: 1;
}

.event-card {
  flex: 1;
  margin-left: 16px;
  background: white;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
}

.event-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.event-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.event-card p {
  font-size: 14px;
  color: var(--text-gray);
}

/* ===========================
   Contact Section
   =========================== */
.contact {
  padding: 100px 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}

.info-card {
  background: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.info-card:hover {
  background: white;
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.info-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.info-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.info-card p,
.info-card a {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

.info-card a:hover {
  color: var(--primary-dark);
  font-weight: 700;
}

/* Two-row hours card */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.hours-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  background: white;
  border-radius: 6px;
  font-size: 12px;
}

.hours-label {
  color: var(--primary-dark);
  font-weight: 700;
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
  padding: 1px 8px;
  border-radius: 50px;
  font-size: 11px;
}

.hours-time {
  color: var(--text-dark);
  font-weight: 700;
  font-family: 'Fredoka', sans-serif;
  font-size: 12px;
}

.contact-form {
  background: var(--bg-cream);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 3px dashed var(--primary-light);
}

.contact-form h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 8px;
  text-align: center;
}

.form-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
  resize: vertical;
}

/* Quick Contact Buttons */
.contact-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quick-contact {
  background: white;
  border: 2px dashed var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.quick-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.quick-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 8px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
  color: white;
  transition: all 0.3s ease;
  text-align: center;
}

.quick-btn .qicon {
  font-size: 26px;
}

.quick-phone {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.quick-line {
  background: linear-gradient(135deg, #00C300, #008C00);
}

.quick-mail {
  background: linear-gradient(135deg, #FF9800, #E65100);
}

.quick-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo .logo-title {
  color: white;
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-col p a {
  color: rgba(255,255,255,0.85);
  transition: color 0.3s ease;
}

.footer-col p a:hover {
  color: var(--primary-light);
}

.footer-tagline {
  color: var(--primary-light) !important;
  font-style: italic;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--primary-light);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-col ul a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

/* ===========================
   Floating Call Button
   =========================== */
.float-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 14px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.5);
  z-index: 999;
  transition: all 0.3s ease;
  animation: pulseCall 2s ease-in-out infinite;
}

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

.float-call:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(76, 175, 80, 0.6);
}

.call-icon {
  font-size: 18px;
}

/* ===========================
   Animations on Scroll
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 968px) {
  .about-grid,
  .camps-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .polaroid-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .phonics-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .phonics-info {
    grid-template-columns: 1fr;
  }

  .price-card {
    order: -1;
  }

  .camp-activities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .camp-periods {
    grid-template-columns: 1fr;
  }

  .camps-merged-card {
    padding: 28px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .logo-showcase {
    width: 240px;
    height: 240px;
  }

  .hero-full-logo {
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 100px 16px 60px;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat-item {
    padding: 12px 20px;
  }

  .stat-number {
    font-size: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .contact-info {
    grid-template-columns: 1fr 1fr;
  }

  .schedule-timeline::before {
    left: 60px;
  }

  .timeline-item::before {
    left: 54px;
  }

  .time {
    width: 50px;
    font-size: 16px;
  }

  .timeline-item {
    gap: 20px;
  }

  .float-call .call-text {
    display: none;
  }

  .float-call {
    padding: 16px;
  }

  .call-icon {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .polaroid-wall {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .growth-content h3 {
    font-size: 22px;
  }

  .adv-item {
    width: 160px;
    height: 120px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .contact-form {
    padding: 24px 20px;
  }
}
