<style>

  #reviews-carousel  .carousel-wrapper {
      position: relative;
      background: #000;
      margin: 20px auto;
      padding: 20px;
      max-width: 1200px;
      display: flex;
      align-items: center;
      gap: 10px;
      position: relative;
    }
    .carousel {
      overflow: hidden;
      flex-grow: 1;
      position: relative;
    }
    .carousel-container {
      display: flex;
      transition: transform 0.5s ease-in-out;
      width: 100%; /* Ensure full width to prevent cropping */
    }
    .carousel-item {
      width: 314px;
      height: 300px;
      background: #fff;
      color: #000;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0 10px;
      border-radius: 10px;
      box-shadow: 0 2px 5px rgba(255, 255, 255, 0.2);
      flex-shrink: 0;
      box-sizing: border-box; /* Ensure padding/margins don't affect width */
    }
    .carousel-button {
      position: absolute;
      top: 0;
      bottom: 0;
      color: #000;
      border: none;
      border-radius: 5px;
      padding: 10px 20px;
      cursor: pointer;
      font-weight: bold;
      z-index: 10;
      flex-shrink: 0;
    }
    #carousel-wrapper{
      max-width: 1000px;
      padding: 0;

    }
    #prevBtn{
      left: -70px;
      top: 0;
    }
    #nextBtn{
      right: -70px;
    }
    .carousel-button:hover {
      
      color: #fff;
    }
    #reviews-carousel .reviews-carousel-title{
      margin-bottom: 1rem;
    }
    #reviews-carousel>section{
      padding-bottom: 0;
    }
    /* Responsive design */
    @media (max-width: 1024px) {
      .carousel-item {
        min-width: calc(50% - 20px); /* 2 items on tablet, adjust for margins */
      }
    }
    @media (max-width: 480px) {
      .carousel-item {
        min-width: calc(100% - 20px); /* 1 item on mobile, adjust for margins */
      }
      .carousel-button {
        padding: 6px 12px;
      }
    }
        .carousel-container .carousel-item{
      background: none;
    }
    @media screen and (max-width: 1111px) {
      #carousel-wrapper {
          max-width: 670px;
          padding: 0;
      }
      .carousel-button svg{
        width: 30px;
        height: 30px;
      }

    }
    @media screen and (max-width: 790px) {
       #carousel-wrapper.carousel-wrapper {
          max-width: 320px;
          
      }
       #carousel-wrapper .carousel-button svg{
        width: 25px;
        height: 25px;
      }
      #prevBtn {
          left: -50px;
          
      }
      #nextBtn {
          right: -50px;
      }
    }




  

  </style>