:root {
  --ink: #0f172a;
  --muted: #475569;
  --blue: #1f7ae0;
  --green: #22c55e;
  --bg1: #fff;
  --bg2: #f3faff;
  --bg3: #f1fff4;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  opacity: 0;
  animation: fadeIn 0.35s ease forwards;
  margin: 0;
  font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg1), var(--bg2) 55%, var(--bg3));
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
a {
  text-decoration: none;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

/* Fixed nav */
.nav-container {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 12px;
  width: min(1200px, calc(100% - 24px));
  z-index: 60;
}
.nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(2, 8, 20, 0.05);
  transition: padding 0.15s, box-shadow 0.2s;
}
.nav.scrolled {
  padding: 8px 14px;
  box-shadow: 0 12px 30px rgba(2, 8, 20, 0.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--ink);
}
.logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1f7ae0, #22c55e);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}
.links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.links a {
  color: var(--ink);
  font-weight: 600;
  opacity: 0.9;
}
.cta {
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 0 0 0 rgba(31, 122, 224, 0);
  transition: box-shadow 0.25s, transform 0.1s;
}
.cta:hover {
  box-shadow: 0 0 0 10px rgba(31, 122, 224, 0.12),
    0 10px 24px rgba(2, 8, 20, 0.12);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
}
@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }
  .links {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 58px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(2, 8, 20, 0.08);
    padding: 12px;
  }
  .links.show {
    display: flex;
  }
}
body {
  padding-top: 88px;
}
.section {
  scroll-margin-top: 110px;
}

/* Floating CTA + WhatsApp */
.floating-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  z-index: 40;
  background: var(--blue);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(2, 8, 20, 0.18);
  display: none;
}
@media (max-width: 920px) {
  .floating-cta {
    display: inline-block;
  }
}
.wa-chat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #25d366;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 10px 30px rgba(2, 8, 20, 0.18);
  z-index: 9999;
}

/* Hero shapes */
.bg-shape {
  position: absolute;
  filter: blur(40px);
  opacity: 0.55;
  z-index: -1;
  border-radius: 40px;
}
.s1 {
  width: 360px;
  height: 200px;
  background: linear-gradient(135deg, #1f7ae0, #22c55e);
  top: 40px;
  left: 0;
  animation: float 9s ease-in-out infinite;
}
.s2 {
  width: 260px;
  height: 160px;
  background: linear-gradient(135deg, #22c55e, #1f7ae0);
  bottom: -60px;
  right: 0;
  animation: float 11s ease-in-out infinite reverse;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Hero centered */
.hero {
  position: relative;
}
.hero-centered {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 96px 0 24px;
}
.hero-copy {
  max-width: 860px;
  margin-inline: auto;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  margin: 0.1em 0 0.3em;
  font-weight: 900;
}
.hero p {
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 19px);
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.12s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn.primary {
  background: var(--blue);
  color: #fff;
}
.btn.ghost {
  background: #eaf3ff;
  color: #0b3b85;
}
.btn.glow {
  box-shadow: 0 0 0 8px rgba(31, 122, 224, 0.12);
}
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(2, 8, 20, 0.06);
  padding: 20px;
}

/* Why Parents Choose Us */
.why-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
}
.why {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(2, 8, 20, 0.05);
  transition: transform 0.15s, box-shadow 0.2s;
}
.why:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(2, 8, 20, 0.08);
}
.w-ico {
  font-size: 20px;
}
.w-title {
  font-weight: 800;
}
.w-sub {
  grid-column: 2;
  color: #475569;
  font-size: 14px;
}
@media (max-width: 900px) {
  .why-row {
    grid-template-columns: 1fr;
  }
}

/* Levels */
.level-badge {
  display: inline-block;
  font-weight: 900;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  margin-bottom: 6px;
}
.l1 {
  background: #eaf3ff;
  color: #0b3b85;
}
.l2 {
  background: #ecfeff;
  color: #0e7490;
}
.l3 {
  background: #f0fff5;
  color: #065f46;
}

/* Sections */
.section {
  padding: 56px 0;
}
.section h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 0 0 8px;
  font-weight: 900;
}
.lead {
  color: var(--muted);
  margin: 0 0 18px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.muted {
  color: var(--muted);
}

/* Pricing interactions */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.p-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(2, 8, 20, 0.06);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.p-card:hover {
  transform:translateY(-3px); /* softer lift */
  box-shadow:0 8px 24px rgba(2,8,20,.08); /* lighter shadow */
}
.p-card::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
  background: linear-gradient(
    135deg,
    rgba(31, 122, 224, 0.25),
    rgba(34, 197, 94, 0.25)
  );
  filter: blur(8px);
}
.p-card:hover::after {
  opacity: 0.4;
}
.p-icon {
  font-size: 28px;
  color: #1f7ae0;
  text-align: center;
}
.p-title {
  text-align: center;
  font-weight: 900;
  font-size: 22px;
}
.p-price {
  text-align: center;
  font-weight: 800;
}
.p-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.p-list li {
  padding-left: 16px;
  position: relative;
}
.p-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #22c55e;
}
.p-btn {
  margin-top: 8px;
  align-self: center;
}
.popular {
  background: #f0fff5;
  border: 3px solid #34d399;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12),
    0 14px 40px rgba(16, 185, 129, 0.18);
}
.badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
  background: #22c55e;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
}

/* Animated entrance for pricing */
.i-card {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.6s ease forwards;
}
.i-card:nth-child(1) {
  animation-delay: 0.05s;
}
.i-card:nth-child(2) {
  animation-delay: 0.15s;
}
.i-card:nth-child(3) {
  animation-delay: 0.25s;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* How grid */
.how-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Testimonials */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.slides {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  min-width: 100%;
  padding: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(2, 8, 20, 0.05);
  text-align: center;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f7ae0, #22c55e);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 8px;
}
.dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
}
.dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
}
.dots button.active {
  background: #1f7ae0;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.g-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(2, 8, 20, 0.06);
  padding: 10px;
  text-align: center;
}
.g-thumb {
  height: 120px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf3ff, #f1fff4);
}
.g-card figcaption {
  margin-top: 8px;
  font-weight: 700;
  color: #334155;
}

/* Booking */
.booking .form {
  margin-top: 10px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.form label {
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font: inherit;
}
.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.tiny {
  font-size: 12px;
}

/* Footer */
.footer {
  padding: 36px 0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .grid-3,
  .pricing {
    grid-template-columns: 1fr;
  }
}

/* Center emoji; real badge right; ghost badge left for balance */
.p-card.popular .p-head {
  display: grid;
  grid-template-columns: auto auto auto; /* ghost | icon | real badge */
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}
.p-card.popular .p-head .p-icon {
  font-size: 22px;
  line-height: 1;
}
.p-card.popular .p-head .badge {
  background: #22c55e;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  line-height: 1;
  position: static;
  transform: none;
}
.p-card.popular .p-head .badge-ghost {
  visibility: hidden;
} /* balances width */

/* Remove any old absolute badge if still present */
.p-card.popular > .badge {
  display: none !important;
}

.footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
  color: #475569;
  background: #f8fdf9; /* soft background */
}

.footer-center {
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin: 12px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.faq-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}
.faq-item p {
  margin: 0;
  color: #475569;
  font-size: 14px;
}

/* Horizontal project scroller */
.proj-shell{
  position:relative;
  margin-top:10px;
  background:transparent;
}

.proj-track{
  list-style:none;
  display:flex;
  gap:14px;
  padding:6px;
  margin:0;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}
.proj-track::-webkit-scrollbar{ height:8px }
.proj-track::-webkit-scrollbar-thumb{ background:#c7d2fe; border-radius:8px }

.proj-card{
  flex:0 0 calc(25% - 10px);             /* 4 per view */
  min-width:240px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  box-shadow:0 8px 22px rgba(2,8,20,.06);
  padding:14px;
  display:grid;
  place-items:center;
  height:120px;
  cursor:pointer;
  scroll-snap-align:start;
  transition:transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s cubic-bezier(.4,0,.2,1);
  background-image:linear-gradient(135deg,#eef5ff,#effff5);
}
.proj-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(2,8,20,.08);
}
.proj-card span{
  text-align:center;
  font-weight:800;
  color:#0f172a;
  font-size:14px;
}

/* Nav arrows */
.proj-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:36px; height:36px; border-radius:999px;
  border:1px solid #e5e7eb; background:#fff;
  box-shadow:0 6px 18px rgba(2,8,20,.08);
  display:grid; place-items:center; font-size:20px; cursor:pointer;
}
.proj-nav.prev{ left:-6px }
.proj-nav.next{ right:-6px }
@media (max-width:1100px){
  .proj-card{ flex-basis:calc(50% - 10px); } /* 2 per view */
}
@media (max-width:560px){
  .proj-card{ flex-basis:100%; }           /* 1 per view */
  .proj-nav{ display:none }                /* swipe on mobile */
}

/* Modal */
.proj-modal{
  position:fixed; inset:0; background:rgba(2,8,20,.45);
  display:none; align-items:center; justify-content:center; padding:16px; z-index:80;
}
.proj-modal[aria-hidden="false"]{ display:flex }
.proj-modal__dialog{
  width:min(760px, 96vw);
  background:#fff; border-radius:16px; border:1px solid #e5e7eb;
  box-shadow:0 20px 60px rgba(2,8,20,.25);
  padding:18px;
}
.proj-close{
  border:none; background:#f1f5f9; border-radius:8px; padding:6px 10px; float:right; cursor:pointer;
}
.proj-code{
  background:#0b1220; color:#d1e7ff; border-radius:12px; padding:14px; overflow:auto; max-height:50vh;
}
.proj-hint{ color:#64748b; font-size:12px; margin-top:8px }

/* Make the Free Trial pill in the nav use white text */
.links a.cta {
  color: #fff !important;          /* beats .links a */
  background: var(--blue);
}

.links a.cta:hover {
  color: #fff;                      /* keep white on hover */
  background: #1664c0;              /* optional darker hover */
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

/* Ensure body content doesn't stick to edges */
.wrap, .section {
  padding-left: 16px;
  padding-right: 16px;
}

/* Extra breathing room on small screens */
@media (max-width: 768px) {
  .wrap, .section {
    padding-left: 20px;
    padding-right: 20px;
  }
}
 
input[type="date"]:not(:focus):not([value])::before {
  content: attr(data-placeholder);
  color: #9ca3af; /* grey */
  margin-left: 4px;
}
input[type="date"]:focus::before,
input[type="date"][value]::before {
  content: "";
}

/* Pricing highlights */
.p-card.popular { border: 2px solid #16a34a; box-shadow: 0 10px 25px rgba(22,163,74,.15); transform: translateY(-4px); }
.p-card .p-price { font-weight: 800; font-size: 1.5rem; }
.p-head .badge { background:#16a34a; color:#fff; padding:.2rem .5rem; border-radius:.375rem; font-size:.75rem; }

/* Feature ticks */
.features { margin-top: .75rem; border-top: 1px solid #eee; padding-top: .75rem; }
.f-row { display:flex; align-items:center; gap:.5rem; padding:.35rem 0; font-size:.95rem; }
.f-label { flex:1; }
.f-ticks { display:grid; grid-template-columns: repeat(3, 1fr); gap:.25rem; min-width:210px; text-align:center; font-weight:600; }
.tick { padding:.15rem .35rem; border-radius:.375rem; font-size:.85rem; line-height:1; }
.tick.yes { color:#065f46; background:#d1fae5; }   /* green */
.tick.no  { color:#991b1b; background:#fee2e2; }   /* red */
.tick.mid { color:#1e3a8a; background:#dbeafe; }   /* blue (premium) */

/* Column labels for ticks on mobile */
.f-cols { display:grid; grid-template-columns: repeat(3, 1fr); gap:.25rem; margin-bottom:.35rem; color:#6b7280; font-size:.75rem; text-align:center; }
@media (max-width: 900px) {
  .f-ticks { min-width:0; }
}

.p-sub {
  text-align: center;   /* centers both lines */
  font-size: 0.95rem;
  color: #555;
  margin: 4px 0 14px;   /* tighter spacing */
  line-height: 1.4;     /* balance between the two lines */
}
