.section-5 {
    background: rgb(249, 250, 255);
    box-shadow: rgb(199, 208, 255) 0px 3px 30px 15px;
    padding: 3rem 0px;
    height: 32rem;
    margin-top: 120px;
    margin-bottom: 20rem;
}

.section-5 .container {
    /* display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center; */
}

.section-5 h4 {
    font-weight: 700;
    text-align: center;
    color: rgb(32, 43, 80);
    width: 45%;
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
}

.ui-tabs .ui-tabs-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    margin-bottom: 0.7rem !important;
}

.ui-tabs .ui-tabs-panel,
.ui-tabs .ui-tabs-nav {
    padding: 0px !important;
}

.ui-widget-header {
    border: none !important;
    background: none !important;
}

.line-area {
    height: 0.1rem;
    width: 35%;
    margin-bottom: 4rem;
    position: relative;
    margin: auto;
}

.line-normal {
    height: 100%;
    width: 100%;
    border: 1.5px solid transparent;
    background: rgb(32, 43, 80);
    opacity: 0.3;
    z-index: 1;
}

.line-active {
    height: 100%;
    width: 50%;
    border: 1.5px solid transparent;
    background: rgb(32, 43, 80);
    position: absolute;
    z-index: 3;
    top: 0px;
}

#tabs {

}

.ui-widget-content {
    background: none !important;
}

#tabs ul li {
    cursor: pointer;
    background: transparent !important;
    border: none !important;
    margin: 0px !important;
}

#tabs ul li a {
    font-family: Poppins;
    font-style: normal;
    font-weight: 500;
    font-size: 1rem;
    color: rgba(32, 43, 80, 0.6);
}

.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
    color: rgb(32, 43, 80) !important;
}

#tabs-1,
#tabs-2 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    animation: 0.7s ease-in-out 0s 1 normal none running reason_in;
}
#home #tabs-1,
#home #tabs-2 {
    display: flex;
    justify-content: space-between;
    width: 98%;
    animation: 0.7s ease-in-out 0s 1 normal none running reason_in;
    margin-left: 2%;
}

.rate-card {
    position: relative;
    background-color: rgb(32, 43, 80);
    display: flex;
    flex-direction: column;
    color: rgb(249, 250, 255);
    padding: 4rem 2rem;
    box-shadow: rgba(199, 208, 255, 0.9) 0px 3px 12px 9px;
    border-radius: 1rem;
    /* width: 100%; */
    animation: 0.7s ease-in-out 0s 1 normal none running reason_in;
}

.rate-card .avatar-img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    position: absolute;
    top: -20%;
}

.rate-card .avatar-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    border: 4px solid white;
}

.rate-card .rate-comment p {
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.1rem;
    margin: 0px !important;
}

.rate-card .rate-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rate-card .rate-info p {
    margin: 0px !important;
}

.rate-info {
    margin-top: 2rem;
}

.rate-info .rate-identity {
    display: flex;
    flex-direction: column;
}

.rate-info .rate-identity .name {
    font-family: Poppins;
    font-style: normal;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.5rem;
}

.rate-info .rate-identity .from {
    font-family: Poppins;
    font-style: normal;
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1.1rem;
}

.rate-info .score {
    color: rgb(231, 77, 117);
}

.section-5 .owl-carousel .owl-stage-outer {
    margin-bottom: 3rem;
}

.section-5-carousel {
    position: relative;
}

.section-5-carousel .owl-nav .owl-prev {
    margin-right: 0.75rem !important;
}

.section-5-carousel .owl-nav .owl-next {
    margin-left: 0.75rem !important;
}

.section-5 .owl-item .item {
    padding: 15px 20px 20px;
}
.section-5 .tab-item {
    color: rgba(32, 43, 80, 0.6) !important;
}
.section-5 .tab-item.active {
    color: #2b2b2b !important;
}
.section-5 .owl-dots {
    display: none !important;
}

.section-5-carousel .owl-dots .owl-dot span,
.section-5-carousel .owl-dots .owl-dot.active span,
.section-5-carousel .owl-dots .owl-dot:hover span {
    width: auto;
    background-color: transparent;
}
.line-active.active{
    right: 0;
}

@media (min-width:426px) and (max-width:767px) {
    .section-3 .center-dot-custom .feature-dot#right-dot{
        margin-left: auto;
        margin-right: -1rem;
    }
    .section-3 .center-dot-custom::before{
        left: unset;
    }
    .section-3 .center-dot-custom .feature-dot.dot-active{
        text-align: center;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 15rem !important;
    }
    .section-3 .center-dot-custom{
        margin-top: -8rem !important;
    }
    
}
@media (min-width:426px) and (max-width:578px){
    .section-3 .center-dot-custom .feature-dot.dot-active{
        margin-top: 13rem !important;
    }
}
@media (max-width: 991px) {
    .line-area {
        width: 50%;
    }
    .section-5-carousel .owl-stage-outer .owl-item{
        visibility: hidden;
    }
    .section-5-carousel .owl-stage-outer .owl-item.active{
    visibility: visible;
    /* padding: 0px 20px; */
    }
    /* .rate-card {
        width: 60%;
    } */
    .section-5 .container .row{
        margin: 0px -30px;
    }
    .section-5 .owl-item .item {
        /* display: flex;
        justify-content: center; */
        padding: 15px 70px 20px;
    }

    .section-5 h4 {
        width: 70%;
    }

    .section-5-carousel .owl-nav .owl-next,
    .section-5-carousel .owl-nav .owl-prev {
        position: absolute;
        top: 50%;
        transform: scale(2);
        margin: 0px !important;
    }

    .section-5-carousel .owl-nav .owl-next {
        right: 0px;
        margin-right: 5% !important;
    }

    .section-5-carousel .owl-nav .owl-prev {
        left: 0px;
        margin-left: 5% !important;
    }

    .rate-card {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .rate-card .rate-comment p {
        text-align: center;
    }

    .rate-card .rate-info {
        flex-direction: column;
    }

    .rate-info .rate-identity {
        align-items: center;
        margin-bottom: 0.6rem;
    }
}
@media (max-width:767px) {
    .section-5-carousel .owl-nav .owl-next, .section-5-carousel .owl-nav .owl-prev{
        transform: scale(1.5);    
    }
}
@media (max-width:500px) {
    .ui-tabs .ui-tabs-nav{
        gap: 0.5rem;
    }
    .section-5 .owl-item .item {
        /* display: flex;
        justify-content: center; */
        padding: 15px 40px 20px;
    }

}