:root {
  --kidearn-base: #017479;
  --kidearn-base-rgb: 1, 116, 121;
  --kidearn-primary: #017479;
  --kidearn-primary-rgb: 1, 116, 121;
  --kidearn-secondary: #D78F00;
  --kidearn-secondary-rgb: 215, 143, 0;
}

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

.kidearn-btn:hover {
  background-color: #015a5e;
}

.sec-title__tagline {
  color: var(--kidearn-secondary);
}

.main-header__call__number {
  color: var(--kidearn-primary);
}

.main-slider-one__sub-title {
  color: var(--kidearn-secondary);
}

.program-card-three__icon,
.service-card-three__icon {
  color: var(--kidearn-primary);
}

.testimonial-card-three__rating i {
  color: var(--kidearn-secondary);
}

/* ── Page header / breadcrumb ───────────────────────────────────── */
.page-header {
  background-color: #015a5e;
  overflow: hidden;
}

.page-header__bg {
  background-image: url(../images/backgrounds/slider-1-1.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-header__bg::before {
  background: linear-gradient(
    120deg,
    rgba(1, 116, 121, 0.88) 0%,
    rgba(1, 90, 94, 0.78) 45%,
    rgba(11, 32, 56, 0.72) 100%
  );
  opacity: 1;
}

/* Wave only at the bottom edge — avoids grey band above the scallop */
.page-header__bg::after {
  top: auto;
  height: 24px;
  bottom: -1px;
  left: 0;
  right: 0;
  -webkit-mask-size: 1920px 24px;
  mask-size: 1920px 24px;
}

.page-header__title {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  margin-bottom: 14px;
  margin-top: 0;
}

.page-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kidearn-breadcrumb {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 8px 22px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.kidearn-breadcrumb li {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

@media (min-width: 768px) {
  .kidearn-breadcrumb li {
    font-size: 16px;
  }
}

.kidearn-breadcrumb li:not(:last-of-type)::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 12px;
  margin-right: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.55);
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  transform: rotate(-45deg);
  top: 0;
}

.kidearn-breadcrumb li a {
  color: rgba(255, 255, 255, 0.95);
}

.kidearn-breadcrumb li a:hover {
  color: var(--kidearn-secondary);
  background-size: 0;
}

.kidearn-breadcrumb li:last-child span {
  color: var(--kidearn-secondary);
  font-weight: 600;
}

.main-footer-two__social a:hover {
  background-color: var(--kidearn-primary);
}

.blog-card__category {
  background-color: var(--kidearn-primary);
}

.faq-one__accordion .accordion-button:not(.collapsed) {
  color: var(--kidearn-primary);
}

.contact-one__info__icon {
  color: var(--kidearn-secondary);
}

.main-header__logo {
  flex-shrink: 0;
  max-width: 260px;
}

.main-header__logo a {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  max-width: 260px;
}

.main-header__logo img {
  display: block;
  width: 260px;
  height: auto;
  max-width: 260px;
  object-fit: contain;
}

.sticky-header--cloned .main-header__logo img {
  width: 220px;
  max-width: 220px;
}

@media (max-width: 767px) {
  .main-header__logo,
  .main-header__logo a {
    max-width: 200px;
  }

  .main-header__logo img {
    width: 200px;
    max-width: 200px;
  }
}

.footer-widget__logo img {
  width: 260px;
  max-width: 260px;
  height: auto;
  object-fit: contain;
}

.topbar-one {
  background-color: var(--kidearn-primary);
}

.topbar-one__social a:hover {
  color: var(--kidearn-secondary);
}

.topbar-one__info__icon {
  color: var(--kidearn-secondary);
}

.topbar-one__text {
  color: rgba(255, 255, 255, 0.9);
}

/* ── Testimonials (redesigned) ──────────────────────────────────── */
.testimonials-page,
.testimonials-home {
  background: #fff;
}

.testimonials-page {
  padding: 0 0 100px;
}

.testimonials-home {
  padding: 100px 0 90px;
  background: linear-gradient(180deg, #f4faf9 0%, #fff 100%);
}

.testimonials-page__trust {
  background: var(--kidearn-primary);
  padding: 18px 0;
}

.testimonials-page__trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin: 0;
}

.testimonials-page__trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-weight: 500;
}

.testimonials-page__trust-list .fa-star {
  color: var(--kidearn-secondary);
}

.testimonials-page__trust-list .fa {
  font-size: 15px;
  opacity: 0.9;
}

.testimonials-page__intro,
.testimonials-home__header {
  max-width: 620px;
  margin: 0 auto;
  padding-top: 72px;
  padding-bottom: 40px;
}

.testimonials-home__header {
  padding-top: 0;
  padding-bottom: 48px;
}

.testimonials-page__lead {
  color: #5a6b7d;
  font-size: 17px;
  line-height: 1.7;
  margin: 14px 0 0;
}

/* Featured testimonial */
.testimonials-page__featured {
  margin-bottom: 48px;
}

.testimonials-featured {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 40px 36px;
  background: linear-gradient(135deg, #f0f9f9 0%, #fff 55%, #fffaf0 100%);
  border: 1px solid rgba(1, 116, 121, 0.14);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(1, 116, 121, 0.08);
  text-align: center;
}

@media (min-width: 992px) {
  .testimonials-featured {
    flex-direction: row;
    text-align: left;
    padding: 44px 48px;
    gap: 36px;
  }
}

.testimonials-featured__photo-wrap {
  flex-shrink: 0;
}

.testimonials-featured__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(1, 116, 121, 0.18);
}

.testimonials-featured__stars {
  color: var(--kidearn-secondary);
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonials-featured__quote {
  margin: 0 0 20px;
  padding: 0;
  border: none;
  font-size: 18px;
  line-height: 1.8;
  color: #2d3e50;
  font-weight: 400;
}

@media (min-width: 992px) {
  .testimonials-featured__quote {
    font-size: 20px;
  }
}

.testimonials-featured__author strong {
  display: block;
  font-size: 17px;
  color: var(--kidearn-primary);
  margin-bottom: 4px;
}

.testimonials-featured__author span {
  font-size: 14px;
  color: #6b7c8f;
}

.testimonials-page__grid {
  margin-bottom: 16px;
}

.testimonials-page__cta {
  margin-top: 56px;
}

.testimonials-page__cta-inner {
  padding: 48px 32px;
  background: linear-gradient(120deg, #017479 0%, #015a5e 100%);
  border-radius: 20px;
  color: #fff;
}

.testimonials-page__cta-inner h4 {
  margin: 0 0 8px;
  font-size: 26px;
  color: #fff;
}

.testimonials-page__cta-inner p {
  margin: 0 0 24px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
}

.testimonials-page__cta-inner .kidearn-btn {
  background: var(--kidearn-secondary);
}

.testimonials-page__cta-inner .kidearn-btn:hover {
  background: #c07f00;
}

.testimonials-home__footer {
  margin-top: 40px;
}

.testimonials-home__carousel .owl-dots {
  margin-top: 28px;
}

.testimonials-home__carousel .owl-dots .owl-dot span {
  background: rgba(1, 116, 121, 0.25);
}

.testimonials-home__carousel .owl-dots .owl-dot.active span,
.testimonials-home__carousel .owl-dots .owl-dot:hover span {
  background: var(--kidearn-primary);
}

/* Cards */
.testimonial-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(1, 116, 121, 0.1);
  border-radius: 20px;
  padding: 28px 28px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(11, 32, 56, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card--page {
  padding: 24px 26px 26px;
  border-radius: 18px;
  border-left: 4px solid var(--kidearn-primary);
  box-shadow: 0 4px 24px rgba(11, 32, 56, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(1, 116, 121, 0.1);
}

.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(1, 116, 121, 0.08);
}

.testimonial-card__header-meta {
  flex: 1;
  min-width: 0;
}

.testimonial-card__photo--page {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid rgba(1, 116, 121, 0.12);
  background: #e8f4f4;
}

.testimonial-card__quote-mark {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 56px;
  line-height: 1;
  color: rgba(1, 116, 121, 0.12);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-card__stars {
  color: var(--kidearn-secondary);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.testimonial-card__text {
  flex: 1;
  margin: 0 0 22px;
  padding: 0;
  border: none;
  font-size: 15px;
  line-height: 1.75;
  color: #3d4f63;
}

.testimonial-card__text--page {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: #445566;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(1, 116, 121, 0.08);
}

.testimonial-card__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid rgba(1, 116, 121, 0.15);
  background: #e8f4f4;
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.testimonial-card__name {
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  color: var(--kidearn-black, #0B2038);
  line-height: 1.3;
}

.testimonial-card--page .testimonial-card__name {
  font-size: 16px;
  color: var(--kidearn-primary);
}

.testimonial-card__child {
  font-size: 13px;
  color: #6b7c8f;
}

.testimonial-card__program {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--kidearn-primary);
  background: rgba(1, 116, 121, 0.08);
  border-radius: 50px;
  width: fit-content;
}

/* Floating WhatsApp (replaces back-to-top) */
.scroll-top {
  display: none !important;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.floating-whatsapp:hover {
  color: #fff;
  background: #1ebe57;
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

@media (max-width: 767px) {
  .floating-whatsapp {
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    font-size: 28px;
  }
}

/* ── Leadership section (profile cards with visible bio) ─────────── */
.leadership-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fbfb 0%, #fff 100%);
}

@media (max-width: 767px) {
  .leadership-section {
    padding: 70px 0;
  }
}

.leadership-section .sec-title__tagline {
  color: var(--kidearn-primary);
}

.leadership-section__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.leadership-card {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(1, 116, 121, 0.08);
  border: 1px solid rgba(1, 116, 121, 0.08);
}

.leadership-card__photo {
  position: relative;
  background: linear-gradient(145deg, var(--leadership-accent, #017479) 0%, rgba(1, 116, 121, 0.85) 100%);
  min-height: 100%;
}

.leadership-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  min-height: 320px;
}

.leadership-card__body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leadership-card__eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kidearn-secondary);
}

.leadership-card__name {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--kidearn-primary);
  line-height: 1.25;
}

.leadership-card__role {
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(215, 143, 0, 0.35);
  font-size: 1rem;
  font-weight: 600;
  color: #4a5568;
  line-height: 1.5;
}

.leadership-card__bio {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.75;
  color: #5a6578;
}

.leadership-card__bio p {
  margin: 0 0 0.75rem;
}

.leadership-card__bio p:last-child {
  margin-bottom: 0;
}

.leadership-section__empty {
  margin-top: 2rem;
}

@media (max-width: 991px) {
  .leadership-card {
    grid-template-columns: 1fr;
  }

  .leadership-card__photo img {
    min-height: 280px;
    max-height: 360px;
  }

  .leadership-card__body {
    padding: 28px 24px 32px;
  }
}

@media (min-width: 992px) {
  .leadership-card:nth-child(even) {
    grid-template-columns: 1fr minmax(240px, 320px);
  }

  .leadership-card:nth-child(even) .leadership-card__photo {
    order: 2;
  }

  .leadership-card:nth-child(even) .leadership-card__body {
    order: 1;
  }
}
