:root {
  --inner-bg: #fdf8f4;
  --hero-purple: #6a5ae7;
  --hero-purple-dark: #5343c7;
  --hero-cream: #fffdf9;
  --hero-soft: #d7d2ff;
  --hero-ink: #1f2a44;
  --hero-muted: #5f6b7a;
  --hero-accent: #f1662c;
}

.page-hero {
  background-color: var(--hero-bg, #7166f0);
  background-image: var(--hero-pattern, radial-gradient(#ffffff22 1px, transparent 1px));
}

.page-hero-subtitle {
  max-width: 720px;
  margin: 20px auto 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.why-hero {
  background: radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(180deg, var(--hero-purple) 0%, #5b4cd5 55%, var(--hero-purple-dark) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.why-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
}

.why-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.14), transparent 60%);
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}

.why-hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  padding: 120px 0 230px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.why-hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("../img/ducks/hero1.svg") no-repeat 6% 20%,
    url("../img/ducks/hero3.png") no-repeat 86% 78%;
  background-size: 120px, 150px, 170px;
  animation: hero-duck-float 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.why-hero-inner > * {
  position: relative;
  z-index: 2;
}

@keyframes hero-duck-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.why-hero h2 {
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  margin-bottom: 12px;
  color: #ffffff;
  text-shadow: 0 12px 24px rgba(32, 28, 78, 0.35);
}

.why-hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.why-hero .hero-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.5px);
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

.why-hero .blob-one {
  width: 520px;
  height: 240px;
  background: rgba(173, 163, 255, 0.55);
  top: 8%;
  left: -10%;
  transform: rotate(-4deg);
}

.why-hero .blob-two {
  width: 440px;
  height: 220px;
  background: rgba(154, 143, 242, 0.55);
  bottom: 16%;
  right: -12%;
  transform: rotate(6deg);
}

.why-hero .blob-three {
  width: 360px;
  height: 160px;
  background: rgba(197, 188, 255, 0.45);
  bottom: 6%;
  left: 20%;
  transform: rotate(-3deg);
}

.why-hero .hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 140px;
  z-index: 2;
}

@media (max-width: 720px) {
  .why-hero-inner {
    padding: 96px 0 140px;
  }

  .why-hero-inner::before {
    background-size: 90px, 120px, 130px;
    background-position: 2% 16%, 95% 14%, 85% 82%;
  }

  .why-hero .blob-one {
    width: 360px;
    height: 180px;
  }

  .why-hero .blob-two {
    width: 320px;
    height: 160px;
  }

  .why-hero .blob-three {
    width: 260px;
    height: 130px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-hero-inner::before {
    animation: none;
  }
}

.inner-main {
  background: var(--inner-bg);
}

.inner-section {
  padding: 80px 0;
}

.inner-section.alt {
  background: #ffffff;
}

.inner-lead {
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: #666666;
  text-align: center;
}

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

.info-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff1f3;
  color: #f15c3f;
  font-size: 1.3rem;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

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

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #555555;
}

.checklist i {
  color: #7a6cf0;
  margin-top: 3px;
}

.stat-card {
  background: #7166f0;
  color: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.stat-card h3 {
  color: #ffffff;
  margin-bottom: 15px;
}

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

.stat-item {
  background: rgba(255, 255, 255, 0.12);
  padding: 16px;
  border-radius: 16px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.cta-card {
  background: #ffebc5;
  border-radius: 30px;
  padding: 50px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.cta-card h2 {
  margin-bottom: 15px;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
}

.calendar-table th,
.calendar-table td {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
}

.calendar-table th {
  background: #f15c3f;
  color: #ffffff;
  font-weight: 700;
}

.calendar-table tr:last-child td {
  border-bottom: none;
}

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

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

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

.gallery-caption {
  padding: 12px 16px;
  font-weight: 700;
  color: #1b1b1b;
}

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

.post-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.post-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.post-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.post-meta {
  font-size: 0.9rem;
  color: #777777;
}

.post-card a {
  color: #f15c3f;
  text-decoration: none;
  font-weight: 700;
}

.event-list {
  display: grid;
  gap: 18px;
}

.event-card {
  display: flex;
  gap: 20px;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  align-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.event-date {
  min-width: 80px;
  background: #7a6cf0;
  color: #ffffff;
  border-radius: 16px;
  text-align: center;
  padding: 10px;
  font-weight: 700;
}

.event-date span {
  display: block;
  font-size: 0.85rem;
  opacity: 0.85;
}

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

.step-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  position: relative;
}

.step-number {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffb400;
  color: #1b1b1b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

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

.job-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-meta {
  font-size: 0.9rem;
  color: #777777;
}

.schedule-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.schedule-item span {
  font-weight: 700;
  color: #1b1b1b;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f15c3f;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ==========================================================================
   Testimonials Page Grid
   ========================================================================== */
.testimonials.testimonials-grid {
  background: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 40px;
}

.testimonial-grid .testimonial-card {
  height: 100%;
}

@media (max-width: 992px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ==========================================================================
   Why Us Feature Section
   ========================================================================== */
.why-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.why-feature-visuals {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.why-photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.why-photo.primary {
  width: 100%;
}

.why-photo.secondary {
  width: 80%;
  margin-left: 12%;
}

.why-photo img {
  width: 100%;
  display: block;
}

.why-doodle {
  position: absolute;
  z-index: 3;
  color: #ffb400;
  font-size: 2.2rem;
}

.why-doodle.balloon {
  top: -10px;
  left: -20px;
  color: #ffb400;
}

.why-doodle.crown {
  top: 10px;
  right: 40px;
  color: #ffde59;
}

.why-doodle.scribble {
  width: 90px;
  height: 90px;
  background: #ffde59;
  border-radius: 50%;
  filter: blur(0.2px);
  bottom: -25px;
  right: 20px;
  transform: rotate(-10deg);
  opacity: 0.8;
}

.why-feature-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.why-pill {
  align-self: flex-start;
  background: #7a6cf0;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}

.why-title {
  font-size: 2.8rem;
  line-height: 1.15;
  color: #1b1b1b;
}

.why-text {
  color: #5f6b7a;
  font-size: 1.05rem;
  line-height: 1.7;
}

.why-highlight {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  background: #fff4ec;
  padding: 18px;
  border-radius: 20px;
}

.why-highlight-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #ffe2d4;
  color: #f15c3f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.why-highlight h3 {
  margin-bottom: 6px;
}

.why-progress {
  display: grid;
  gap: 8px;
}

.why-progress-header {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: #1b1b1b;
}

.why-progress-bar {
  width: 100%;
  height: 10px;
  background: #ffe2d4;
  border-radius: 999px;
  overflow: hidden;
}

.why-progress-bar span {
  display: block;
  height: 100%;
  background: #f15c3f;
  border-radius: 999px;
}

.why-progress-bar.alt {
  background: #dcd7ff;
}

.why-progress-bar.alt span {
  background: #7a6cf0;
}

.why-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f15c3f;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
}

/* ==========================================================================
   Logo Marquee
   ========================================================================== */
.marquee-section {
  background: #ffffff;
  padding: 30px 0 80px;
}

.marquee-wrapper {
  position: relative;
  overflow: visible;
}

.marquee-track {
  display: flex;
  gap: 50px;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 18s linear infinite;
}

.marquee-item {
  min-width: 160px;
  height: 90px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #1b1b1b;
  letter-spacing: 0.3px;
  padding: 8px 12px;
}

.marquee-item svg {
  width: 130px;
  height: 60px;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .marquee-track {
    gap: 24px;
    animation-duration: 22s;
  }

  .marquee-item {
    min-width: 140px;
    height: 80px;
    font-size: 0.95rem;
  }
}

@media (max-width: 992px) {
  .why-feature-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .why-feature-content {
    align-items: center;
  }

  .why-pill {
    align-self: center;
  }

  .why-highlight {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .why-highlight-icon {
    margin: 0 auto;
  }

  .why-progress-header {
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .why-title {
    font-size: 2.1rem;
  }

  .why-photo.secondary {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 992px) {
  .info-grid,
  .post-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  .info-grid,
  .post-grid,
  .gallery-grid,
  .job-grid {
    grid-template-columns: 1fr;
  }

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

  .event-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
