
body, html {
    scroll-behavior: smooth;
}

.hidden {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease-in-out, height 0.5s ease-in-out;
}

.visible {
    opacity: 1;
    transition: opacity 0.5s ease-in-out, height 0.5s ease-in-out;
}

.section {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem
}

.section .container {
    position: relative;
    z-index: 1
}

.section-top {
    padding-top: calc(5rem + 5.8125rem)
}

.bg-mgm-bosco-dark-blue {
    background-color: #4280ae;
}

.bg-mgm-bosco-dark-gray {
    background-color: #3c3c3b;
}

.bg-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.bg-overlay:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #4280ae;
    background: linear-gradient(90deg,rgba(9, 70, 107, 1) 40%, rgba(9, 70, 107, 0) 100%);
    opacity: .85;
}

.bg-image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transition: all 1.5s ease-in-out;
    -webkit-transition: all 1.5s ease-in-out;
}

.card-image {
    background: #000000ea;
    border-radius: 50px;
    height: 250px;
    object-fit: cover;
    overflow: hidden;

    img {
        opacity: 0.4;
        padding: 0;
        transition: transform 0.5s ease-in-out;
        width: 100%;
    }

    div {
        position: absolute;
    }

    p {
        color: white;
        letter-spacing: 1px;
        text-align: justify;
        font-size: 12px;
    }

    h3 {
        color: white;
        font-size: 22px;
        font-weight: bold;
    }

    .card-content {
        padding: 3rem;
    }
}

.card-image:hover img {
    transform: scale(1.1);
}

.card-image-vas {
    object-fit: cover;
    overflow: hidden;

    img {
        transition: transform 0.5s ease-in-out;
    }
}

.card-image-vas:hover img {
    transform: scale(1.1);
}

.product-modal {
    img {
        border-radius: 1.5rem 0 0 1.5rem;
    }

    .custom-modal {
        max-width: 900px;
        margin: 40px auto;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        border: 1px solid #ddd;
    }

    .modal-content {
        display: flex;
        flex-direction: row;
        background-color: white;
    }

    .modal-image {
        width: 70%;
    }

    .modal-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .modal-text {
        padding: 30px;
        flex: 1;
    }

    .modal-text ul {
        list-style-type: disc;
        padding-left: 20px;
    }

    .modal-text li {
        margin-bottom: 20px;
        line-height: 1.7;
        font-size: 16px;
    }

    /* RESPONSIVE */
    @media screen and (max-width: 768px) {
        img {
            border-radius: 1.5rem 1.5rem 0 0;
        }

        .modal-content {
            flex-direction: column;
        }

        .modal-image img {
            max-width: 100%;
            height: auto;
        }

        .modal-text {
            padding: 20px;
        }
    }
}

.service-modal {
    h1 {
        font-size: 1.5rem;
    }
}

.vertical-line {
  border-left: 1px solid #000;
  height: 100%;
}

.hero-section {
    img {
        opacity: 0.1;
        object-fit: cover;
        transition: transform 1s ease-in-out;
        overflow: hidden;
    }
    
    div.banner-text {
        top: 45%;
        padding: 0 7rem
    }

    h1 {
        letter-spacing: 3px;
    }
    
    h3 {
        height: 50px;
        border-left: 8px solid #33b2e9;
    }
}

.hero-section:hover .bg-image {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transition: all 1.5s ease-in-out;
    -webkit-transition: all 1.5s ease-in-out;
}

.distribution-2-section {
    h1 {
        color: #33b2e9;
    }

    div.overflow-hidden:first-of-type {
        padding: 0 7rem;
    }
}

.distribution-3-section {
    img {
        opacity: 0.1;
        object-fit: cover;
        transition: transform 1s ease-in-out;
        overflow: hidden;
    }

    h1 { font-size: 3rem }
    h3 { font-size: 1rem; line-height: 1.4rem; }
}

.distribution-3-section:hover .bg-image {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transition: all 1.5s ease-in-out;
    -webkit-transition: all 1.5s ease-in-out;
}

.distribution-4-section {
    h1 { font-size: 1.6rem; }
    p { font-size: 0.8rem; }
}

.distribution-4-section:hover .bg-image {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transition: all 1.5s ease-in-out;
    -webkit-transition: all 1.5s ease-in-out;
}

.cold-storage-section {
    img {
        opacity: 0.1;
        object-fit: cover;
        transition: transform 1s ease-in-out;
        overflow: hidden;
    }
    
    div.banner-text {
        top: 45%;
        padding: 0 7rem
    }

    h1 {font-size: 2.5rem;}    
    h2 {font-size: 1.3rem;height: 1.5rem;border-left: 8px solid #33b2e9;}
    h3 {font-size: 1rem;}
}

.cold-storage-section:hover .bg-image {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transition: all 1.5s ease-in-out;
    -webkit-transition: all 1.5s ease-in-out;
}

.cold-storage-2-section {
    h1 {
        color: #33b2e9;
        font-size: 1.8rem;
    }

    h3 {
        color: white;
        font-size: 1.9rem;
    }

    p {
        color: white;
        font-size: 1rem;
        text-align: left;
        transition: opacity 0.5s ease-in-out, height 0.5s ease-in-out;
    }

    div.overflow-hidden:first-of-type {
        padding: 0 7rem;
    }

    .card-image {
        background: #000000ea;
        border-radius: 50px;
        height: 25rem;
        object-fit: cover;
        overflow: hidden;

        img {
            opacity: 0.4;
            padding: 0;
            transition: transform 0.5s ease-in-out;
            height: 100%;
            width: auto;
        }

        div {
            position: absolute;
        }

        .card-content {
            padding: 2rem;
        }
    }
}

.cold-storage-3-section {
    h1 {font-size: 2rem;}
    h2 {font-size: 1rem;}
    h3 {font-size: 0.8rem; letter-spacing: 0.2rem;}
    div.rounded-circle {height:6rem; width: 6rem;}

}

.cold-storage-3-section:hover .bg-image {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transition: all 1.5s ease-in-out;
    -webkit-transition: all 1.5s ease-in-out;
}

.cold-storage-4-section {
    h1 {font-size: 2.5rem;}
    h2 {font-size: 1rem;}
    h3 {font-size: 1rem}

}

.cold-storage-4-section:hover .bg-image {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transition: all 1.5s ease-in-out;
    -webkit-transition: all 1.5s ease-in-out;
}

.logistics-solutions-section {
    img {
        opacity: 0.1;
        object-fit: cover;
        transition: transform 1s ease-in-out;
        overflow: hidden;
    }
    
    div.banner-text {
        top: 45%;
        padding: 0 7rem
    }

    h1 {
        font-size: 3.5em;
    }

    h3 {
        font-size: 1.4em;
    }
}

.logistics-solution-2-section {
    h1 {
        color: #33b2e9;
        font-size: 1rem;
    }

    p {
        font-size: 0.8rem;
    }
}

.logistics-solutions-section:hover .bg-image {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transition: all 1.5s ease-in-out;
    -webkit-transition: all 1.5s ease-in-out;
}

.value-added-2-section {
    h1 {font-size: 3.5rem;}
    h2 {font-size: 1rem;}
    h3 {font-size: 0.8rem; letter-spacing: 0.2rem;}
    div.card {border-radius: 2rem !important;}
}

.value-added-2-section:hover .bg-image {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transition: all 1.5s ease-in-out;
    -webkit-transition: all 1.5s ease-in-out;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .hero-section {
        h1 { font-size: 1.8rem; }
        h3 { font-size: 0.8rem; }
        p { font-size: 0.8rem; }
    }

    .distribution-2-section {
        h1 { font-size: 1.2rem; }
        h3 { font-size: 1.5rem; }
        h4 { font-size: 0.9rem; }
        p { font-size: 0.8rem; }
    }

    .distribution-3-section {
        h1 { font-size: 3.5rem }
        h3 { font-size: 2.7rem; line-height: 0.9rem; }
    }

    .distribution-4-section {
        h1 { font-size: 1.6rem; }
        p { font-size: 0.8rem; }
    }

    .cold-storage-section {
        h1 {font-size: 1.8rem;}
        h2 {font-size: 0.8rem; height: 3rem;}
        h3 {font-size: 0.8rem;}
    }

    .cold-storage-2-section {
        h1 {font-size: 1.8rem;}
        h3 {font-size: 2rem; line-height: 2rem;}
        p {font-size: 1.2rem; line-height: 1.5rem;}
    }

    .cold-storage-3-section {
        h1 {font-size: 2rem;}
        h2 {font-size: 1rem;}
        h3 {font-size: 0.8rem; letter-spacing: 0.2rem;}
        div.rounded-circle {height:6rem; width: 6rem;}
    }

    .cold-storage-4-section {
        h1 {font-size: 2.5rem;}
        h2 {font-size: 1rem;}
        h3 {font-size: 1rem}
    }

    .logistics-solution-2-section {
        h1 {font-size: 1rem;}
        p {font-size: 0.8rem; }
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .section {
        padding-top:7.5rem;
        padding-bottom: 7.5rem
    }

    .section.section-half {
        padding-top:6rem;
        padding-bottom: 6rem
    }

    .section-top {
        padding-top:calc(7.5rem + 5.8125rem)
    }

    .section-full .container>.row {
        min-height:calc(100vh - 7.5rem * 2)
    }

    .section-full .container>.row:before {
        content: '';
        min-height: inherit
    }

    .section-full.section-top>.container>.row {
        min-height: calc(100vh - 7.5rem * 2 - 5.8125rem)
    }

    .section-half .container>.row {
        min-height:calc(50vh - 7.5rem * 2)
    }

    .section-half .container>.row:before {
        content: '';
        min-height: inherit
    }

    .section-half.section-top>.container>.row {
        min-height: calc(50vh - 7.5rem * 2 - 5.8125rem)
    }

    .hero-section {
        h1 { font-size: 4.8rem; }
        h3 { font-size: 1.8rem !important; }
        p { font-size: 1.4rem !important; }
    }

    .distribution-2-section {
        h1 { font-size: 2.5rem; }
        h3 { font-size: 1.5rem; }
        h4 { font-size: 1rem; }
        p { font-size: 0.8rem; }
    }

    .distribution-3-section {
        h1 { font-size: 3.8rem; }
        p { font-size: 0.9rem; line-height: 1.6rem; }
    }

    .distribution-4-section {
        h1 { font-size: 3rem; }
        p { font-size: 1.1rem; }
    }

    .cold-storage-section {
        h1 {font-size: 3.3rem;}
        h2 {font-size: 2rem; height: 3rem;}
        h3 {font-size: 1.3rem;}
    }

    .cold-storage-2-section {
        h1 {font-size: 2.5rem;}
        h3 {font-size: 1.8rem; line-height: 2rem;}
        p {font-size: 1rem; line-height: 1.5rem;}
    }

    .cold-storage-3-section {
        h1 {font-size: 3.2rem;}
        h2 {font-size: 1.2rem;}
        h3 {font-size: 0.6rem; letter-spacing: 0.2rem;}
        div.rounded-circle {height:6.5rem; width: 6.5rem;}
    }

    .cold-storage-4-section {
        h1 {font-size: 3rem;}
        h2 {font-size: 1.3rem;}
        h3 {font-size: 1.2rem}
    }

    .cold-storage-4-section {
        h1 {font-size: 3.5rem;}
        h2 {font-size: 1rem;}
        h3 {font-size: 1.5rem}
    }

    .logistics-solution-2-section {
        h1 {font-size: 2rem;}
        p {font-size: 1rem; }
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-section {
        h1 { font-size: 4.8rem; }
        h3 { font-size: 3.8rem; }
        p { font-size: 2.8rem; }
    }

    .distribution-2-section {
        h1 { font-size: 3.5rem; }
        h3 { font-size: 1.5rem; }
        h4 { font-size: 1.2rem; }
        p { font-size: 0.8rem; }
    }

    .distribution-3-section {
        h1 { font-size: 4.5rem; }
        p { font-size: 1rem; line-height: 1.6rem; }
    }

    .distribution-4-section {
        h1 { font-size: 4rem; }
        p { font-size: 1.1rem; }
    }

    .cold-storage-2-section {
        h1 {font-size: 3.3rem;}
        h3 {font-size: 2.5rem; line-height: 3rem;}
        p {font-size: 1.5rem; line-height: 2rem;}
    }

    .cold-storage-3-section {
        h1 {font-size: 2.3rem;}
        h2 {font-size: 1.3rem;}
        h3 {font-size: 0.7rem; letter-spacing: 0.3rem;}
        div.rounded-circle {height:8rem; width: 8rem;}
    }

    .cold-storage-4-section {
        h1 {font-size: 3.2rem;}
        h2 {font-size: 1.3rem;}
        h3 {font-size: 0.9rem}
    }

    .logistics-solution-2-section {
        h1 {font-size: 2rem;}
        p {font-size: 1rem; }
    }

    .value-added-2-section {
        h1 {font-size: 3rem;}
        h5 {font-size: 1rem;}
        p {font-size: 0.8rem;}
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-section {
        h1 { font-size: 4rem; }
        h3 { font-size: 4rem; }
        p { font-size: 2.8rem; }
    }

    .distribution-2-section {
        h1 { font-size: 3.5rem; }
        h3 { font-size: 1.5rem; }
        h4 { font-size: 1.2rem; }
        p { font-size: 0.8rem; }
    }

    .distribution-3-section {
        h1 { font-size: 4.5rem; }
        p { font-size: 1rem; line-height: 1.6rem; }
    }

    .distribution-4-section {
        h1 { font-size: 2.9rem; }
        p { font-size: 1.1rem; }
    }

    .cold-storage-section {
        h1 {font-size: 4rem;}
        h2 {font-size: 2.5rem; height: 4rem;}
        h3 {font-size: 2rem;}
    }

    .cold-storage-2-section {
        h1 {font-size: 3.5rem;}
        h3 {font-size: 1.3rem; line-height: 2rem;}
        p {font-size: 1rem; line-height: 1.5rem;}
    }

    .cold-storage-3-section {
        h1 {font-size: 2.8rem;}
        h2 {font-size: 1.5rem;}
        h3 {font-size: 0.8rem; letter-spacing: 0.2rem;}
        div.rounded-circle {height:10rem; width: 10rem;}
    }

    .cold-storage-4-section {
        h1 {font-size: 3.5rem;}
        h2 {font-size: 1.5rem;}
        h3 {font-size: 1.2rem}
    }

    .logistics-solution-2-section {
        h1 {font-size: 2rem;}
        p {font-size: 1rem; }
    }

    .value-added-2-section {
        h1 {font-size: 3.5rem;}
        h5 {font-size: 1.5rem;}
        p {font-size: 1rem;}
    }
}