:root {
  --primary-color: #34384A;
  --secondary-color: #fff;
  --main-background-color: #E7F5FF;
  --button-background-color: #1B57ED;
  --blue: rgb(209, 235, 255);
  --light-blue: rgb(229, 245, 255);
}

@font-face {
  font-family: "Poppins";
  src:
    local("Poppins"),
    url("../fonts/Poppins-Regular.ttf") format("ttf");
}

* {
  text-decoration: none;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--primary-color);
  line-height: 1.6;
}

.flex {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

.button {
  background-color: var(--button-background-color);
  color: var(--secondary-color);
  cursor: pointer;
  font-size: 16px;
  line-height: 22px;
  padding: 9px 20px;
  border-radius: 24px;
  outline: none;
  border: none;
}

.container {
  width: calc(100% - 40px);
  margin: 0 auto;

  @media (min-width: 768px) {
    width: calc(100% - 90px);
  }

  @media (min-width: 1280px) {
    width: 1256px;
  }
}

.header .container {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 0;
}


.header {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 10;
}

.top-section {
  position: relative;
  overflow: hidden;

  @media (min-width: 1152px) {
    min-height: 62vw;
  }
}

.first-background {
  top: 100px;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;

  @media (min-width: 1152px) {
    top: 0;
  }
}

.first-background:before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100vw;
  left: 0;
  top: 0;
  display: block;
  border-radius: 50%;
  background-color: var(--light-blue);

  @media (min-width: 1152px) {
    width: 75%;
    height: 75vw;
    left: -8%;
    top: 0;
    transform: translateY(-20%);
  }
  
}

.first-background:after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 90%;
  height: 90vw;
  left: 5%;
  top: 5vw;
  display: block;
  border-radius: 50%;
  background-color: var(--blue);

  @media (min-width: 1152px) {
    width: 70%;
    height: 70vw;
    left: -8%;
    top: 0;
    transform: translateY(-20%);
  }
}

.second-background {
  display: none;

  @media (min-width: 1152px) {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
  }
}

.second-background .mobile-app {
  object-fit: contain;
  position: absolute;
  z-index: 3;
  top: 10%;
  right: 0;
}

.second-background:before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 40%;
  height: 40vw;
  top: 10%;
  right: 5%;
  display: block;
  border-radius: 50%;
  background-color: var(--light-blue);
}

.second-background:after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 35%;
  height: 35vw;
  right: 7%;
  top: 13%;
  display: block;
  border-radius: 50%;
  background-color: var(--blue);
}


.top-section .container {
  z-index: 2;
  position: relative;
  padding-top: 70px;
  padding-bottom: 70px;
}

.text {
  font-size: 16px;
  margin-top: 100px;
  margin-bottom: 50px;
}

.title {
  font-size: 24px;
  line-height: 1.2;

  @media (min-width: 768px) {
    font-size: 32px;
  }

  @media (min-width: 1152px) {
    font-size: 64px;
    margin-bottom: 50px;
    width: 711px;
  }
}

.subheading {
  font-size: 24px;
  width: 100%;
  max-width: 711px;
  margin-bottom: 50px;;
}

.button-groups {
  gap: 50px;
}

.button-groups .button-link img{
  height: 80px;
  width: auto;
}

.section-header {
  font-size: 24px;
  margin-bottom: 24px;

  @media (min-width: 768px) {
    font-size: 32px;
    margin-bottom: 32px;
  }

  @media (min-width: 1152px) {
    font-size: 40px;
    margin-bottom: 40px;
  }
}

.section-flex {
  gap: 30px;

  @media (min-width: 1152px) {
    gap: 40px;
  }
}

.box {
  width: 100%;
  padding: 30px;
  background-color: var(--light-blue);
  border-radius: 12px;
  transition: box-shadow 0.2s;

  @media (min-width: 768px) {
    width: calc((100% - 30px) / 2);
  }

  @media (min-width: 1152px) {
    width: calc((100% - 80px) / 3);
    cursor: pointer;

    &:hover {
      box-shadow: 4px 5px 10px rgb(213 220 225);
    }
  }
}

.box-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

.box-text {
  font-size: 24px;
}

.second-section {
  margin-bottom: 40px;

  @media (min-width: 1152px) {
    margin-bottom: 50px;
  }
}

.third-section {
  margin-bottom: 40px;
}

.footer-top {
  padding: 50px 0;
  background-color: var(--main-background-color);
}

.footer-bottom {
  padding: 20px 0;
  background-color: var(--button-background-color);
}


.footer-bottom .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;

  @media (min-width: 768px) {
    flex-wrap: nowrap;
    gap: 0;
  }
}

.footer-links {
  justify-content: center;
  gap: 10px;

  @media (min-width: 768px) {
    gap: 20px;
  }
}

.footer-link {
  font-size: 16px;
  color: var(--secondary-color);
  font-weight: 600;
}

.footer-top .box-title,
.footer-top .box-text{
  text-align: center;
}

.footer-top .button-groups {
  justify-content: center;
  margin-top: 20px;
}