html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

.visible {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-banner {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.video-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

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

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

.innovation-container {
    padding: 0 2em;
}

.section-1 {
    h1 {
        font-size: 2.5em;
    }

    p {
        font-size: 1em;
    }

    .text-container {
        top: 70%;
        max-width: 100%;
    }
}

.section-2 {
    h2 {
        font-size: 2em;
        margin-bottom: 1rem;
    }

    h3 {
        font-size: 1.5em;
    }

    span {
        color: #1a8fe2;
    }
}

.section-2 a img:hover {
    transform: scale(1.3);
    transition: 0.3s;
}

.section-3 {
    h2 {
        font-size: 1.5em;
        color: #ffffff;
    }

    p {
        font-size: 0.6em;
    }

    span {
        color: #76d1ff;
    }

    .card {
        border-radius: 15px;
    }

    .card img {
        border-radius: 15px;
        z-index: 3;
    }

    .text-card {
        height: 100%;
        background: #000000;
        background: linear-gradient(0deg, #000000 25%, #666666 100%);
        font-size: 1.5em;
        img {
            width: 2em;
        }
        img:hover {
            transform: scale(1.3);
            transition: 0.3s;
        }
        transform: scale(1);
        transition: transform 0.5s ease;
    }

    .text-card:hover {
        transform: scale(1.03);
    }
}

.digital-barcode-section .card {
    border-radius: 25px;
    min-height: 45em;

    span {
        font-size: 1em;
    }

    h2 {
        font-size: 1.9em;
    }

    h3 {
        font-size: 1.3em;
    }

    p {
        font-size: 1.1em;
    }

    .content-detail p {
        font-size: 0.9em;
    }

    i {
        font-size: 3em;
    }

    img {
        width: 3em;
    }

    .card-item {
        border-radius: 30px;
        background-color: #ffffff52;
    }

    a img:hover {
        transform: scale(1.3);
        transition: 0.3s;
    }
}

.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(0deg, rgb(0, 0, 0) 10%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.9;
}

.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;
}

.innovation-card {
    background: linear-gradient(0deg, #47b2e8 0%, #006cb6 100%);
    border-radius: 12px;
    border-radius: 1em;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 140px;
    justify-content: space-between;
    min-height: 300px;
    overflow: hidden;
    padding: 24px;
    position: relative;
}

.innovation-card h3 {
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.innovation-card a {
    font-size: 20px;
    position: relative;
    z-index: 2;
}

.innovation-icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 8em;
    opacity: 0.15;
    z-index: 1;
}

.innovation-card:hover .innovation-icon {
    transform: scale(1.1);
    opacity: 0.2;
    transition: 0.3s;
}

.innovation-card {
    transition: 0.3s;
}

.app-preview-image {
    position: relative;
    top: 0%;
    left: 10%;
    right: 0%;
    width: 100%;
    z-index: 5;
    padding-top: 2rem;
    transform: scale(1);
    transition: transform 0.5s ease;
}

.app-preview-image:hover {
    transform: scale(1.05);
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

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

    .innovation-container {
        padding: 0 4em;
    }

    .section-1 {
        h1 {
            font-size: 4em;
        }

        p {
            font-size: 1.5em;
        }

        .text-container {
            top: 70%;
            max-width: 60%;
        }
    }

    .section-2 {
        h2 {
            font-size: 1.5cm;
        }

        h3 {
            font-size: 1.5em;
        }
    }

    .innovation-icon {
        font-size: 10em;
    }

    .section-3 {
        h2 {
            font-size: 2.5em;
        }

        p {
            font-size: 0.9em;
        }

        .card {
            height: 100%;
            border-radius: 10px;
        }

        /* Gambar trek */
        .card img.img-fluid {
            height: 100%;
            object-fit: cover;
            border-radius: 10px;
        }
    }

    .digital-barcode-section .card {
        span {
            font-size: 1em;
        }

        h2 {
            font-size: 2.5em;
        }

        h3 {
            font-size: 1.5em;
        }

        p {
            font-size: 1.2em;
        }

        .content-detail p {
            font-size: 1em;
        }
    }
}

@media (min-width: 1024px) {
    .section-2 {
        h2 {
            font-size: 2.4em;
        }

        h3 {
            font-size: 1.2em;
        }
    }

    .innovation-icon {
        font-size: 10em;
    }

    .app-preview-image {
        position: absolute;
        top: 5%;
        left: auto;
        right: 0%;
        width: 45%;
    }

    .section-3 {
        h2 {
            font-size: 2em;
        }

        p {
            font-size: 1em;
        }

        .card {
            height: 100%;
            border-radius: 10px;
        }

        /* Gambar trek */
        .card img.img-fluid {
            height: 100%;
            object-fit: cover;
            border-radius: 10px;
        }
    }

    .digital-barcode-section .card {
        span {
            font-size: 1em;
        }

        h2 {
            font-size: 2.5em;
        }

        h3 {
            font-size: 0.9em;
        }

        p {
            font-size: 1em;
        }

        .content-detail p {
            font-size: 0.8em;
        }
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .section {
        position: relative;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .innovation-container {
        padding: 0 8em;
    }

    .section-1 {
        h1 {
            font-size: 4em;
        }

        p {
            font-size: 1.5em;
        }

        .text-container {
            top: 70%;
            max-width: 60%;
        }
    }

    .section-2 {
        h2 {
            font-size: 4em;
        }

        h3 {
            font-size: 1.8em;
        }
    }

    .innovation-icon {
        font-size: 10em;
    }

    .app-preview-image {
        position: absolute;
        top: 5%;
        left: auto;
        right: 0%;
        width: 45%;
    }

    .section-3 {
        h2 {
            font-size: 2.5em;
        }

        p {
            font-size: 1em;
        }

        .card {
            height: 100%;
            border-radius: 10px;
        }

        /* Gambar trek */
        .card img.img-fluid {
            height: 100%;
            object-fit: cover;
            border-radius: 10px;
        }
    }

    .digital-barcode-section .card {
        span {
            font-size: 1em;
        }

        h2 {
            font-size: 2.8em;
        }

        p {
            font-size: 1.2em;
        }

        .content-detail p {
            font-size: 0.9em;
        }
    }
}

@media (min-width: 1920px) {
    .section {
        position: relative;
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .innovation-container {
        padding: 0 10em;
    }

    .section-1 {
        h1 {
            font-size: 5em;
        }

        p {
            font-size: 2em;
        }

        .text-container {
            top: 70%;
            max-width: 60%;
        }
    }

    .section-2 {
        h2 {
            font-size: 4.7em;
        }

        h3 {
            font-size: 1.8em;
        }

        p {
            font-size: 1.5em;
        }
    }

    .innovation-icon {
        font-size: 10em;
    }

    .app-preview-image {
        position: absolute;
        top: 5%;
        left: auto;
        right: 0%;
        width: 45%;
    }

    .section-3 {
        h2 {
            font-size: 2.8em;
        }

        p {
            font-size: 1.1em;
        }

        .card {
            height: 100%;
            border-radius: 10px;
        }

        /* Gambar trek */
        .card img.img-fluid {
            height: 100%;
            object-fit: cover;
            border-radius: 10px;
        }
    }

    .digital-barcode-section .card {
        span {
            font-size: 1.2em;
        }

        h2 {
            font-size: 4em;
        }

        h3 {
            font-size: 1.5em;
        }

        p {
            font-size: 1.3em;
        }

        .content-detail p {
            font-size: 1.2em;
        }
    }
}
