.company-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    z-index: 2;
}

.company-title {
    width: 35%;
    max-width: 800px;
    font-family: 'Poppins', sans-serif;
    font-size: 3.5vw;
    font-weight: 400;
    line-height: 1.3;
    color: #1E4EBB;
    margin-bottom: 0;
    z-index: 2;
}

.company-body {
    width: 35%;
    max-width: 800px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.4vw;
    font-weight: 400;
    line-height: 1.2;
    color: #1E4EBB;
    z-index: 2;
}

.search-bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4vw;
    margin-bottom: 1vw;
    width: 75% !important;
    z-index: 2;
}

.search-bar {
    display: flex;
    align-items: center;
    width: 80%;
    height: auto;
    gap: 5px;
    border-radius: 15px;
    background: var(--C-Fill, #F7F5F5);
    padding: 10px 15px;
    outline: none;
    border: none;
}

.search-hourglass {
    width: 1.5vw;
    height: 1.5vw;
    opacity: 0.7;
    display: flex;
}

.search-input {
    flex: 1;
    height: 100%;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5vw;
    font-weight: 400;
    text-align: left;
    color: var(--C-Grey, #555555);
    background: transparent;
    outline: none;
}

.search-button {
    width: auto;
    height: auto;
    padding: 10px 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5vw;
    font-weight: 400;
    text-align: center;
    background: transparent;
    border: 1px solid #000000;
    border-radius: 15px;
    cursor: pointer;
    margin-left: 15px;
}

.search-text-text {
    display: block;
}

.search-icon {
    display: none;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.company-logos-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
    flex-wrap: nowrap;
    padding-left: 5vw;
    padding-right: 5vw;
}

.company-logo {
    display: flex;
    justify-content: center;
    text-align: center;
    min-width: 0;
}

    .company-logo img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

.company-ratings-container.homepage-style {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0vw;
    justify-content: center;
}

.homepage-style .company-set {
    flex: 0 0 auto;
    width: 21.4vw;
    height: 16vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1vw;
    position: relative;
}

.homepage-style .title-container {
    display: flex;
    flex-direction: row;
    width: 120%;
    align-items: flex-start;
}

.homepage-style .company-initial {
    font-size: 2vw;
    font-weight: bold;
    margin-right: 0.2vw;
    display: flex;
    align-items: center;
    position: relative;
}

.homepage-style .company-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.homepage-style .company-name {
    font-size: 1.1vw;
}

.homepage-style .company-location {
    font-size: 0.7vw;
}

.homepage-style .star-rating-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 5.5vw;
    position: absolute;
    left: 0;
}

.homepage-style .star-rating {
    display: flex;
    gap: 0.3vw;
}

.homepage-style .star {
    width: 1.5vw;
    height: auto;
    content: url('/images/Company Ratings Star 2.png');
}

.homepage-style .percentage-value {
    font-size: 1.1vw;
    margin-left: 2vw;
    color: #2BAFA1;
}

.homepage-style .content-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: 4vw;
}

.homepage-style .carousel-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.homepage-style .image-container {
    display: none;
}

.homepage-style .image-box {
    display: none;
}


.homepage-style .new-stats-container {
    display: flex;
    flex-direction: column;
    margin-top: 3vw;
    padding: 1vw;
}


.homepage-style .new-stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5vw;
}

.homepage-style .new-stat {
    font-size: 1.2vw;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #555555;
    margin-right: 5.2vw;
}

.homepage-style .new-stat-value {
    font-size: 1.05vw;
    text-align: right;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.homepage-style .carousel-arrow {
    display: none;
}

.homepage-style .see-more-button {
    display: none;
}

.homepage-style .icon-image {
    display: none;
}

.homepage-style .page-arrow {
    display: none;
}

.homepage-style .page-numbers {
    display: none;
}

.homepage-style .company-set:nth-child(2) .new-stat-row:nth-child(1) .new-stat-value::after,
.homepage-style .company-set:nth-child(2) .new-stat-row:nth-child(2) .new-stat-value::after {
    content: " /5";
}

.homepage-style .company-set:nth-child(2) .new-stat {
    margin-right: 4vw;
}

@media (max-width: 770px) {
.company-ratings-container.homepage-style {
    flex-direction: column;
    align-items: center;
    gap: 2vw;
}

        .homepage-style .new-stats-container {
            width: 90%;
        }

    .search-bar-container {
        width: 80% !important;
        margin: 5vw auto 3vw auto;
    }

    .search-bar {
        margin-left: 0;
    }

    .search-button {
        width: 25%;
        padding: 20px;
        margin-right: 0;
        margin-left: 10px;
    }

    .search-text-text {
        display: none;
    }

    .search-icon {
        display: block;
    }

    .search-input {
        font-size: 4vw;
    }

    .search-hourglass {
        width: 4vw;
        height: 4vw;
    }

    .company-info-container {
        position: relative;
        padding-top: 10vw;
        overflow-x: hidden;
    }

        .company-info-container:before {
            content: "";
            position: absolute;
            top: -20%;
            left: -25%;
            width: 150%;
            height: 30%;
            background: #FEE0A6;
            border-radius: 100%;
            z-index: 1;
        }

    .company-title {
        font-size: 8vw;
        width: 90%;
    }

    .company-body {
        font-size: 4vw;
        width: 75%;
    }

    .company-logos-container {
        flex-direction: column;
    }

    .homepage-style .title-container {
        margin-left: 24vw;
    }

    .homepage-style .company-set {
        width: 80%;
        height: 65vw;
    }

    .homepage-style .company-initial {
        font-size: 7.5vw;
        font-weight: bold;
        width: 10vw;
        margin-top: 3.5vw;
        height: auto;
        display: flex;
        align-items: center;
        position: relative;
        min-width: 12%;
    }

    .homepage-style .company-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: 3vw;
        margin-top: 3.5vw;
    }

    .homepage-style .company-name {
        font-size: 4vw;
        margin-bottom: 0.2vw;
    }

    .homepage-style .company-location {
        font-size: 2.8vw;
    }

    .homepage-style .star-rating-container {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        margin-top: 27.5vw;
        position: absolute;
        left: 0.5vw;
    }

    .homepage-style .star-rating {
        display: flex;
        gap: 0.6vw;
    }

    .homepage-style .star {
        width: 4.6vw;
        height: auto;
        content: url('/images/Company Ratings Star 2.png');
    }

    .homepage-style .percentage-value {
        font-size: 3.4vw;
        margin-left: 10vw;
        color: #2BAFA1;
    }

    .homepage-style .new-stat-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 0.5vw;
    }

    .homepage-style .new-stat {
        font-size: 3.5vw;
        text-align: left;
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
        color: #555555;
        margin-bottom: 4vw;
    }

    .homepage-style .company-set:nth-child(2) .new-stat {
        margin-right: 11vw;
    }

    .homepage-style .company-set:nth-child(1) .new-stat {
        margin-right: 15vw;
    }

    .homepage-style .new-stat-value {
        font-size: 3.5vw;
        text-align: right;
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
    }
}

@media (max-width: 600px) {
    .company-logo {
        flex-basis: 100%;
    }
}

@media screen and (max-width: 520px) {
    .search-button {
        padding: 10px 20px !important;
    }
}
