/* Container */
div[id^="roof-maxx-testimonials-container-theme3-"] {
    width: 100%;
    max-width: 1170px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

/* Review section title and button */
div[id^="roof-maxx-testimonials-container-theme3-"] .testimonial-review-section {
    padding: 20px;
    margin: 25px auto 40px;
    text-align: center;
}

div[id^="roof-maxx-testimonials-container-theme3-"] .testimonial-review-section span.reviews-title {
    font-size: 1.5em;
    font-weight: bold;
}

div[id^="roof-maxx-testimonials-container-theme3-"] .testimonial-review-section a {
    padding: 10px 15px;
    background-color: #EC9A20;
    color: #fff!important;
    display: inline-block;
    margin-top: 10px;
    transition: 0.3s;
}
div[id^="roof-maxx-testimonials-container-theme3-"] .testimonial-review-section a:hover {
    background-color: #cd871a;
}

/* Slider & Slides */
div[id^="roof-maxx-testimonials-container-theme3-"] .slider {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

div[id^="roof-maxx-testimonials-container-theme3-"] .slide {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px;
}
div[id^="roof-maxx-testimonials-container-theme3-"] .slide:first-of-type {
    display: flex;
}

/* Testimonial Card */
div[id^="roof-maxx-testimonials-container-theme3-"] .testimonial-card {
    width: 100%;
    max-width: 600px;
    margin: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    text-align: center;
    max-height: 400px;
}

/* Content Inside Card */
div[id^="roof-maxx-testimonials-container-theme3-"] .testimonial-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}
div[id^="roof-maxx-testimonials-container-theme3-"] .testim-reviewer-pic {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}
div[id^="roof-maxx-testimonials-container-theme3-"] .testim-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
div[id^="roof-maxx-testimonials-container-theme3-"] .testim-name {
    font-weight: bold;
    color: #333;
    margin: 0px;
}
div[id^="roof-maxx-testimonials-container-theme3-"] .testim-date {
    font-size: 0.85em;
    color: #777;
    margin:0;
}
div[id^="roof-maxx-testimonials-container-theme3-"] .testim-stars {
    color: #EC9A20;
    font-size: 1.5em;
    line-height: 1em;
    margin: 0;
}
div[id^="roof-maxx-testimonials-container-theme3-"] .comment-wrapper {
    position: relative;
    max-width: 400px;
    margin-top: 10px;
}
div[id^="roof-maxx-testimonials-container-theme3-"] .comment {
    max-height: 150px;
    width: 100%;
    overflow-y: auto;
    padding: 13px 25px 13px 20px;
    font-size: 1.5em;
    background: #f7f7f7;
    border-top: 1px solid #eee;
    line-height: 1.2;
    color: #333;
    padding-left: 25px;
    box-sizing: border-box;
}
div[id^="roof-maxx-testimonials-container-theme3-"] .quote-symbol {
    position: absolute;
    top: -45px;
    left: -10px;
    font-size: 7.5em;
    color: #EC9A20;
    font-family: Georgia, serif;
    font-weight: bold;
    opacity: 0.8;
    line-height: 1;
    z-index: 10;
}
@media (max-width: 485px) {
    div[id^="roof-maxx-testimonials-container-theme3-"] .quote-symbol {
        font-size: calc(100vw / 3.4);
    }
    div[id^="roof-maxx-testimonials-container-theme3-"] .comment {
        font-size: calc(100vw / 22);
    }
}
div[id^="roof-maxx-testimonials-container-theme3-"] .verified-logo {
    width: 100px;
    margin-top: 10px;
}

/* Navigation Controls */
div[id^="roof-maxx-testimonials-container-theme3-"] .testimonial-controls {
    width: 35px;
    height: 100px;
    background-color: #EC9A20;
    color: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    border: none;
}
div[id^="roof-maxx-testimonials-container-theme3-"] button.prev {
    left: 0;
}
div[id^="roof-maxx-testimonials-container-theme3-"] button.next {
    right: 0;
}
div[id^="roof-maxx-testimonials-container-theme3-"] button.prev:before,
div[id^="roof-maxx-testimonials-container-theme3-"] button.next:before {
    content: " ";
    display: block;
    width: 20px;
    height: 20px;
    margin: auto;
    border: solid white;
    border-width: 0 2px 2px 0;
    padding: 3px;
}
div[id^="roof-maxx-testimonials-container-theme3-"] button.next:before {
    transform: rotate(-45deg) translate(-10px, -10px);
}
div[id^="roof-maxx-testimonials-container-theme3-"] button.prev:before {
    transform: rotate(135deg) translate(0px, 0px);
}

/* Custom Scrollbar Styles */
div[id ^="roof-maxx-testimonials-container-theme3-"] ::-webkit-scrollbar {
  width: 10px; /* Width of the vertical scrollbar */
  height: 10px; /* Height of the horizontal scrollbar */
}
div[id ^="roof-maxx-testimonials-container-theme3-"] ::-webkit-scrollbar-track {
  background-color: #888; /* Color of the scrollbar track */
}
div[id ^="roof-maxx-testimonials-container-theme3-"] ::-webkit-scrollbar-thumb {
  background-color: #eaab3a; /* Color of the scrollbar handle */
}
div[id ^="roof-maxx-testimonials-container-theme3-"] ::-webkit-scrollbar-thumb:hover {
  background-color: #CD871A; /* Color of the scrollbar handle on hover */
}
div[id ^="roof-maxx-testimonials-container-theme3-"] ::-webkit-scrollbar-corner {
  background-color: red; /* Color of the corner where scrollbars meet */
}
