section.home-wocas {
    padding: 92px 0 60px;
    background-image: url(../img/bg-wocas.webp);
    background-size: cover;
}

.home-wocas .google-widget {
    position: relative;
    width: 100%;
    min-height: 60vh;
}

.home-wocas .google-widget .score-box {
    position: absolute;
    border-radius: 0 26px 26px 0;
    background: var(--Linear, linear-gradient(180deg, #211747 0%, #5581F1 253.35%));
    position: absolute;
    left: 3px;
    top: 48px;
    padding: 70px 64px 20px;
    max-width: 285px;
    z-index: 3;
}

.home-wocas .google-widget .score-box .logo-google {
    background-color: #100823;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    position: absolute;
    top: -48px;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 17px;
}

.home-wocas .google-widget .score-box .logo-google img {
    width: 100%;
    height: auto;
}

.home-wocas .google-widget .score-box .score-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-wocas .google-widget .score-box .score-content .score-ammount {
    color: #FFF;
    font-family: var(--font-body);
    font-size: 57.297px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -1.719px;
}

.home-wocas .google-widget .score-box .score-content .stars {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-wocas .google-widget .score-box .score-content .score-copy {
    display: block;
    padding-top: 33px;
    color: #FFF;
    text-align: center;
    font-family: var(--font-body);
    font-size: 25.677px;
    font-style: normal;
    font-weight: 450;
    line-height: 125.572%;
    letter-spacing: -0.77px;
}

.home-wocas .google-widget .score-box .score-content .score-cta {
    margin-top: 13px;
    border-radius: 49.768px;
    background: #C7A834;
    display: inline-flex;
    padding: 17.507px 26.845px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #FFF;
    font-family: var(--font-body);
    font-size: 19.346px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.58px;
    text-wrap: nowrap;
}

.reviews-grid {
    position: relative;
    width: 100%;
    max-width: 1225px;
    margin: 0 auto;
    padding-top: 48px;
}

/* Prevent score-box from overlapping reviews on medium screens */
@media screen and (min-width: 1201px) and (max-width: 1790px) {
    .home-wocas .google-widget .score-box {
        max-width: 250px; /* Make score-box smaller */
        padding: 60px 50px 20px; /* Reduce padding */
    }
    
    .reviews-grid {
        padding-top: 60px; /* Add more top padding */
        margin-left: 300px; /* Push reviews to the right to avoid overlap */
        max-width: calc(100% - 300px); /* Adjust max-width */
    }
    
    /* Reduce score-box font sizes */
    .home-wocas .google-widget .score-box .score-content .score-ammount {
        font-size: 48px;
    }
    
    .home-wocas .google-widget .score-box .score-content .score-copy {
        font-size: 22px;
        padding-top: 25px;
    }
    
    .home-wocas .google-widget .score-box .score-content .score-cta {
        font-size: 17px;
        padding: 15px 24px;
    }
}

.review-box {
    width: 100%;
    max-width: 383px;
    border-radius: 30px;
    background: #FFF;
    box-shadow: 7px 7px 19.8px 0 rgba(79, 95, 121, 0.05);
    padding: 24px 20px 80px;
    margin-bottom: 100px;
    position: relative;
    min-height: 383px;
}

.review-box .content {
    color: rgba(27, 26, 56, 0.91);
    font-family: var(--font-body);
    font-size: 19.346px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.review-box .content:before {
    content: '';
    display: block;
    width: 60px;
    height: 42px;
    background-image: url(../img/quotes.webp);
    background-size: contain;
}

.review-box .reviewer {
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.review-box .reviewer .avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #DAB128;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.review-box .reviewer .avatar img {
    height: 100%;
    object-fit: cover;
}

.review-box .reviewer .name {
    color: #2C484B;
    text-align: center;
    font-family: var(--font-body);
    font-size: 24.687px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

section.home-wocas .vs-slider .vs-track {
    margin-bottom: 39px;
}

section.home-wocas .vs-dot {
    background-color: #D1D1D2;
    border: 0 none;
    opacity: 1;
}

section.home-wocas .vs-dot.is-active {
    background-color: #1E1A34;
}

.google-widget-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #444;
    text-align: center;
    font-family: var(--font-body-light);
    font-size: 23.568px;
    font-style: normal;
    font-weight: 500;
    line-height: 53.028px;
    margin-top: 51px;
}

.google-widget-footer .score-text {
    font-family: var(--font-body);
}

.google-widget-footer .stars {
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-widget-footer .stars img {
    width: 20px;
}

@media screen and (max-width:1200px) {
    .home-wocas .google-widget .score-box {
        position: relative;
        margin: 0 auto;
        border-radius: 25px;
        margin-bottom: 44px;
        margin-top: 32px;
    }

    .google-widget-footer {
        flex-direction: column;
        gap: 0;
    }
}

@media screen and (max-width: 1195px) {
    .home-wocas .google-widget .score-box{
         max-width: 495px;
    }
}
@media screen and (max-width: 600px) {
    .home-wocas .google-widget .score-box{
         max-width: 300px;
    }
}