.services {
  padding: 60px 0 100px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.services-item {
  width: 100%;
  background: var(--main);
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: #011627;
  transition: all 0.3s ease;
  cursor: pointer;
}

.services-item:hover {
  box-shadow: 0px 0px 10px 0px rgba(40, 198, 177, 1);
  border-color: rgba(255, 255, 255, 0.1);
}
.services-img{
    height:200px;
}

.services-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-content {
  padding: 30px 20px;
}

.services-title {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 24px */
  
  margin-bottom: 20px !important;
  min-height:54px;
  max-height:55px;
}

.services-desc {
  overflow: hidden;
  display: -webkit-box;
  width: 100%;
  -webkit-line-clamp: 3; /* number of lines to show */
  line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #fff;
  text-overflow: ellipsis;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
}

.services-btns {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.services-btns * {
  display: block;
  width: 100%;
  display: flex;
  height: 48px;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.services-btns .outline-btn {
  background: transparent;
  transition:all .3s ease;
}

.services-btns .outline-btn:hover{
    background:var(--active-color);
    color : #fff;
}

.modal-content {
  border-radius: 10px;
  background: linear-gradient(0deg, #052030 0%, #052030 100%), #fff;
  box-shadow: 0px 0px 5px 0px rgba(143, 143, 143, 0.35);
  padding: 30px 16px;
  gap: 20px;
}

.modal-title {
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  
}

.modal-body {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
}

.form-img {
  background-image: url(../../assets/services-form-img.jpeg);
  background-size: 200%;
}

@media screen and (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
  }
}

@media screen and (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 300px);
    justify-content: center;
  }

  .services-title {
    margin-bottom: 20px !important;
  }

  .services-title,
  .services-desc {
    font-size: 18px;
  }

  .services-btns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .services{
    padding: 80px 0 120px;
  }
}

@media screen and (min-width: 1240px) {
  .services-grid {
    grid-template-columns: repeat(3, 380px);
  }
}
  
