:root {
  --bg0: #FFFFFF;
  --bg1: #F0F4FA;
  --card: #FFFFFF;
  --card2: #F7FAFF;
  --line: rgba(0, 0, 0, .08);
  --txt: #1a1a2e;
  --muted: #555770;
  --muted2: #888a9e;
  --brand: #3B82F6;
  --brand2: #1D4ED8;
  --aqua: #0891B2;
  --good: #059669;
  --warn: #D97706;
  --danger: #DC2626;

  --white: #FFFFFF;
  --soft: #F7FAFF;
  --soft2: #EEF5FF;

  --shadow: 0 18px 60px rgba(0, 0, 0, .08);
  --shadow2: 0 10px 30px rgba(0, 0, 0, .06);

  --r16: 16px;
  --r20: 20px;
  --r24: 24px;

  --max: 1180px;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

html {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  font-family: 'Kanit', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans Thai", "Helvetica Neue", Arial, sans-serif;
  color: var(--txt);
  background: #FFFFFF;
  overflow-x: hidden;
  max-width: 100vw;
}

/* ===== 3D background ornaments ===== */
.bg-3d {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.blob {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .18;
  transform: translate3d(0, 0, 0);
  background:
    radial-gradient(circle at 30% 30%, rgba(59, 130, 246, .40), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(59, 130, 246, .30), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(34, 211, 238, .20), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(29, 78, 216, .20), transparent 55%);
  animation: floaty 10s ease-in-out infinite;
}

.blob.b1 {
  top: -140px;
  left: -160px;
  animation-delay: 0s;
}

.blob.b2 {
  top: -120px;
  right: -200px;
  width: 620px;
  height: 620px;
  opacity: .12;
  animation-delay: 1.2s;
}

.blob.b3 {
  bottom: -200px;
  left: 30%;
  width: 680px;
  height: 680px;
  opacity: .10;
  animation-delay: 2.1s;
}

@keyframes floaty {

  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1)
  }

  50% {
    transform: translate3d(0, -22px, 0) scale(1.03)
  }
}

/* subtle grid */
.grid-overlay {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image:
    linear-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 20%, black 0%, transparent 60%);
}

/* ===== layout ===== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  padding: 54px 0;
}

.section.tight {
  padding: 34px 0;
}

.page-title {
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: -.02em;
}

.page-sub {
  margin: 0;
  color: var(--muted);
  line-height: 1.6
}

/* ===== topbar / nav ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(30, 58, 138, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 2px 16px rgba(0, 0, 0, .15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}

.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .60), rgba(255, 255, 255, .10)),
    linear-gradient(135deg, rgba(59, 130, 246, .95), rgba(29, 78, 216, .85));
  box-shadow: 0 10px 30px rgba(59, 130, 246, .25);
  border: 1px solid rgba(255, 255, 255, .20);
}

.brand .name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .02em;
  line-height: 1;
}

.brand .tag {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, .65);
  margin-top: 2px;
  letter-spacing: .04em;
}

.navlinks {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.navlinks a {
  color: rgba(255, 255, 255, .80);
  text-decoration: none;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: .2s ease;
}

.navlinks a:hover {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .15);
  color: #fff;
}

.navlinks a.active {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .20);
  color: #fff;
  font-weight: 700;
}

.nav-cta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: var(--soft2);
  color: var(--brand2);
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: var(--soft);
  color: var(--txt);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: .2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
}

.btn.primary {
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
  border-color: transparent;
  color: #fff;
}

.btn.light {
  background: var(--soft2);
  border-color: rgba(0, 0, 0, .08);
}

.btn.success {
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff;
  border-color: transparent;
}

.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  fill: currentColor;
  opacity: .95;
}

/* ===== hero banner ===== */
.hero-banner {
  padding: 28px 0 10px;
}

.banner-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .50);
  min-height: 420px;
}

/* Background image */
.banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 11, 24, .92) 0%, rgba(6, 11, 24, .78) 40%, rgba(6, 11, 24, .55) 60%, rgba(6, 11, 24, .40) 100%),
    linear-gradient(180deg, rgba(6, 11, 24, .25) 0%, rgba(6, 11, 24, .60) 100%),
    radial-gradient(800px 400px at 20% 50%, rgba(59, 130, 246, .18), transparent 60%);
}

/* Animated accent lines */
.banner-accents {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.accent-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, .5), rgba(34, 211, 238, .4), transparent);
  animation: shimmer 4s ease-in-out infinite;
}

.accent-line.a1 {
  top: 25%;
  left: 0;
  right: 0;
  animation-delay: 0s;
}

.accent-line.a2 {
  bottom: 30%;
  left: 0;
  right: 0;
  animation-delay: 2s;
}

.accent-orb {
  position: absolute;
  top: 10%;
  right: 18%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .15), transparent 70%);
  filter: blur(40px);
  animation: pulse-orb 5s ease-in-out infinite;
}

@keyframes shimmer {

  0%,
  100% {
    opacity: .3;
    transform: scaleX(.7);
  }

  50% {
    opacity: .8;
    transform: scaleX(1);
  }
}

@keyframes pulse-orb {

  0%,
  100% {
    transform: scale(1);
    opacity: .5;
  }

  50% {
    transform: scale(1.15);
    opacity: .8;
  }
}

/* Banner content grid */
.banner-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  padding: 44px 32px 36px;
}

/* Banner text */
.banner-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  width: fit-content;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge.glow {
  box-shadow: 0 0 12px rgba(59, 130, 246, .4);
  border-color: rgba(59, 130, 246, .4);
  background: rgba(59, 130, 246, .2);
  animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {

  0%,
  100% {
    box-shadow: 0 0 12px rgba(59, 130, 246, .3);
  }

  50% {
    box-shadow: 0 0 20px rgba(59, 130, 246, .6);
  }
}

.banner-h1 {
  margin: 18px 0 14px;
  font-size: 44px;
  letter-spacing: -.03em;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.banner-h1 .brand-name {
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(59, 130, 246, .3);
}

.banner-h1 .gradient-text {
  background: linear-gradient(90deg, #EAF2FF, #BFD9FF, #7DD3FC, #22D3EE);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  background-size: 200% 100%;
  animation: gradient-flow 4s ease-in-out infinite;
}

@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.banner-h1 .sub-text {
  font-size: 40px;
  font-weight: 700;
  color: rgba(255, 255, 255, .90);
}

.banner-lead {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
  max-width: 52ch;
}

.banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.pulse-btn {
  animation: pulse-shadow 2.5s ease-in-out infinite;
}

@keyframes pulse-shadow {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(59, 130, 246, .3);
  }

  50% {
    box-shadow: 0 8px 35px rgba(59, 130, 246, .55);
  }
}

/* Trust items */
.banner-trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.trust-icon {
  font-size: 14px;
}

/* Banner card (right side) */
.banner-card {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(10, 20, 49, .60);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .40);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: center;
}

.banner-card .card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
  font-size: 12px;
  color: rgba(255, 255, 255, .86);
}

.badge.good {
  border-color: rgba(16, 185, 129, .28);
  background: rgba(16, 185, 129, .12);
}

/* ===== Intro Section ===== */
.intro-block {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.intro-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .06em;
  margin-bottom: 10px;
}

.intro-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 20px;
  color: var(--txt);
}

.intro-title span {
  background: linear-gradient(135deg, var(--brand), var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro-content {
  text-align: left;
  max-width: 760px;
  margin: 0 auto;
}

.intro-content p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 15px;
  margin: 0 0 14px;
}

.intro-content strong {
  color: var(--txt);
  font-weight: 700;
}

.intro-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.highlight-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
  font-size: 14px;
  font-weight: 600;
  color: var(--txt);
  transition: .25s ease;
}

.highlight-item:hover {
  border-color: rgba(59, 130, 246, .18);
  box-shadow: 0 6px 24px rgba(59, 130, 246, .08);
  transform: translateY(-2px);
}

.highlight-icon {
  font-size: 20px;
}

@media (max-width: 980px) {
  .intro-highlights {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-title {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .intro-highlights {
    grid-template-columns: 1fr;
  }

  .intro-title {
    font-size: 24px;
  }
}

/* ===== Photo Gallery ===== */
.gallery-header {
  text-align: center;
  margin-bottom: 28px;
}

#gallerySection {
  padding-left: 0;
  padding-right: 0;
}

#gallerySection .container {
  max-width: 100%;
  padding: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  transition: .3s ease;
  background: #fff;
}

.gallery-item:hover {
  transform: scale(1.03);
  z-index: 2;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .15);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 980px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }

  .gallery-item {
    border-radius: 0;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .gallery-item {
    border-radius: 0;
  }
}

/* Mobile-only line break */
.mobile-br {
  display: none;
}

@media (max-width: 768px) {
  .mobile-br {
    display: block;
  }
}

/* ===== Slide-in Animations ===== */
.slide-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity .7s ease, transform .7s ease;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity .7s ease, transform .7s ease;
}

.slide-in-left.visible,
.slide-in-right.visible,
.slide-in-up.visible {
  opacity: 1;
  transform: translate(0);
}

.slide-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--delay, 0s);
}

/* ===== About Us Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* about-img styles defined in updated About section below */

.about-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--aqua);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--white);
}

.about-desc {
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
  margin: 0;
}

.about-skills {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.skill-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-radius: 0;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--txt);
  transition: .25s ease;
}

.skill-badge:hover {
  transform: translateX(4px);
}

.skill-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(59, 130, 246, .10);
  border: 1px solid rgba(59, 130, 246, .15);
  flex-shrink: 0;
  transition: .25s ease;
}

.skill-badge:hover .skill-check {
  background: rgba(59, 130, 246, .18);
  border-color: rgba(59, 130, 246, .30);
  box-shadow: 0 4px 16px rgba(59, 130, 246, .15);
}

.about-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* about responsive styles defined in updated About section below */

/* ===== Page Banner (Subpages) ===== */
.page-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.page-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Image Banner Slider ===== */
.slider-section {
  padding: 0;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.slider-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(10, 20, 49, .50);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .40);
  width: 100%;
}

.slider-wrapper.fullwidth {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .30);
}

.slider-track {
  display: flex;
  width: 100%;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.slider-slide {
  width: 100%;
  min-width: 100%;
  flex: 0 0 100%;
}

.slider-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(10, 20, 49, .60);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .25s ease;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.slider-arrow:hover {
  background: rgba(59, 130, 246, .35);
  border-color: rgba(59, 130, 246, .4);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 30px rgba(59, 130, 246, .25);
}

.slider-prev {
  left: 14px;
}

.slider-next {
  right: 14px;
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 20, 49, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .10);
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .15);
  cursor: pointer;
  padding: 0;
  transition: .3s ease;
}

.slider-dots .dot.active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59, 130, 246, .90), rgba(34, 211, 238, .80));
  border-color: rgba(59, 130, 246, .5);
  box-shadow: 0 0 10px rgba(59, 130, 246, .4);
}

@media (max-width: 980px) {
  .slider-section {
    overflow: hidden;
    max-width: 100vw;
  }

  .slider-wrapper,
  .slider-wrapper.fullwidth {
    border-radius: 0;
    border: none;
    background: none;
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  .slider-section {
    padding: 0;
    margin: 0;
    max-width: 100vw;
    width: 100%;
    overflow: hidden;
  }

  .slider-wrapper,
  .slider-wrapper.fullwidth {
    border-radius: 0;
    border: none;
    background: none;
    box-shadow: none;
    overflow: hidden;
    width: 100%;
  }

  .slider-track {
    width: 100%;
  }

  .slider-slide {
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
  }

  .slider-slide img {
    width: 100%;
    height: auto;
    display: block;
  }

  .slider-arrow {
    display: flex;
    width: 32px;
    height: 32px;
  }

  .slider-dots {
    display: flex;
  }
}

/* Steps grid */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.step-tile {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .05);
  transition: .25s ease;
}

.step-tile:hover {
  background: rgba(59, 130, 246, .10);
  border-color: rgba(59, 130, 246, .22);
  transform: translateY(-2px);
}

.step-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(59, 130, 246, .85), rgba(29, 78, 216, .85));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(59, 130, 246, .3);
}

.step-tile b {
  display: block;
  font-size: 13px;
}

.step-tile small {
  color: var(--muted2);
  font-size: 12px;
}

/* Progress section */
.progress-section {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .05);
}

.progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.progress-pct {
  font-size: 13px;
  font-weight: 800;
  color: var(--aqua);
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
  margin-top: 10px;
}

.bar>div {
  height: 100%;
  width: 72%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59, 130, 246, .95), rgba(34, 211, 238, .75));
  position: relative;
  animation: bar-fill 1.5s ease-out;
}

@keyframes bar-fill {
  from {
    width: 0;
  }

  to {
    width: 72%;
  }
}

/* Card CTA */
.card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, .90), rgba(29, 78, 216, .90));
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  transition: .25s ease;
}

.card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, .35);
}

/* Floating stats */
.floating-stats {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0 24px 20px;
  margin-top: -10px;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 24px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
  transition: .25s ease;
}

.stat-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, .3);
  box-shadow: 0 12px 40px rgba(59, 130, 246, .15);
}

.stat-number {
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 12px;
  color: var(--muted2);
}

/* ===== cards / grids ===== */
.grid {
  display: grid;
  gap: 14px;
}

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

.grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.card.glass {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.hr {
  height: 1px;
  background: rgba(0, 0, 0, .08);
  margin: 14px 0;
  border: 0;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: var(--soft);
  color: var(--txt);
  font-size: 12px;
}

.chip.blue {
  border-color: rgba(59, 130, 246, .22);
  background: rgba(59, 130, 246, .08);
  color: var(--brand2);
}

.chip.green {
  border-color: rgba(5, 150, 105, .22);
  background: rgba(5, 150, 105, .08);
  color: var(--good);
}

.chip.gray {
  border-color: rgba(0, 0, 0, .08);
  background: var(--soft);
}

.card-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.price {
  font-weight: 900;
  letter-spacing: -.02em;
}

.price small {
  font-weight: 600;
  color: var(--muted2);
  margin-left: 6px;
}

/* ===== filter sidebar ===== */
.layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
}

.sidebar {
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow2);
  height: fit-content;
  position: sticky;
  top: 84px;
}

.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.side-head h3 {
  margin: 0;
  font-size: 16px;
}

.side-head button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.field {
  margin-top: 12px;
}

label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.select,
.input,
.textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: var(--soft);
  color: var(--txt);
  outline: none;
}

.select option {
  background: #fff;
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ===== list ===== */
.list {
  display: grid;
  gap: 10px;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: var(--soft);
}

/* ===== footer ===== */
.footer {
  padding: 34px 0 44px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  margin-top: 30px;
  background: var(--soft);
}

.footgrid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}

.footgrid a {
  color: var(--muted);
  text-decoration: none;
  display: block;
  padding: 8px 0;
}

.footgrid a:hover {
  color: var(--brand);
}

.copy {
  margin-top: 18px;
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.6;
}

/* ===== cart drawer ===== */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 92vw;
  height: 100%;
  background: #fff;
  border-left: 1px solid rgba(0, 0, 0, .08);
  box-shadow: -18px 0 60px rgba(0, 0, 0, .10);
  transform: translateX(105%);
  transition: .22s ease;
  z-index: 60;
  display: flex;
  flex-direction: column;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.drawer-body {
  padding: 14px 16px;
  overflow: auto;
  flex: 1;
}

.drawer-foot {
  padding: 14px 16px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  background: var(--soft);
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: var(--soft);
  margin-bottom: 10px;
}

.cart-item b {
  font-size: 14px;
}

.cart-item small {
  color: var(--muted2);
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty button {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: var(--soft);
  color: var(--txt);
  cursor: pointer;
}

.total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--txt);
}

/* ===== responsive ===== */
.burger {
  display: none;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: .2s ease;
  min-width: 40px;
  height: 40px;
}

.burger:hover {
  background: rgba(255, 255, 255, .20);
}

.burger svg {
  display: block;
}

@media (max-width: 980px) {
  .banner-content {
    grid-template-columns: 1fr;
    padding: 28px 18px;
  }

  .banner-h1 {
    font-size: 36px;
  }

  .banner-h1 .brand-name {
    font-size: 40px;
  }

  .banner-h1 .sub-text {
    font-size: 32px;
  }

  .banner-card {
    max-width: 500px;
  }

  .floating-stats {
    flex-wrap: wrap;
  }

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

  .sidebar {
    position: relative;
    top: auto;
  }

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

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

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

  .navlinks {
    display: none !important;
  }

  .burger {
    display: flex !important;
  }
}

@media (max-width: 640px) {
  .grid.cols-3,
  .grid.cols-4 {
    grid-template-columns: 1fr;
  }

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

  .banner-h1 {
    font-size: 28px;
  }

  .banner-h1 .brand-name {
    font-size: 32px;
  }

  .banner-h1 .sub-text {
    font-size: 26px;
  }

  .banner-lead {
    font-size: 14px;
  }

  .banner-content {
    padding: 22px 16px;
  }

  .banner-wrap {
    min-height: auto;
  }

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

  .floating-stats {
    gap: 8px;
    padding: 0 16px 16px;
  }

  .stat-pill {
    padding: 10px 16px;
  }

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

  .banner-overlay {
    background:
      linear-gradient(180deg, rgba(6, 11, 24, .85) 0%, rgba(6, 11, 24, .92) 100%),
      radial-gradient(600px 300px at 50% 50%, rgba(59, 130, 246, .15), transparent 60%);
  }
}

/* ===== mobile menu ===== */
.mmenu {
  display: none;
  padding: 10px 0 14px;
  background: rgba(30, 58, 138, .97);
  border-radius: 16px;
  margin-top: 6px;
  overflow: hidden;
  animation: mmenuSlide .25s ease;
}

@keyframes mmenuSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mmenu.open {
  display: block;
}

.mmenu a {
  display: block;
  padding: 13px 18px;
  border-radius: 0;
  text-decoration: none;
  color: rgba(255, 255, 255, .75);
  border: none;
  border-left: 3px solid transparent;
  background: transparent;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s ease;
}

.mmenu a:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.mmenu a.active {
  color: #fff;
  font-weight: 700;
  border-left-color: #60A5FA;
  background: rgba(255, 255, 255, .08);
}

/* utility */
.right {
  margin-left: auto;
}

.small {
  font-size: 13px;
  color: var(--muted2);
}

/* ===== Standards Section ===== */
.standards-block {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.standards-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 8px;
  color: #1a3060;
}

.standards-title span {
  background: linear-gradient(135deg, var(--brand), var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.standards-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 40px;
}

.standards-subtitle span {
  color: var(--brand2);
  font-weight: 700;
}




/* ===== Montessori Section ===== */
.montessori-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.montessori-img-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
  border: 1px solid rgba(0, 0, 0, .06);
}

.montessori-img.montessori-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .8s ease;
}

.montessori-img.montessori-slide:first-child {
  position: relative;
}

.montessori-img.montessori-slide.active {
  opacity: 1;
  z-index: 1;
}

.montessori-img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
  border: 1px solid rgba(0, 0, 0, .06);
}

.montessori-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.montessori-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .04em;
}

.montessori-title {
  font-size: clamp(18px, 5vw, 34px);
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
  color: #1a3060;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.montessori-desc {
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
  margin: 0;
}

.montessori-desc strong {
  color: var(--brand2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.montessori-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

.mont-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
  transition: .3s ease;
}

.mont-card:hover {
  border-color: rgba(59, 130, 246, .15);
  box-shadow: 0 8px 28px rgba(59, 130, 246, .08);
  transform: translateY(-2px);
}

.mont-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mont-icon.blue {
  background: linear-gradient(135deg, #3B82F6, #60A5FA);
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, .20);
}

.mont-card b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1a3060;
  margin-bottom: 4px;
}

.mont-card small {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  display: block;
}

@media (max-width: 980px) {
  .montessori-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .montessori-img-wrap {
    max-width: 600px;
    margin: 0 auto;
    height: auto;
  }

}

@media (max-width: 640px) {
  .montessori-features {
    grid-template-columns: 1fr;
  }

}

/* ===== Parent Reviews Section ===== */
.reviews-header {
  text-align: center;
  margin-bottom: 32px;
}

.reviews-main-title {
  font-size: 34px;
  font-weight: 800;
  color: #1a3060;
  margin: 0 0 8px;
}

.reviews-wave {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.reviews-subtitle {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.reviews-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* Google rating card */
.google-rating-card {
  min-width: 180px;
  max-width: 180px;
  padding: 24px 20px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.rating-excellent {
  font-size: 16px;
  font-weight: 800;
  color: #1a3060;
  letter-spacing: .06em;
}

.rating-stars {
  display: flex;
  gap: 2px;
}

.rating-stars .star {
  font-size: 22px;
  color: #F59E0B;
}

.rating-based {
  font-size: 12px;
  color: var(--muted);
}

.rating-based b {
  color: var(--txt);
}

.google-logo {
  margin-top: 4px;
}

/* Reviews slider — continuous auto-scroll */
.reviews-slider-wrap {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.reviews-track {
  display: flex;
  gap: 16px;
  animation: reviewsMarquee 30s linear infinite;
  will-change: transform;
  width: max-content;
}

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

@keyframes reviewsMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.review-card {
  min-width: 280px;
  max-width: 280px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
  flex-shrink: 0;
  transition: .3s ease;
}

.review-card:hover {
  border-color: rgba(59, 130, 246, .15);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-avatar.initial-r {
  background: #E91E63;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.review-avatar.initial-b {
  background: #3B82F6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.review-info {
  flex: 1;
  min-width: 0;
}

.review-info b {
  display: block;
  font-size: 13px;
  color: var(--txt);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-info small {
  font-size: 11px;
  color: var(--muted2);
}

.g-icon {
  flex-shrink: 0;
}

.review-stars {
  font-size: 16px;
  color: #F59E0B;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.review-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Review arrow */
.review-arrow {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .10);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: .25s ease;
  z-index: 3;
}

.review-arrow:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 6px 20px rgba(59, 130, 246, .25);
}

@media (max-width: 980px) {
  .reviews-main-title {
    font-size: 28px;
  }

  .reviews-layout {
    flex-direction: column;
    align-items: center;
  }

  .google-rating-card {
    max-width: 240px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .review-card {
    min-width: 250px;
    max-width: 250px;
  }
}

@media (max-width: 640px) {
  .reviews-main-title {
    font-size: 24px;
  }

  .reviews-track {
    gap: 12px;
  }

  .review-card {
    min-width: 260px;
    max-width: 260px;
  }
}

/* ===== Wave Banner Section ===== */
.wave-banner-section {
  position: relative;
  margin: 40px 0 0;
}

.wave-top,
.wave-bottom {
  display: block;
  line-height: 0;
}

.wave-top svg,
.wave-bottom svg {
  width: 100%;
  height: 80px;
  display: block;
}

.wave-banner-content {
  background: #1E3A8A;
  padding: 40px 0;
}

.wave-banner-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.wave-banner-text {
  flex: 1;
}

.wave-banner-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.3;
}

.wave-banner-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, .85);
  margin: 0 0 24px;
}

.wave-banner-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.wb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: .3s ease;
}

.wb-btn.line {
  background: #06C755;
  color: #fff;
  box-shadow: 0 4px 16px rgba(6, 199, 85, .30);
}

.wb-btn.line:hover {
  background: #05a647;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 199, 85, .40);
}

.wb-btn.fb {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .30);
  backdrop-filter: blur(4px);
}

.wb-btn.fb:hover {
  background: rgba(255, 255, 255, .25);
  transform: translateY(-2px);
}

.wave-banner-img {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 5px solid rgba(255, 255, 255, .60);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .20);
  transform: rotate(3deg);
  transition: .4s ease;
}

.wave-banner-img:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 20px 56px rgba(0, 0, 0, .25);
}

.wave-banner-img img.wb-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  opacity: 0;
  transition: opacity .8s ease;
}

.wave-banner-img img.wb-slide.active {
  opacity: 1;
}

.wave-banner-img img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

@media (max-width: 980px) {
  .wave-banner-grid {
    flex-direction: column;
    text-align: center;
  }

  .wave-banner-text h2 {
    font-size: 26px;
  }

  .wave-banner-btns {
    justify-content: center;
  }

  .wave-banner-img {
    width: 260px;
    height: 260px;
  }
}

@media (max-width: 640px) {
  .wave-banner-text h2 {
    font-size: 22px;
  }

  .wave-banner-img {
    width: 220px;
    height: 220px;
  }

  .wave-top svg,
  .wave-bottom svg {
    height: 50px;
  }
}

/* ===== Footer New ===== */
.footer-new {
  background: #1E3A8A;
  padding: 56px 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fl-icon {
  font-size: 36px;
}

.fl-name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.fl-sub {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .08em;
  font-weight: 600;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.7;
  margin: 0;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  background: rgba(255, 255, 255, .10);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: none;
  transition: .25s ease;
  width: fit-content;
}

.footer-phone:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
  transform: translateY(-1px);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: .25s ease;
}

.social-circle:hover {
  background: rgba(255, 255, 255, .25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, .12);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, .12);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  font-size: 14px;
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: .2s ease;
  padding: 4px 0;
}

.footer-links li a::before {
  content: '›';
  font-size: 20px;
  color: rgba(255, 255, 255, .50);
  font-weight: 700;
  line-height: 1;
}

.footer-links li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .10);
  text-align: center;
}

.footer-bottom .copy {
  font-size: 14px;
  color: rgba(255, 255, 255, .45);
}

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}


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

/* ===== Branches Section ===== */
.branches-header {
  text-align: center;
  margin-bottom: 36px;
}

.branches-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .04em;
  display: block;
  margin-bottom: 6px;
}

.branches-title {
  font-size: 34px;
  font-weight: 800;
  color: #1a3060;
  margin: 0 0 8px;
}

.branches-subtitle {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.branches-subtitle b {
  color: var(--brand2);
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.branch-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 22px;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: .3s ease;
}

.branch-card:hover {
  border-color: rgba(59, 130, 246, .15);
  box-shadow: 0 12px 36px rgba(59, 130, 246, .08);
  transform: translateY(-4px);
}

.branch-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E3A8A, #2563EB);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(30, 58, 138, .25);
}

.branch-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a3060;
  margin: 4px 0 0;
}

.branch-area {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.branch-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(59, 130, 246, .20);
  background: rgba(59, 130, 246, .05);
  transition: .25s ease;
  margin-top: 4px;
}

.branch-map-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 4px 12px rgba(59, 130, 246, .25);
}

@media (max-width: 980px) {
  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .branches-title {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .branches-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .branches-title {
    font-size: 24px;
  }
}

/* ===== Brand Logo Image ===== */
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo-img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ===== About Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

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

.about-img-slider {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .10);
  z-index: 2;
}

.about-img.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.about-img.slide:first-child {
  position: relative;
}

.about-img.slide.active {
  opacity: 1;
  z-index: 1;
}

.about-img {
  width: 100%;
  border-radius: 20px;
  display: block;
  object-fit: cover;
}

.about-img-accent {
  position: absolute;
  bottom: -14px;
  left: -14px;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, .15), rgba(59, 130, 246, .08));
  z-index: 1;
}

.about-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.about-title {
  font-size: 26px;
  font-weight: 800;
  color: #1a3060;
  line-height: 1.35;
  margin: 0 0 16px;
}

.about-desc {
  font-size: 15px;
  color: #5a6a7a;
  line-height: 1.75;
  margin: 0 0 20px;
}

.about-skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.skill-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1a3060;
  padding: 8px 14px;
  background: rgba(16, 185, 129, .06);
  border-radius: 10px;
  border: 1px solid rgba(16, 185, 129, .12);
}

.about-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-img-wrap {
    max-width: 420px;
    margin: 0 auto;
  }

  .about-title {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .about-img-accent {
    bottom: -8px;
    left: -8px;
  }

  .about-skills {
    grid-template-columns: 1fr;
  }
}

/* ===== Standards Section ===== */
#standardsSection {
  background: linear-gradient(180deg, #f0f4f8, #fff);
}

.standards-block {
  text-align: center;
}

.standards-title {
  font-size: 28px;
  font-weight: 800;
  color: #1a3060;
  margin: 0 0 8px;
}

.standards-title span {
  color: var(--brand);
}

.standards-subtitle {
  font-size: 15px;
  color: #5a6a7a;
  margin: 0 0 36px;
}

.standards-subtitle span {
  font-weight: 700;
  color: var(--brand);
}

.standards-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .standards-title {
    font-size: 22px;
  }

  .standards-features {
    gap: 24px;
  }
}

/* ===== Intro Section ===== */
#introSection {
  background: #f8fafc;
  border-top: 1px solid rgba(0, 0, 0, .04);
}

.intro-block {
  max-width: 900px;
  margin: 0 auto;
}

.intro-title {
  font-size: 30px;
  font-weight: 800;
  color: #1a3060;
  text-align: center;
  margin: 0 0 20px;
}

.intro-title span {
  color: var(--brand);
}

.intro-content {
  margin-bottom: 28px;
}

.intro-content p {
  font-size: 15px;
  color: #5a6a7a;
  line-height: 1.8;
  margin: 0 0 12px;
}

.intro-content strong {
  color: #1a3060;
}

.intro-highlights {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hl-ios {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: .3s ease;
  cursor: default;
}

.hl-ios:hover {
  transform: translateY(-4px);
}

.hl-ios-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: .3s ease;
}

.hl-ios:hover .hl-ios-icon {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
  transform: scale(1.06);
}

.grad-blue {
  background: linear-gradient(145deg, #3B82F6, #1D4ED8);
  box-shadow: 0 6px 18px rgba(29, 78, 216, .30);
}

.grad-blue-light {
  background: linear-gradient(145deg, #3B82F6, #1D4ED8);
  box-shadow: 0 6px 18px rgba(29, 78, 216, .30);
}

.grad-blue-dark {
  background: linear-gradient(145deg, #3B82F6, #1D4ED8);
  box-shadow: 0 6px 18px rgba(29, 78, 216, .30);
}

.grad-blue-deep {
  background: linear-gradient(145deg, #3B82F6, #1D4ED8);
  box-shadow: 0 6px 18px rgba(29, 78, 216, .30);
}

.hl-ios-label {
  font-size: 14px;
  font-weight: 700;
  color: #1a3060;
  text-align: left;
  white-space: normal;
}

@media (max-width: 980px) {
  .intro-highlights {
    gap: 28px;
  }

  .intro-title {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  .intro-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
  }

  .intro-title {
    font-size: 22px;
  }

  .hl-ios-label {
    white-space: normal;
    font-size: 13px;
  }
}

/* ===== Banner Slider ===== */
.slider-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.slider-wrapper.fullwidth {
  max-width: 100%;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.slider-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.slider-slide img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  display: block;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .85);
  color: #1a3060;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
  transition: .25s ease;
}

.slider-arrow:hover {
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
  transform: translateY(-50%) scale(1.08);
}

.slider-prev {
  left: 16px;
}

.slider-next {
  right: 16px;
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: .25s ease;
  padding: 0;
}

.slider-dots .dot.active {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .20);
}

@media (max-width: 980px) {
  .slider-slide img {
    height: 60vh;
  }
}

@media (max-width: 640px) {
  .slider-slide img {
    width: 100vw;
    height: auto;
    display: block;
    object-fit: contain;
  }

  .slider-arrow {
    display: flex;
    width: 32px;
    height: 32px;
  }

  .slider-dots {
    display: flex;
  }
}

/* ===== Montessori Section ===== */
.montessori-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.montessori-img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  display: block;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .10);
  object-fit: cover;
}

.montessori-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.montessori-title {
  font-size: clamp(18px, 5vw, 26px);
  font-weight: 800;
  color: #1a3060;
  line-height: 1.4;
  margin: 0 0 14px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.montessori-desc {
  font-size: 14px;
  color: #5a6a7a;
  line-height: 1.7;
  margin: 0 0 20px;
}

.montessori-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mont-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, .04);
}

.mont-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.mont-icon.blue {
  background: linear-gradient(145deg, #45b56a, #50C878);
  box-shadow: 0 4px 12px rgba(80, 200, 120, .25);
}

.mont-card b {
  font-size: 13px;
  color: #1a3060;
  display: block;
  margin-bottom: 4px;
}

.mont-card small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .montessori-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .montessori-img-wrap {
    max-width: 420px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .montessori-features {
    grid-template-columns: 1fr;
  }

  .mont-card {
    padding: 12px;
  }

  .mont-card b {
    font-size: 12px;
  }

  .mont-card small {
    font-size: 11px;
  }
}

/* ===== Global Responsive (All Devices) ===== */

/* Box-sizing for all elements */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent horizontal overflow on all devices */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Prevent text overflow globally */
h1, h2, h3, h4, h5, h6,
p, li, td, th, a, span, label, b, strong, em, small {
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: break-word;
}

/* Grid/flex children must not exceed parent */
.container > *,
.montessori-grid > *,
.montessori-content > * {
  min-width: 0;
  max-width: 100%;
}

/* All images and media scale down */
img,
video,
iframe,
embed,
object {
  max-width: 100%;
}

/* Page banner always fits screen */
.page-banner {
  max-width: 100vw;
}

/* ── Tablet (max 980px) ── */
@media (max-width: 980px) {

  /* Footer new layout */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Wave banner */
  .wave-banner-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .wave-banner-btns {
    justify-content: center;
  }

  .wave-banner-img {
    max-width: 300px;
    height: 300px;
    margin: 0 auto;
  }

  /* Reviews slider */
  .reviews-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .google-rating-card {
    max-width: 360px;
    margin: 0 auto;
  }

  /* Branches grid */
  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Standards features */
  .standards-features {
    grid-template-columns: repeat(3, 1fr);
  }

  .standards-title {
    font-size: 28px;
  }

  /* Section padding reduce */
  .section {
    padding: 38px 0;
  }
}

/* ── Mobile (max 640px) ── */
@media (max-width: 640px) {

  /* Container padding */
  .container {
    padding: 0 14px;
  }

  /* Section padding reduce */
  .section {
    padding: 28px 0;
  }

  .section.tight {
    padding: 20px 0;
  }

  .page-title {
    font-size: 26px;
  }

  /* Nav brand responsive */
  .brand .name {
    font-size: 14px;
  }

  .brand .tag {
    font-size: 10px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  /* Footer new mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }

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

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

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

  /* Wave banner mobile */
  .wave-banner-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .wave-banner-text h2 {
    font-size: 22px;
  }

  .wave-banner-btns {
    justify-content: center;
    flex-wrap: wrap;
  }

  .wave-banner-img {
    max-width: 220px;
    height: 220px;
  }

  /* Branches */
  .branches-grid {
    grid-template-columns: 1fr;
  }

  .branch-card .branch-name {
    font-size: 14px;
  }

  /* Standards */
  .standards-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .standards-title {
    font-size: 22px;
  }

  /* Reviews scroll */
  .review-card {
    min-width: 260px;
  }

  /* Prevent text overflow on mobile */
  .banner-h1,
  .intro-title,
  .about-title,
  .standards-title,
  .montessori-title,
  .reviews-main-title,
  .wave-banner-text h2,
  .page-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .intro-title {
    font-size: 24px;
  }

  .about-title {
    font-size: 24px;
  }

  /* Floating stats prevent overflow */
  .floating-stats {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .stat-pill {
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
  }

  /* Ensure review card name doesn't overflow */
  .review-info span {
    white-space: normal;
    overflow-wrap: break-word;
  }

  /* Banner lead text fit */
  .banner-lead {
    max-width: 100%;
  }

  /* Banner actions wrap */
  .banner-actions {
    flex-wrap: wrap;
  }
}

/* ===== Mobile-only line break ===== */
.mobile-br {
  display: none;
}

@media (max-width: 768px) {
  .mobile-br {
    display: block;
  }
}