/* =========================================================
   RESPONSIVE NAVBAR
   ========================================================= */

/* ---------------------------------------------------------
   HEADER BASE
   --------------------------------------------------------- */

#header {
    height: 76px;
    padding: 0;
    z-index: 9999;
}

#header .container {
    height: 100%;
    display: flex;
    align-items: center;
}

#header .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#header .logo img {
    width: 190px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


/* ---------------------------------------------------------
   DESKTOP >= 992px
   --------------------------------------------------------- */

@media (min-width: 992px) {

    #header {
        height: 76px;
    }

    #header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #navbar {
        display: flex !important;
        align-items: center;
        margin-left: auto;
        margin-right: 20px;
    }

    #navbar > ul {
        display: flex !important;
        align-items: center;
        gap: 5px;

        margin: 0;
        padding: 0;

        list-style: none;
    }

    #navbar > ul > li {
        display: block;
        position: relative;
        white-space: nowrap;
    }

    #navbar > ul > li > a {
        display: flex;
        align-items: center;

        padding: 9px 16px;

        color: #aeb6c8 !important;

        font-size: 14px;
        font-weight: 500;

        text-decoration: none;

        border-radius: 10px;

        transition: all .25s ease;
    }

    #navbar > ul > li > a:hover,
    #navbar > ul > li > a.active {
        color: #fff !important;
        background: rgba(139,92,246,.10);
    }

    .mobile-nav-toggle {
        display: none !important;
    }

    .get-started-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;

        flex-shrink: 0;

        white-space: nowrap;
    }
}


/* ---------------------------------------------------------
   TABLET <= 991px
   --------------------------------------------------------- */

@media (max-width: 991px) {

    #header {
        height: 68px;
    }

    #header .container {
        height: 68px;

        display: flex;
        align-items: center;

        padding-left: 20px;
        padding-right: 20px;
    }

    /* LOGO */

    #header .logo {
        margin-right: auto !important;
    }

    #header .logo img {
        width: 175px;
        max-width: 175px;
        height: auto;
    }

    /* HIDE GET STARTED */

    #header .get-started-btn {
        display: none !important;
    }

    /* NAVBAR */

    #navbar {
        display: flex !important;

        align-items: center;
        justify-content: flex-end;

        margin-left: auto;

        padding: 0;
    }

    /* DESKTOP UL */

    #navbar > ul {
        display: none !important;

        position: fixed;

        top: 78px;
        left: 15px;
        right: 15px;

        width: auto;

        max-height: calc(100vh - 95px);

        overflow-y: auto;

        margin: 0;
        padding: 10px;

        list-style: none;

        background: rgba(12, 12, 30, .98);

        border: 1px solid rgba(167,139,250,.15);

        border-radius: 18px;

        box-shadow:
            0 25px 70px rgba(0,0,0,.55);

        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);

        z-index: 99999;
    }

    /* OPEN MENU */

    #navbar.mobile-nav-active > ul {
        display: block !important;
    }

    /* MENU ITEM */

    #navbar > ul > li {
        display: block !important;

        width: 100%;

        margin: 0;
        padding: 0;
    }

    /* MENU LINK */

    #navbar > ul > li > a {
        display: flex !important;

        align-items: center;

        width: 100%;

        min-height: 46px;

        padding: 12px 16px;

        color: #c4c4dd !important;

        font-size: 15px;

        font-weight: 500;

        text-decoration: none;

        border-radius: 12px;

        transition: all .25s ease;
    }

    #navbar > ul > li > a:hover,
    #navbar > ul > li > a.active {
        color: #a78bfa !important;

        background: rgba(139,92,246,.10);
    }

    /* MOBILE TOGGLE */

    #navbar .mobile-nav-toggle {
        display: flex !important;

        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;

        margin: 0 !important;

        padding: 0 !important;

        color: #fff !important;

        font-size: 27px;

        line-height: 1;

        cursor: pointer;

        border-radius: 12px;

        background: rgba(255,255,255,.035);

        border: 1px solid rgba(167,139,250,.10);

        transition: all .25s ease;

        z-index: 100000;
    }

    #navbar .mobile-nav-toggle:hover {
        color: #a78bfa !important;

        background: rgba(139,92,246,.10);

        border-color: rgba(139,92,246,.35);
    }

    /* KETIKA MENU TERBUKA */

    #navbar.mobile-nav-active .mobile-nav-toggle {
        color: #a78bfa !important;
    }

    /* HERO */

    #hero {
        padding-top: 120px;
    }

    #hero h1 {
        letter-spacing: -2px;
    }

    /* SECTION */

    .about,
    .features,
    #services,
    #portfolio,
    .contact {
        padding: 80px 0;
    }

    .about h3 {
        font-size: 34px;
    }

    .features .image {
        min-height: 300px !important;
    }
}


/* ---------------------------------------------------------
   MOBILE <= 576px
   --------------------------------------------------------- */

@media (max-width: 576px) {

    #header {
        height: 62px;
    }

    #header .container {
        height: 62px;

        padding-left: 15px;
        padding-right: 15px;
    }

    /* LOGO */

    #header .logo img {
        width: 145px;
        max-width: 145px;
    }

    /* NAV */

    #navbar > ul {
        top: 72px;

        left: 10px;
        right: 10px;

        border-radius: 16px;

        padding: 8px;
    }

    #navbar > ul > li > a {
        min-height: 44px;

        padding: 11px 15px;

        font-size: 14px;
    }

    /* TOGGLE */

    #navbar .mobile-nav-toggle {
        width: 40px;
        height: 40px;

        font-size: 25px;

        border-radius: 10px;
    }

    /* HERO */

    #hero {
        padding: 105px 20px 70px;
    }

    #hero h1 {
        font-size: 3.1rem;
        letter-spacing: -2px;
    }

    #hero h2 {
        font-size: 11px;
        letter-spacing: 1.3px;
    }

    #hero .icon-box {
        height: 125px;
    }

    #hero .icon-box i {
        font-size: 26px;
    }

    #hero .icon-box h3 a {
        font-size: 12px;
    }

    /* SECTION */

    .section-title p {
        font-size: 2rem;
    }

    .contact-info-card,
    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .info-item {
        gap: 12px;
    }
}


/* ---------------------------------------------------------
   EXTRA SMALL <= 360px
   --------------------------------------------------------- */

@media (max-width: 360px) {

    #header .logo img {
        width: 130px;
        max-width: 130px;
    }

    #navbar .mobile-nav-toggle {
        width: 38px;
        height: 38px;

        font-size: 23px;
    }

    #navbar > ul {
        top: 70px;
    }
}