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

/* --------------------------------------------------------------------------
   SERVICES HERO
   -------------------------------------------------------------------------- */
.sds-services-hero {
  background: linear-gradient(125deg, #F7FBFF 0%, #DEE9F5 28%, #C5D9F0 62%, #A9C8E8 100%);
  padding: 140px 40px 80px;
  min-height: 620px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

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

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

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

.sds-services-hero__subtitle {
  color: #555;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 520px;
}

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

.sds-services-hero__buttons br,
.sds-services-hero__buttons p {
  display: none;
}

.sds-services-hero__btn,
.sds-services-hero__btn:visited,
.sds-services-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-services-hero__btn--primary {
  background: #0D965C;
  color: white;
}

.sds-services-hero__btn--primary:hover {
  background: #7ac97a;
}

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

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

.sds-services-hero__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* --------------------------------------------------------------------------
   SERVICES OVERVIEW
   -------------------------------------------------------------------------- */
.sds-services-overview,
.sds-services-overview__card,
.sds-services-overview__telehealth,
.sds-services-aba {
  scroll-margin-top: 140px;
}

.sds-services-overview {
  background: #FFFFFF;
  padding: 70px 40px;
}

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

.sds-services-overview__title {
  color: #0A2E5C;
  font-family: Sora, sans-serif;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 12px;
}

.sds-services-overview__desc {
  color: #666;
  font-size: 15px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.sds-services-overview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.sds-services-overview__grid > .sds-services-overview__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  align-self: stretch;
}

.sds-services-overview__card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  border: 1px solid #eee;
  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-overview__card.animated:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(10, 46, 92, 0.12);
}

.sds-services-overview__card-image-wrap {
  overflow: hidden;
  flex-shrink: 0;
}

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

.sds-services-overview__card:hover .sds-services-overview__card-image {
  transform: scale(1.03);
}

.sds-services-overview__card-body {
  padding: 24px 24px 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.sds-services-overview__card-body > p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sds-services-overview__card-title {
  font-family: Sora, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0A2E5C;
  margin: 0 0 12px;
}

.sds-services-overview__card-text {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0 0 16px;
}

.sds-services-overview__card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sds-services-overview__card-list li {
  font-size: 13px;
  color: #555;
  padding: 4px 0 4px 20px;
  position: relative;
  line-height: 1.5;
}

.sds-services-overview__card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0D965C;
}

.sds-services-overview__card-footer {
  padding: 20px 24px 24px;
  margin-top: auto;
  flex-shrink: 0;
}

.sds-services-overview__card-btn {
  display: inline-block;
  background: #0A2E5C;
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
}

.sds-services-overview__card-btn:hover {
  background: #7caff6;
}

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

.sds-services-overview__card-btn--alt:hover {
  background: #7caff6;
}

/* --------------------------------------------------------------------------
   WHAT IS ABA
   -------------------------------------------------------------------------- */
.sds-services-overview__telehealth {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 28px 32px;
  background: #7ac97a;
  border-radius: 12px;
}

.sds-services-overview__telehealth-title {
  color: #0A2E5C;
  font-family: Sora, sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.sds-services-overview__telehealth-text {
  color: #454e5a;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
}

.sds-services-overview__telehealth .sds-services-overview__card-btn {
  flex-shrink: 0;
}

.sds-services-aba {
  background: #DEE9F5;
  padding: 70px 40px;
}

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

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

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

.sds-services-aba__text {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.sds-services-aba__highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.sds-services-aba__highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #0A2E5C;
  line-height: 1;
}

.sds-services-aba__highlight br {
  display: none;
}

.sds-services-aba__highlight p {
  margin: 0;
  line-height: 1;
}

.sds-services-aba__highlight > span {
  display: flex;
  align-items: center;
  min-height: 20px;
  line-height: 1.2;
}

.sds-services-aba__highlight-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0D965C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  overflow: hidden;
}

.sds-services-aba__highlight-icon svg {
  display: block;
  width: 12px;
  height: 12px;
  stroke: #ffffff;
  stroke-width: 3;
}

.sds-services-aba__image {
  flex: 1;
  min-width: 300px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.sds-services-aba__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   AREAS WE ADDRESS
   -------------------------------------------------------------------------- */
.sds-services-areas {
  background: #FFFFFF;
  padding: 70px 40px;
}

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

.sds-services-areas__title {
  color: #0A2E5C;
  font-family: Sora, sans-serif;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 40px;
}

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

.sds-services-areas__item {
  background: #F5F8FC;
  border-radius: 12px;
  padding: 28px 24px;
  border-left: 3px solid #2970C5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sds-services-areas__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 46, 92, 0.06);
}

/* Subtle per-card color accents */
.sds-services-areas__item:nth-child(1) {
  background: #F0F6FC;
  border-left-color: #2970C5;
}

.sds-services-areas__item:nth-child(1) .sds-services-areas__item-icon {
  background: rgba(41, 112, 197, 0.12);
}

.sds-services-areas__item:nth-child(2) {
  background: #F0F9F5;
  border-left-color: #0D965C;
}

.sds-services-areas__item:nth-child(2) .sds-services-areas__item-icon {
  background: rgba(13, 150, 92, 0.12);
}

.sds-services-areas__item:nth-child(2) .sds-services-areas__item-icon svg {
  stroke: #0D965C;
}

.sds-services-areas__item:nth-child(3) {
  background: #FFF8F0;
  border-left-color: #E57C02;
}

.sds-services-areas__item:nth-child(3) .sds-services-areas__item-icon {
  background: rgba(229, 124, 2, 0.12);
}

.sds-services-areas__item:nth-child(3) .sds-services-areas__item-icon svg {
  stroke: #E57C02;
}

.sds-services-areas__item:nth-child(4) {
  background: #F5F0FA;
  border-left-color: #7B5EA7;
}

.sds-services-areas__item:nth-child(4) .sds-services-areas__item-icon {
  background: rgba(123, 94, 167, 0.12);
}

.sds-services-areas__item:nth-child(4) .sds-services-areas__item-icon svg {
  stroke: #7B5EA7;
}

.sds-services-areas__item:nth-child(5) {
  background: #F0F7FB;
  border-left-color: #3E81C9;
}

.sds-services-areas__item:nth-child(5) .sds-services-areas__item-icon {
  background: rgba(62, 129, 201, 0.12);
}

.sds-services-areas__item:nth-child(5) .sds-services-areas__item-icon svg {
  stroke: #3E81C9;
}

.sds-services-areas__item:nth-child(6) {
  background: #FFF9EC;
  border-left-color: #E2B732;
}

.sds-services-areas__item:nth-child(6) .sds-services-areas__item-icon {
  background: rgba(226, 183, 50, 0.15);
}

.sds-services-areas__item:nth-child(6) .sds-services-areas__item-icon svg {
  stroke: #C9A227;
}

.sds-services-areas__item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #DEE9F5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.sds-services-areas__item-title {
  font-family: Sora, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0A2E5C;
  margin: 0 0 8px;
}

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

/* --------------------------------------------------------------------------
   INSURANCE & COVERAGE
   -------------------------------------------------------------------------- */
.sds-services-insurance {
  background: #F8FAFB;
  padding: 70px 40px;
  text-align: center;
}

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

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

.sds-services-insurance__text {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 28px;
}

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

.sds-services-insurance__buttons br,
.sds-services-insurance__buttons p {
  display: none;
}

.sds-services-insurance__btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  font-family: Inter, sans-serif;
}

.sds-services-insurance__btn--primary {
  background: #0A2E5C;
  color: white;
}

.sds-services-insurance__btn--primary:hover {
  background: #7caff6;
}

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

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .sds-services-hero {
    padding: 40px 20px 40px;
    min-height: 0;
  }

  .sds-services-overview,
  .sds-services-aba,
  .sds-services-areas,
  .sds-services-insurance {
    padding: 40px 20px;
  }

  .sds-services-hero__title {
    font-size: 24px;
  }

  .sds-services-overview__title,
  .sds-services-aba__title,
  .sds-services-areas__title,
  .sds-services-insurance__title {
    font-size: 20px;
  }

  .sds-services-hero__container {
    flex-direction: column;
  }

  .sds-services-overview__grid {
    grid-template-columns: 1fr;
  }

  .sds-services-overview__telehealth {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .sds-services-aba__container {
    flex-direction: column;
  }

  .sds-services-areas__grid {
    grid-template-columns: 1fr;
  }
}
