/* Page-specific styles for our-services/index.html */

.page-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 563px;
  padding: 320px 30px 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-hero--tall {
  padding: 440px 30px 40px;
}

.page-hero__banner {
  background: rgba(236, 32, 40, 0.82);
  padding: 18px 40px;
  text-align: center;
  max-width: 528px;
  width: 100%;
}

.page-hero__banner h1 {
  margin: 0;
  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
  color: var(--color-white);
  font-weight: 700;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

@media (max-width: 800px) {
  .page-hero {
    height: auto;
    padding: 60px 30px;
  }

  .page-hero--tall {
    padding: 60px 30px;
  }
}

@media (max-width: 420px) {
  .page-hero__banner {
    padding: 16px 20px;
  }

  .page-hero__banner h1 {
    font-size: 20px;
    line-height: 1.3;
  }
}

/* Intro band */

.band {
  background: var(--color-navy);
  padding: 40px 30px;
  text-align: center;
}

.band__text {
  max-width: 900px;
  margin: 0 auto;
  color: var(--color-white);
  font-size: var(--font-size-h5);
  line-height: var(--line-height-h5);
}

/* Services / platforms grid */

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px 30px;
  max-width: 1000px;
}

.services-grid__col h3 {
  color: var(--color-red);
  text-align: center;
  margin-bottom: 30px;
}

.service-item {
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid #eee;
}

.service-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.service-item__icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 10px;
}

.service-item h5 {
  margin: 0 0 8px;
  font-size: 20px;
}

.service-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--color-gray-text);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
}

.service-item ul li::before {
  content: "\2022 ";
}

.platform-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.platform-list img {
  max-height: 45px;
  max-width: 220px;
  width: auto;
  height: auto;
}

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

/* Wait, there's more band */

.band--red {
  background: var(--color-red-accent);
  padding: 40px 30px;
  text-align: center;
}

.band--red h4 {
  margin: 0 0 10px;
  color: var(--color-white);
  letter-spacing: 1px;
}

.band--red p {
  margin: 0 auto;
  max-width: 700px;
  color: var(--color-white);
  font-size: var(--font-size-h5);
  line-height: var(--line-height-h5);
}

/* Let's Connect */

.connect-section {
  padding: 60px 30px;
  text-align: center;
}

.connect-section h2 {
  margin-bottom: 20px;
}

.connect-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--color-gray-text);
  font-size: var(--font-size-h5);
  line-height: var(--line-height-h5);
}
