/* Shared homepage and About CTA. */
.colorful-cta {
  padding: 25px 0;
  background: var(--white);
  position: relative;
}

.colorful-cta-inner {
  width: min(1568px, calc(100% - 76px));
  min-height: 260px;
  margin: 0 auto;
  padding: 48px 56px;
  overflow: hidden;
  border-radius: 32px;
  background: #c7e9ff url("../images/index-cta.png") right center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  box-shadow: 0 16px 40px rgba(18, 105, 214, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 3px solid #ffffff;
  transition: transform .3s ease, box-shadow .3s ease;
}

.colorful-cta-inner:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(18, 105, 214, 0.18);
}

.colorful-cta-content {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.cta-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #ff5c1c;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  text-transform: uppercase;
}

.colorful-cta h2 {
  margin: 0;
  color: #1665d8;
  font-family: "Fredoka", "Arial Rounded MT Bold", sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
}

.colorful-cta h2 span {
  color: #ff5c1c;
}

.cta-lead {
  margin: 14px 0 26px;
  color: #37517e;
  font-size: 16px;
  line-height: 1.6;
  max-width: 580px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 50px;
  padding: 0 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7135, #ff5010);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 92, 28, 0.35);
  border: 2px solid #ffffff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.cta-btn:hover {
  background: linear-gradient(135deg, #ff8149, #ff5e21);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 92, 28, 0.48);
}

.cta-btn i {
  font-size: 14px;
  transition: transform .25s ease;
}

.cta-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 900px) {.colorful-cta-inner {
    width: min(100% - 40px, 760px);
  }

.colorful-cta {
    padding: 20px 0;
  }

.colorful-cta-inner {
    min-height: 235px;
    background-position: 68% center;
  }

.colorful-cta h2 {
    max-width: 440px;
  }}

@media (max-width: 560px) {.colorful-cta-inner {
    width: min(100% - 32px, 480px);
  }

.colorful-cta {
    padding: 16px 0;
  }

.colorful-cta-inner {
    min-height: auto;
    padding: 30px 22px;
    border-radius: 24px;
    background-position: 75% center;
  }

.colorful-cta h2 {
    max-width: 100%;
    font-size: 26px;
  }

.cta-lead {
    font-size: 13.5px;
    margin: 10px 0 20px;
  }

.cta-btn {
    width: 100%;
    justify-content: center;
    height: 46px;
    font-size: 14.5px;
  }}

@keyframes softPulseGlow {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(255, 92, 28, 0.32);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 14px 32px rgba(255, 92, 28, 0.48);
    transform: translateY(-2px);
  }
}

.cta-btn {
  animation: softPulseGlow 3.5s ease-in-out infinite;
}

.cta-btn:hover {
  animation: none;
}

.cta-btn {
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-22deg);
  pointer-events: none;
  transition: none;
}

.cta-btn:hover::before {
  animation: btnGleamSweep 0.85s ease-in-out forwards;
}

@keyframes btnGleamSweep {
  0% {
    left: -80%;
  }
  100% {
    left: 140%;
  }
}

.cta-badge-pill i {
  display: inline-block;
  transition: transform 0.3s ease;
}

.colorful-cta:hover .cta-badge-pill i {
  animation: badgeIconWiggle 0.6s ease-in-out 1;
}

@keyframes badgeIconWiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-14deg) scale(1.15); }
  75% { transform: rotate(14deg) scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {.cta-btn {
    animation: none !important;
  }}
