/* ========================================
   Services Page Styles
   ======================================== */

/* Service Sections — alternating layout */
.service-section {
  padding: 80px 0;
  scroll-margin-top: 80px;
}

.service-section:nth-child(even) {
  background: var(--color-off-white);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-section:nth-child(even) .service-row {
  direction: rtl;
}

.service-section:nth-child(even) .service-row > * {
  direction: ltr;
}

.service-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-image:hover img {
  transform: scale(1.03);
}

.service-text .section-label {
  margin-bottom: 8px;
}

.service-text h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 16px;
}

.service-text p {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 28px;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-text);
}

.service-feature i {
  color: var(--color-primary);
  font-size: 0.85rem;
  width: 18px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .service-section {
    padding: 50px 0;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-section:nth-child(even) .service-row {
    direction: ltr;
  }

  .service-image img {
    height: 260px;
  }
}
