@font-face {
    font-family: "Gotham-Light";
    src: url("/fonts/gotham/Gotham-Light.otf") format("opentype");
    font-weight: 300;
    font-style: light;
}

@font-face {
    font-family: "Gotham";
    src: url("/fonts/gotham/Gotham-Book.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Medium";
    src: url("/fonts/gotham/Gotham-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: bold;
}

@font-face {
    font-family: "Gotham-Bold";
    src: url("/fonts/gotham/Gotham-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: bold;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Gotham";
    overflow-x: hidden;
}

.navbar {
    position: absolute;
    width: 100%;
    position: fixed;
    padding: 20px;
    z-index: 10;
}

.nav {
    background-color: #ffffff;
    border-radius: 60px;
    width: 80%;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@keyframes navbarDown {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav .logo {
    margin-left: 20px;
}

.nav .logo img {
    height: 30px;
}

.nav ul {
    display: flex;
    gap: 50px;
    align-items: center;
    list-style-type: none;
}

.nav ul li a {
    color: #b1b1b1;
    list-style-type: none;
    text-decoration: none;
    font-size: 20px;
}

.navbar .nav ul li a:hover {
    color: #f68921;
}

.navbar .nav ul li a.active {
    color: #f68921;
}

.nav ul li img {
    height: 50px;
}

.nav .nav-action {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-action .ic_notif {
    height: 25px;
    transition: 0.3s;
}

.nav-action .ic_notif:hover {
    content: url("/images/ic_notif-color.png");
}

.nav-action[data-user-type="HIPMI"] .ic_notif:hover {
    content: url("/images/ic_notif-hipmi.png");
}

.nav-action .profile {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f68921;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

.profile img {
    height: 25px;
}

.nav-action .btn-miles {
    padding: 10px 20px;
    background-color: #f68921;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-miles img {
    height: 30px;
    transition: 0.3s;
}

.btn-miles:hover img {
    content: url("/images/ic_miles-hover.png");
}

.btn-miles:hover {
    background-color: #ffffff;
    color: #f68921;
    outline: 2px solid #f68921;
    outline-offset: -2px;
}

.btn-miles p {
    font-size: 14px;
}

/* HIPMI theme start */

.navbar[data-user-type="HIPMI"] .nav ul li a:hover {
    color: #044eb7;
}

.navbar[data-user-type="HIPMI"] .nav ul li a.active {
    color: #044eb7;
}

.navbar[data-user-type="HIPMI"] .nav-action .profile {
    background-color: #044eb7;
}

.navbar[data-user-type="HIPMI"] .nav-action .btn-miles {
    background: linear-gradient(to top right, #d69029, #044eb7);
}

.navbar[data-user-type="HIPMI"] .btn-miles:hover {
    background: #ffffff;
    color: #044eb7;
    outline: 2px solid #044eb7;
    outline-offset: -2px;
}

/* HIPMI theme end */

@media (max-width: 1280px) {
    .nav {
        width: 85%;
        padding: 10px 15px;
    }

    .nav .logo {
        margin-left: 15px;
    }

    .nav .logo img {
        height: 20px;
    }

    .nav ul {
        display: flex;
        gap: 30px;
        align-items: center;
        list-style-type: none;
    }

    .nav ul li a {
        color: #b1b1b1;
        list-style-type: none;
        text-decoration: none;
        font-size: 15px;
    }

    .nav ul li img {
        height: 50px;
    }

    .nav .nav-action {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    .nav-action .ic_notif {
        height: 20px;
    }

    .nav-action .profile {
        height: 30px;
        width: 30px;
        border-radius: 50%;
        object-fit: cover;
        background-color: #f68921;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

    .profile img {
        height: 18px;
    }

    .btn-miles img {
        height: 20px;
    }

    .btn-miles p {
        font-size: 14px;
    }
}

/* footee */

.footer {
    background-color: #f1f2f2;
    padding: 50px;
    border-radius: 30px 30px 0px 0px;
}

.footer-top {
    padding: 0px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    background-image: url(../images/bg-footer.png);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
}

.top-left h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.top-left p {
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 20px;
}

.top-left button {
    border: 1px solid #ffffff;
    padding: 10px 30px;
    background-color: transparent;
    color: #ffffff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-right img {
    height: 350px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.bottom-left {
    display: flex;
    gap: 40px;
    width: 40%;
    align-items: start;
}

.bottom-left img {
    height: auto;
    width: 600px;
}

.bottom-left-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bottom-left-content p {
    font-size: 14px;
    font-weight: 400;
    color: #59595b;
    line-height: 20px;
}

.content-download {
    display: flex;
    gap: 20px;
}

.content-download img {
    height: 50px;
    width: auto;
    cursor: pointer;
}

.bottom-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 30%;
}

.bottom-right .partner {
    display: flex;
    gap: 20px;
    align-items: center;
}

.partner img {
    height: 60px;
    width: auto;
}

.bottom-right h3 {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #262626;
    font-family: "Gotham-Bold";
}

.bottom-right p {
    font-size: 14px;
    color: #59595b;
    width: 70%;
    line-height: 20px;
}

.bottom-right .footer-contact {
    display: flex;
    gap: 10px;
}

.footer-contact a img {
    height: 30px;
    width: auto;
    cursor: pointer;
    text-decoration: none;
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #858181;
    margin-top: 50px;
    padding-top: 20px;
}

.copyright-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.copyright-left p {
    font-size: 12px;
    color: #333333;
}

.copyright-left img {
    height: 20px;
    width: auto;
}

.copyright-right {
    display: flex;
    gap: 30px;
    width: 30%;
}

.copyright-right a {
    font-size: 14px;
    font-style: medium;
    color: #333333;
    text-decoration: none;
}

@media (max-width: 768px) {
    .navbar {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 20px;
        padding-bottom: 150px;
    }

    .footer-top {
        padding: 0px 10px 0px 20px;
    }

    .top-left h1 {
        font-size: 12px;
    }

    .top-left p {
        display: none;
    }

    .top-left button {
        padding: 5px 15px;
        font-size: 12px;
    }

    .top-right {
        width: 80%;
        overflow-y: hidden;
    }

    .top-right img {
        height: 150px;
        margin-bottom: -15px;
    }

    .footer-bottom {
        display: grid;
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .bottom-left {
        width: 100%;
    }

    .bottom-left p {
        display: none;
    }

    .bottom-left img {
        height: auto;
        width: 200px;
    }

    .bottom-right {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .partner img {
        height: 35px;
        width: auto;
    }

    .bottom-right h3 {
        color: #262626;
        font-size: 12px;
    }

    .bottom-right p {
        color: #262626;
        font-size: 10px;
        text-align: center;
        width: 90%;
    }

    .copyright {
        padding-top: 10px;
    }

    .copyright-left p {
        font-size: 8px;
    }

    .copyright-left img {
        height: 15px;
    }

    .copyright-right {
        gap: 10px;
        width: 40%;
    }

    .copyright-right a {
        font-size: 8px;
        text-decoration: dashed;
    }
}

/* bottom nav */

.bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .menu-button,
    .dream-section,
    .product-section,
    .slider,
    .disco-title,
    .discov-slider-wrapper {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.logo-version {
    margin: 150px 100px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* @media (max-width: 768px) {
    .logo-version {
        display: none;
    }
} */


.footer-earn-miles-desktop,
.footer-notification-desktop,
.footer-voucher-desktop,
.footer-transaction-desktop,
.footer-order-desktop,
.footer-qr-scanner-desktop {
    display: none;
}

@media (min-width: 768px) {
    .footer-earn-miles-desktop,
    .footer-notification-desktop,
    .footer-voucher-desktop,
    .footer-transaction-desktop,
    .footer-order-desktop,
    .footer-qr-scanner-desktop {
        display: block;
    }
}
