/* ==========================================================================
   Sunny Days Therapy - Home Page Styles
   BEM naming: .sds-{block}__{element}--{modifier}
   ========================================================================== */

/* Remove WordPress auto-inserted empty p tags */
.entry-content p:empty,
.entry-content > p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.sds-hero {
  background: linear-gradient(135deg, #DEE9F5 0%, #C8DCF0 100%);
  padding: 100px 40px 0;
  position: relative;
  overflow: hidden;
}

/* Radiating sun rays — origin at the top-right corner */
.sds-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140vw;
  height: 140vw;
  transform: translate(50%, -50%);
  transform-origin: center;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-conic-gradient(
      from 1deg at 50% 50%,
      transparent 0deg 6.35deg,
      rgba(255, 255, 255, 0.95) 6.5deg 6.9deg,
      transparent 7.05deg 11deg
    ),
    repeating-conic-gradient(
      from 1deg at 50% 50%,
      transparent 0deg 6.2deg,
      rgba(255, 255, 255, 0.28) 6.35deg 7.1deg,
      transparent 7.25deg 11deg
    ),
    repeating-conic-gradient(
      from 8deg at 50% 50%,
      transparent 0deg 8.55deg,
      rgba(255, 255, 255, 0.85) 8.7deg 9.05deg,
      transparent 9.2deg 14deg
    ),
    repeating-conic-gradient(
      from 8deg at 50% 50%,
      transparent 0deg 8.4deg,
      rgba(255, 255, 255, 0.22) 8.55deg 9.25deg,
      transparent 9.4deg 14deg
    ),
    repeating-conic-gradient(
      from 3.5deg at 50% 50%,
      transparent 0deg 4.7deg,
      rgba(255, 255, 255, 0.75) 4.82deg 5.08deg,
      transparent 5.2deg 6deg
    ),
    repeating-conic-gradient(
      from 6deg at 50% 50%,
      transparent 0deg 5.2deg,
      rgba(255, 255, 255, 0.6) 5.32deg 5.55deg,
      transparent 5.68deg 6.5deg
    ),
    repeating-conic-gradient(
      from 12deg at 50% 50%,
      transparent 0deg 7.25deg,
      rgba(255, 255, 255, 0.7) 7.38deg 7.62deg,
      transparent 7.75deg 9deg
    ),
    repeating-conic-gradient(
      from 0deg at 50% 50%,
      transparent 0deg 8.3deg,
      rgba(247, 212, 90, 0.7) 8.45deg 8.9deg,
      transparent 9.05deg 16deg
    ),
    repeating-conic-gradient(
      from 5deg at 50% 50%,
      transparent 0deg 13.3deg,
      rgba(255, 213, 79, 0.5) 13.45deg 13.9deg,
      transparent 14.05deg 22deg
    ),
    repeating-conic-gradient(
      from 11deg at 50% 50%,
      transparent 0deg 18.6deg,
      rgba(255, 248, 230, 0.4) 18.75deg 19.2deg,
      transparent 19.35deg 28deg
    );
  -webkit-mask-image: radial-gradient(
    circle at 50% 50%,
    #000 0%,
    rgba(0, 0, 0, 0.85) 16%,
    rgba(0, 0, 0, 0.5) 40%,
    transparent 62%
  );
  mask-image: radial-gradient(
    circle at 50% 50%,
    #000 0%,
    rgba(0, 0, 0, 0.85) 16%,
    rgba(0, 0, 0, 0.5) 40%,
    transparent 62%
  );
  filter: blur(8px);
  animation: sds-hero-sun-rotate 110s linear infinite;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size:
    100% 100%,
    100% 100%,
    70% 70%,
    70% 70%,
    40% 40%,
    40% 40%,
    40% 40%,
    100% 100%,
    70% 70%,
    40% 40%;
}

/* Soft glowing core at the top-right corner */
.sds-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 90vw;
  height: 90vw;
  transform: translate(50%, -50%);
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(207, 124, 70, 0.75) 0%,
    rgba(207, 124, 70, 0.75) 5%,
    rgb(253 206 44 / 57%) 14%,
    rgba(255, 252, 245, 0.4) 44%,
    rgba(255, 255, 255, 0.12) 60%,
    transparent 24%
  );
  filter: blur(18px);
  animation: sds-hero-sun-glow 5s ease-in-out infinite;
}

@keyframes sds-hero-sun-rotate {
  from {
    transform: translate(50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(50%, -50%) rotate(360deg);
  }
}

@keyframes sds-hero-sun-glow {
  0%,
  100% {
    opacity: 0.78;
    transform: translate(50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(50%, -50%) scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sds-hero::before,
  .sds-hero::after {
    animation: none;
  }
}

.sds-hero__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 1;
}

.sds-hero__content {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
  position: relative;
  z-index: 2;
}

.sds-hero__title {
  color: #0A2E5C;
  font-family: Sora, sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.1;
}

.sds-hero__subtitle {
  color: #2970C5;
  font-family: Instrument Serif, Georgia, serif;
  font-style: italic;
  font-size: 35px;
  font-weight: 400;
  margin: 0 0 20px;
}

.sds-hero__location {
  border-left: 3px solid #2970C5;
  padding-left: 14px;
  margin: 20px 0;
}

.sds-hero__location-text {
  font-family: Sora, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #0A2E5C;
}

.sds-hero__link {
  margin: 0 0 24px;
}

.sds-hero__link a {
  font-size: 14px;
  color: #2970C5;
  text-decoration: none !important;
}

.sds-hero__buttons {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.sds-hero__buttons br {
  display: none;
}

.sds-hero__btn,
.sds-hero__btn:hover,
.sds-hero__btn:visited,
.sds-hero__btn:active {
  display: inline-block;
  max-height: 43px;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  font-family: Inter, sans-serif;
  box-sizing: border-box;
}

.sds-hero__btn--primary {
  background: #0D965C;
  color: white;
}

.sds-hero__btn--secondary {
  background: #FFFFFF;
  color: #0A2E5C;
  border: 1.5px solid #dddddd;
}

.sds-hero__image {
  flex: 1;
  min-width: 300px;
  text-align: right;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.sds-hero__image::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 2%;
  top: 12%;
  bottom: 4%;
  background: radial-gradient(
    ellipse at 52% 48%,
    rgba(255, 244, 196, 0.7) 0%,
    rgba(253, 206, 44, 0.28) 38%,
    rgba(255, 255, 255, 0.08) 62%,
    transparent 78%
  );
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
  animation: sds-hero-boy-glow 10s ease-in-out infinite;
}

.sds-hero__image img {
  max-width: 100%;
  max-height: 600px;
  width: auto;
  height: auto;
  display: block;
  margin-left: auto;
  margin-top: -20px;
  position: relative;
  z-index: 1;
  transform: scale(1.07);
  transform-origin: 50% 80%;
  filter: blur(7px);
}

.sds-hero__image.animated img {
  animation:
    sds-hero-boy-reveal 1.85s cubic-bezier(0.22, 1, 0.36, 1) both,
    sds-hero-boy-breathe 11s ease-in-out 1.85s infinite;
}

@keyframes sds-hero-boy-reveal {
  0% {
    transform: scale(1.07);
    filter: blur(7px);
  }
  100% {
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes sds-hero-boy-breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.045);
  }
}

@keyframes sds-hero-boy-glow {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@media (max-width: 1100px) and (min-width: 768px) {
  .sds-hero {
    padding: 100px 0 0 40px;
    overflow: hidden;
  }

  .sds-hero__container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    max-width: none;
    margin: 0;
    padding-right: 0;
  }

  .sds-hero__image {
    grid-row: 1;
    grid-column: 1;
    flex: none;
    min-width: 0;
    width: auto;
    max-width: none;
    justify-self: end;
    align-self: end;
    z-index: 0;
    line-height: 0;
    margin-bottom: 0;
    margin-right: 0;
  }

  .sds-hero__image img {
    max-height: 600px;
    width: auto;
    max-width: none;
    margin-top: 0;
    margin-right: -100px;
  }

  .sds-hero__content {
    grid-row: 1;
    grid-column: 1;
    z-index: 2;
    flex: none;
    min-width: 0;
    max-width: 48%;
    padding-right: 12px;
    justify-self: start;
    align-self: center;
    margin-bottom: 24px;
  }

  .sds-hero__title {
    font-size: 38px;
    white-space: nowrap;
  }

  .sds-hero__subtitle {
    font-size: 30px;
  }

  .sds-hero__buttons {
    flex-wrap: nowrap;
  }

  .sds-hero__btn,
  .sds-hero__btn:hover,
  .sds-hero__btn:visited,
  .sds-hero__btn:active {
    padding: 10px 14px;
    font-size: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .sds-hero {
    padding: 100px 20px 0;
    overflow: hidden;
  }

  .sds-hero__container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding-right: 0;
  }

  .sds-hero__content {
    width: 100%;
    max-width: 100%;
    flex: none;
    min-width: 0;
    padding-right: 0;
    margin-bottom: 24px;
    order: 1;
  }

  .sds-hero__image {
    width: 100%;
    flex: none;
    min-width: 0;
    max-width: 100%;
    text-align: center;
    order: 2;
    margin-right: 0;
    margin-bottom: 0;
  }

  .sds-hero__image img {
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
    margin: 0 auto;
  }

  .sds-hero__title {
    font-size: 24px;
    white-space: normal;
  }

  .sds-insurance__title,
  .sds-services__title,
  .sds-approach__title,
  .sds-solutions__title,
  .sds-service-area__title,
  .sds-blog__title,
  .sds-final-cta__title {
    font-size: 20px;
  }

  .sds-hero__buttons {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) and (min-width: 601px) {
  .sds-hero__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sds-hero__location {
    display: inline-block;
    text-align: left;
  }

  .sds-hero__buttons {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .sds-hero__buttons {
    flex-direction: column;
    align-items: stretch;
    margin-left: 20px;
    margin-right: 20px;
    width: calc(100% - 40px);
  }

  .sds-hero__btn,
  .sds-hero__btn:hover,
  .sds-hero__btn:visited,
  .sds-hero__btn:active {
    width: 100%;
    max-height: none;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   INSURANCE SECTION
   -------------------------------------------------------------------------- */
.sds-insurance {
  background: #FFFFFF;
  padding: 50px 40px;
  text-align: center;
}

.sds-insurance__container {
  max-width: 1200px;
  margin: 0 auto;
}

.sds-insurance__title {
  color: #0A2E5C;
  font-family: Sora, sans-serif;
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 30px;
}

.sds-insurance__desc {
  color: #666;
  font-size: 14px;
  max-width: 640px;
  margin: 0 auto 20px;
}

.sds-insurance__btn {
  display: inline-block;
  background: #0A2E5C;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
}

.sds-insurance__more {
  color: #888;
  font-weight: 500;
  flex-shrink: 0;
  font-size: 15px;
}

/* Carousel keyframes and styles */
@keyframes sds-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 25px)); }
}

.sds-logo-carousel {
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.sds-logo-track {
  display: inline-flex;
  align-items: center;
  gap: 50px;
  animation: sds-scroll 80s linear infinite;
  padding: 10px 0;
  will-change: transform;
}

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

.sds-logo-track img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.sds-logo-track img:hover {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   ABA SERVICES SECTION
   -------------------------------------------------------------------------- */
.sds-services {
  background: #DEE9F5;
  padding: 60px 40px;
}

.sds-services__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.sds-services__header {
  flex: 0 0 280px;
}

.sds-services__title {
  color: #0A2E5C;
  font-family: Sora, sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
}

.sds-services__desc {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.sds-services__cards {
  flex: 1;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.sds-services__card {
  flex: 1;
  min-width: 220px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.sds-services__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(10, 46, 92, 0.12);
}

.sds-services__card.animated:hover {
  transform: translateY(-6px);
}

.sds-services__card > p:empty,
.sds-services__card > br {
  display: none;
}

.sds-services__card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sds-services__card:hover .sds-services__card-image {
  transform: scale(1.04);
}

.sds-services__card-body {
  padding: 12px 16px;
}

.sds-services__card-title {
  color: #333;
  font-family: Sora, sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}

.sds-services__card-text {
  color: #666;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 8px;
}

.sds-services__card-btn {
  display: inline-block;
  background: #0A2E5C;
  color: white;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 13px;
}

.sds-services__card-btn--alt {
  background: #2970C5;
}

@media (max-width: 767px) and (min-width: 601px) {
  .sds-services__container {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .sds-services__header {
    flex: none;
    width: 100%;
  }

  .sds-services__cards {
    flex: none;
    width: 100%;
    flex-wrap: nowrap;
  }

  .sds-services__card {
    flex: 1;
    min-width: 0;
  }
}

/* --------------------------------------------------------------------------
   CTA BANNER
   -------------------------------------------------------------------------- */
.sds-cta-banner {
  padding: 40px 40px 60px;
  background: transparent;
}

.sds-cta-banner__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(120deg, #004495, #2970C5);
  border-radius: 16px;
  padding: 28px 40px;
}

.sds-cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.sds-cta-banner__content {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 1;
}

.sds-cta-banner__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #2970C5;
}

.sds-cta-banner__title {
  font-family: Sora, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: #fff;
  text-align: left;
}

.sds-cta-banner__text {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  margin: 0;
  max-width: 600px;
  text-align: left;
}

.sds-cta-banner__btn {
  display: inline-block;
  background: #FFFFFF;
  color: #0A2E5C;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow:
    0 0 14px rgba(97, 161, 213, 0.55),
    0 0 28px rgba(96, 159, 227, 0.28);
  animation: sds-cta-btn-wobble 6.5s ease-in-out infinite;
  transform-origin: center center;
}

.sds-cta-banner__btn:hover {
  box-shadow:
    0 0 18px rgba(97, 161, 213, 0.7),
    0 0 36px rgba(96, 159, 227, 0.4);
}

@keyframes sds-cta-btn-wobble {
  0%, 86%, 100% {
    transform: rotate(0);
  }
  88% {
    transform: rotate(-1.4deg);
  }
  91% {
    transform: rotate(1.3deg);
  }
  94% {
    transform: rotate(-0.7deg);
  }
  96.5% {
    transform: rotate(0.35deg);
  }
}

@media (max-width: 767px) {
  .sds-cta-banner {
    padding: 20px 20px 20px;
  }

  .sds-cta-banner__wrapper {
    padding: 24px 20px;
  }

  .sds-cta-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .sds-cta-banner__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sds-cta-banner__title,
  .sds-cta-banner__text {
    text-align: center;
  }

  .sds-cta-banner__text {
    max-width: none;
  }

  .sds-cta-banner__btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* --------------------------------------------------------------------------
   OUR APPROACH SECTION
   -------------------------------------------------------------------------- */
.sds-approach {
  background: #FFFFFF;
  padding: 70px 40px;
}

.sds-cta-banner + .sds-approach {
  padding-top: 0;
}

.sds-approach__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
}

.sds-approach__image {
  flex: 1;
  min-width: 300px;
  overflow: hidden;
  border-radius: 12px;
}

.sds-approach__image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  display: block;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.sds-approach__image:hover img {
  transform: scale(1.03);
}

.sds-approach__content {
  flex: 1;
  min-width: 300px;
}

.sds-approach__title {
  color: #0A2E5C;
  font-family: Sora, sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 24px;
}

.sds-approach__subtitle {
  color: #333;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sds-approach__text {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px;
}

.sds-approach__btn {
  display: inline-block;
  background: #2970C5;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   ABA THERAPY SOLUTIONS SECTION
   -------------------------------------------------------------------------- */
.sds-solutions {
  background: #DEE9F5;
  padding: 60px 40px;
}

.sds-solutions__container {
  max-width: 1200px;
  margin: 0 auto;
}

.sds-solutions__title {
  color: #0A2E5C;
  font-family: Sora, sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 50px;
}

.sds-solutions__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.sds-solutions__item {
  flex: 1;
  min-width: 250px;
  max-width: 320px;
  text-align: center;
  padding: 0 20px;
}

.sds-solutions__item--bordered {
  border-left: 1px solid #ccc;
  border-right: none;
}

.sds-solutions__item:nth-child(3) {
  border-left: 1px solid #ccc;
}

@media (max-width: 900px) {
  .sds-solutions__item:nth-child(3) {
    border-left: none;
  }
}

@media (max-width: 767px) {
  .sds-solutions__item,
  .sds-solutions__item--bordered,
  .sds-solutions__item:nth-child(3) {
    border: none;
  }
}

.sds-solutions__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0D965C;
  color: white;
  font-family: Sora, sans-serif;
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.5s ease;
}

.sds-solutions__item:hover .sds-solutions__number {
  transform: scale(1.06);
  background: #0b8350;
}

.sds-solutions__item-title {
  font-family: Sora, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
  color: #333;
}

.sds-solutions__item-text {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 12px;
}

.sds-solutions__item-link {
  font-size: 13px;
  font-weight: 600;
  color: #2970C5;
  text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   SERVICE AREA SECTION
   -------------------------------------------------------------------------- */
.sds-service-area {
  background: #FFFFFF;
  padding: 60px 40px;
}

.sds-service-area__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.sds-service-area__content {
  flex: 1;
  min-width: 300px;
}

.sds-service-area__title {
  color: #0A2E5C;
  font-family: Sora, sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 16px;
}

.sds-service-area__text {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.sds-service-area__image {
  flex: 1;
  min-width: 300px;
}

.sds-service-area__image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.sds-service-area__map {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  overflow: hidden;
}

.sds-service-area__map svg {
  display: block;
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   BLOG / RESOURCES SECTION
   -------------------------------------------------------------------------- */
.sds-blog {
  background: #FFFFFF;
  padding: 60px 40px;
}

.sds-blog__container {
  max-width: 1200px;
  margin: 0 auto;
}

.sds-blog__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.sds-blog__title {
  color: #0A2E5C;
  font-family: Sora, sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin: 0;
}

.sds-blog__view-all {
  font-size: 14px;
  font-weight: 600;
  color: #2970C5;
  text-decoration: none !important;
}

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

.sds-blog__card {
  min-width: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.sds-blog__card.animated:hover {
  transform: translateY(-5px);
}

.sds-blog__card-link {
  display: block;
  text-decoration: none !important;
  overflow: hidden;
  border-radius: 10px;
}

.sds-blog__card-title a {
  color: inherit;
  text-decoration: none !important;
}

.sds-blog__card-title a:hover {
  color: #2970C5;
}

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

@media (max-width: 600px) {
  .sds-blog__grid {
    grid-template-columns: 1fr;
  }
}

.sds-blog__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sds-blog__card:hover .sds-blog__card-image {
  transform: scale(1.04);
}

.sds-blog__tag {
  display: inline-block;
  background: #E57C02;
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  margin-top: 14px;
}

@media (max-width: 768px) {
  .sds-blog__tag {
    font-size: 9px;
  }
}

.sds-blog__card-title {
  color: #333;
  font-family: Sora, sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 10px 0 0;
}

.sds-blog__footer {
  text-align: center;
  margin-top: 60px;
}

.sds-blog__footer-text {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

.sds-blog__pills {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.sds-blog__pill {
  font-size: 13px;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none !important;
}

.sds-blog__pill--dark {
  background: #1562B5;
}

.sds-blog__pill--medium {
  background: #3E81C9;
}

.sds-blog__pill--light {
  background: #609FE3;
}

/* Button hover states */
.sds-insurance__btn:hover {
  background: #7caff6;
}
.sds-services__card-btn:hover {
  background: #7caff6;
}
.sds-services__card-btn--alt:hover {
  background: #7caff6;
}
.sds-approach__btn:hover {
  background: #7caff6;
}
.sds-blog__pill--dark:hover {
  background: #7caff6;
}
.sds-blog__pill--medium:hover {
  background: #7caff6;
}
.sds-blog__pill--light:hover {
  background: #7caff6;
}

/* --------------------------------------------------------------------------
   FINAL CTA SECTION
   -------------------------------------------------------------------------- */
.sds-final-cta {
  padding: 60px 40px 80px;
}

.sds-final-cta__container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.sds-final-cta__image {
  position: absolute;
  left: 80px;
  top: -20px;
  bottom: -20px;
  width: 260px;
  z-index: 10;
  height: 320px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 8px 12px 35px rgba(0,0,0,0.4);
  background: #1a2744;
  rotate: -4deg;
}

.sds-final-cta__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sds-final-cta__card {
  background: linear-gradient(100deg, #0f1a3a 0%, #0A2E5C 30%, #2970C5 100%);
  border-radius: 16px;
  padding: 50px 60px 50px 300px;
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sds-final-cta__title {
  font-family: Sora, sans-serif;
  color: white;
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 6px;
}

.sds-final-cta__title em {
  font-family: Instrument Serif, Georgia, serif;
  font-style: italic;
  color: white;
}

.sds-final-cta__subtitle {
  font-family: Sora, sans-serif;
  color: white;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 14px;
}

.sds-final-cta__desc {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  margin: 0 0 16px;
}

.sds-final-cta__form {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.sds-final-cta__form input.sds-final-cta__input,
.sds-final-cta__form input[type="text"],
.sds-final-cta__form input[type="tel"] {
  flex: 1;
  min-width: 0;
  padding: .7rem 1.4rem;
  border: 1px solid #666;
  border-radius: 6px !important;
  font-size: 14px;
  background: white;
  transition: all .3s;
}

.sds-final-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f7d45a;
  color: #0A2E5C;
  padding: .7rem 32px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
}

.sds-final-cta__form br {
  display: none;
}

@media (max-width: 1100px) and (min-width: 768px) {
  .sds-final-cta__image {
    left: -80px;
  }

  .sds-final-cta__card {
    padding: 50px 60px 50px 200px;
  }

  .sds-final-cta__subtitle {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .sds-final-cta {
    padding: 40px 20px 60px;
  }

  .sds-final-cta__container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sds-final-cta__image {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: min(320px, 88vw);
    height: auto;
    aspect-ratio: 260 / 320;
    margin: 0 auto -36px;
    z-index: 2;
  }

  .sds-final-cta__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .sds-final-cta__card {
    width: 100%;
    padding: 52px 24px 32px;
    box-sizing: border-box;
  }

  .sds-final-cta__title {
    font-size: 20px;
  }

  .sds-final-cta__subtitle {
    font-size: 20px;
    line-height: 1.35;
  }

  .sds-final-cta__form {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .sds-final-cta__form input.sds-final-cta__input,
  .sds-final-cta__form input[type="text"],
  .sds-final-cta__form input[type="tel"] {
    flex: none;
    width: 100%;
    box-sizing: border-box;
  }

  .sds-final-cta__btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sds-hero__image img,
  .sds-hero__image::after {
    animation: none;
  }

  .sds-hero__image img {
    transform: scale(1);
    filter: none;
  }

  .sds-cta-banner__btn {
    animation: none;
    transform: none;
  }

  .sds-services__card,
  .sds-services__card-image,
  .sds-blog__card,
  .sds-blog__card-image,
  .sds-approach__image img,
  .sds-solutions__number {
    transition: none;
  }

  .sds-services__card:hover,
  .sds-services__card.animated:hover,
  .sds-blog__card.animated:hover,
  .sds-services__card:hover .sds-services__card-image,
  .sds-blog__card:hover .sds-blog__card-image,
  .sds-approach__image:hover img,
  .sds-solutions__item:hover .sds-solutions__number {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   SHARED / UTILITY - Italic accent in headings
   -------------------------------------------------------------------------- */
.sds-accent {
  font-family: Instrument Serif, Georgia, serif;
  color: #2970C5;
  font-style: italic;
}
