/* Theme from assets/css/style.css */
:root {
  --primary: #ffa32f;
  --primary-rgb: 255, 138, 0;
  --secondary: #322922;
  --secondary-rgb: 31, 79, 109;
  --text-dark: #333;
  --text-light: #777;
  --light-bg: #f9f8f4;
  --white: #fff;
  --max-width: 1200px;
  --whitebox-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

  /* Aliases for compatibility with existing styles */
  --dark: var(--secondary);
  --dark-soft: #183a52;
  --cream: var(--light-bg);
  --cream-dark: #ebe8e0;
  --orange: var(--primary);
  --orange-hover: #e6951f;
  --text: var(--text-dark);
  --text-muted: var(--text-light);
  --font: 'Poppins', -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}

/* Buttons – common style for all .btn (links and buttons) */
a.btn,
button.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}

button.btn {
  width: auto;
}

a.btn:focus-visible,
button.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.35);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-hover);
}

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

.btn-secondary:hover {
  background: var(--dark);
  color: var(--cream);
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--dark);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font);
  font-weight: 600;
  font-size: 18px;
}

.logo-icon {
  font-size: 28px;
  color: var(--orange);
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:not(.btn):hover {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 200px 0 80px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: #00000096;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  margin: 0 0 12px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.9;
}
.hero-content img{
  max-height: 75px;
  width: auto;
}
.hero-title {
  margin: 0 0 20px;
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 5rem); /* 80px on desktop */
  line-height: 1.15;
  color: var(--cream);
  display: block;
}

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

.hero-desc {
  margin: 0 0 28px;
  font-size: 20px;
  line-height: 30px;
  color: var(--cream);
  opacity: 0.95;
  max-width: 800px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-social {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.hero-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--cream);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.hero-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-social a i {
  font-size: 1.1rem;
}

/* Section shared */
.section-subtitle {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-subtitle-light {
  color: rgba(248, 243, 237, 0.8);
}

.section-title {
  margin: 0 0 24px;
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--text);
}

.section-title .accent,
.section-title-light .accent {
  color: var(--orange);
}

.section-title-light {
  color: var(--cream);
  margin-bottom: 40px;
}

/* About */
.about {
  padding: 80px 0;
  background: var(--cream);
}

.about-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.about-inner > * {
  flex: 1 1 0%;
  min-width: 0;
}

.about-image-wrap {
  position: relative;
}

.about-image {
  aspect-ratio: 1;
  border-radius: 8px;
}
.about-image img{
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
}
.about-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--orange);
  color: var(--white);
  padding: 16px 20px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  text-align: center;
  border-radius: 6px;
}

.about-text {
  margin: 0 0 16px;
  color: var(--text);
  max-width: 520px;
}

.about-text:last-of-type {
  margin-bottom: 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--cream-dark);
  border: 1px solid rgba(46, 34, 31, 0.1);
  border-radius: 6px;
  padding: 20px;
  text-align: left;
}

.stat-icon {
  font-size: 28px;
  color: var(--orange);
  margin-bottom: 12px;
  display: block;
}

.stat-value {
  display: block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* About extra: dropdown (Activity-Based Learning + Parents) */
.about-dropdown-wrap {
  margin-top: 32px;
  text-align: center;
}

.about-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--orange);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.about-toggle:hover {
  background: var(--orange-hover);
}

.about-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.35);
}

.about-toggle-icon {
  font-size: 0.85rem;
  transition: transform 0.3s;
}

.about-dropdown-wrap.is-open .about-toggle-icon {
  transform: rotate(180deg);
}

.about-extra {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease-out;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-dropdown-wrap.is-open .about-extra {
  max-height: 2000px;
}

.about-extra > .about-learning {
  padding-top: 32px;
  border-top: 1px solid var(--cream-dark);
}

.about-extra-title {
  text-align: center;
  margin-bottom: 20px;
}

.about-learning {
  margin-bottom: 48px;
}

.about-learning-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  display: inline-block;
}

.about-learning-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

.about-learning-icon {
  font-size: 1.25rem;
  color: var(--orange);
  flex-shrink: 0;
  width: 1.5em;
  text-align: center;
}

.about-parents-sub {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.about-parents-text {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

.about-parents-quote {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

.about-classes {
  margin: 24px 0 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.about-cta {
  margin: 24px 0 0;
}

.about-cta .btn {
  display: inline-block;
}

/* Services */
.services {
  padding: 80px 0;
  background: var(--dark);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #f9f7f60d;
  border: 1px solid rgba(248, 243, 237, 0.08);
  border-radius: 8px;
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 124, 60, 0.3);
}

.service-icon {
  font-size: 40px;
  color: var(--orange);
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  margin: 0 0 12px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--cream);
}

.service-card p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: rgba(248, 243, 237, 0.75);
  line-height: 1.5;
}

.service-price {
  font-weight: 600;
  color: var(--orange);
  font-size: 0.95rem;
}

/* Gallery */
.gallery {
  padding: 80px 0;
  background: var(--white);
}

.gallery .section-subtitle {
  text-align: center;
}

.gallery .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-slider {
  margin: 0 -12px;
}

.gallery-slide {
  padding: 0 12px;
  outline: none;
}

.gallery-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Slick overrides for gallery */
.gallery .slick-prev,
.gallery .slick-next {
  width: 44px;
  height: 44px;
  z-index: 2;
}

.gallery .slick-prev { left: -12px; }
.gallery .slick-next { right: -12px; }

.gallery .slick-prev:before,
.gallery .slick-next:before {
  color: var(--primary);
  font-size: 28px;
  opacity: 1;
}

.gallery .slick-prev:hover:before,
.gallery .slick-next:hover:before {
  color: var(--orange-hover);
}

.gallery .slick-dots {
  bottom: -40px;
}

.gallery .slick-dots li button:before {
  font-size: 10px;
  color: var(--cream-dark);
  opacity: 1;
}

.gallery .slick-dots li.slick-active button:before {
  color: var(--primary);
  opacity: 1;
}

/* Business Hours */
.hours {
  padding: 80px 0;
  background: #f5f5f5;
}

.hours-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.hours-icon {
  font-size: 48px;
  color: var(--orange);
  flex-shrink: 0;
}

.hours-header .section-title {
  margin: 0;
}

.hours-table {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(46, 34, 31, 0.06);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.95rem;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row span:first-child {
  color: var(--text);
  font-weight: 500;
}

.hours-row span:last-child {
  color: var(--text-muted);
}

/* Contact */
.contact {
  padding: 80px 0;
  background: var(--cream);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.contact-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--text);
}

.contact-list li:last-child {
  margin-bottom: 0;
}

.contact-icon {
  font-size: 24px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.contact-list div {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--whitebox-shadow);
}

.contact-form h3 {
  margin: 0 0 24px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text);
}

/* Form structure: .contact-form > .ip_field > input/textarea */
.contact-form .ip_field {
  margin-bottom: 16px;
}

.contact-form .ip_field:last-of-type {
  margin-bottom: 0;
}

.contact-form .ip_field input,
.contact-form .ip_field textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.95rem;
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form .ip_field input:hover,
.contact-form .ip_field textarea:hover {
  border-color: rgba(var(--secondary-rgb), 0.3);
}

.contact-form .ip_field input:focus,
.contact-form .ip_field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.contact-form .ip_field input::placeholder,
.contact-form .ip_field textarea::placeholder {
  color: var(--text-muted);
}

.contact-form .ip_field textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .submitbtn {
  margin-top: 24px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.form-row .ip_field {
  flex: 1 1 0%;
  min-width: 0;
}

/* Footer */
.footer {
  background: var(--dark);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer .logo-text {
  font-size: 1.1rem;
}

.copyright {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(248, 243, 237, 0.7);
}

/* Fixed floating icons */
.floating-icons {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.4);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.floating-icon:hover {
  background: var(--orange-hover);
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.5);
}

.floating-icon i {
  font-size: 1.25rem;
}

.floating-icon:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.5);
}

/* Responsive */
@media (max-width: 992px) {
  .about-inner {
    flex-direction: column;
  }
  .about-inner > * {
    flex: 0 0 auto;
  }

  .about-image-wrap {
    max-width: 480px;
    margin: 0 auto;
  }

  .gallery-slide img {
    height: 220px;
  }

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

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

@media (max-width: 768px) {
  .hero {
    padding: 100px 0;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

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

  .service-cards {
    grid-template-columns: 1fr;
  }

  .form-row .ip_field {
    flex: 1 1 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .floating-icons {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }

  .floating-icon {
    width: 44px;
    height: 44px;
  }

  .floating-icon i {
    font-size: 1.1rem;
  }
}
.error {
    color: red;
    font-size: 12px;
}
input.error-border, textarea.error-border {
    border: 1px solid red;
}

<style>
.floating-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #000;
    color: #fff;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.share-box {
    position: fixed;
    bottom: 70px;
    right: 20px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.share-box a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
}

.share-box a:hover {
    background: #f2f2f2;
}

#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999;
}

.popup-inner {
    background: #fff;
    padding: 20px;
    width: 60%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* height: 90vh; */
}

.close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 20px;
}

.full-content {
    max-height: 90vh;
    overflow: auto;
}