/* =========================================================
   PROFENAA TECHNOLOGIES
   NAVBAR
   WHITE BACKGROUND
   CENTER NAVIGATION
========================================================= */


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}


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

.navbar {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;
    height: 82px;

    margin: 0 !important;
    padding: 0;

    z-index: 1000;

    background: #ffffff;

    border-bottom: 1px solid rgba(32, 6, 116, .07);

    box-shadow: 0 1px 8px rgba(0, 0, 0, .03);

    box-sizing: border-box;

    transition:
        background .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


/* =========================================================
   SCROLLED NAVBAR
========================================================= */

.navbar.is-scrolled {
    background: #ffffff;

    border-bottom-color: rgba(32, 6, 116, .10);

    box-shadow:
        0 4px 18px rgba(0, 0, 0, .08);
}


/* =========================================================
   NAV INNER
========================================================= */

.nav-inner {
    position: relative;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0 22px;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 16px;
    /* margin-bottom: 50px; */
    align-items: center;

    box-sizing: border-box;
}


/* =========================================================
   BRAND — LEFT
========================================================= */

.brand {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
    z-index: 3;
}

.brand-logo {
    display: flex;
    align-items: center;

    min-width: 0;
}

.brand-logo img {
    display: block;
    width: 62px;
    height: 62px;
    max-width: 52px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 0;
    margin-bottom: 4px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    line-height: 1;
    white-space: nowrap;
    margin-bottom: 6px;
    color: #240693;
}

.brand-text strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    margin-top: 8px;
}

.brand-text>span {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;

}

/* =========================================================
   NAVIGATION — TRUE CENTER
========================================================= */

.nav-links {
    position: relative;

    height: 100%;
    width: 100%;
    max-width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 30px;

    margin-bottom: 20px;


    white-space: nowrap;
    overflow: hidden;

    min-width: 0;

    z-index: 2;
}


/* =========================================================
   NAV LINKS
========================================================= */

.nav-links a {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    height: 100%;
    margin-top: 20px;

    padding: 0;

    color: #11101f;

    text-decoration: none;

    font-size: 16px;

    font-weight: 600;

    line-height: 1;

    white-space: nowrap;

    transition:
        color .25s ease,
        opacity .25s ease;
}


/* =========================================================
   HOVER
========================================================= */

.nav-links a:hover {
    color: #070219;

    opacity: .85;
}


/* =========================================================
   ACTIVE
========================================================= */

.nav-links a.active {
    color: #200674;
}


/* =========================================================
   ACTIVE UNDERLINE
========================================================= */

.nav-links a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 0;

    /* height:3px; */

    background: #200674;

    border-radius: 3px 3px 0 0;
}


/* =========================================================
   CTA — RIGHT
========================================================= */

.nav-cta {
    position: relative;

    display: flex;
    margin-bottom: 10px;
    align-items: center;
    justify-content: flex-end;

    flex-shrink: 0;

    z-index: 5;
}


/* =========================================================
   ENROLL BUTTON
========================================================= */

.nav-cta .btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 128px;
    min-width: 128px;

    margin-top: 10px;

    height: 48px;

    padding: 0 20px;

    margin: 0;

    border: 0;

    border-radius: 6px;

    background:navy;

    color: #ffffff;

    text-decoration: none;

    font-size: 16px;

    font-weight: 800;

    line-height: 1;

    white-space: nowrap;

    overflow: visible;

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}


/* =========================================================
   BUTTON HOVER
========================================================= */

.nav-cta .btn:hover {
    background: #e7ba06;

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 5px 12px rgba(169, 0, 45, .18);
}


/* =========================================================
   MOBILE TOGGLE
========================================================= */

.nav-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 8px;

    margin: 0;

    border: 0;
    outline: none;

    background: transparent;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 5px;

    cursor: pointer;

    border-radius: 6px;
}


/* =========================================================
   HAMBURGER LINES
========================================================= */

.nav-toggle span {
    display: block;

    width: 25px;
    height: 2px;

    background: #200674;

    border-radius: 2px;

    transition:
        transform .3s ease,
        opacity .3s ease;
}


/* =========================================================
   HAMBURGER ACTIVE
========================================================= */

.nav-toggle.is-open span:nth-child(1) {
    transform:
        translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform:
        translateY(-7px) rotate(-45deg);
}


/* =========================================================
   1024px
========================================================= */

@media (max-width:1024px) {

    .navbar {
        height: 78px;
    }


    .nav-inner {
        padding: 0 16px;
    }


    .nav-links {
        gap: 17px;
    }


    .nav-links a {
        font-size: 13px;
    }


    .brand img {
        height: 55px;
        max-width: 55px;
    }


    .brand-text {
        /* margin-left:2px; */
        margin-bottom: 15px;
    }


    .brand-text strong {
        font-size: 17px;
    }


    .brand-text span {
        font-size: 11px;

        letter-spacing: .5px;
    }


    .nav-cta .btn {
        width: 105px;
        min-width: 105px;

        height: 43px;

        padding: 0 15px;

        font-size: 14px;
    }

}


/* =========================================================
   900px
========================================================= */

@media (max-width:900px) {

    .nav-links {
        gap: 12px;
    }


    .nav-links a {
        font-size: 12px;
    }


    .brand img {
        height: 52px;
        max-width: 52px;
    }


    .brand-text strong {
        font-size: 16px;
    }


    .brand-text span {
        font-size: 10px;
    }


    .nav-cta .btn {
        width: 96px;
        min-width: 96px;

        padding: 0 12px;

        font-size: 13px;
    }

}


/* =========================================================
   768px — MOBILE
========================================================= */

@media (max-width:768px) {

    .navbar {
        height: 70px;
    }


    .nav-inner {
        padding: 0 14px;
    }


    /* Hide desktop menu */

    .nav-links {
        display: none;
    }


    /* Logo */

    .brand img {
        height: 50px;
        max-width: 50px;
    }


    /* Brand */

    .brand-text {
        /* margin-left: 8px; */
        margin-bottom: 10px;
    }


    .brand-text strong {
        font-size: 16px;
    }


    .brand-text span {
        font-size: 10px;

        letter-spacing: .4px;
    }


    /* Mobile CTA */

    .nav-cta {
        position: static;

        transform: none;

        margin-left: auto;
    }


    /* Hide enroll button */

    .nav-cta .btn {
        display: none;
    }


    /* Show hamburger */

    .nav-toggle {
        display: flex;
    }


    /* =====================================================
       MOBILE MENU
    ====================================================== */

    .nav-links.is-open {

        position: absolute;

        top: 70px;
        left: 0;

        transform: none;

        width: 100%;

        height: auto;

        min-height: calc(100vh - 70px);

        padding: 20px 18px 30px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        justify-content: flex-start;

        gap: 0;

        background: #ffffff;

        border-top: 1px solid rgba(32, 6, 116, .08);

        box-shadow:
            0 12px 25px rgba(0, 0, 0, .10);

        overflow-y: auto;
    }


    /* Mobile links */

    .nav-links.is-open a {

        width: 100%;

        height: auto;

        min-height: 52px;

        padding: 14px 10px;

        justify-content: center;

        color: #11101f;

        font-size: 16px;

        font-weight: 600;

        border-bottom: 1px solid rgba(32, 6, 116, .07);
    }


    /* Mobile hover */

    .nav-links.is-open a:hover {

        color: #200674;

        background: rgba(32, 6, 116, .035);
    }


    /* Mobile active */

    .nav-links.is-open a.active {

        color: #200674;

        font-weight: 700;
    }


    /* Remove desktop underline */

    .nav-links.is-open a.active::after {

        display: none;
    }

}


/* =========================================================
   480px
========================================================= */

@media (max-width:480px) {

    .navbar {
        height: 64px;
    }


    .nav-inner {
        padding: 0 10px;
    }


    .brand img {
        height: 46px;
        max-width: 46px;
    }


    .brand-text {
        /* margin-left: 1px; */
        margin-bottom: 15px;
    }


    .brand-text strong {
        font-size: 14px;
    }


    .brand-text span {
        font-size: 9px;

        letter-spacing: .3px;
    }


    .nav-toggle {
        width: 40px;
        height: 40px;
    }


    .nav-toggle span {
        width: 24px;
    }


    /* Mobile menu */

    .nav-links.is-open {

        top: 64px;

        min-height: calc(100vh - 64px);

        padding: 15px 14px 25px;
    }

    .nav-links.is-open a {

        min-height: 50px;

        font-size: 15px;
    }

}

/* =========================================================
   360px
========================================================= */

@media (max-width:360px) {

    .brand img {
        height: 42px;
        max-width: 42px;

    }

    .brand-text {
        /* margin-left: 6px; */
        margin-bottom: 15px;
    }

    .brand-text strong {
        font-size: 13px;
    }

    .brand-text span {
        font-size: 8px;
    }

    .nav-inner {
        padding: 0 8px;
    }

}

/* =========================================================
   320px
========================================================= */

@media (max-width:320px) {

    .brand img {
        width: 38px;
        height: 38px;
        max-width: 38px;
        min-width: 38px;
    }

    .brand-text {
        /* margin-left: 5px; */
        margin-bottom: 10px;
    }

    .brand-text strong {
        font-size: 12px;
    }

    .brand-text span {
        font-size: 7px;
        letter-spacing: .1px;
    }

    .nav-inner {
        padding: 0 6px;
    }

    .nav-toggle {
        width: 38px;
        height: 38px;
        padding: 7px;
    }

    .nav-toggle span {
        width: 22px;
        height: 2px;
    }

}