/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a56db;
  --primary-dark: #1e3a8a;
  --accent: #f5a623;
  --accent2: #e63946;
  --dark: #0a1628;
  --dark2: #132042;
  --text: #334155;
  --text-light: #64748b;
  --bg-light: #f0f5ff;
  --white: #ffffff;
  --gradient-hero: linear-gradient(135deg, #0a1628 0%, #1e3a8a 60%, #2563eb 100%);
  --gradient-accent: linear-gradient(135deg, #f5a623 0%, #f59e0b 100%);
  --gradient-blue: linear-gradient(135deg, #1a56db 0%, #2563eb 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(26,86,219,0.10);
  --shadow-lg: 0 12px 48px rgba(10,22,40,0.18);
  --transition: all 0.35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Be Vietnam Pro', 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 700; font-size: 15px; cursor: pointer;
  border: none; transition: var(--transition); font-family: inherit;
}
.btn-primary {
  background: var(--gradient-accent); color: var(--dark);
  box-shadow: 0 4px 20px rgba(245,166,35,0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(245,166,35,0.55); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-lg { padding: 16px 40px; font-size: 17px; }
.btn-cta {
  background: var(--gradient-accent); color: var(--dark);
  padding: 18px 48px; font-size: 18px; font-weight: 800;
  border-radius: 50px; border: none; cursor: pointer;
  box-shadow: 0 6px 28px rgba(245,166,35,0.45);
  transition: var(--transition); display: inline-flex; align-items: center; gap: 10px;
}
.btn-cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 40px rgba(245,166,35,0.6); }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,22,40,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.header.scrolled { background: rgba(10,22,40,0.98); box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.nav-container { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 44px; width: auto; filter: brightness(1.1); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.75); transition: var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: var(--transition); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 8px; padding: 10px 24px; font-size: 14px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 4px; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; background: var(--gradient-hero);
  padding: 100px 0 0; position: relative; overflow: hidden;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%; background: rgba(245,166,35,0.3);
  animation: particleFloat 8s ease-in-out infinite;
}
.particle:nth-child(1) { width: 6px; height: 6px; top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 4px; height: 4px; top: 60%; left: 80%; animation-delay: 2s; background: rgba(37,99,235,0.4); }
.particle:nth-child(3) { width: 8px; height: 8px; top: 80%; left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { width: 5px; height: 5px; top: 30%; left: 70%; animation-delay: 1s; background: rgba(255,255,255,0.2); }
.particle:nth-child(5) { width: 3px; height: 3px; top: 50%; left: 50%; animation-delay: 3s; }
@keyframes particleFloat {
  0%,100% { transform: translateY(0) translateX(0); opacity: 0.4; }
  50% { transform: translateY(-30px) translateX(15px); opacity: 1; }
}

.hero-container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; padding-bottom: 80px;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,0.15); color: var(--accent);
  padding: 8px 20px; border-radius: 50px; font-size: 14px; font-weight: 700;
  margin-bottom: 24px; border: 1px solid rgba(245,166,35,0.3);
  animation: fadeInUp 0.6s ease-out;
}
.hero-title {
  font-size: clamp(34px, 5vw, 56px); font-weight: 900;
  line-height: 1.12; color: #fff; margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}
.accent-text { color: var(--accent); }
.hero-desc {
  font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 36px;
  max-width: 500px; animation: fadeInUp 0.6s ease-out 0.2s both;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}
.hero-image { display: flex; justify-content: center; animation: fadeInRight 0.8s ease-out 0.3s both; }
.hero-img-wrapper {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4); max-width: 500px; width: 100%;
}
.hero-img-wrapper img { width: 100%; border-radius: 24px; }
.hero-img-badge {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(10px);
  color: #fff; padding: 10px 18px; border-radius: 50px;
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13px; border: 1px solid rgba(255,255,255,0.15);
}
.hero-wave { position: relative; margin-top: -2px; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; display: block; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-light { background: var(--bg-light); }
.section-white { background: #fff; }
.section-dark { background: var(--gradient-hero); }
.section-blue { background: linear-gradient(135deg, #1e3a8a 0%, #1a56db 100%); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; background: rgba(26,86,219,0.1); color: var(--primary);
  padding: 6px 20px; border-radius: 50px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
  border: 1px solid rgba(26,86,219,0.2);
}
.tag-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.25); }
.tag-accent { background: rgba(245,166,35,0.15); color: var(--accent); border-color: rgba(245,166,35,0.3); }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 900; color: var(--dark); margin-bottom: 14px; }
.title-light { color: #fff; }
.title-highlight { color: var(--accent2); display: inline; }
.section-subtitle { font-size: 17px; color: var(--text-light); max-width: 620px; margin: 0 auto; }
.subtitle-light { color: rgba(255,255,255,0.75); }

/* ===== PROBLEMS SECTION ===== */
.problems-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.problems-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.problem-card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid rgba(26,86,219,0.08);
  transition: var(--transition); position: relative; overflow: hidden;
}
.problem-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--accent2); border-radius: 4px 0 0 4px;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.problem-icon { font-size: 32px; margin-bottom: 12px; }
.problem-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.problem-card p { font-size: 13px; color: var(--text-light); }
.problem-image { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.problem-image img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }

/* ===== PARENTS WISHES ===== */
.wishes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.wish-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(26,86,219,0.08);
  transition: var(--transition);
}
.wish-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.wish-img { height: 200px; overflow: hidden; }
.wish-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.wish-card:hover .wish-img img { transform: scale(1.05); }
.wish-content { padding: 24px; }
.wish-content h3 { font-size: 16px; font-weight: 800; color: var(--primary-dark); margin-bottom: 8px; line-height: 1.4; }
.wish-content p { font-size: 13px; color: var(--text-light); }

/* ===== SOLUTION / VOICE-UP KIDS ===== */
.solution-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.solution-image { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.solution-image img { width: 100%; min-height: 340px; object-fit: cover; }
.solution-content h2 {
  font-size: clamp(26px, 3.5vw, 38px); font-weight: 900;
  color: #fff; margin-bottom: 24px; line-height: 1.2;
}
.solution-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.solution-list li {
  font-size: 15px; color: rgba(255,255,255,0.9); padding-left: 28px;
  position: relative; line-height: 1.6;
}
.solution-list li::before {
  content: '›'; position: absolute; left: 0; top: 0;
  color: var(--accent); font-size: 22px; font-weight: 900;
}
.solution-list li strong { color: var(--accent); }

/* ===== GOALS ===== */
.goals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.goal-card {
  background: rgba(255,255,255,0.06); border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  border: 1px solid rgba(255,255,255,0.1); transition: var(--transition);
}
.goal-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-6px); }
.goal-icon {
  width: 64px; height: 64px; margin: 0 auto 18px;
  background: rgba(245,166,35,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.goal-card h3 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.goal-card p { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ===== CURRICULUM / TOOLS / COMMITMENT ===== */
.info-cards { display: flex; flex-direction: column; gap: 24px; max-width: 900px; margin: 0 auto; }
.info-card {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); border-left: 5px solid var(--primary);
  transition: var(--transition); position: relative;
}
.info-card:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.info-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.info-card-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.info-card-header h3 { font-size: 18px; font-weight: 800; color: var(--primary-dark); }
.info-card p { font-size: 14px; color: var(--text); line-height: 1.8; }
.info-card strong { color: var(--primary); }

/* ===== FEATURES STRIP ===== */
.features-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  margin-top: 60px;
}
.feature-item {
  padding: 32px 28px; text-align: center;
  background: var(--primary-dark); color: #fff;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: var(--primary); }
.feature-item .f-icon { font-size: 36px; margin-bottom: 12px; }
.feature-item h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.feature-item p { font-size: 12px; color: rgba(255,255,255,0.7); }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); position: relative;
  transition: var(--transition);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 100%);
  color: #fff; padding: 28px 16px 14px; font-size: 13px; font-weight: 600;
}

/* ===== REGISTER ===== */
.section-register { background: var(--dark); position: relative; overflow: hidden; padding: 96px 0; }
.reg-shape {
  position: absolute; border-radius: 50%;
  background: rgba(37,99,235,0.1); pointer-events: none;
}
.reg-shape-1 { width: 500px; height: 500px; top: -200px; right: -150px; }
.reg-shape-2 { width: 300px; height: 300px; bottom: -100px; left: -80px; background: rgba(245,166,35,0.08); }

.register-wrapper {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative; z-index: 1;
}
.register-info h2 {
  font-size: clamp(26px, 4vw, 40px); font-weight: 900;
  color: #fff; margin: 16px 0; line-height: 1.2;
}
.gradient-text-gold {
  background: linear-gradient(135deg, #f5a623, #fbbf24);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.register-perks { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.perk { color: rgba(255,255,255,0.9); font-size: 15px; font-weight: 600; }

.register-form-box {
  background: #fff; border-radius: 24px;
  padding: 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.register-form h3 { font-size: 22px; font-weight: 900; color: var(--dark); margin-bottom: 28px; text-align: center; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 700; color: var(--dark);
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px;
}
.form-group input, .form-group select {
  width: 100%; padding: 13px 16px;
  border: 2px solid rgba(26,86,219,0.12); border-radius: 12px;
  font-size: 15px; font-family: inherit; color: var(--dark);
  background: var(--bg-light); transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(26,86,219,0.1);
}
.btn-submit {
  width: 100%; padding: 16px; font-size: 16px; font-weight: 800;
  background: var(--gradient-accent); color: var(--dark); border-radius: 12px;
  border: none; cursor: pointer; margin-top: 8px; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: var(--transition); box-shadow: 0 4px 20px rgba(245,166,35,0.4);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,166,35,0.55); }
.form-success { text-align: center; padding: 20px; }
.success-icon { font-size: 60px; margin-bottom: 16px; }
.form-success h3 { font-size: 22px; font-weight: 900; color: var(--dark); margin-bottom: 10px; }
.form-success p { color: var(--text); font-size: 15px; }

/* ===== FOOTER ===== */
.footer { background: #060e1a; padding: 44px 0 28px; }
.footer-container { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-logo-img { height: 40px; width: auto; filter: brightness(1.1); }
.footer-brand p { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 28px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; text-align: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .goals-grid { grid-template-columns: repeat(2, 1fr); }
  .features-strip { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-content { order: 1; }
  .hero-image { order: 0; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .problems-layout { grid-template-columns: 1fr; }
  .problems-grid { grid-template-columns: 1fr 1fr; }
  .wishes-grid { grid-template-columns: 1fr; }
  .solution-layout { grid-template-columns: 1fr; }
  .goals-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .register-wrapper { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--dark); padding: 16px 24px 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); }
  .problems-grid { grid-template-columns: 1fr; }
  .goals-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 90px; }
  .section { padding: 64px 0; }
}
