.containerEmbarking {
    max-width: 1200px;
    margin: 0 auto;
}

.text-embarking h1 {
    font-family: 'SF UI Display Heavy';
    font-weight: 900;
    font-size: 4rem;
    margin-bottom: 10px;
    text-align: center;
    color: rgba(255, 255, 255, 1);
}

.text-embarking h1 span {
    color: rgba(255, 203, 41, 1);
}

.text-embarking p {
    text-align: center;
    margin-bottom: 0px;
    line-height: 1.5;
    font-size: 1rem;
    color: rgba(255, 255, 255, 1);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    height: 60vh;
    position: relative;
    overflow: hidden;
}

.image-grid::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        to top,
        rgba(20, 23, 24, 1),
        rgba(20, 23, 24, 0)
    );
    pointer-events: none;
    z-index: 1;
}

.image-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.image-item img.active {
    opacity: 1;
}

.placeholder {
    width: 100%;
    height: 100%;
    background-color: #2a2e2f;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

.item1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.item2 {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}

.item3 {
    grid-column: 3 / 4;
    grid-row: 2 / 4;
}

.item4 {
    grid-column: 0 / 1;
    grid-row: 3 / 4;
}

.item5 {
    grid-column: 7 / 9;
    grid-row: 2 / 2;
}

.item6 {
    grid-column: 5 / 7;
    grid-row: 2 / 2;
}

.item7 {
    grid-column: 5 / 9;
    grid-row: 3 / 3;
}

.containerWorking {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 4%;
}

.text-working h2 {
    font-family: 'SF UI Display Heavy';
    font-weight: 900;
    font-size: 3rem;
    margin-bottom: 10px;
    text-align: center;
    color: rgba(255, 255, 255, 1);
}

.text-working h2 span {
    color: rgba(255, 203, 41, 1);
}

.text-working p {
    text-align: center;
    margin-bottom: 0px;
    line-height: 1.5;
    font-size: 1rem;
    color: rgba(255, 255, 255, 1);
}

.workingOptions {
    margin-top: 5%;
}

.workingOptionsText {
    background-color: #ffd554;
    color: #363d3f;
    padding: 30px;
    border-radius: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.workingOptionsText h3 {
    font-family: 'SF UI Display Heavy';
    font-size: 3rem;
    color: rgba(0, 0, 0, 1);
    font-weight: bold;
}

.image-item2 {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 0;
    height: 0;
    /* padding-bottom: 66.67%;  */
    padding-bottom: 40%;
}

.image-item2 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cultureSection {
    width: 100%;
    height: 60vh;
    color: rgba(255, 255, 255, 1);
    background-image: url(../../images/careerImages/8.svg);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    margin-top: 5%;
    text-align: center;
}

.cultureSection::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(
        to top,
        rgba(20, 23, 24, 1),
        rgba(20, 23, 24, 0)
    );
    pointer-events: none;
    z-index: 1;
}

.cultureSection h3 {
    font-family: 'SF UI Display Heavy';
    margin: 0;
    padding: 1px 20px;
    font-size: 4vw;
    font-weight: 700;
    position: relative;
    z-index: 2;
    color: rgba(255, 203, 41, 1);
}

.cultureSection p {
    z-index: 2;
    padding: 1px 20px;
    color: rgba(134, 139, 140, 1);
    max-width: 100%;
    margin: 0;
}

.logo-CultureSection {
    margin-top: 2rem;
}

.logo-CultureSection ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo-CultureSection li {
    flex: 0 1 auto;
}

.logo-CultureSection img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1200px) {
    .logo-CultureSection ul {
        gap: 1.5rem;
    }

    .logo-CultureSection li {
        flex-basis: calc(20% - 1.5rem);
    }
}

@media (max-width: 992px) {

    .containerEmbarking {
        margin-top: 15%;
    }

    .text-embarking h1 {
        font-size: 5rem;
        font-weight: 900;
    }
    .text-embarking p {
        font-size: 1.2rem;
    }

    .containerWorking {
        margin-top: 18%;
    }

    .text-working h2 {
        font-size: 5rem;
        font-weight: 900; 
    }
    .text-working p {
        font-size: 1.2rem;
    }
    .image-item2 {
        height: 300px;
    }

    .cultureSection {
margin-top: 20%;
        height: 400px;
        background-repeat: no-repeat;
    }

    .cultureSection h3 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {

    .containerEmbarking {
        margin-top: 15%;
    }

    .text-embarking h1 {
        font-size: 2.5rem;
    }
    .text-embarking p {
        font-size: 1.2rem;
    }
    .image-grid {
        margin-top: 20px;
        gap: 0px;
        display: flex;
        overflow: hidden;
        width: 100%;
        height: 200px;
        overflow-x: auto;
        scroll-behavior: smooth;
    }

    .image-item {
        flex: 0 0 auto;
        width: 250px;
        height: 100%;
        margin-right: 15px;
    }

    .image-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .scroll-container {
        display: flex;
        transition: transform 0.5s ease;
    }

    .text-working h2 {
        font-size: 2.5rem;
    }
    .text-working p {
        font-size: 1.2rem;
    }

    .workingOptionsText h3 {
        font-size: 4vw;
        text-align: center;

        white-space: nowrap;
    }

    .image-item2 {
        height: 300px;
    }

    .cultureSection {
        height: 300px;
        background-repeat: no-repeat;
    }

    .cultureSection h3 {
        font-size: 6vw;
        padding: 5px 15px;
    }

    .cultureSection p {
        max-width: 90%;
        font-size: 15px;
        padding: 5px 15px;
    }

    .logo-CultureSection ul {
        gap: 0.5rem;
    }

    .logo-CultureSection li {
        flex-basis: calc(20% - 0.5rem);
    }
}

@media screen and (max-width: 480px) {
    .containerEmbarking {
        margin-top: 25%;
    }

    .text-embarking h1 {
        font-size: 2rem;
    }

    .text-embarking p {
        font-size: 0.7rem;
    }

    .text-working h2 {
        font-size: 2rem;
    }

    .onsiteWorkingSection {
        margin-top: 5%;
    }

    .text-working p {
        font-size: 0.7rem;
    }

    .cultureSection {
        height: 300px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .cultureSection h3 {
        font-size: 8vw;
        padding: 5px 10px;
    }

    .cultureSection p {
        max-width: 95%;
        font-size: 12px;
        padding: 5px 10px;
    }

    .logo-CultureSection ul {
        gap: 0.5rem;
    }

    .logo-CultureSection li {
        flex-basis: calc(20% - 0.5rem);
    }
}
