/*Services Page Styles*/

.section-inner {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header-block {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header-block h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.625rem;
}

.section-header-block p {
  font-size: 0.9rem;
  color: var(--gray);
}

.btn-outline {
  display: inline-block;
  padding: 0.8125rem 1.75rem;
  border: 2px solid var(--white);
  color: var(--white);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--purple);
}


/* SERVICES HERO*/

.services-hero {
  position: relative;
  height: 25rem;
  overflow: hidden;
}

.services-hero .hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #888;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  gap: 0.625rem;
  padding: 1.5rem;
}

.hero-overlay h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
}

.hero-overlay p {
  font-size: 0.95rem;
  opacity: 0.9;
}


/* CORE SERVICES*/

.core-services {
  background: var(--gray-light);
  padding: 4.5rem 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.75rem 1.375rem;
}

.service-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  background: rgba(107, 33, 168, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 1rem;
}

.service-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.625rem;
}

.service-card p {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.7;
}


/* HOW IT WORKS */

.how-it-works {
  padding: 4.5rem 1.5rem;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step-num {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
}

.step p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
}


/* WHY CHOOSE PLATFORM */

.why-platform {
  background: var(--gray-light);
  padding: 4.5rem 1.5rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.platform-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.platform-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  flex-shrink: 0;
}

.platform-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.platform-item p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
}


/* CTA BANNER */

.cta-banner {
  background: var(--purple);
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.cta-inner {
  max-width: 35rem;
  margin: 0 auto;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.875rem;
}

.cta-inner p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}


/* RESPONSIVE*/

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
}

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

  .steps-row {
    grid-template-columns: 1fr;
  }
}