*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

.container {
  width: min(90%, 1170px);
  margin: 0 auto;
}

body {
  font-family: 'Roboto';
  font-weight: 400;
  font-size: 1rem;
}

header {
  height: 80px;
  border-bottom: 1px solid #EFEEF3;
  margin-bottom: 100px;

  img {
    margin-top: 22.5px;
  }
}

/*....... main...... */
main {
  margin-bottom: 100px;
}

hgroup p {
  color: #7690a8;
  line-height: 21px;
  margin-bottom: 15px;
  letter-spacing: 0.3px;
}

h2 {
  font-family: 'Nunito Sans';
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 52px;
  letter-spacing: 0.2px;
  color: #16133D;
  margin-bottom: 33px;
}

ul {
  display: flex;
  gap: 30px;

  li {
    width: 370px;
    height: 340px;
    border: 1px solid #E5EAF4;
    border-radius: 8px;
    padding: 40px;
    transition: all 0.3s ease;

    .icon-container {
      width: 64px;
      height: 64px;
      border: 1px solid rgba(21, 101, 216, 10%);
      border-radius: 16px;
      position: relative;
      margin-bottom: 30px;
      transition: all 0.4s ease;

      .blue-icon-container,
      .green-icon-container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }

      .green-icon-container {
        opacity: 0;
        transition: all 0.4s ease;
      }
    }

    &:hover {
      border: 1px solid #3DB370;

      .green-icon-container {
        opacity: 1;
      }

      .icon-container {
        border: 1px solid hsla(146, 49%, 47%, 0.10);
      }
    }
  }

  h3 {
    color: #16133D;
    font-size: 1.5rem;
    line-height: 21.3px;
    letter-spacing: 0.2px;
    font-weight: 400;
    margin-bottom: 12px;
  }

  p {
    width: 283px;
    color: #16133D;
    line-height: 28px;
    margin-bottom: 27px;
  }

  a {
    font-weight: 600;
    color: #3DB370;
    line-height: auto;
    transition: all 0.4s ease;

    &:hover {
      text-decoration: underline;
    }
  }
}



/* ........footer........ */

footer {
  background-color: #16133D;

  .logo-wrap {
    padding: 40px 0 36px 0;
  }

  .footer-icon {
    display: flex;
    gap: 10px;

    svg {
      width: 38px;
      height: 38px;
      margin-bottom: 60px;

      path {
        fill: #0D0D0D;
        transition: all 0.3s ease;
      }

      &:hover {
        path {
          fill: #3DB370;
        }
      }
    }
  }

}