@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
  --yellow: #FFD63A;
  --orange: #FF7A3C;
  --pink: #FF5B94;
  --blue: #3ABFF8;
  --green: #4ADE80;
  --purple: #A855F7;
  --red: #FF4B4B;
  --teal: #2DD4BF;
  --light-bg: #FFF9F0;
  --card-bg: #FFFFFF;
  --text-dark: #2D2D2D;
  --text-mid: #555;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--light-bg);
  color: var(--text-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Baloo 2', cursive;
}

/* ========== NAVBAR ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo .logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(255,122,60,0.35);
  flex-shrink: 0;
}

.nav-logo .logo-text {
  line-height: 1.1;
}

.nav-logo .logo-text span.brand {
  font-family: 'Baloo 2', cursive;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--orange);
  display: block;
}

.nav-logo .logo-text span.tagline {
  font-size: 0.68rem;
  color: var(--purple);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-family: 'Baloo 2', cursive;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 6px 11px;
  border-radius: 20px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
  background: var(--yellow);
  color: var(--text-dark);
}

.nav-cta {
  background: var(--pink) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(255,91,148,0.4);
  padding: 8px 16px !important;
  border-radius: 25px !important;
}

.nav-cta:hover {
  background: var(--orange) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255,122,60,0.45) !important;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  margin-left: auto;
  color: var(--orange);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255,122,60,0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(255,122,60,0.5); }

.btn-yellow {
  background: var(--yellow);
  color: var(--text-dark);
  box-shadow: 0 6px 20px rgba(255,214,58,0.4);
}
.btn-yellow:hover { transform: translateY(-3px); }

.btn-pink {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255,91,148,0.4);
}
.btn-pink:hover { transform: translateY(-3px); }

.btn-green {
  background: var(--green);
  color: var(--text-dark);
  box-shadow: 0 6px 20px rgba(74,222,128,0.4);
}
.btn-green:hover { transform: translateY(-3px); }

.btn-outline {
  background: transparent;
  border: 2.5px solid var(--orange);
  color: var(--orange);
}
.btn-outline:hover { background: var(--orange); color: #fff; }

/* ========== SECTION STYLES ========== */
.section {
  padding: 5rem 1rem;
}

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

.section-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--text-dark);
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-title span { color: var(--orange); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ========== CARDS ========== */
.card {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* ========== GRID HELPERS ========== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ========== WAVY DIVIDERS ========== */
.wave-top, .wave-bottom {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-top { transform: rotate(180deg); }

/* ========== FOOTER ========== */
footer {
  background: #2D2D2D;
  color: #ccc;
  padding: 4rem 1rem 2rem;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}
footer h4 {
  font-family: 'Baloo 2', cursive;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
footer a { color: #bbb; text-decoration: none; display: block; margin-bottom: 6px; font-size: 0.95rem; }
footer a:hover { color: var(--yellow); }
footer .footer-brand { font-family: 'Baloo 2', cursive; font-size: 1.5rem; font-weight: 800; color: var(--yellow); }
footer .footer-desc { font-size: 0.92rem; line-height: 1.7; margin-top: 0.5rem; }
footer .footer-bottom {
  border-top: 1px solid #444;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.88rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========== FLOATING BUTTONS ========== */
.float-btns {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s;
  cursor: pointer;
  border: none;
}
.float-btn:hover { transform: scale(1.12); }

.float-wa { background: #25D366; color: #fff; }
.float-call { background: var(--blue); color: #fff; display: none; }

/* ========== PAGE HERO ========== */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  padding: 5rem 1rem 4rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  position: relative;
}
.page-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 580px;
  margin: 0 auto;
  position: relative;
}

/* ========== ANIMATIONS ========== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.float-anim { animation: float 3s ease-in-out infinite; }
.fade-up { animation: fadeUp 0.6s ease forwards; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: #fff; padding: 1rem 1.5rem 1.5rem; box-shadow: 0 8px 20px rgba(0,0,0,0.1); gap: 0.5rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-call { display: flex; }
}

@media (max-width: 480px) {
  footer .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 1rem; }
}
