.company-set {
    background: var(--colours-C-Fill, #F7F5F5);
    border-radius: 1.5vw;
    padding: 1vw;
    width: 75vw;
    margin: 1vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    height: 15vw;
    justify-content: center;
    overflow: hidden;
}

.title-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5vw;
    width: 30vw; 
    position: absolute; 
    left: 2vw; 
    z-index: 2; 
}

.company-name {
    font-size: 1vw; 
    font-family: 'Poppins', sans-serif; 
    font-weight: 500; 
    color: #000;
}

.company-initial {
    width: 3.5vw;
    height: 3.5vw;
    background-color: #C3D0EE; 
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 500; 
    font-size: 1.5vw; 
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%; 
    margin-bottom: 0.5vw; 
}

.company-location {
    font-size: 0.8vw; 
    font-family: 'Poppins', sans-serif;
    font-weight: 400; 
    color: #555555; 
    width: 60%; 
    margin-bottom: 2vw;
}

.see-more-link {
    position: absolute;
    right: 2vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    text-decoration: none;
}

.see-more-button {
    padding: 0.8vw 2vw;
    border: 2px solid #FDB121;
    border-radius: 15px;
    cursor: pointer;
    font-size: 1vw;
    background-color: #FAFAFA;
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 5px;
}

.content-container {
    display: flex;
    align-items: center;
    position: relative;
    height: 15vw;
    flex: 1;
    overflow: hidden; 
}

.carousel-wrapper {
    display: flex;
    position: relative;
    width: 100%;
    max-width: 60vw; 
    justify-content: center;
    margin: 0; 
}

.image-container {
    display: flex;
    transition: transform 0.5s ease;
    align-items: center;
    justify-content: center;
    width: auto; 
}

.image-box {
    height: 12vw; 
    width: 13vw; 
    border-radius: 2.5vw; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.5vw;
    margin: 0 1vw;
    flex-shrink: 0; 
    overflow: hidden; 
    position: relative; 
}

.image-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to right, #FCD58D 50%, #FFEFD3 50%);
    z-index: 1;
}

.image-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%; 
    background-color: #FFAE8B; 
    z-index: 0; 
}


.box1::before {
    background: linear-gradient(to right, #FCD58D 50%, #FFEFD3 50%);
}

.box1::after {
    background-color: #FFAE8B; 
}
.box2::before {
    background: linear-gradient(to right, #A5B9E5 50%, #E1E8F6 50%);
}

.box2::after {
    background-color: #CDECE9; 
}

.box3::before {
    background: linear-gradient(to right, #3fa385 50%, #A1D5A5 50%);
}

.box3::after {
    background-color: #F7E8A2; 
}

.icon-image {
    position: absolute;
    top: 2vw;
    width: 4vw; 
    height: auto;
    z-index: 2;
}

.text-box {
    background-color: #fff;
    border-radius: 2.5vw;
    padding: 0.5vw;
    position: absolute;
    bottom: 1vw;
    width: 80%;
    text-align: center;
    z-index: 2;
}

.stat, .stat-value {
    position: relative;
    color: #000; 
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.stat {
    font-weight: 400; 
    font-size: 1vw; 
    color: #555555;
}

.stat-value {
    font-weight: 400; 
    font-size: 1.4vw; 
}

.carousel-mask {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 23vw;
    background: var(--colours-C-Fill, #F7F5F5);
    z-index: 1;
}

.left-mask {
    left: 0;
}

.right-mask {
    right: 0;
}

.carousel-arrow {
    background-color: transparent; 
    color: #007bff;
    border: none;
    cursor: pointer;
    font-size: 2vw; 
    z-index: 3; 
}

.left-arrow {
    position: absolute; 
    left: 20vw; 
}

.right-arrow {
    position: absolute; 
    right: 20vw; 
}

.left-arrow,
.right-arrow {
    width: 2vw;
    height: 12vw; 
    color: #555555;
}

.star-rating-container {
    display: flex;
    align-items: center;
    gap: 1.5vw
}

.new-stats-container {
    display: none;
}

.star-rating {
    display: flex;
}

.star {
    width: 1.5vw;
    height: 1.5vw; 
}

.star.half::after {
    content: "\u2605";
    color: #ccc;
    position: absolute;
    left: 50%;
    overflow: hidden;
}

.percentage-value {
    font-size: 1vw;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #000;
}

.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1vw;
}

.page-arrow {
    background: none;
    border: none;
    cursor: pointer;
    margin: 0 1vw;
}

.page-arrow img {
    width: 2vw;
    height: auto;
    border: none;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1vw;
    font-weight: 400;
}

.page-numbers span {
    cursor: pointer;
    margin: 0 0.5vw;
}

.page-numbers .active {
    background-color: #698AD4;
    color: white;
    padding: 0.3vw 0.8vw;
    border-radius: 0.3vw;
    font-weight: 400;
}


@media (max-width: 768px) {
    .pagination-container {
        display: none; 
    }

    .company-set:nth-child(1),
    .company-set:nth-child(2) {
        display: flex; 
    }

    .company-set {
        flex-direction: column;
        height: auto;
        padding: 6vw;
        display: none;
        border-radius: 4vw;
    }

    .title-container {
        position: relative;
        left: auto;
        width: 100%;
        margin-bottom: 1vw;
    }

    .company-name {
        font-size: 3vw;
    }

    .company-initial {
        width: 8.5vw;
        height: 8.5vw;
        font-size: 3vw;
        margin-left: 0;
    }

    .company-location {
        font-size: 2vw;
        margin-bottom: 1vw;
        width: 70%;
    }

    .star-rating-container {
        gap: 1vw;
    }

    .see-more-link {
        position: absolute;
        right: 4vw;
        top: 5vw;
        transform: none;
        z-index: 5;
    }

    .see-more-button {
        padding: 2vw 4vw;
        font-size: 2.5vw;
        border-radius: 15px;
    }

    .star {
        width: 3.5vw;
        height: 3.5vw; 
    }

    .percentage-value {
        font-size: 3vw;
    }
    

    .content-container {
        padding-right: 0;
        width: 100%;
        margin-top: 2vw;
        left: 15%;
    }

    .carousel-wrapper {
        max-width: 100%;
    }

    .image-box {
        height: 35vw; 
        width: 32vw; 
        border-radius: 5vw;
        margin: 0 1vw;
    }

    .icon-image {
        top: 7.5vw;
        width: 9.5vw;
    }

    .text-box {
        border-radius: 5vw;
        bottom: 2vw;
        padding: 1vw;
        font-size: 2vw;
    }

    .stat {
        font-size: 2.5vw;
    }

    .stat-value {
        font-size: 3vw;
    }

    .carousel-mask {
        width: -50vw;
    }

    .left-mask {
        left: -45vw;
        width: -5vw;
    }

    .right-mask {
        width: 20vw;
        
    }

    .left-arrow {
        left: 5vw;
        top: 30vw;
    }

    .right-arrow {
        right: 5.5vw;
        top: 30vw;
    }

    .left-arrow,
    .right-arrow {
        width: 5vw;
        height: 10vw;
        font-size: 5vw;
        
    }
}