
/* Feedback Section */
.feedback-section{
    padding: 50px 0 65px;
}

.feedback-head h1{
    font-weight: 600;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #121212;
    margin-bottom: 15px;
}
.feedback-head p{
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #64748B;
}
.feedback-wrapper{
    margin: 50px auto 0;
    max-width: 591px;
    width: 100%;
    background: white;
    border-radius: 15px;
    border: 1px solid #E9F2FF;
    box-shadow: 0px 4px 20.3px 0px #DDDDDD40;
    padding: 40px;
}
.feedback-question{
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid #E2E8F0;
}
.feedback-wrapper .feedback-question:nth-of-type(3){
  border-bottom: none;
  padding-bottom: 0px;
  margin-bottom: 15px;
}
.feedback-wrapper .feedback-question:nth-of-type(4){
  border-bottom: none;
  padding-bottom: 0px;
  margin-bottom: 0px;
}
.feedback-question h2{
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #121212;
  text-align: left;
}
.feedback-wrapper .feedback-question:nth-of-type(4) p{
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
}
.rating-stars{
  display: flex;
  gap: 5px;
  margin-top: 15px;
  
}
.rating-stars img {
  cursor: pointer;
}

/* On hover preview */
.rating-stars img.hovered {
  filter: brightness(0) saturate(100%) invert(54%) sepia(42%) saturate(5970%) hue-rotate(146deg) brightness(97%) contrast(96%);
}

/* On click/selected */
.rating-stars img.active {
  filter: brightness(0) saturate(100%) invert(54%) sepia(42%) saturate(5970%) hue-rotate(146deg) brightness(97%) contrast(96%);
}
.feedback-question .text-field{
  display: block;
  width: 100%;
  border: 1px solid #E2E8F0;
  border-radius: 5px;
  padding: 12px 15px;
  color: #202124;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-top: 15px;
}
.feedback-wrapper .feedback-question:nth-of-type(4) .text-field{
  margin-top: 8px;

}
.feedback-question .text-field:hover{
  border: 1px solid #A1DADA;
}
.feedback-question .text-field:focus{
  border: 1px solid #019990;
}
.feedback-question input::placeholder{
  color: #8E99AA;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
}

.custom-checkbox input[type="checkbox"] {
  display: none;
}

/* Container */
.custom-checkbox {
  display: inline-block;
  margin-top: 10px;
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #121212;
  position: relative;
  padding-left: 25px;
  height: 17px;
}

/* Custom box */
.custom-checkbox .checkmark {
  position: absolute;
  left: 0;
  top: -2px;
  height: 17px;
  width: 17px;
  background-color: white;
  border: 1px solid #E2E8F0;
  border-radius: 3px;
  cursor: pointer;
}
.custom-checkbox .checkmark:hover{
  border: 1px solid #A1DADA;
}
.check-credit .checkmark{
  cursor: no-drop;
}
/* When checked, change background */
.custom-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: #05ADA3;
  border-color: #05ADA3;
}

/* Add a tick mark */
.custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 0px;
  top: 0px;
  background-image: url(../images/check-icon.svg);
  width: 15px;
  height: 15px;

}

/* Show tick when checked */
.custom-checkbox input[type="checkbox"]:checked + .checkmark::after {
  display: block;
}
#check-credit{
  cursor: no-drop;
}
.feedback-cta{
  display: block;
  max-width: max-content;
  width: 100%;
  margin: 40px auto 0;
  background: linear-gradient(180deg, #24C7BD 0%, #046761 100%);
  border-radius: 6px;
  color: white;
  padding: 8px 14px 8px 15px;
  font-weight: 500;
  font-size: 15px;
  line-height: 170%;
  letter-spacing: 0px;

}
.feedback-cta:hover {
    background: linear-gradient(180deg, #046761 0%, #24C7BD 100%);
}
.error-msg, .rating-stars-error{
    color: red;
    margin-top: 5px;
    font-size: 14px;
    display: none;
}
.error-msg.show, .rating-stars-error.show{
    display: block;
}
.error-input{
    border:1px solid red !important;
}

/* Feedback Section */

/* Review Section */
.reviews-section{
    padding: 65px 0 91px;
}
.reviews-section h2{
    font-weight: 600;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #121212;
}
.reviews-wrapper{
    max-width: 921px;
    width: 100%;
    margin: 63px auto 0;
    display: flex;
}
.review-card{
    max-width: 287px;
    width: 100%;
    border-radius: 8px;
    background: white;
    border: 1px solid #E9F2FF;
    padding: 62px 20px 30px 35px;
}
.review-card p{
    font-weight: 400;
    font-size: 15px;
    line-height: 170%;
    letter-spacing: 0%;
    color: #121212;
    position: relative;
    min-height: 130px;
}
.review-card p::before{
    content: '';
    position: absolute;
    background-image: url(../images/quotation-icon.svg);
    width: 27px;
    height: 27px;
    left: -15px;
    top: -32px;
}
.review-profile{
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}
.review-profile span{
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #64748B;
}
.reviewsSwiper .swiper-slide {
    border-radius: 20px;
    display: flex;
    justify-content: center;
}
/* Review Section */
div:where(.swal2-container) h2:where(.swal2-title) {
    font-size: 26px;
    color: #121212;
}
div:where(.swal2-container) div:where(.swal2-html-container) {
    font-size: 15px;
    line-height: 150%;
    padding-top: 10px;
    color: #64748B;
}
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    background-color: #05ada3;
    max-width: 100px;
    width: 100%;
}
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover {
    background-color: #02938a;
    
}
div:where(.swal2-container).swal2-backdrop-show, div:where(.swal2-container).swal2-noanimation {
    background: rgba(0, 0, 0, 0.6);
}
div:where(.swal2-container) div:where(.swal2-popup) {
    border-radius: 12px;
}
div:where(.swal2-container) div:where(.swal2-popup) {
    padding-bottom: 35px;
}

@media (max-width: 575px) {
  .feedback-question h2 {
    font-size: 14px;
  }
  .custom-checkbox {
    font-size: 12px;
    padding-left: 20px;
  }
  .feedback-question .text-field {
    margin-top: 10px;
  }
  .feedback-head h1 {
    font-size: 25px;
  }
  .feedback-head p {
    line-height: 150%;
  }
  .feedback-wrapper{
    margin: 40px auto 0;
    padding: 20px;
  }
  .rating-stars img{
    width: 25px;
    height: 25px;
  }
  
.custom-checkbox .checkmark {
    position: absolute;
    left: 0;
    top: -1px;
    height: 14px;
    width: 14px;
}
  .custom-checkbox .checkmark::after {
    width: 12px;
    height: 12px;
    background-size: contain;
  }
  .feedback-section {
    padding: 50px 0 30px;
  }
  .reviews-section {
    padding: 30px 0 91px;
  }
}