.bgWrapper {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 75%, #000 100%), url('./assets//CompanyHeroBg.jpg') no-repeat, #111016;
    min-height: 100vh; 
}

.topContainer {
    display: flex; 
    justify-content: center;
    padding: 90px 120px 120px 120px;
    width: 100%;
}

.title{
    max-width: 970px;
    text-align: center;
}

.heroScrollOuter {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.heroScrollInner {
    position: relative;
    height: 480px;
    width: calc(1910px * 3);
    will-change: transform;
}

.heroCard {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: var(--border-radius-md);
    object-fit: cover;
}

@media (width <= 1210px) {
    .topContainer {
        padding: 90px 80px 80px 80px;
    }
}

@media (width <= 1024px) {
    .topContainer {
        padding: 90px 60px 80px 60px;
    }
}

@media (width <= 768px) {
    .topContainer {
        width: 100%;
        padding: 40px 20px 60px 20px;
    }

    .title{
        max-width: 540px;
    }

    .heroCard {
        border-radius: var(--border-radius-xs);
    }

    .heroScrollOuter, .heroScrollInner {
        height: 240px;
    }

    .heroScrollInner {
        width: calc( 768px * 3);
    }
}
