body {
    font-family: 'Inter',sans-serif;
}

/* NAVBAR */
.navbar {
    padding: 15px 0;
    transition: .3s;
}

    .navbar.sticky {
        position: fixed;
        top: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 8px 25px rgba(0,0,0,0.08);
        z-index: 999;
    }

    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

/* MENU */
.navbar-nav {
    align-items: center;
}

/* NAV LINK FIX */
.nav-link,
.dropdown-item.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between; /* pushes chevron to right */
    width: 100%;
    position: relative;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: #000 !important;
}

/* CHEVRON FIX */
.dropdown-toggle::after {
    content: "";
    border: solid #111;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    margin-left: 8px;
    position: static; /* remove absolute */
    margin-top: -3px;
}

/* ROTATION */
.nav-item.open > .nav-link.dropdown-toggle::after,
.dropdown-submenu.open > .dropdown-toggle::after {
    transform: rotate(-135deg);
}

/* DROPDOWN */
.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* MEGA MENU */
.mega-menu {
    width: 550px;
    padding: 15px 25px;
}

.mega-menu2 {
    width: 500px;
}

.mega-menu3 {
    width: 700px;
}

.mega-menu h6 {
    font-weight: 600;
    margin-bottom: 10px;
    cursor: pointer;
    color: #335eea!important;
}

.mega-menu a {
    display: block;
    padding: 0;
    text-decoration: none;
}

/* DESKTOP */
@media (min-width:992px) {

    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: .3s;
        padding: 15px 25px;
    }

    .navbar .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-submenu {
        position: relative;
    }

        .dropdown-submenu .dropdown-menu {
            top: 0;
            left: 100%;
            opacity: 0;
            visibility: hidden;
            transform: translateX(10px);
        }

        .dropdown-submenu:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
        }
}

.sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* MOBILE */
@media (max-width:991px) {
    .dropdown-menu.mega-menu .col-auto {
        width: 100%;
    }

    .dropdown-menu.mega-menu .mega-section:last-child h6 {
        margin-bottom: 0;
    }

    .navbar-nav {
        align-items: flex-start;
        width: 100%;
        padding-top: 15px;
    }

    .nav-link {
        width: 100%;
        text-align: left;
    }

    .dropdown-menu {
        display: none;
        width: 100%;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    .mega-menu {
        width: 100%;
        padding: 0;
    }

    .mega-section ul {
        display: none;
        padding-left: 10px;
    }

    .mega-section.active ul {
        display: block;
    }
}

/* BUTTON */
.demo-btn {
    background: #fff;
    color: #0052d9;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    border: 2px solid #0052d9;
}

.main-navigation .main-nav ul ul li a {
    font-size: 13px !important;
    color: #000000;
    padding: 0;
}

    .main-navigation .main-nav ul ul li a:hover, .main-navigation .main-nav ul ul li a:focus {
        color: #335eea !important;
        background-color: transparent;
    }

.main-navigation h6 {
    border-bottom: solid 1px #d2d5fb !important;
    padding-bottom: 10px;
}

    .main-navigation h6 a {
        color: #335eea !important;
    }

@media (max-width:991px) {
    .nav-item.dropdown {
        display: block;
        width: 100%;
    }

    .navbar {
        padding: 15px;
    }

    .dropdown-submenu .dropdown-menu {
        display: none;
        padding-left: 15px;
    }
}
/* =========================
   MEGA MENU MOBILE ANIMATION
========================= */

@media (max-width: 991px) {

    /* SECTION HEADER */
    .mega-menu h6 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }

        .mega-menu h6 a,
        .mega-menu h6 span:first-child {
            flex: 1;
            font-size: 13px;
            padding: 0;
        }

    /* =========================
   CHEVRON DROPDOWN ANIMATION (MOBILE ONLY)
========================= */
    @media (max-width: 991px) {

        .mega-section ul {
            height: 0;
            overflow: hidden;
            opacity: 0;
            transition: height 0.4s ease, opacity 0.3s ease;
        }

        .mega-section.active ul {
            opacity: 1;
            padding-bottom: 20px;
        }

        .dropdown-menu.mega-menu .mega-section:last-child.active ul {
            padding-bottom: 0;
            padding-top: 10px;
        }

        /* Chevron */
        .mega-menu .chevron {
            width: 8px;
            height: 8px;
            border: solid #111;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
            transition: transform 0.3s ease;
        }

        .mega-section.active .chevron {
            transform: rotate(-135deg);
        }
    }
