@import "globals.css";
header {
  background-color: white !important;
  position: relative !important;
}

main .header img {
  max-height: 455px;
  width: 100%;
  object-fit: cover;
}

main .header .title {
  padding: 36px 0;
  background-color: white;
}

main .header .title h1 {
  font-weight: 700;
  font-size: 56px;
  line-height: 64px;
  color: rgba(0, 0, 0, 1);
}

main .header .overview {
  padding: 72px 0;
  background-color: rgba(250, 250, 250, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

main .header .overview h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 48px;
  text-align: center;
}

main .header .overview h3 {
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  line-height: 32px;
  text-align: center;
  color: rgba(5, 0, 24, 1);
  max-width: 950px;
  margin: 0 auto;
  margin-top: 12px;
}

main .services-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 64px 0;
}

main .service {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 96px;
  color: rgba(5, 0, 24, 1);
  padding: 40px 0;
}

main .service img {
  flex: 1 0 0;
}

main .service .content {
  flex: 3 0 0;
}

main .service .content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

main .service h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 48px;
  text-align: left;
}

main .service .description {
  background-color: rgba(255, 251, 232, 1);
  border-radius: 16px;
  padding: 16px 24px;
  border: 2px solid rgba(255, 222, 55, 1);
}

main .service .description p {
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  line-height: 32px;
  text-align: left;
}

main .service button {
  background-color: rgba(212, 54, 58, 1);
  border: 0;
  outline: 0;
  display: flex;
  align-items: center;
  font-family: "Work Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 2.200000047683716px;
  text-align: left;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 1);
  padding: 15px 32px;
  position: relative;
}
main .service button img {
  position: absolute;
  right: -15px;
}

main .service ul {
  list-style: disc;
  margin-left: 24px;
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  line-height: 32px;
  text-align: left;
}

main .services-grid main a {
  text-decoration: none;
}

main .services-grid .service:nth-child(2n) {
  flex-direction: row-reverse;
}

main a {
  text-decoration: none;
}

@media only screen and (max-width: 991px) {
  main .services-grid .service {
    flex-direction: column !important;
    gap: 24px !important;
    padding: 24px 0;
  }

  main .services-grid .service:nth-child(2n) {
    flex-direction: column;
  }
  main .services-grid {
    padding: 0;
  }
}
