@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul,
li {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-weight: normal;
  font-size: 16px;
}

body {
  margin: 0;
  background-color: #f8f8ff;
  font-family: 'Open Sans', sans-serif;
  color: #050100;
  fill: #050100;
}

button,
input {
  font: inherit;
  color: inherit;
  border: none;
  background: transparent;
}

button:not(:disabled) {
  cursor: pointer;
}

input:focus {
  outline: none;
}

select {
  font: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}

a {
  font: inherit;
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 24px 48px;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.four-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.text-center {
  text-align: center;
}

.btn-outline {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: #0e74eb;
  border: 2px solid #0e74eb;
  padding: 8px 16px;
  border-radius: 24px;
  font-weight: 600;
  transition: all ease-in-out 200ms;
}

.btn-outline:hover {
  background-color: #0e74eb;
  color: white;
}

.btn-solid {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  background-color: #0e74eb;
  border: 2px solid #0e74eb;
  color: white;
  padding: 8px 16px;
  border-radius: 24px;
  font-weight: 600;
}

.btn-solid:hover {
  background-color: #2581ea;
  border-color: #2581ea;
}

.btn-ghost {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 8px 16px;
  border-radius: 24px;
  background-color: transparent;
  border: none;
  color: #050100;
}

.btn-ghost:hover {
  background-color: #d4e4f7;
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-body {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.header-body h1 {
  font-size: clamp(1.75rem, 1.2885rem + 2.3077vw, 3.25rem);
  font-weight: bold;
}

.header-body p {
  font-size: clamp(1rem, 0.9231rem + 0.3846vw, 1.25rem);
  margin-top: 16px;
}

.header-body-cta-group {
  margin-top: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.header-footer {
  margin-top: 24px;
}

.img-clients .img-wrapper {
  display: inline-flex;
  width: calc(100% / 6 - 10px);
}

.img-clients .img-wrapper img {
  width: 50%;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 auto;
  filter: grayscale(1);
  transition: all linear 200ms;
}

.img-clients .img-wrapper img:hover {
  filter: grayscale(0);
}

.heading-border {
  position: relative;
}

main {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

main > section:nth-child(odd) {
  background-color: #f1f6ff;
}

main > section {
  padding-block: 52px;
}

h2.subheading {
  color: #37517f;
  width: max-content;
  margin: 0 auto;
  font-size: clamp(1.5rem, 1.3462rem + 0.7692vw, 2rem);
  font-weight: bold;
  position: relative;
  margin-bottom: 16px;
}

h2.subheading:not(.no-border)::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 80%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.2);
}

h2.subheading:not(.no-border)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translate(-50%, 40%);
  width: 30%;
  height: 3px;
  background-color: #0e74eb;
}

/* SECTION ABOUT US */
.section-about-us ul {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-about-us ul li {
  display: flex;
  align-items: start;
  gap: 4px;
}

.section-about-us ul li .icon {
  display: block;
  width: 20px;
  flex-shrink: 0;
  fill: #0e74eb;
}

.section-about-us .btn-outline {
  margin-top: 24px;
}

/* SECTION SERVICES */
.section-services > p {
  color: #4a5568;
}

.section-services .section-body div {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 36px 20px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: all linear 200ms;
}

.section-services .section-body div:hover {
  transform: translateY(-10px);
}

.section-services .section-body div .icon {
  display: block;
  width: 36px;
  height: 36px;
  fill: #0e74eb;
}

.section-services .section-body div h3 {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #37517f;
}

.section-services .section-body div p {
  margin-top: 12px;
  color: #4a5568;
}

/* SECTION PRICING */
.pricing-option {
  background-color: #f8f8ff;
  padding: 36px 20px;
  border-radius: 8px;
  border-top: 3px solid #f8f8ff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-option .spacer {
  flex: 1;
}

.pricing-option.featured {
  border-top: 3px solid #0e74eb;
}

.pricing-option .option-title {
  font-size: 20px;
  font-weight: 600;
}

.pricing-option .option-desc {
  margin-top: 8px;
  color: #4a5568;
}

.pricing-option .option-price {
  margin-top: 16px;
  display: flex;
  align-items: center;
}

.pricing-option .option-price .option-price-amount {
  font-size: 32px;
  font-weight: bold;
  margin-right: 8px;
}

.pricing-option .option-price span:first-child {
  align-self: flex-start;
  font-size: 20px;
  margin-top: 4px;
}

.pricing-option .option-info {
  margin-top: 16px;
  border-radius: 8px;
}

.pricing-option .option-info li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-option .option-info .icon {
  display: block;
  width: 20px;
  fill: #0e74eb;
}

.option-select-btn {
  margin-top: 24px;
}

/* SECTION NEWSLETTER */
.section-newsletter input {
  width: 100%;
  min-width: 120px;
  position: relative;
  padding: 10px 16px;
  border-radius: 8px;
}

.section-newsletter form {
  display: flex;
  width: 90%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0;
  outline: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 32px;
}

/* Other - Section with image on side left/right */
.section-type-a .container,
.section-type-b .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.section-type-a h2.subheading,
.section-type-b h2.subheading {
  width: auto;
}

.section-type-b .img-wrapper {
  order: 2;
}

.section-type-b .content-wrapper {
  order: 1;
}

/* Footer */
.footer {
  margin-top: 32px;
  color: #4a5568;
}

.footer-body {
  background-color: #f8f8ff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-heading {
  color: #37517f;
  font-size: 28px;
  font-weight: bold;
}

.footer-address {
  margin-top: 12px;
}

.footer-contact {
  margin-top: 28px;
}

.footer-navheading {
  color: #37517f;
  font-weight: bold;
}

.footer-navlist {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-navitem a {
  display: flex;
  align-items: center;
  transition: all linear 100ms;
  font-size: 16px;
  gap: 4px;
}

.footer-navitem a:hover {
  color: #0e74eb;
}

.footer-navitem .icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: #0e74eb;
}

.footer-social-desc {
  margin-top: 12px;
}

.footer-social-list {
  margin-top: 16px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-social-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #0e74eb;
  fill: white;
  border-radius: 50%;
}

.footer-social-item a:hover {
  background-color: #2581ea;
}

.footer-social-item .icon {
  display: block;
  width: 20px;
}

.footer-footer {
  margin-top: 32px;
  background-color: #37517f;
  color: white;
}

.footer-footer .container {
  padding-block: 8px;
}

.footer-footer p {
  font-size: 14px;
  text-align: center;
}

/* MEDIA QUERIES */
@media screen and (max-width: 1024px) {
  .two-cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .three-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .four-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .img-clients .img-wrapper {
    width: calc(100% / 3 - 10px);
  }

  .header-body {
    min-height: unset;
    grid-template-columns: 1fr;
    grid-template-rows: max-content max-content;
  }

  .header-body-main {
    order: 2;
    text-align: center;
  }

  .header-body-cta-group {
    justify-content: center;
  }

  .header-body-img {
    order: 1;
  }

  .header-body-img img {
    min-width: 260px;
    width: 50%;
    margin: 0 auto;
  }

  .section-type-a .container,
  .section-type-b .container {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
  }

  .section-type-a .img-wrapper img,
  .section-type-b .img-wrapper img {
    width: 95%;
    min-width: 260px;
    max-width: 520px;
    margin: 0 auto;
  }

  .section-type-b .img-wrapper {
    order: 1;
  }

  .section-type-b .content-wrapper {
    order: 2;
  }

  .footer-body {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 24px;
  }
}

@media screen and (max-width: 640px) {
  .three-cols {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }

  .footer-body {
    grid-template-columns: repeat(1, 1fr);
    gap: 36px;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 24px;
  }

  .four-cols {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }

  .img-clients .img-wrapper {
    width: calc(100% / 2 - 10px);
  }

  .img-clients .img-wrapper img {
    width: 70%;
  }
}
