:root {
  --cream: #F0F4FF;
  --ink: #2C3E50;
  --olive: #7B9EBF;
  --olive-dark: #5A82A0;
  --line: rgba(26, 26, 26, 0.13);
  --muted: #5a6a7a;
  --white: #fffdf8;
  --red: #c9362f;
  --whatsapp: #25d366;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lato", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 248, 243, 0.96);
  backdrop-filter: blur(12px);
  transition: box-shadow 300ms ease, background 300ms ease, transform 300ms ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.07);
  background: rgba(250, 248, 243, 0.99);
}

.navbar {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand-logo {
  width: auto;
  height: 58px;
  object-fit: contain;
}

.site-footer .brand-logo {
  height: 82px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid var(--olive);
  border-radius: 50%;
  color: var(--olive);
  font-family: "Playfair Display", serif;
  font-size: 1.02rem;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text small {
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--olive);
  border-radius: var(--radius);
  background: transparent;
  color: var(--olive);
  font-weight: 900;
  line-height: 1.15;
  cursor: pointer;
  transition: all 300ms ease;
}

.btn.primary {
  background: var(--olive);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(107, 124, 92, 0.18);
}

.btn.primary:hover {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(107, 124, 92, 0.22);
}

.btn.outline:hover {
  background: rgba(107, 124, 92, 0.1);
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 54px 0;
}

.hero {
  padding: 56px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 36px;
}

.hero-carousel {
  display: grid;
  height: 100%;
  min-height: 340px;
}

.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide .hero-actions {
  margin-top: 18px;
}

.hero.full {
  min-height: 360px;
  display: grid;
  align-items: end;
  color: var(--white);
  background-position: center;
  background-size: cover;
  position: relative;
}

.hero.full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.48);
}

.hero.full .container {
  position: relative;
  padding-bottom: 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--olive);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero.full .eyebrow {
  color: #eef4e8;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 740px;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

.lead {
  max-width: 690px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero.full .lead {
  color: rgba(255, 253, 248, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.hero-image,
.feature-image {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.hero-image img,
.feature-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.ticker {
  overflow: hidden;
  background: var(--olive);
  color: var(--white);
}

.ticker-track {
  width: max-content;
  display: flex;
  gap: 38px;
  padding: 11px 0;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: ticker 28s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 14px;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat {
  padding: 20px;
  background: var(--cream);
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--olive);
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  line-height: 1;
}

.proof-line {
  margin-top: 16px;
  color: var(--olive-dark);
  font-weight: 900;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.trust-item {
  padding: 18px;
  background: var(--white);
}

.trust-item strong {
  display: block;
  color: var(--olive-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.trust-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 22px;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

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

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

.card,
.form-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(26, 26, 26, 0.04);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.card {
  padding: 20px;
}

.founder-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(28px, 4vw, 54px);
}

.founder-note h2 {
  max-width: 780px;
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.program-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(107, 124, 92, 0.35);
  border-radius: 50%;
  color: var(--olive);
  font-weight: 900;
}

.program-icon img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: brightness(0.95);
}

.card p {
  margin: 8px 0 0;
  color: var(--muted);
}

#programs .card {
  background: #1e1e2e;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

#programs .card p,
#programs .card .text-link,
#programs .card h3 {
  color: #fff;
}

#programs .card .program-icon {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

#programs .card .program-icon img {
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--olive);
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 14px 13px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--olive);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.tab-btn {
  min-width: 118px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.tab-btn.active {
  border-color: var(--olive);
  background: var(--olive);
  color: var(--white);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
}

.stars {
  color: var(--olive);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.quote {
  font-family: "Playfair Display", serif;
  font-size: 1.18rem;
  color: var(--ink);
}

.person {
  margin-top: 18px;
  font-weight: 900;
}

.review-meta {
  display: inline-flex;
  margin-top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(107, 124, 92, 0.11);
  color: var(--olive-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.cta {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--olive);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta p {
  max-width: 650px;
  margin: 12px 0 0;
  color: rgba(255, 253, 248, 0.88);
}

.cta .btn {
  flex: 0 0 auto;
  border-color: var(--white);
  background: var(--white);
  color: var(--olive);
}

.cta .btn.outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta .btn.outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.step {
  counter-increment: steps;
}

.steps {
  counter-reset: steps;
}

.step::before {
  content: "0" counter(steps);
  display: block;
  margin-bottom: 18px;
  color: var(--olive);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 38px;
  align-items: start;
}

.form-panel {
  padding: 24px;
}

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

.field.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 2px 4px rgba(26,26,26,0.02);
  transition: all 300ms ease;
}

::placeholder {
  color: rgba(98, 96, 90, 0.66);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(107, 124, 92, 0.28);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 4px rgba(107, 124, 92, 0.14);
}

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

.site-footer {
  margin-top: 18px;
  padding: 42px 0 24px;
  border-top: 1px solid var(--line);
  background: #f4f0e8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1.15fr 0.7fr;
  gap: 24px;
}

.footer-title {
  margin: 0 0 14px;
  font-weight: 900;
}

.footer-links {
  display: grid;
  gap: 9px;
}

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

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--olive);
  border-radius: 50%;
  color: var(--olive);
  font-weight: 900;
}

.copyright {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.float-btn {
  position: fixed;
  z-index: 60;
  bottom: 22px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
}

.float-btn svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.float-btn.whatsapp {
  left: 22px;
  background: var(--whatsapp);
}

.float-btn.call {
  right: 22px;
  background: var(--red);
  bottom: 92px;
}

.fade-section, .fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 760ms cubic-bezier(0.25, 1, 0.5, 1), transform 760ms cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-section.in-view, .fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

.map-placeholder {
  min-height: 170px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #efe9de;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.founder-photo {
  width: 140px;
  height: 140px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #efe9de;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
}

.gallery-item {
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.gallery-item.featured {
  grid-row: span 2;
  min-height: 456px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.map-embed {
  overflow: hidden;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #efe9de;
}

.map-embed iframe {
  width: 100%;
  height: 260px;
  display: block;
  border: 0;
}

.timeline {
  display: grid;
  gap: 18px;
  border-left: 2px solid var(--olive);
  padding-left: 24px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--olive);
}

.stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--olive);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.stars-display {
  display: inline-block;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 2px;
  color: #D4A017;
  animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

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

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(107, 124, 92, 0.05);
  color: var(--olive-dark);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.google-logo {
  font-size: 12px;
  font-weight: 900;
  color: #D4A017;
}

.quote {
  margin: 8px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.14rem;
  color: var(--ink);
}

.person {
  margin-top: 16px;
  font-weight: 900;
}

.review-meta {
  display: inline-flex;
  margin-top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(107, 124, 92, 0.11);
  color: var(--olive-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .nav-links {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 86px;
    display: none;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
  }

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

  .menu-toggle {
    display: inline-block;
  }

  .nav-actions .btn {
    display: none;
  }

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

@media (max-width: 820px) {
  .hero-grid,
  .split,
  .footer-grid,
  .two-col,
  .cards-3,
  .cards-2,
  .cards-4,
  .cards-5,
  .stats,
  .trust-strip,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.featured {
    grid-row: auto;
    min-height: 260px;
  }

  .section {
    padding: 40px 0;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-image img,
  .feature-image img {
    height: 280px;
  }

  .section-head,
  .cta {
    display: block;
  }

  .section-head p,
  .cta .btn {
    margin-top: 18px;
  }

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

  .stars-display {
    font-size: 32px;
  }

  .quote {
    font-size: 1.08rem;
  }
}

@media (max-width: 560px) {
  .navbar,
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand-text span {
    max-width: 132px;
  }

  .brand-logo {
    height: 52px;
  }

  .site-footer .brand-logo {
    height: 72px;
  }

  .hero-image img,
  .feature-image img {
    height: 300px;
  }

  .cta {
    padding: 30px;
  }

  .stars {
    gap: 8px;
  }

  .stars-display {
    font-size: 30px;
  }

  .float-btn {
    width: 50px;
    height: 50px;
    bottom: 16px;
  }

  .float-btn.call {
    bottom: 84px;
  }
}

/* Delivery polish */
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-header {
  background: rgba(250, 248, 243, 0.985);
}

.navbar {
  min-height: 86px;
}

.brand-logo {
  height: 64px;
}

.nav-links {
  gap: 14px;
  font-size: 0.88rem;
}

.nav-links a {
  color: rgba(26, 26, 26, 0.82);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.btn {
  border-radius: 999px;
  padding-inline: 22px;
  letter-spacing: 0.01em;
}

.btn:hover {
  transform: translateY(-1px);
}

.hero {
  padding: 64px 0 48px;
}

.eyebrow {
  display: inline-flex;
  color: var(--olive-dark);
  font-size: 0.78rem;
}

h1 {
  max-width: 780px;
}

.lead {
  color: #56544e;
}

.hero-image,
.feature-image {
  border-radius: 18px;
  background: var(--white);
}

.hero-image img,
.feature-image img {
  height: 410px;
}

.section {
  padding: 58px 0;
}

.section-head {
  align-items: start;
  margin-bottom: 28px;
}

.section-head h2 {
  max-width: 660px;
}

.card,
.form-panel,
.contact-panel {
  border-color: rgba(26, 26, 26, 0.11);
}

.card {
  min-height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(107, 124, 92, 0.42);
  box-shadow: 0 12px 30px rgba(26, 26, 26, 0.08);
}

.program-icon {
  width: 50px;
  height: 50px;
  background: rgba(107, 124, 92, 0.08);
  font-size: 1.35rem;
}

.check-list li {
  background: rgba(255, 253, 248, 0.9);
}

.stars {
  color: #a88333;
}

.quote {
  font-size: 1.12rem;
}

.cta {
  padding: 40px;
  align-items: center;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 4px rgba(107, 124, 92, 0.15);
  background: var(--white);
}

.site-footer {
  background: #f2eee5;
}

.footer-links a:hover,
.socials a:hover {
  color: var(--olive-dark);
}

.socials a {
  background: rgba(255, 253, 248, 0.72);
}

.float-btn {
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.16);
}

.float-btn:hover {
  transform: translateY(-2px);
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 11px;
    font-size: 0.84rem;
  }
}

@media (max-width: 820px) {
  .navbar {
    min-height: 78px;
  }

  .brand-logo {
    height: 54px;
  }

  .hero {
    padding: 46px 0 34px;
  }

  .section {
    padding: 44px 0;
  }

  .hero-image img,
  .feature-image img {
    height: 300px;
  }

  .cta {
    padding: 30px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.15rem, 12vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
  }

  .hero-image img,
  .feature-image img {
    height: 255px;
  }

  .card {
    padding: 18px;
  }
}

/* Testimonial Slider Polish */
.testimonial-slider {
  overflow: hidden;
  position: relative;
  padding-bottom: 20px;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 300px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 32px;
  box-shadow: 0 4px 14px rgba(26, 26, 26, 0.03);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

@media (max-width: 820px) {
  .testimonial-card {
    flex: 0 0 calc(100% - 24px);
  }
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(26, 26, 26, 0.08);
  border-color: rgba(107, 124, 92, 0.3);
}

.google-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.google-pill img {
  height: 18px;
}

.testimonial-card .stars {
  font-size: 1.2rem;
  color: #fbbc05; /* Google Yellow */
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.testimonial-card .quote {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 24px;
}

.testimonial-card .person {
  font-weight: 900;
  color: var(--olive-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .person::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #efe9de;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%236B7C5C"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Nav Dropdown */
.dropdown-menu {
  position: relative;
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 0;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 300ms ease;
  z-index: 100;
  list-style: none;
  margin: 0;
}

@media (max-width: 1080px) {
  .dropdown-list {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 16px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: none;
  }
  .dropdown-menu.open .dropdown-list {
    display: block;
  }
}

.dropdown-menu:hover .dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-list a {
  display: block;
  padding: 10px 24px;
  color: var(--ink);
  font-weight: 700;
  transition: background 200ms ease, color 200ms ease;
}

.dropdown-list a::after {
  display: none !important;
}

.dropdown-list a:hover {
  background: var(--cream);
  color: var(--olive);
}

/* Premium Animations & Interactions */

/* Scroll Reveal (Fade Up) */
.fade-section, .fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms ease-out, transform 800ms ease-out;
  will-change: opacity, transform;
}

.fade-section.in-view, .fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers for staggered animations */
.fade-delay-100 { transition-delay: 100ms; }
.fade-delay-200 { transition-delay: 200ms; }
.fade-delay-300 { transition-delay: 300ms; }
.fade-delay-400 { transition-delay: 400ms; }

/* Image Hover Zoom (Subtle) */
.img-hover-zoom, .gallery-item, .hero-image, .feature-image {
  overflow: hidden;
  border-radius: 8px; /* Assuming rounded corners for images */
}

.img-hover-zoom img, .gallery-item img, .hero-image img, .feature-image img {
  transition: transform 600ms ease;
  will-change: transform;
}

.img-hover-zoom:hover img, .gallery-item:hover img, .hero-image:hover img, .feature-image:hover img {
  transform: scale(1.05);
}

/* 3D Flip Cards */
.flip-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 240px;
  perspective: 1000px; /* 3D effect */
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

/* Javascript or hover triggers the flip */
.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.08);
}

.flip-card-front {
  background-color: var(--flip-bg, var(--white));
  color: var(--ink);
  border: 1px solid var(--line);
}

.flip-card-back {
  background-color: var(--olive);
  color: var(--cream);
  transform: rotateY(180deg);
  border: 1px solid var(--olive-dark);
}

.flip-card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.flip-card-title {
  font-weight: 700;
  font-size: 1.15rem;
  font-family: "Playfair Display", serif;
}

.flip-card-back p {
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0;
}

/* Card Hover Lift */
.card {
  transition: transform 400ms ease, box-shadow 400ms ease;
  will-change: transform, box-shadow;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(26, 26, 26, 0.12);
}

/* Button Hover State Polish */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Subtle background movement (Parallax illusion) */
.bg-parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.card-images {
  display: flex;
  gap: 8px;
  margin: 10px 0;
}

.card-illustration {
  width: 50%;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
}

.service-images {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
}

.service-img {
  width: 48%;
  border-radius: 12px;
  object-fit: cover;
}

.teachers-scroll {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px 0 20px 0;
  scrollbar-width: thin;
  scrollbar-color: #ff6b00 #1a1a2e;
}

.teachers-scroll::-webkit-scrollbar {
  height: 6px;
}

.teachers-scroll::-webkit-scrollbar-track {
  background: #1a1a2e;
}

.teachers-scroll::-webkit-scrollbar-thumb {
  background: #ff6b00;
  border-radius: 3px;
}

.teacher-card {
  min-width: 220px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  flex-shrink: 0;
  padding-bottom: 16px;
  border: 1px solid #dce6f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.teacher-name {
  color: #1a1a2e;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.teacher-info p {
  color: #1a1a2e;
  font-size: 0.8rem;
  margin: 3px 0;
}

.teacher-exp {
  display: inline-block;
  background: #ff6b00;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  margin: 8px 0;
  box-shadow: 0 3px 8px rgba(255,107,0,0.4);
  letter-spacing: 0.5px;
}

.teacher-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.teacher-info {
  padding: 10px;
}

.teacher-name {
  color: #1a3a5c;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.teacher-info p {
  color: #ccc;
  font-size: 0.8rem;
  margin: 3px 0;
}

.teacher-exp {
  display: inline-block;
  background: #1a3a5c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin: 6px 0;
}
.teacher-info p,
.teacher-subject,
.teacher-location {
  color: #1a1a2e !important;
  font-size: 0.85rem !important;
}