@media (max-width: 1024px) {
  .services-section,
  .services-section.services-reverse {
    flex-direction: column;
    align-items: stretch;
  }
  .services-section + .services-section .services-image {
    margin-top: 1.25rem;
  }
  .services-section > .services-image {
    display: none;
  }
  .services-image-mobile {
    display: block;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .services-content {
    width: 100%;
    padding: 3rem 1.5rem;
    justify-content: flex-start;
  }
}
@media (min-width: 1025px) {
  .services-image-mobile {
    display: none;
  }
}

/* Only strip explicitly white backgrounds and inline box-shadows so
   colored highlights (rgba/gradients) remain visible. */
.services-section {
  background: transparent !important;
}

.services-section [style*="background: white"],
.services-section [style*="background: #fff"],
.services-section [style*="background: #ffffff"],
.services-section [style*="background: var(--white)"] {
  background: transparent !important;
}

/* Remove inline shadows (images and white cards) but avoid touching
   elements that use rgba/gradients for emphasis. */
.services-section img[style*="box-shadow"],
.services-section [style*="box-shadow: 0 4px 20px"],
.services-section [style*="box-shadow: 0 4px 12px"],
.services-section [style*="box-shadow: 0 10px 60px"],
.services-section [style*="box-shadow: 0 20px 60px"] {
  box-shadow: none !important;
}

/* Case study description cards (Past Work page only) */
.services-section {
  padding: 1.5rem;
  box-sizing: border-box;
}

.services-content {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(1, 1, 126, 0.12);
  border: 1px solid rgba(1, 1, 126, 0.08);
}

.services-brand-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.services-brand-name {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3em;
  text-decoration: none;
}

a.services-brand-name:hover {
  text-decoration: underline;
}

.services-body {
  line-height: 1.6em;
}

@media (min-width: 1025px) {
  .services-section {
    padding: 2.5rem;
    gap: 2.5rem;
  }

  .services-brand-name {
    font-size: 1.5rem;
  }
}

@media (min-width: 1281px) {
  .services-section {
    padding: 3rem 4rem;
  }
}
