/* Page-specific styles for services.html */
.services-page{
  margin:0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg,#071021 0%, #071021 60%);
  color:#e8f0ff;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
}
/* Reduce space below the hero title on the services page */
.services-page .hero {
  padding-bottom: 20px;
}

.services-page .slide-section {
  opacity: 0;
  transform: translateX(60px);
  transition: transform 0.55s ease, opacity 0.55s ease;
}

@media (max-width: 900px) {
  .adhd-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .adhd-text {
    font-size: 2rem;
  }
}

.services-page .slide-in {
  opacity: 1;
  transform: translateX(0);
}

.service-intro-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.service-intro {
  color: #000D27;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-body-services {
  display: grid;
  gap: 16px;
  background: #fff;
  padding: 28px;
  border-radius: 14px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.service-card {
  width: 100%;
  max-width: 740px;
  background: linear-gradient(to bottom right, #345FAC, #000D27);
  color: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  height: 200px;

  /* Slide-up reveal */
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.25s ease;
}

.service-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .service-card {
    flex-direction: column;
    height: 500px
  }
}

.service-card:hover {
  transform: translateY(0) scale(1.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  background: linear-gradient(to bottom right, #4175d4, #011e5a);
}

.service-card-image {
  width: 180px;
  height: 180px;
  margin: 10px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
  flex: 0 0 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 760px) {
  .service-card-image {
    margin: 10px auto;
  }
}

.service-card-body {
  padding: 18px;
}

.service-card-body h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.service-card-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}
