
.services {
  text-align: center;
  background-color: rgba(170, 211, 248, 0.14);
}

.services h2 {
  font-size: 32px;
  color: rgba(47, 25, 95, 1);
  line-height: 59.97px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 30px;
}
@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(calc(0.9*30px));
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.card {
  background-color: rgba(255, 255, 255, 1);
  border-radius:0px;
  box-shadow: 1px 6px 20px 0px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  text-align: center;
  width: 263px;
  height: auto ;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: slideInUp 0.5s ease-in-out forwards;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    gap: 10px;
}

.icon-card {
  background-color:rgba(170, 211, 248, 0.18);
  border-radius: calc(0.9*12px);
  padding: 2rem;
  width: 105px ;
  height: 105px;
  display: flex;
    box-shadow: 1px 6px 20px 0px rgba(0, 0, 0, 0.25);
}


.card img.icon {
  width: 44px;

}

.card p {

 margin-top: 20px;
  font-size: 18px;
  color: rgba(47, 25, 95, 1);
  font-weight: 700;
  line-height: 44.98px;
}

.service-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
    gap: 21px;

}

.form-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
    gap: 22.4px;
}

.input-field, .phone-input-wrapper {
  padding: 0.8rem;
  font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color:rgba(117, 117, 126, 1) ;
  height: 75px ;
  border: 1px solid rgba(170, 211, 248, 1);
  background-color: rgba(255, 255, 255, 1);
  width:546px;
    box-shadow: 1px 6px 20px 0px rgba(0, 0, 0, 0.25);
  margin-top: 132px;
  outline: none;
    border-radius: 10px;
}

.phone-input {
  outline: none;
}

.country-flag {
  width: 23px;
  height: auto;
  margin-left: calc(0.9*10px);
}

.country-code {
  font-size: calc(0.9*24px);
  margin-right: calc(0.9*5px);
  color: rgba(117, 117, 126, 1);
}

.btnlead {
  background-color: rgba(47, 25, 95, 1);
  color: rgba(255, 255, 255, 1);
  border: none;
  border-radius: 8px;
  font-size: 24px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 277px;
  height: 56px;
  margin-top: calc(0.9*76px);


}


.terms {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.terms input {
  transform: scale(1.2);
}

.terms span {
  font-size: 1rem;
  color:rgba(117, 117, 126, 1);
}

.agree {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(0.9*10px);
}

.agree span {
    font-size: 24px;
    font-weight: 500;
    line-height: 24px;
    color: rgba(47, 25, 95, 1);
}

.agree .check-circle {
  width: 22px;
  height: 13px;
}

.agree .check-radius {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
    border: 1px solid rgba(47, 25, 95, 1)
}


@media (max-width:768px) {
  .services {
    padding: 2rem;
  }

  .services h2 {
    font-size: 2.5rem;
  }

  .card {
    width: calc(0.9*220px);
    height: auto;
  }
    .form-wrapper{
        margin-top: 70px;
    }
  .input-field,
  .phone-input-wrapper
   {
    width: 85%;
      margin-top: 0px;

  }
  .btnlead {

      font-size: 1.5rem;
  }

  .terms span {
    font-size: 1rem;
  }
  .country-code {
    font-size:0.5rem;
  }

  .country-flag {
    width: calc(0.9*25px);
    margin-left: calc(0.9*5px);
  }
   .form-wrapper {
    width: 100%;
    margin-left: calc(0.9*5px);
  }
}

@media (max-width: 1028px) {
    .form-wrapper {
        width: 100%;
        margin-top: 15px;
    }
    .input-field, .phone-input-wrapper{
        margin-top: 10px;
    }
    .services {
        padding: 3rem;
    }

    .services h2 {
        font-size: 3rem;
    }

    .card {
        max-width: 280px;
    }

    .input-field,
    .phone-input-wrapper {
        width: 80%;
    }

    .btnlead {
        font-size: 1.6rem;
    }

    .terms span {
        font-size: 1.2rem;
    }

    .country-code {
        font-size: 0.9rem;
    }

    .country-flag {
        width: 25px;
        margin-left: 5px;
    }
}

@media (max-width: 768px) {


    .form-wrapper {
        width: 100%;
        margin-top: 10px;
    }
    .services {
        padding: 2rem;
    }

    .services h2 {
        font-size: 2.5rem;
    }

    .card {
        max-width: 220px;
    }



    .input-field,
    .phone-input-wrapper {
        width: 85%;
    }

    .btnlead {
        font-size: 1.4rem;
    }

    .terms span {
        font-size: 1rem;
    }

    .country-code {
        font-size: 0.7rem;
    }

    .country-flag {
        width: 20px;
        margin-left: 3px;
    }
}

@media (max-width: 480px) {
  .services {
    padding: 1.5rem;
  }

  .services h2 {
    font-size: 2rem;
  }

  .card {
    width: calc(0.9*180px);
    padding: 1rem;
  }
    .input-field,
    .phone-input-wrapper
    {
        width: 100% !important;
        margin-top: 0px;

    }
  . btnlead {
    width: 100%;
  }
  .phone-input{
    width: 60%;
  }
  .btn-submit {
    padding: 0.6rem 1.5rem;
    font-size: 1.3rem;
  }

  .terms span {
    font-size: 0.9rem;
  }
  .country-code {
    font-size: 1rem;
  }

  .country-flag {
    width: calc(0.9*25px);
    margin-left: calc(0.9*5px);
  }
}
