/* =========================================================
   MindCare Programs & Support Services Page
   Premium Editorial Design
========================================================= */

.mindcare-services-page {
  --mc-font-main: "Open Sans", Arial, sans-serif;
  --mc-font-heading: "Roboto", "Open Sans", Arial, sans-serif;

  --mc-green: #45c15a;
  --mc-green-dark: #178f3a;
  --mc-green-soft: rgba(69, 193, 90, 0.1);
  --mc-blue: #0b8cff;
  --mc-dark: #20242d;
  --mc-heading: #243628;
  --mc-text: #4d5c52;
  --mc-muted: #758174;
  --mc-soft: #f3fbf5;
  --mc-card: #ffffff;
  --mc-border: rgba(36, 54, 40, 0.11);
  --mc-border-green: rgba(69, 193, 90, 0.2);
  --mc-shadow: 0 20px 55px rgba(24, 70, 39, 0.07);
  --mc-shadow-hover: 0 30px 85px rgba(24, 70, 39, 0.14);

  position: relative;
  overflow: hidden;
  color: var(--mc-dark);
  font-family: var(--mc-font-main);
  background:
    radial-gradient(circle at 8% 0%, rgba(69, 193, 90, 0.12), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(11, 140, 255, 0.07), transparent 30%),
    linear-gradient(180deg, #f8fcf9 0%, #f4fbf6 42%, #ffffff 100%);
}

.mindcare-services-page *,
.mindcare-services-page *::before,
.mindcare-services-page *::after {
  box-sizing: border-box;
}

.mindcare-services-page a {
  text-decoration: none;
}

.mindcare-services-page h1,
.mindcare-services-page h2,
.mindcare-services-page h3,
.mindcare-services-page p {
  margin-top: 0;
}

.mindcare-services-page h1,
.mindcare-services-page h2,
.mindcare-services-page h3 {
  font-family: var(--mc-font-heading);
}

/* Decorative background */
.mindcare-services-page::before {
  content: "";
  position: absolute;
  top: 110px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(69, 193, 90, 0.06);
  pointer-events: none;
}

.mindcare-services-page::after {
  content: "";
  position: absolute;
  top: 520px;
  left: -150px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(11, 140, 255, 0.045);
  pointer-events: none;
}

/* =========================
   Hero
========================= */

.mindcare-services-hero {
  position: relative;
  z-index: 1;
  padding: 76px 0 62px;
}

.mindcare-services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 360px;
  gap: 44px;
  align-items: center;
}

.mindcare-services-kicker,
.mindcare-services-section-head span,
.mindcare-services-cta-card span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mc-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.mindcare-services-kicker::before,
.mindcare-services-section-head span::before,
.mindcare-services-cta-card span::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--mc-green);
}

.mindcare-services-hero-copy h1 {
  max-width: 940px;
  color: var(--mc-green);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -2.2px;
  margin: 0 0 22px;
}

.mindcare-services-hero-copy p {
  max-width: 900px;
  color: #15171c;
  font-size: clamp(18px, 1.9vw, 26px);
  line-height: 1.65;
  margin-bottom: 30px;
}

.mindcare-services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.mindcare-services-btn {
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
  transition: all 0.25s ease;
}

.mindcare-services-btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--mc-green), var(--mc-blue));
  box-shadow: 0 16px 36px rgba(69, 193, 90, 0.23);
}

.mindcare-services-btn-light {
  color: var(--mc-heading);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(69, 193, 90, 0.18);
  box-shadow: 0 10px 30px rgba(24, 70, 39, 0.06);
}

.mindcare-services-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--mc-shadow-hover);
}

/* Hero stats */
.mindcare-services-hero-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mindcare-services-stat-card {
  position: relative;
  min-height: 138px;
  padding: 24px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
  border: 1px solid var(--mc-border-green);
  box-shadow: var(--mc-shadow);
  overflow: hidden;
}

.mindcare-services-stat-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(69, 193, 90, 0.08);
}

.mindcare-services-stat-card strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--mc-green);
  font-size: 31px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 11px;
}

.mindcare-services-stat-card span {
  position: relative;
  z-index: 1;
  color: var(--mc-text);
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 800;
}

/* =========================
   Shared Sections
========================= */

.mindcare-services-featured,
.mindcare-services-grid-section,
.mindcare-services-process,
.mindcare-services-cta {
  position: relative;
  z-index: 1;
  padding: 66px 0;
}

.mindcare-services-section-head {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.mindcare-services-section-head h2 {
  color: var(--mc-heading);
  font-size: clamp(32px, 3.7vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}

.mindcare-services-section-head p {
  color: var(--mc-text);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 0;
}

/* =========================
   Featured Swiper
========================= */

.mindcare-services-featured {
  background:
    radial-gradient(circle at center, rgba(69, 193, 90, 0.08), transparent 36%),
    linear-gradient(180deg, transparent, rgba(69, 193, 90, 0.045));
}

.mindcareServicesSwiper {
  overflow: visible;
}

.mindcare-feature-service-card {
  position: relative;
  min-height: 292px;
  padding: 32px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(69, 193, 90, 0.13), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #fbfffc 100%);
  border: 1px solid var(--mc-border);
  box-shadow: var(--mc-shadow);
  transition: all 0.25s ease;
  overflow: hidden;
}

.mindcare-feature-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-top: 4px solid rgba(69, 193, 90, 0.28);
  pointer-events: none;
}

.mindcare-feature-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--mc-shadow-hover);
}

.mindcare-feature-service-icon,
.mindcare-service-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--mc-green-soft);
  color: var(--mc-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  margin-bottom: 22px;
}

.mindcare-feature-service-card h3 {
  color: var(--mc-green);
  font-size: 25px;
  line-height: 1.18;
  font-weight: 800;
  margin-bottom: 13px;
}

.mindcare-feature-service-card p {
  color: var(--mc-text);
  font-size: 14.8px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.mindcare-feature-service-card a,
.mindcare-service-card a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--mc-green);
  font-size: 14px;
  font-weight: 800;
}

.mindcare-feature-service-card a:hover,
.mindcare-service-card a:hover {
  color: var(--mc-blue);
}

.mindcare-services-slider-nav {
  display: flex;
  justify-content: center;
  gap: 13px;
  margin-top: 32px;
}

.mindcare-services-prev,
.mindcare-services-next {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--mc-green);
  box-shadow: 0 14px 35px rgba(24, 70, 39, 0.1);
  cursor: pointer;
  transition: all 0.25s ease;
}

.mindcare-services-prev:hover,
.mindcare-services-next:hover {
  background: var(--mc-green);
  color: #fff;
  transform: translateY(-3px);
}

/* =========================
   Services Grid
========================= */

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

.mindcare-service-card {
  position: relative;
  min-height: 285px;
  padding: 30px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfffc 100%);
  border: 1px solid var(--mc-border);
  box-shadow: 0 14px 40px rgba(24, 70, 39, 0.045);
  transition: all 0.25s ease;
  overflow: hidden;
}

.mindcare-service-card::before {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mc-green), rgba(11, 140, 255, 0.65));
  opacity: 0;
  transition: all 0.25s ease;
}

.mindcare-service-card::after {
  content: "";
  position: absolute;
  top: -42px;
  right: -42px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: rgba(69, 193, 90, 0.07);
  transition: all 0.25s ease;
}

.mindcare-service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--mc-shadow-hover);
  border-color: rgba(69, 193, 90, 0.26);
}

.mindcare-service-card:hover::before {
  opacity: 1;
}

.mindcare-service-card:hover::after {
  transform: scale(1.35);
}

.mindcare-service-card h3 {
  position: relative;
  z-index: 1;
  color: var(--mc-green);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 750;
  margin-bottom: 14px;
}

.mindcare-service-card p {
  position: relative;
  z-index: 1;
  color: #17191f;
  font-size: 14.8px;
  line-height: 1.72;
  margin-bottom: 28px;
}

.mindcare-service-card a {
  position: relative;
  z-index: 1;
}

/* =========================
   Process
========================= */

.mindcare-services-process {
  background:
    radial-gradient(circle at center, rgba(69, 193, 90, 0.09), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f5fbf7 100%);
}

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

.mindcare-process-card {
  position: relative;
  padding: 30px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--mc-border);
  box-shadow: var(--mc-shadow);
  transition: all 0.25s ease;
}

.mindcare-process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--mc-shadow-hover);
}

.mindcare-process-card strong {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 17px;
  background: var(--mc-green-soft);
  color: var(--mc-green);
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 20px;
}

.mindcare-process-card h3 {
  color: var(--mc-heading);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 11px;
}

.mindcare-process-card p {
  color: var(--mc-text);
  font-size: 14.3px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* =========================
   CTA
========================= */

.mindcare-services-cta-card {
  position: relative;
  padding: 46px;
  border-radius: 30px;
  background:
    radial-gradient(circle at left, rgba(69, 193, 90, 0.18), transparent 35%),
    linear-gradient(135deg, #243628 0%, #1f2d24 100%);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  box-shadow: 0 28px 80px rgba(24, 70, 39, 0.22);
  overflow: hidden;
}

.mindcare-services-cta-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.mindcare-services-cta-card h2 {
  color: #fff;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 14px;
}

.mindcare-services-cta-card p {
  max-width: 730px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15.8px;
  line-height: 1.72;
  margin-bottom: 0;
}

.mindcare-services-cta-card span {
  color: #7cf28d;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1199px) {
  .mindcare-services-hero-grid {
    grid-template-columns: 1fr;
  }

  .mindcare-services-hero-panel {
    max-width: 720px;
  }

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

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

  .mindcare-services-cta-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .mindcare-services-hero {
    padding: 56px 0 42px;
  }

  .mindcare-services-featured,
  .mindcare-services-grid-section,
  .mindcare-services-process,
  .mindcare-services-cta {
    padding: 50px 0;
  }

  .mindcare-services-hero-copy h1 {
    font-size: 39px;
    letter-spacing: -1.2px;
  }

  .mindcare-services-hero-copy p {
    font-size: 17px;
  }

  .mindcare-services-hero-panel,
  .mindcare-services-grid,
  .mindcare-services-process-grid,
  .mindcare-services-cta-card {
    grid-template-columns: 1fr;
  }

  .mindcare-service-card,
  .mindcare-feature-service-card,
  .mindcare-process-card,
  .mindcare-services-cta-card {
    padding: 24px;
    border-radius: 22px;
  }

  .mindcare-services-btn {
    width: 100%;
  }

  .mindcare-services-section-head h2 {
    font-size: 31px;
  }

  .mindcare-services-section-head p {
    font-size: 15px;
  }

  .mindcare-service-card {
    min-height: auto;
  }

  .mindcare-service-card h3,
  .mindcare-feature-service-card h3 {
    font-size: 22px;
  }

  .mindcare-services-cta-card {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .mindcare-services-hero-copy h1 {
    font-size: 35px;
  }

  .mindcare-services-hero-copy p {
    font-size: 16px;
  }

  .mindcare-services-stat-card {
    min-height: auto;
    padding: 22px;
  }

  .mindcare-services-stat-card strong {
    font-size: 28px;
  }
}