:root {
  --primary: #081e5c;
  --secondary: #e8ecff;
  --bloomway-gray: #dbdff4;
  --card: #d5e1ff;
}

* {
  box-sizing: border-box;
  font-family: "Jost", sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background-color: #ffffff;
}

b {
  font-weight: 600;
}

/* Header */

header {
  background-color: #fff;
  padding: 20px 6%;
}

.header-container {
  max-width: 1340px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo {
  width: 250px;
}

/* Hero */

.hero {
  background-image: url("/images/bloomway-hero.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: center;
  background-position-y: 60%;
  height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Content */

.section {
  padding: 70px 6%;
  /*max-width: 1340px;*/
  margin: auto;
}

.top p {
  font-size: 24px;
  line-height: 30px;
  color: var(--primary);
}

.about-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--secondary);
  padding: 105px 0 0 0;
  position: relative;
  overflow: hidden;
}

.about-section p {
  font-size: 20px;
  line-height: 30px;
}

.bloomway-icon {
  position: absolute;
  width: 450px;
  right: 144px;
  top: -163px;
}

.text-container {
  position: relative;
  background-color: var(--primary);
  padding: 70px 23% 70px 6%;
  width: 65%;
  margin-bottom: -50px;
  color: white;
}

.services-section-img {
  height: 150px;
  width: 70%;
  object-fit: cover;
  align-self: flex-end;
}

.section.about-section-low {
  max-width: unset;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  padding: 0;
}

.mission-text {
  display: flex;
  width: 65%;
  padding: 60px 29% 60px 6%;
  align-items: center;
}

.mission-text h2 {
  font-size: 40px;
  line-height: 48px;
  font-weight: normal;
  color: var(--primary);
}

.mission-image {
  display: flex;
  width: 35%;
  position: relative;
  overflow: hidden;
  background-image: url("/images/bloomway-coltiviamo.webp");
  background-repeat: no-repeat;
  background-size: cover;
  height: 500px;
}

.mission-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(48, 132, 255, 0.21);
  pointer-events: none;
}

.mission-image img {
  display: none;
  width: 100%;
}

.impact-text p {
  position: absolute;
  top: 50%;
  right: 108px;
  font-size: 20px;
  line-height: 30px;
  width: 43%;
  background-color: var(--primary);
  padding: 60px 70px 60px 40px;
  color: white;
  transform: translateY(-50%);
}

.services-section {
  background-color: var(--secondary);
  padding: 70px 0;
}

.features {
  display: flex;
  flex-wrap: wrap;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  gap: 20px;
}

.service-card {
  flex: 1 1 280px;
  display: flex;
  gap: 20px;
  flex-direction: column;
  background: var(--card);
  color: var(--primary);
  text-align: center;
}

.card-image {
  margin-top: auto;
  width: 100%;
}

.card-content {
  display: flex;
  padding: 20px;
  gap: 25px;
  flex-direction: column;
}

.card-content h3 {
  font-size: 24px;
  line-height: 27px;
  font-weight: 600;
  min-height: 54px;
  color: var(--primary);
}

.card-content p {
  margin: auto auto 0 auto;
  width: 90%;
  color: #081e5c;
  font-size: 20px;
}

.box-icon {
  height: 80px;
}

.quote-section {
  display: flex;
  position: relative;
  background-image: url("/images/bloomway-bottom.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.quote-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(34, 42, 83, 0.21);
}

.quote-section-content {
  position: relative;
  z-index: 1;
  /*max-width: 1340px;*/
  width: 100%;
  gap: 20px;
  padding: 78px 6%;
  color: white;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.quote-section-content h3 {
  font-size: 35px;
  font-weight: normal;
  line-height: 45px;
}

.quote-section-content span {
  font-size: 24px;
}

/* Footer */

.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 50px 6%;
  text-align: center;
}

.site-footer .container {
  max-width: 1340px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 25%;
}

.footer-info {
  display: flex;
}

.footer-info span {
  text-align: left;
  width: 100%;
}

.icon {
  width: 18px;
}

.footer-logo img {
  width: 250px;
  filter: brightness(100) saturate(100%);
}

.footer-links {
  width: 50%;
}

.footer-nav li a {
  color: #ccc;
  text-decoration: none;
}

.footer-nav li a:hover {
  color: #fff;
}

.copyright {
  width: 25%;
  text-align: right;
  font-size: 16px;
}

.linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--e-global-color-361a663);
  text-decoration: none;
  border-radius: 100vmax;
  padding: 8px 10px;
  background-color: white;
}

@media (max-width: 1024px) {
  br {
    display: none;
  }

  header {
    padding: 20px;
  }

  .logo {
    width: 190px;
  }

  body .services-section {
    padding: 70px 20px;
  }

  .card-content p {
    width: 100%;
  }

  body .hero {
    background-position-y: center;
    background-position-x: center;
    height: 250px;
  }

  section.top p,
  .about-section p {
    font-size: 20px;
  }

  .section.top {
    padding: 70px 20px;
  }

  body .about-section {
    padding: 0;
  }

  .about-section .services-section-img {
    width: 100%;
    height: 125px;
  }

  .about-section .text-container {
    width: 100%;
    padding: 40px 20px;
  }

  .about-section-low .mission-text,
  .about-section-low .mission-image {
    width: 100%;
    padding: 40px 20px;
  }

  .about-section-low .mission-image {
    height: 250px;
  }

  .about-section-low .impact-text p {
    width: 100%;
    top: unset;
    right: unset;
    position: relative;
    transform: unset;
    padding: 40px 20px;
    font-size: 20px;
  }

  .mission-text h2 {
    font-size: 25px;
    line-height: 38px;
  }

  .quote-section .quote-section-content {
    padding: 70px 20px;
  }

  .card-content h3 {
    min-height: unset;
  }

  .quote-section .quote-section-content h3 {
    font-size: 22px;
    line-height: 1;
  }

  .quote-section .quote-section-content span {
    font-size: 18px;
  }

  .site-footer {
    padding: 50px 20px;
  }

  .site-footer .container {
    flex-direction: column;
    gap: 20px;
  }

  .footer-logo,
  .copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  footer .footer-info span {
    text-align: center;
  }
}

@media screen and (min-width: 1920px) {
  .section,
  header .header-container,
  body .quote-section-content,
  .site-footer .container {
    /*max-width: 1700px;*/
    max-width: unset;
    margin: 0;
  }

  .site-footer .container {
    max-width: unset;
    margin: 0;
  }

  .about-section-low .mission-text {
    padding: 90px 35% 60px 6%;
  }

  .impact-text p {
    width: 45%;
    right: 100px;
    padding: 60px 150px 60px 60px;
  }

  .about-section .text-container {
    padding: 80px 15% 80px 6%;
    width: 64%;
  }

  .text-container p,
  .impact-text p {
    font-size: 20px;
    line-height: 30px;
  }

  .mission-text h2 {
    font-size: 40px;
    line-height: 48px;
  }

  .about-section .bloomway-icon {
    width: 450px;
    right: 9%;
    top: -39%;
  }

  .mission-image {
    height: 550px;
  }

  .services-section .features {
    max-width: 1400px;
  }

  .quote-section-content h3 {
    font-size: 39px;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
  header {
    padding: 20px 5%;
  }

  .section {
    padding: 70px 5%;
  }

  .bloomway-icon {
    width: 400px;
    top: -144px;
    right: 8%;
  }

  .text-container {
    width: 65%;
    padding: 70px 14% 70px 5%;
  }

  .mission-text h2 {
    font-size: 40px;
  }

  .mission-text {
    padding: 90px 30% 60px 5%;
  }

  .impact-text p {
    width: 45%;
    padding: 60px;
    right: 5%;
  }

  .mission-image {
    height: 480px;
  }

  .features {
    max-width: 1010px;
  }

  .quote-section-content {
    padding: 80px 5%;
  }

  .site-footer {
    padding: 50px 5%;
  }
}
