

/* Base Style */
.heros,
.heros1,
.heros2,
.heros3,
.heros4,
.heros5,
.heros6 {
    width: 100%;
    height: 1150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin-top: 50px;
}

/* Individual Background Images */
.heros {
    background-image: url("../img/applicationsofliquidsorbitol.jpg");
}

.heros1 {
    background-image: url("../img/applicationsofcrystalsorbitol.jpg");
}

.heros2 {
    background-image: url("../img/applicationsofriceprotein.jpg");
}

.heros3 {
    background-image: url("../img/maltodextrinsyrup.jpg");
}

.heros4 {
    background-image: url("../img/dextrose.jpg");
}

.heros5 {
    background-image: url("../img/hfc.jpg");
}

.heros6 {
    background-image: url("../img/liquidglucose.jpg");
}

/* Large Desktop (2560px+) */
@media (min-width: 2560px) {
    .heros,
    .heros1,
    .heros2,
    .heros3,
.heros4,
.heros5,
.heros6 {
        height: 1500px;
        background-size: cover;
    }
}

/* Desktop */
@media (max-width: 1440px) {
    .heros,
    .heros1,
    .heros2,
    .heros3,
.heros4,
.heros5,
.heros6 {
        height: 1000px;
    }
}

/* Laptop */
@media (max-width: 1200px) {
    .heros,
    .heros1,
    .heros2,
    .heros3,
.heros4,
.heros5,
.heros6 {
        height: 850px;
    }
}

/* Tablet Landscape */
@media (max-width: 992px) {
    .heros,
    .heros1,
    .heros2,
    .heros3 {
        height: 700px;
        margin-top: 40px;
        background-position: center;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .heros,
    .heros1,
    .heros2,
    .heros3,
.heros4,
.heros5,
.heros6 {
        height: auto;
        min-height: 100vh;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        background-color: #fff; /* or your page background */
    }
}

/* Large Phones */
@media (max-width: 576px) {
    .heros,
    .heros1,
    .heros2,
    .heros3,
.heros4,
.heros5,
.heros6 {
        height: 420px;
        margin-top: 20px;
        background-size: cover;
        background-position: center;
    }
}

/* Small Phones */
@media (max-width: 400px) {
    .heros,
    .heros1,
    .heros2,
    .heros3,
.heros4,
.heros5,
.heros6 {
        height: 340px;
        margin-top: 15px;
        background-position: center;
    }
}

/* Very Small Devices */
@media (max-width: 320px) {
    .heros,
    .heros1,
    .heros2,
    .heros3,
.heros4,
.heros5,
.heros6 {
        height: 300px;
    }
}