@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

:root {
    --primary-gd: transparent linear-gradient(140deg, #384967 0%, #6f91cd 100%)
        0% 0% no-repeat padding-box;
    --c-primary: #384967;
    --c-secondary: #ebf2ff;
    --c-body: #fbfcfd;
    --c-black: #212529;
    --c-b-secondary: #4b5563;
    --c-info: #9597a1;
    --c-red: #d0342c;
    --c-electric: #7df9ff;
    --c-white: #ffffff;
    --c-grey: #d1d1d1;
    --c-disabled: #dee1e8;
    --c-transparent: transparent;
    --shadow-bg: 0px 6px 18px rgb(0 0 0 / 8%);
    --ts-cubic: all 0.5s cubic-bezier(0.47, 0.71, 0.66, 0.84);
}

@media (max-width: 325px) {
    header #navigation .logo img.navbar-logo {
        width: 7.5rem !important;
        margin-top: 0.25rem !important;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
        line-height: 48px !important;
    }

    h2 {
        font-size: 2.25rem;
        line-height: 1.25 !important;
    }

    h3 {
        font-size: 1.75rem;
        line-height: 1.25 !important;
    }

    h4 {
        font-size: 1.5rem;
    }

    h5 {
        font-size: 1.375rem;
        line-height: 1.875rem;
    }

    h6 {
        font-size: 1.125rem;
    }

    p {
        font-size: 1rem;
    }

    img.icon-16 {
        width: 1rem;
        height: 1rem;
    }

    img.icon-24 {
        width: 1.125rem;
        height: 1.125rem;
    }

    img.icon-32 {
        width: 1.5rem;
        height: 1.5rem;
    }

    img.icon-48 {
        width: 2rem;
        height: 2rem;
    }

    select.form-control,
    input.form-control,
    textarea.form-control {
        font-size: 0.875rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 2.25rem !important;
        height: 2.25rem !important;
    }

    .swiper-button-prev {
        left: 0.5rem;
    }

    .swiper-button-next {
        right: 0.5rem;
    }

    .form-group {
        margin-bottom: 1rem !important;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-footer {
        padding: 0.5rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        top: 50%;
    }

    /*====================================== SECTION WORD ======================================*/

    .c-small {
        font-size: 0.625rem;
    }

    .modal-header .close {
        opacity: 1;
        top: 2px;
        right: 2px;
    }

    .modal-header .close span {
        font-size: 1rem;
    }

    /*====================================== SECTION MENU NAVBAR ======================================*/
    .container-nav {
        /*flex-direction: column;*/
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 0 0.75rem;
    }

    header nav {
        padding: 0rem;
    }

    .container-nav .nav-logo {
        margin-left: -24px;
    }

    .container-nav .nav-logo a {
        padding: 1rem 1rem 1rem 1.5rem;
    }

    .container-nav .nav-logo a .image {
        width: 7rem;
    }

    .close-mobile {
        opacity: 0;
        z-index: 99;
        position: absolute;
        top: 1rem;
        right: 0.5rem;
    }

    .nav-toggle {
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .nav-toggle span {
        cursor: pointer;
        background: var(--primary-gd);
        width: 16px;
        height: 2px;
        /* transition: all 0.5s; */
    }

    .nav-toggle span.span-trans {
        height: 2px;
        z-index: 9;
        /* overflow: hidden; */
        /* transition: all 0.5s; */
    }

    .nav-toggle-mobile {
        position: absolute;
        right: 16px;
        display: block;
    }

    .menu-nav-container {
        display: none;
        position: fixed !important;
        top: 0;
        left: 0;
        /* z-index: -2; */
        opacity: 0;
        width: 100%;
        height: 100vh;
    }

    .menu-nav-container .menu-nav li a span {
        color: #ffffff;
        transition: all 0.3s;
    }

    .nav-menu {
        width: auto;
    }

    .nav-menu ul {
        z-index: -2;
        /* display: none; */
        width: 100%;
        height: 100vh;
        opacity: 0;
        flex-direction: column;
        /* width: 100%;
		height: 100%; */
    }

    .menu-nav li {
        opacity: 0;
        transform: translateY(0);
    }

    .menu-nav-container {
        width: 100%;
    }
}

/*Phone View*/
@media (max-width: 767px) {
    /*====================================== SECTION NAVBAR ======================================*/

    section {
        padding: 2rem 0;
    }

    section.section-home-best {
        padding-bottom: 0;
    }

    .best-card {
        gap: 0.75rem !important;
    }

    .swiper-promo {
        height: 280px;
    }

    .swiper-promo .swiper-wrapper {
        top: 64px;
    }

    .promo-card {
        box-shadow: none;
    }

    /*====================================== SECTION DEFAULT ======================================*/

    /*====================================== SECTION HOME PAGE ======================================*/
    .section-home-hero {
        padding-top: 6rem;
    }

    .hero-animation {
        margin-top: 0;
    }

    .testi-floating-1 {
        max-width: 3rem !important;
        top: 5%;
        left: 2%;
    }

    .testi-floating-2 {
        max-width: 5rem !important;
        top: 5%;
        right: 0%;
    }

    .ornament-floating-1 {
        top: 14%;
        left: 7%;
        max-width: 48px;
    }

    .ornament-floating-2 {
        top: 14%;
        right: 7%;
        max-width: 48px;
    }

    .list-prove li .image {
        width: 3.375rem;
        height: 3.375rem;
    }

    section.section-home-prove {
        padding: 2rem 0 2rem 0;
    }

    /*====================================== SECTION TIPE PAGE ======================================*/
    .tipe-list {
        padding: 0 1rem;
    }

    .tipe-list .nav-pills {
        overflow-x: auto;
        -ms-overflow-style: none;
        /* Internet Explorer 10+ */
        scrollbar-width: none;
    }

    .tipe-list .nav-pills::-webkit-scrollbar {
        display: none;
    }

    .tipe-list .nav-pills li.nav-item {
        white-space: nowrap;
    }

    .tipe-list .nav-pills li.nav-item .nav-link {
        min-width: 84px;
    }

    .tipe-card {
        flex-direction: column;
        padding: 2rem 1rem 1.5rem 1rem;
        gap: 0.5rem !important;
    }

    .tipe-card:hover {
        background-size: 100%;
        background-position: 0;
        transform: scale(1);
        transform-origin: 0;
    }

    .tipe-r-desc {
        text-align: center !important;
    }

    /*====================================== SECTION TIPE DETAIL PAGE ======================================*/
    .detail-hero {
        height: 248px;
    }

    .detail-hero-detail {
        padding: 2rem 0 2rem 0;
    }

    .spec-container-list .spec-col {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .detail-banner {
        min-height: 480px;
        height: 100%;
    }

    .detail-banner .image::before {
        box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
    }

    .detail-banner-word {
        top: 1.5rem;
        left: 1rem;
    }

    .detail-banner-car {
        bottom: 1.5rem;
    }

    .gallery-card {
        max-width: 280px;
        height: 200px;
    }

    section.section-tipe-contact {
        padding: 2rem 0;
    }

    /*====================================== SECTION PROMO EVENT PAGE ======================================*/
    section.section-contact {
        padding-top: 6rem;
    }

    .promo-detail-image {
        flex-basis: 100%;
    }

    .promo-detail-image > img {
        border-radius: 1rem 1rem 0 0;
    }

    .promo-detail-wording {
        flex-basis: 100%;
        border-radius: 0 0 1rem 1rem;
    }

    .promo-dw-wrapper {
        padding: 0.5rem 1rem 1.25rem 1rem;
        gap: 0.5rem;
    }

    .promo-dw-wrapper .subject-sub-title p {
        font-size: 14px;
    }

    .promo-dw-wrapper .cta {
        margin-top: 0.5rem;
    }

    #modalEventDetail .modal-header {
        max-width: 100%;
        margin: 0 auto;
        padding: 1rem 2.5rem;
    }

    #modalEventDetail .modal-header h3 {
        text-align: center;
        font-size: 20px;
    }

    #modalEventDetail .modal-footer .cta {
        width: 100% !important;
    }

    section.section-contact .tipe-list {
        padding: 0;
        margin-bottom: 0;
    }

    .provent-list-card {
        margin-top: 0;
        margin-bottom: 2rem;
    }

    .provent-word-wrapper {
        padding: 1rem 1rem 1.5rem 1rem;
    }

    /*====================================== SECTION CONTACT PAGE ======================================*/
    .section-contact-wrapper .row.mb80 {
        margin-bottom: 24px !important;
    }
    .contact-hero-wrapper {
        flex-direction: column;
    }
    .car-contact-l,
    .car-contact-r {
        max-width: 10rem;
        top: -40px !important;
    }
    .contact-hero-wrapper .subject-text-wrapper {
        margin-top: 124px;
    }
    .contact-card-wrapper {
        flex-direction: column;
        margin: 0 auto 32px auto;
        padding: 1.5rem 1rem;
        /* border-radius: 2rem; */
        gap: 1.5rem;
    }
    .contact-card-sub {
        gap: 0.5rem !important;
    }
    .subject-form-wrapper h2 {
        font-size: 24px;
    }
    .form-contact {
        box-shadow: var(--shadow-bg);
        margin-bottom: 128px;
    }
    .car-contact-form {
        bottom: -3.25rem !important;
        max-width: 12rem !important;
    }
    /*====================================== SECTION 404 ======================================*/
    section.section-notfound {
        padding-top: 6rem;
    }

    .pagenotfound .image {
        max-width: 240px !important;
    }

    /*====================================== SECTION FOOTER ======================================*/
    footer {
        padding: 2rem 0 2em 0;
    }

    .footer-top {
        margin-bottom: -0.125rem;
    }

    .footer-logo {
        max-width: 10rem !important;
    }

    .footer-link ul {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-sta {
        margin-top: 48px;
        margin-bottom: -12px;
    }

    .footer-sta h1 {
        font-size: 4rem;
    }

    .footer-sta::before {
        height: 64px;
    }
}

@media (min-width: 461px) and (max-width: 767px) {
}

/* Portrait iPad */
@media (min-width: 768px) and (max-width: 1024px) {
    h1 {
        font-size: 3rem;
        line-height: 64px !important;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }

    h4 {
        font-size: 1.75rem;
    }

    h5 {
        font-size: 1.5rem;
    }

    h6 {
        font-size: 1.25rem;
    }

    /*====================================== SECTION NAVBAR ======================================*/

    .nav-menu li a {
        font-size: 1.75rem;
    }

    /*====================================== SECTION HOME PAGE - iPad Portrait ======================================*/
    .section-home-hero {
        padding-top: 6rem;
    }

    .hero-animation {
        margin-top: 0;
    }

    .testi-floating-1 {
        max-width: 4rem !important;
        top: 5%;
        left: 2%;
    }

    .testi-floating-2 {
        max-width: 6rem !important;
        top: 5%;
        right: 0%;
    }

    .ornament-floating-1 {
        top: 16%;
        left: 20%;
        max-width: 84px;
    }

    .ornament-floating-2 {
        top: 16%;
        right: 20%;
        max-width: 84px;
    }

    section.section-home-best {
        padding-bottom: 0;
    }

    .swiper-best {
        padding: 2rem 0;
    }

    .best-card {
        gap: 0.75rem !important;
    }

    .swiper-promo {
        height: 480px;
    }

    .swiper-promo .swiper-wrapper {
        top: 0;
    }

    .promo-card {
        box-shadow: none;
    }

    /*====================================== SECTION TIPE PAGE - iPad PORTRAIT ======================================*/
    .tipe-card .tipe-r {
        padding-top: 3rem;
        padding-bottom: 1rem;
    }

    .tipe-card:hover {
        background-size: 100%;
        background-position: 0;
        transform: scale(1);
        transform-origin: 0;
    }

    /*====================================== SECTION TIPE DETAIL PAGE - iPad PORTRAIT ======================================*/
    .detail-hero {
        height: 480px;
    }

    .detail-banner {
        min-height: 480px;
    }

    .detail-banner .image::before {
        box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
    }

    .gallery-card {
        max-width: 360px;
        height: 240px;
    }

    /*====================================== SECTION PROMO EVENT PAGE - PORTTRAIT ======================================*/

    .promo-detail-image {
        flex-basis: 100%;
    }

    .promo-detail-image > img {
        border-radius: 1rem 1rem 0 0;
    }

    .promo-detail-wording {
        flex-basis: 100%;
        border-radius: 0 0 1rem 1rem;
    }

    .promo-dw-wrapper {
        padding: 0.5rem 1rem 1.25rem 1rem;
        gap: 0.5rem;
    }

    .promo-dw-wrapper .subject-sub-title p {
        font-size: 14px;
    }

    .promo-dw-wrapper .cta {
        margin-top: 0.5rem;
    }

    #modalEventDetail .modal-dialog {
        max-width: 640px;
    }

    #modalEventDetail .modal-header {
        max-width: 100%;
        margin: 0 auto;
        padding: 1rem 2rem;
    }

    #modalEventDetail .modal-header h3 {
        text-align: center;
        font-size: 20px;
    }

    #modalEventDetail .modal-footer .cta {
        width: 100% !important;
    }

    .provent-list-card {
        margin-top: 0;
        margin-bottom: 2rem;
    }

    .provent-word-wrapper {
        padding: 1rem 1rem 1.5rem 1rem;
    }
    /*====================================== SECTION CONTACT PAGE ======================================*/
    .car-contact-l,
    .car-contact-r {
        top: 2rem !important;
        max-width: 10rem;
    }
    .contact-hero-wrapper {
        margin-bottom: 2rem;
    }
    .contact-card-wrapper {
        flex-direction: column;
        max-width: 480px;
        margin: 0 auto 32px auto;
        padding: 1.5rem 1rem;
        /* border-radius: 2rem; */
        gap: 1.5rem;
    }
    .contact-card-sub {
        gap: 0.5rem !important;
    }
    .subject-form-wrapper h2 {
        font-size: 24px;
    }
    .form-contact {
        box-shadow: var(--shadow-bg);
        margin-bottom: 128px;
    }
    .car-contact-form {
        bottom: -3.25rem !important;
        max-width: 12rem !important;
    }
    .contact-card-middle {
        flex-direction: row !important;
    }
    /*====================================== SECTION FOOTER ======================================*/
    footer {
        padding: 2rem 0 2em 0;
    }

    .footer-top {
        margin-bottom: -0.125rem;
    }

    .footer-logo {
        max-width: 5rem;
    }

    .footer-sta {
        margin-top: 48px;
        margin-bottom: -12px;
    }

    .footer-sta h1 {
        font-size: 7rem;
    }

    .footer-sta::before {
        height: 72px;
    }
}

/* Landscape iPad Air and another Tab */
@media only screen and (min-device-width: 768px) and (max-device-width: 1180px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    /*====================================== SECTION NAVBAR ======================================*/

    /*====================================== SECTION HOME PAGE - iPad LANDSCAPE ======================================*/
    .section-home-hero {
        padding-top: 6rem;
    }

    .ornament-floating-1 {
        top: 24%;
        left: 28%;
        max-width: 84px;
    }

    .ornament-floating-2 {
        top: 24%;
        right: 28%;
        max-width: 84px;
    }

    .hero-animation {
        margin-top: 0;
    }

    .swiper-promo {
        height: 570px;
    }

    /*====================================== SECTION TIPE  PAGE - iPad LANDSCAPE ======================================*/
    .tipe-card:hover {
        background-size: 100%;
        background-position: 0;
        transform: scale(1);
        transform-origin: 0;
    }

    /*====================================== SECTION TIPE DETAIL PAGE - iPad LANDSCAPE ======================================*/
    .detail-banner {
        min-height: 480px;
    }
    /*====================================== SECTION CONTACT - iPad LANDSCAPE ======================================*/
    .contact-card-wrapper {
        max-width: 100%;
        /* border-radius: 2rem; */
        padding: 1.5rem 1.5rem;
        gap: 1.5rem;
    }
    .contact-card-middle {
        flex-direction: column;
    }
    /*====================================== SECTION FOOTER ======================================*/

    .footer-sta h1 {
        font-size: 7rem;
    }

    .footer-sta::before {
        height: 124px;
    }
}

/* Landscape iPad Mini & Tab */
@media only screen and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    .car-contact-l,
    .car-contact-r {
        max-width: 13rem;
    }

    .contact-hero-wrapper {
        margin-bottom: 5rem;
    }
    .contact-card-middle {
        flex-direction: row !important;
        gap: 3rem !important;
    }
}
@media (min-width: 993px) and (max-width: 1023px) {
    .contact-card-wrapper
    {
        max-width: 100% !important
    }
}

/* Landscape iPad Pro  */
@media only screen and (min-device-width: 1360px) and (max-device-width: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    /*====================================== SECTION HOME PAGE - iPad LANDSCAPE ======================================*/

    .ornament-floating-1 {
        top: 22%;
        left: 30%;
        max-width: 84px;
    }

    .ornament-floating-2 {
        top: 22%;
        right: 30%;
        max-width: 84px;
    }
}

/* 11-12 Inch */
@media (min-width: 1024px) and (max-width: 1152px) {
    /*====================================== SECTION HOME PAGE - iPad LANDSCAPE ======================================*/

    .ornament-floating-1 {
        top: 14%;
        left: 26%;
        max-width: 84px;
    }

    .ornament-floating-2 {
        top: 14%;
        right: 26%;
        max-width: 84px;
    }

    .tipe-card:hover {
        background-size: 200%;
        background-position: -800px;
        box-shadow: var(--shadow-bg);
        transform: scale(1.05);
        transform-origin: 50% 100%;
    }
    .contact-card-middle {
        flex-direction: column;
    }
    .contact-card-wrapper
    {
        max-width: 100%;
    }
}

@media (min-width: 1025px) and (max-width: 1326px) and (max-height: 600px) {
    /*====================================== SECTION HOME PAGE ======================================*/
    .ornament-floating-1 {
        top: 37%;
        left: 30%;
        max-width: 84px;
    }

    .ornament-floating-2 {
        top: 37%;
        right: 30%;
        max-width: 84px;
    }
}

/* >15 Inch */
@media (min-width: 1440px) {
    /*====================================== SECTION HOME PAGE ======================================*/

    .ornament-floating-1 {
        top: 32%;
        left: 32%;
        max-width: 84px;
    }

    .ornament-floating-2 {
        top: 32%;
        right: 32%;
        max-width: 84px;
    }
}

/* >16 Inch */
@media (min-width: 1550px) {
    .nav-menu .nav-footer {
        bottom: -100px;
    }

    .logo-wave {
        top: 300px;
        left: 0;
        transform: scale(0);
    }
}

@media (min-width: 1880px) {
    .logo-wave {
        top: 360px;
    }
}

@media (min-width: 2600px) {
    .logo-wave {
        top: 448px;
    }
}
