
   /* .testimonial-section {
    
    margin: auto;
    width: 100%;
    height: 1000px;
    text-align: center;
    position: relative;
  
  } */
/*   
  .testimonial-section > h1 {
    font-weight: 600;
    font-size: 2.5vw;
    color: #4440db;
  }
   */
  .testimonial-section > h2 {
    font-size: 2.361vw;
    margin-top: 1vw;
    font-weight: 600;
  }
  
  /* .testimonial-cards {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 80%;
  
  } */
  
  /* .backcard {
    width: 50%;
    height: 720px;
    background-color: #18164d;
    position: absolute;
    left: 0;
    z-index: 0;
  }
   */
  /* .reviewcards {
    position: relative;
    width: 987.005px;
    height: 429.998px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
   
  } */
  
  .reviewcard {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    margin-top: 90px;
    align-items: center;
    justify-content: center;
    border-radius: 30px; 
    overflow: hidden;
    background-image: url('../../../public/assets/Testimonials_bg.png');
   
    /* background-image: url('./../../public/assets/Testimonials_bg.png'); */
    background-repeat: no-repeat;

  }
  
  
  /* .reviewcard > img {
    width: 100%;
    height: 100%;
    object-fit:cover;
    border-radius: 10px;
  } */
  /* .profileimg{
    width: 230px;
    height: 230px;
    object-fit: contain;
  } */
  /* .reviewcard-content{
    margin-top: 20px;
    height: 260px;
    width: 570px;
    color: white;
    text-align: start;
    padding-left: 40px;
  } */

  /* .reviewcard-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color:  white;
   
  } */


  .reviewcard-header>div{
    display: flex;
    align-items: center;
  }


  /* .reviewname{
    display: flex;
    gap: 10px;
  
  } */


  .reviewname>h4{
    font-size: 18px;
    font-weight: 600;
  }
  .reviewname>p{
    font-size: 18px;
    color: #CFCFCF;
  }
  .reviewcard-content>h2{
    margin: 25px 0;
    font-size: 32px;
    font-weight: 600;
  }
  .reviewcard-content>p{
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;

  }
  .upperquote{
    position: absolute;
    top: 3%;
    left: 30%;
  }
  .lowerquate{
    position: absolute;
    bottom: 9%;
    right: 2%;
  }


 @media (max-width: 768px) {
  .testimonial-section {
    height: 91.15vw; /* 700px / 768px * 100 ≈ 91.15vw */
    padding: 3.9vw 0; /* 30px / 768px * 100 ≈ 3.9vw */
  }

  .testimonial-section > h1 {
    font-size: 3.65vw; /* 28px / 768px * 100 ≈ 3.65vw */
  }

  .testimonial-section > h2 {
    font-size: 3.125vw; /* 24px / 768px * 100 ≈ 3.125vw */
    margin-top: 2.6vw; /* 20px / 768px * 100 ≈ 2.6vw */
  }

  .backcard {
    width: 50%; /* Keep the same width */
    height: 65.1vw; /* 500px / 768px * 100 ≈ 65.1vw */
  }

  .reviewcards {
    margin-top: 5.2vw; /* 40px / 768px * 100 ≈ 5.2vw */
    width: 90%; /* Adjusted width for smaller screens */
    height: 45.57vw; /* 350px / 768px * 100 ≈ 45.57vw */
    
  }

  .reviewcard {
    margin-top: 6.51vw; /* 50px / 768px * 100 ≈ 6.51vw */
    height: 100%; /* Keep full height */
    background-size: contain;
    border: none;
  }

  .profileimg {
    width: 19.53vw; /* 150px / 768px * 100 ≈ 19.53vw */
    height: 19.53vw; /* 150px / 768px * 100 ≈ 19.53vw */
  }

  .reviewcard-content {
    /* border: 1px solid red; */
    /* margin-bottom:2.472vw; */
    margin-top: -20px;
    height: auto;
    /* border: 1px solid red; */
    width: 58.6vw; /* 450px / 768px * 100 ≈ 58.6vw */
    padding-left: 2.6vw; /* 20px / 768px * 100 ≈ 2.6vw */
  }

  .reviewcard-header {
    gap: 1.3vw; /* 10px / 768px * 100 ≈ 1.3vw */
  }

  .reviewname {
    gap: 1.3vw; /* 10px / 768px * 100 ≈ 1.3vw */
  }

  .reviewname > h4 {
    font-size: 2.34vw; /* 18px / 768px * 100 ≈ 2.34vw */
  }

  .reviewname > p {
    font-size: 2.34vw; /* 18px / 768px * 100 ≈ 2.34vw */
  }

  .reviewcard-content > h2 {
    font-size: 3.125vw; /* 24px / 768px * 100 ≈ 3.125vw */
    margin: 1.95vw 0; /* 15px / 768px * 100 ≈ 1.95vw */
  }

  .reviewcard-content > p {
    font-size: 2.08vw; /* 16px / 768px * 100 ≈ 2.08vw */
    line-height: 2.6vw; /* 20px / 768px * 100 ≈ 2.6vw */
  }

  .reviewcard-header img {
    width: 10.42vw; /* 80px / 768px * 100 ≈ 10.42vw */
    height: auto; /* Maintain aspect ratio */
  }

  .upperquote {
    width: 5.21vw; /* 40px / 768px * 100 ≈ 5.21vw */
    height: auto; /* Maintain aspect ratio */
    top: 2%; /* Adjusted position */
    left: 20%; /* Adjusted position */
  }

  .lowerquate {
    width: 5.21vw; /* 40px / 768px * 100 ≈ 5.21vw */
    height: auto; /* Maintain aspect ratio */
    bottom: 15%; /* Adjusted position */
    right: 2%; /* Adjusted position */
  }
}
@media (max-width: 1024px){


  .testimonial-section {
    height: 91.15vw; /* 700px / 768px * 100 ≈ 91.15vw */
    padding: 3.9vw 0; /* 30px / 768px * 100 ≈ 3.9vw */
  }

  .testimonial-section > h1 {
    font-size: 3.65vw; /* 28px / 768px * 100 ≈ 3.65vw */
  }

  .testimonial-section > h2 {
    font-size: 3.125vw; /* 24px / 768px * 100 ≈ 3.125vw */
    margin-top: 2.6vw; /* 20px / 768px * 100 ≈ 2.6vw */
  }

  .backcard {
    width: 50%; /* Keep the same width */
    height: 65.1vw; /* 500px / 768px * 100 ≈ 65.1vw */
  }

  .reviewcards {
    margin-top: 5.2vw; /* 40px / 768px * 100 ≈ 5.2vw */
    width: 90%; /* Adjusted width for smaller screens */
    height: 45.57vw; /* 350px / 768px * 100 ≈ 45.57vw */
    border: none;
  }

  .reviewcard {
    margin-top: 6.51vw; /* 50px / 768px * 100 ≈ 6.51vw */
    height: 100%; /* Keep full height */
    background-size: contain;
    border: none;
  }

  .profileimg {
    width: 19.53vw; /* 150px / 768px * 100 ≈ 19.53vw */
    height: 19.53vw; /* 150px / 768px * 100 ≈ 19.53vw */
  }

  .reviewcard-content {
    margin-bottom:5.472vw;
    height: auto;
    /* border: 1px solid red; */
    width: 58.6vw; /* 450px / 768px * 100 ≈ 58.6vw */
    padding-left: 2.6vw; /* 20px / 768px * 100 ≈ 2.6vw */
  }

  .reviewcard-header {
    gap: 1.3vw; /* 10px / 768px * 100 ≈ 1.3vw */
  }

  .reviewname {
    gap: 1.3vw; /* 10px / 768px * 100 ≈ 1.3vw */
  }

  .reviewname > h4 {
    font-size: 2.34vw; /* 18px / 768px * 100 ≈ 2.34vw */
  }

  .reviewname > p {
    font-size: 2.34vw; /* 18px / 768px * 100 ≈ 2.34vw */
  }

  .reviewcard-content > h2 {
    font-size: 3.125vw; /* 24px / 768px * 100 ≈ 3.125vw */
    margin: 1.95vw 0; /* 15px / 768px * 100 ≈ 1.95vw */
  }

  .reviewcard-content > p {
    font-size: 2.08vw; /* 16px / 768px * 100 ≈ 2.08vw */
    line-height: 2.6vw; /* 20px / 768px * 100 ≈ 2.6vw */
  }

  .reviewcard-header img {
    width: 10.42vw; /* 80px / 768px * 100 ≈ 10.42vw */
    height: auto; /* Maintain aspect ratio */
  }

  .upperquote {
    width: 5.21vw; /* 40px / 768px * 100 ≈ 5.21vw */
    height: auto; /* Maintain aspect ratio */
    top: 2%; /* Adjusted position */
    left: 20%; /* Adjusted position */
  }

  .lowerquate {
    width: 5.21vw; /* 40px / 768px * 100 ≈ 5.21vw */
    height: auto; /* Maintain aspect ratio */
    bottom: 15%; /* Adjusted position */
    right: 2%; /* Adjusted position */
  }
}



@media screen and (min-width: 769px) and (max-width: 1024px) {
  .testimonial-section {
    height: 750px;
    padding: 30px 0;
    /* border: 1px solid red; */
  }
  .testimonial-cards{
    margin-top: 50px;
    /* border: 1px solid red; */
  }

  .testimonial-section > h1 {
    font-size: 28px;
  }

  .testimonial-section > h2 {
    font-size: 24px;
    margin-top: 15px;
  }

  .backcard {
    width: 50%;
    height: 500px;
  }

  .reviewcards {
    width: 750px;
    height: 350px;
    margin-top: 40px;
  }

  .reviewcard {
    margin-top: 50px;
    height: 100%;
    background-size: cover;
  }

  .profileimg {
    width: 150px;
    height: 150px;
  }

  .reviewcard-content {
    margin-bottom: 20px;
    height: auto;
    width: 450px;
    padding-left: 20px;
  }

  .reviewcard-header {
    gap: 10px;
  }

  .reviewname {
    gap: 10px;
  }

  .reviewname > h4,
  .reviewname > p {
    font-size: 18px;
  }

  .reviewcard-content > h2 {
    font-size: 24px;
    margin: 15px 0;
  }

  .reviewcard-content > p {
    font-size: 16px;
    line-height: 20px;
  }

  .reviewcard-header img {
    width: 80px;
    height: auto;
  }

  .upperquote {
    width: 40px;
    top: 3%;
    left: 25%;
  }

  .lowerquate {
    width: 40px;
    bottom: 9%;
    right: 2%;
  }
}
@media screen and (max-width: 660px) {
  .testimonial-section {
    height: auto;
    padding: 30px 0;
  }
  .testimonial-section h1{
    font-size: 20px;
  }
  .testimonial-section h2{
    font-size: 16px;
  }

  .testimonial-cards {
    margin-top: 70px;
    height: auto;
  }

  

  .reviewcards {
    width: 90%;
    height: 200px;
    margin-top: 30px;
    margin-left: 30px;
    
  }

  .reviewcard {
    height: 200px;
    background-size:contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 30px;
    padding: 15px;
    /* border: 1px solid red; */
     will-change: transform, opacity;
  backface-visibility: hidden;
  transform-style: preserve-3d;
   -webkit-transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  }

  .profileimg {
    width: 80px;
    height: 80px;
  }

  .reviewcard-content {
    margin-top: 20px;
    padding-left: 15px;
 
  }

  .reviewcard-header {
    gap: 5px;
  }

  .reviewname h4,
  .reviewname p {
    font-size: 12px;
  }

  .reviewcard-content h2 {
    font-size: 14px;
    margin: 10px 0;
  }

  .reviewcard-content p {
    font-size: 10px;
    line-height: 1.3;
  }

  .upperquote {
    width: 20px;
    top: 14%;
    left: 25%;
  }

  .lowerquate {
    width: 20px;
    bottom: 14%;
    right: 2%;
  }
}