 /*Main Container*/
  .testimonial-section {
    display: flex;
    justify-content: space-between; /* Space items apart */
    align-items: stretch; /* Stretch children to equal height */
    flex-wrap: wrap;
    width: 100%;
    height: 650px;
    padding: 20px;
    box-sizing: border-box; /* Ensures padding is included in dimensions */
    margin: 20px 0;
    gap: 10px;
  }
  
  
  /* Carousel Box*/
  .carousel-container {
    position: relative; /* Keep this to ensure buttons can be placed on top */
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    width: 70%;
    height: 600px;
    text-align: center;
    background-color: #ccc;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .carousel-container h2{
    font-size: 38px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
  }
  
  /* Carousel container adjustment */
  .carousel {
    display: flex;
    align-items: center;
    width: 80%;
    height: 100%;
    overflow: hidden;
    margin: auto; /* Center the carousel */
    padding: 10px; /* Add some inner spacing */
  }
  
  .carousel-track-container {
    overflow: hidden;
    width: 100%;
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    list-style: none;
    position: relative; /* Ensure proper stacking of carousel items */
    z-index: 1; /* Keep items below the buttons */
    margin: 0;
    padding: 0;
  }
  
  .carousel-item {
    background: #fff;
    height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 0 0 30.33%; /* Show 3 cards at a time */
    margin: 10px;
    padding: 20px;
    box-sizing: border-box;
  }
  
  /* This will target the review message text */
  .carousel-item p {
    max-height: 150px; /* Limit the height of the review message */
    overflow-y: auto; /* Enable vertical scroll when content exceeds max height */
    padding-right: 10px; /* Ensure text doesn’t overlap with the scrollbar */
    margin: 10px 0; /* Add some space around the review text */
    font-size: 14px; /* Adjust the font size for readability */
    line-height: 1.5; /* Improve line spacing for readability */
    text-align: left;
    
    /* Custom scrollbar styles */
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #007BFF #f0f0f0; /* For Firefox */
  }
  
  /* For Webkit-based browsers (Chrome, Safari, Edge) */
  .carousel-item p::-webkit-scrollbar {
    width: 8px; /* Set width of the scrollbar */
  }
  
  .carousel-item p::-webkit-scrollbar-thumb {
    background-color: #007BFF; /* Color of the scrollbar thumb */
    border-radius: 8px; /* Rounded corners for the thumb */
  }
  
  .carousel-item p::-webkit-scrollbar-track {
    background: #f0f0f0; /* Track color */
  }
  
  
  .carousel h3 {
    color: #007BFF;
    margin-bottom: 10px;
    text-transform: uppercase;
  }
  
  .carousel p {
    margin: 5px 0;
  }
  .carousel-item .stars {
    font-size: 20px;
    color: #007BFF;
  }
  
  /* Updated button styles */
  .carousel-btn {
    position: absolute;
    background: #007BFF;
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    top: 50%; /* Align vertically */
    transform: translateY(-50%); /* Center vertically */
    z-index: 10; /* Ensure it's above the carousel */
    border-radius: 5px; /* Adjust for a cleaner look */
    font-weight: bold;
    font-size: 24px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Add shadow for better visibility */
  }
  
  /* Adjust button positions */
  .prev {
    left: 5px; /* Position the button closer to the carousel */
  }
  
  .next {
    right: 5px; /* Position the button closer to the carousel */
  }
  
  .carousel-btn:hover {
    background-color: #0056b3;
  }
  
  @media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 95%; /* Show 2 cards at a time for smaller screens */
    }
  }
  
  @media (max-width: 1000px) {
    .carousel-item {
        flex: 0 0 48%; /* Show 2 cards at a time for smaller screens */
    }
  }
  
  @media (max-width: 480px) {
    .carousel-item {
        flex: 0 0 100%; /* Show 1 card at a time for very small screens */
    }
  }
  
  
  
  /* Review Form ---------------------------------------------------- */
  .review-form {
    flex: 1; /* Takes up 1 part of the available space */
    height: 600px; /* Ensures the height matches the parent */
    background-color: #212635;
    padding: 20px;
    border-radius: 5px;
    box-sizing: border-box; /* Ensure padding doesn't overflow */
  }
  
  .review-form h2 {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .review-form form {
    width: 95%;
  }
  
  .review-form input[type="text"],
  .review-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
  }
  
  .review-form textarea {
    resize: none;
  }
  
  .star-rating {
    display: flex;
    justify-content: center;
    margin: 20px 0;
  }
  
  .star-rating .star {
    font-size: 24px;
    color: #2e8ece;
    margin: 0 5px;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
  .star-rating .star:hover,
  .star-rating .star.active {
    color: #ffcc00;
  }
  
  .star-rating .star.selected {
    color: #ffcc00;
  }
  
  
  /*Card Stars*/
  .review-stars {
    font-size: 34px; /* Adjust the size of the stars */
    font-weight: bold;
    color: #ffcc00; /* Gold color for selected stars */
  }
  
  /* Terms and Captcha */
  .terms-captcha {
    margin: 10px 0;
    font-size: 14px;
    color: #fefefe;
  }
  
  .captcha {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .captcha label {
    font-size: 14px;
    color: #ffffff;
  }
  
  
  
  /* Align reCAPTCHA and submit button */
  .recaptcha-submit {
    display: flex;
    justify-content: center; /* Centers items horizontally */
    align-items: center; /* Centers items vertically */
    gap: 15px; /* Adds space between the CAPTCHA and the button */
    margin-top: 20px; /* Adds spacing from the previous section */
  }
  
  /* Adjust the CAPTCHA input field inside the recaptcha-submit */
  .recaptcha-submit .captcha input[type="text"] {
    width: 50px;
    padding: 10px;
    border: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    
  }
  
  /* Adjust the submit button within the recaptcha-submit container */
  .recaptcha-submit #submit-btn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    margin-top: 10px;
  }
  
  .recaptcha-submit #submit-btn:hover {
    background: #218838;
  }

@media (max-width: 768px) {
  .testimonial-section {
    flex-direction: column;
    /* Stack children vertically */
    gap: 20px;
    /* Add spacing between sections */
    align-items: center;
    /* Center sections horizontally */
    height: auto;
    /* Let height adjust to content */
  }

  .carousel-container {
    width: 100%;
    /* Full width for smaller screens */
    height: auto;
    /* Adjust height to content */
    margin-bottom: 20px;
    /* Add spacing between testimonial and review sections */
  }

  .review-form {
    width: 100%;
    /* Full width for smaller screens */
    height: auto;
    /* Adjust height to content */
    margin-top: 20px;
    /* Add spacing between sections */
  }
}