@font-face {
    font-family: 'Lato-Bold';
    src: url('../FONTS/Lato-Bold.ttf') format('truetype');
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  max-width: 340px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0px 0px 14px 0px rgba(192, 192, 192, 0.2);
  transition: 1s all;
  overflow: hidden;
  cursor: pointer;
  font-family: "Lato-Bold";
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -30%;
  width: 120px;
  height: 120px;
  background: #1C404C;
  filter: blur(70px);
  border-radius: 50%;
  transition: width 1s, height 1s;
}
.service-card::before {
  content: "";
  position: absolute;
  bottom: -160%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: #1C404C;
  filter: blur(70px);
  border-radius: 50%;
  transition: width 1s, height 1s;
}
.service-card:hover::before {
  bottom: -230%;
  width: 1000px;
  height: 1000px;
  filter: blur(1px);
}
.containers {
  position: relative;
}
.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  background: #e5f6eb;
}
.service-card:hover .icon {
  background: #1C404C;
  transition: 1s all;
}
.service-card:hover .icon svg,
.service-card:hover .linkMore svg {
  filter: brightness(0) invert(1);
  transition: 1s all;
}
.title {
  color: #171d29;
  font-size: 19px;
  font-style: normal;
  font-weight: 500;
  white-space: nowrap;
  transition: 1s all;
  margin: 1rem 0;
  color: #1C404C;
}
.subtitle {
  color: #7e8882;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  transition: 1s all;
}
.linkMore {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 0.8rem;
  color: #072713;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
  text-decoration: none;
  transition: 1s all;
  margin-top: 1rem;
}

.service-card:hover .title,
.service-card:hover .subtitle,
.service-card:hover .linkMore {
  color: #E2A149;
  transition: 1s all;
}

.container h1 {
    text-align: center;
    color: #1C404C;
    font-family: "Lato-Bold";
    font-size: 35px;
    padding-top: 13px;
}

.container .service-description {
    text-align: center;
    color: #1C404C;
    margin-bottom: 20px;
    font-family: "Lato-Bold";
    font-size: 16px;
}

.modal-dialog{
  color: #1C404C;
  font-family: "Lato-Bold";
}

.custom-modal {
    max-width: 650px; /* adjust width as needed */
}

.btn{
  background-color: #1C404C;
  color: #E2A149;
}

.btn:hover{
  background-color: #1C404C;
  color: #E2A149;
}



@media (max-width: 768px) {

  #services .container h1 {
    margin-top: -270px; /* remove space above container section */
  }
  .service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  max-width: 100%;
  }

  .modal-dialog{
  font-size: 13px;
  text-align: left;
}
}
