.elementor-4916 .elementor-element.elementor-element-e077375{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4916 .elementor-element.elementor-element-dc0e2d7{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4916 .elementor-element.elementor-element-8434366{--display:flex;}.elementor-4916 .elementor-element.elementor-element-1845f2c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-b584a67 *//* Container for the cards that will move */
.thb-rev-slider-track {
    display: flex;
    gap: 30px; /* This must match the 'gap' variable in JS */
    transition: transform 0.5s ease-in-out;
    width: max-content; /* Important: prevents cards from wrapping */
}

/* Ensure the "window" hides the overflowing cards */
.thb-rev-right {
    overflow: hidden;
    width: 100%;
}

/* Ensure cards have a consistent width for the JS math to work */
.thb-rev-card {
    min-width: 400px; /* Or whatever width you prefer */
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .thb-rev-card {
        min-width: 280px;
    }
}

/* Scoped namespace for testimonials */
.thb-rev-section {
    background-color: #F8F7F3;
    font-family: 'Poppins', sans-serif;
    color: #112233;
    padding: 80px 20px;
    width: 100%;
}

.thb-rev-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Left Content */
.thb-rev-left {
    flex: 0 0 35%;
}

.thb-rev-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 20px 0;
}

.thb-rev-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4B5563;
    margin-bottom: 30px;
}

/* Clickable Navigation Buttons */
.thb-rev-nav {
    display: flex;
    gap: 15px;
}

.thb-rev-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease-in-out;
    outline: none;
}

/* Specific button states */
.thb-rev-prev {
    background-color: #D1D5DB;
    color: #4B5563;
}

.thb-rev-prev:hover {
    background-color: #9CA3AF;
}

.thb-rev-next {
    background-color: #051531; /* Deep Navy */
    color: white;
}

.thb-rev-next:hover {
    background-color: #33CC33; /* Twin Home Buyer Green on hover */
    transform: scale(1.1);
}

.thb-rev-next:active {
    transform: scale(0.95);
}

/* Right Content: Cards */
.thb-rev-right {
    flex: 1;
    display: flex;
    gap: 20px;
    overflow: hidden; /* Hide overflow for the partial card look */
}

.thb-rev-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    min-width: 320px;
    flex: 1;
}

.thb-rev-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #F8F7F3;
}

.thb-rev-name {
    display: block;
    font-style: italic;
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.thb-rev-stars {
    color: #FFB800;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.thb-rev-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #4B5563;
}

.thb-rev-text strong {
    color: #112233;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .thb-rev-container {
        flex-direction: column;
        text-align: center;
    }
    
    .thb-rev-left {
        width: 100%;
    }

    .thb-rev-nav {
        justify-content: center;
        margin-bottom: 30px;
    }

    .thb-rev-card {
        min-width: 100%;
    }
    
    .thb-rev-right .thb-rev-card:last-child {
        display: none; /* Hide partial card on smaller screens */
    }
}/* End custom CSS */