.testim-section {
  margin: 120px auto;
}

.testim-row-swiper {
  margin-top: 48px;
  overflow: unset;
  max-width: unset;
}

.testim-slide {
  background: linear-gradient(136deg, #fff 0%, rgba(255, 255, 255, 0.5) 100%);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 5px 10px 15px 0 rgba(87, 177, 199, 0.05);
  border: 1px solid white;
  opacity: 1 !important;
  aspect-ratio: unset !important;
}
.testim-slide:hover {
  cursor: pointer;
}

.testim-top {
  display: flex;
  align-items: center;
  gap: 24px;
}
.testim-top img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.testim-title {
  text-transform: uppercase;
  color: #1f2a36;
  font-size: 18px;
  font-weight: 700;
}

.testim-date {
  color: #57b1c7;
  margin: 28px 0 12px;
  font-weight: 300;
}

.test-body p, .test-body p span {
  font-family: Lora;
  line-height: 1.5;
  font-size: 18px;
  color: #4b637d;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testim-modal-bg {
  position: fixed;
  left: 0;
  top: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.testim-modal-visible {
  display: flex;
}

.testim-modal {
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: scroll;
  scrollbar-width: none;
  padding: 20px;
  position: relative;
  box-shadow: 5px 10px 20px 0 rgba(87, 177, 199, 0.2);
  border: 2px solid white;
  border-radius: 20px;
  padding: 30px;
  background: linear-gradient(136deg, #fff 0%, rgba(255, 255, 255, 0.5) 100%);
}
.testim-modal::-webkit-scrollbar {
  display: none;
}

.close {
  position: absolute;
  top: 4px;
  right: 20px;
  font-weight: 200;
  cursor: pointer;
  color: #57b1c7;
  font-size: 56px;
}

.testim-modal-top {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 30px;
}
.testim-modal-top img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.testim-modal-title {
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  color: #1f2a36;
  margin-bottom: 20px;
}

.testim-modal-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testim-modal-lable {
  color: #4b637d;
}
.testim-modal-lable span {
  color: #0f1521;
  margin-right: 6px;
}

.test-modal-body p, .test-modal-body p span {
  font-family: Lora;
  line-height: 1.5;
  font-size: 16px;
  color: #4b637d;
}

.test-modal-body p, .test-modal-body p span {
  font-size: 18px;
}

@media (max-width: 768px) {
  .testim-section {
    margin: 56px 0;
    overflow-x: hidden;
  }
  .testim-row-swiper {
    margin-top: 24px;
  }
  .testim-slide {
    border-radius: 10px;
    padding: 8px;
  }
  .testim-top {
    gap: 12px;
  }
  .testim-top img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
  }
  .testim-date {
    margin: 16px 0 8px;
    font-size: 14px;
  }
  .test-body p, .test-body p span {
    font-size: 16px;
  }
  .testim-title {
    font-size: 16px;
  }
  .testim-modal {
    padding: 16px;
    border-radius: 12px;
  }
  .testim-modal-top {
    align-items: unset;
    flex-direction: column;
    margin-bottom: 16px;
    gap: 12px;
  }
  .testim-modal-title {
    font-size: 18px;
    margin: 16px 0 0 0;
  }
  .testim-modal-info {
    gap: 6px;
  }
}