/*=========================================================
    NAVBAR
=========================================================*/

.navbar-wrapper {
    position: absolute;
    top: 48px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: all .4s ease;
    z-index: 999;
}


/*=========================================================
    CONTAINER
=========================================================*/

.navbar-wrapper .container {
    width: min(1320px, 92%);
    margin: auto;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/*=========================================================
    LOGO
=========================================================*/

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img {
    height: 65px;
    width: auto;
    max-width: 180px;
    display: block;
}


/*=========================================================
    MAIN NAVIGATION
=========================================================*/

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 38px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 90px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    transition: .35s ease;
}


/*=========================================================
    MENU HOVER
=========================================================*/

.nav-menu > li > a:hover {
    color: #F4B400;
}


/*=========================================================
    ACTIVE UNDERLINE
=========================================================*/

.nav-menu > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: 0;
    height: 3px;
    background: #F4B400;
    border-radius: 10px;
    transform: translateX(-50%);
    transition: .35s ease;
}

.nav-menu > li:hover > a::after,
.nav-menu > li.active > a::after {
    width: 100%;
}


/*=========================================================
    DROPDOWN
=========================================================*/

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: .35s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
    z-index: 999;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    width: 100%;
}

.dropdown li a {
    display: block;
    padding: 13px 25px;
    color: #222222;
    font-size: 15px;
    text-decoration: none;
    transition: .3s ease;
}

.dropdown li a:hover {
    background: #F8F8F8;
    color: #0A3D91;
    padding-left: 32px;
}


/*=========================================================
    NAVIGATION ACTIONS
=========================================================*/

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.search-btn,
.mobile-btn {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255, 255, 255, .15);
    color: #ffffff;
    transition: .35s ease;
}

.search-btn:hover,
.mobile-btn:hover {
    background: #F4B400;
    color: #111111;
}

.search-btn i,
.mobile-btn i {
    font-size: 16px;
}


/*=========================================================
    MOBILE BUTTON
=========================================================*/

.mobile-btn {
    display: none;
}


/*=========================================================
    STICKY NAVBAR
=========================================================*/

.navbar-wrapper.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .30);
    animation: slideDown .4s ease;
}


/*=========================================================
    STICKY ANIMATION
=========================================================*/

@keyframes slideDown {

    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }

}


/*=========================================================
    INNER PAGE NAVIGATION FIX
=========================================================*/

body.inner-page {
    padding-top: 138px;
}

body.inner-page .page-banner {
    margin-top: 0;
}


/*=========================================================
    TABLET
=========================================================*/

@media (max-width: 1024px) {

    .navbar-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        background: #0A3D91;
    }

    .navbar-wrapper .container {
        width: 92%;
        height: 78px;
    }

    /* Hide desktop navigation */
    .main-nav {
        display: none;
    }

    /* Show mobile menu button */
    .mobile-btn {
        display: flex;
    }

    /* Keep search visible */
    .search-btn {
        display: flex;
    }

    .nav-actions {
        gap: 10px;
    }

    .logo img {
        height: 52px;
        max-width: 160px;
    }

    /* Inner pages */
    body.inner-page {
        padding-top: 78px;
    }

}


/*=========================================================
    MOBILE
=========================================================*/

@media (max-width: 767px) {

    .navbar-wrapper .container {
        width: 92%;
        height: 72px;
    }

    .logo img {
        height: 46px;
        max-width: 145px;
    }

    .search-btn,
    .mobile-btn {
        width: 42px;
        height: 42px;
    }

    .nav-actions {
        gap: 8px;
    }

    body.inner-page {
        padding-top: 72px;
    }

}


/*=========================================================
    SMALL MOBILE
=========================================================*/

@media (max-width: 480px) {

    .navbar-wrapper .container {
        width: 94%;
        height: 68px;
    }

    .logo img {
        height: 42px;
        max-width: 135px;
    }

    .search-btn,
    .mobile-btn {
        width: 40px;
        height: 40px;
    }

    .search-btn i,
    .mobile-btn i {
        font-size: 14px;
    }

    body.inner-page {
        padding-top: 68px;
    }

}
/*=========================================================
    MOBILE / TABLET MENU
=========================================================*/

/*=========================================================
    MOBILE / TABLET MENU
=========================================================*/

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -360px;
    width: 340px;
    max-width: 88%;
    height: 100vh;
    background: #ffffff;
    z-index: 1200;
    overflow-y: auto;
    box-shadow: -15px 0 40px rgba(0, 0, 0, .18);
    transition: right .35s ease;
}

.mobile-menu.active {
    display: block;
    right: 0;
}



/*=========================================================
    MOBILE MENU HEADER
=========================================================*/

.mobile-menu-header {
    height: 78px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0A3D91;
    color: #ffffff;
}

.mobile-menu-header span {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    cursor: pointer;
    transition: .3s ease;
}

.mobile-menu-close:hover {
    background: #F4B400;
    color: #111111;
}


/*=========================================================
    MOBILE NAVIGATION
=========================================================*/

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 12px 20px 25px;
}

.mobile-nav-menu > li {
    border-bottom: 1px solid #edf0f4;
}

.mobile-nav-menu > li > a,
.mobile-dropdown-toggle {
    width: 100%;
    min-height: 52px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    color: #1b2a41;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: .3s ease;
}

.mobile-nav-menu > li > a:hover,
.mobile-dropdown-toggle:hover {
    color: #0A3D91;
}

.mobile-dropdown-toggle i {
    font-size: 12px;
    transition: transform .3s ease;
}

.mobile-dropdown.open .mobile-dropdown-toggle i {
    transform: rotate(180deg);
}


/*=========================================================
    MOBILE SUBMENU
=========================================================*/

.mobile-dropdown-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0 0 8px 12px;
}

.mobile-dropdown.open .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown-menu li a {
    display: block;
    padding: 11px 8px;
    color: #667085;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: .3s ease;
}

.mobile-dropdown-menu li a:hover {
    color: #0A3D91;
    padding-left: 14px;
}


/*=========================================================
    MOBILE DONATE
=========================================================*/

.mobile-donate-item {
    margin-top: 15px;
    border: none !important;
}

.mobile-donate-item a {
    justify-content: center !important;
    gap: 9px;
    min-height: 48px !important;
    border-radius: 7px;
    background: #F4B400;
    color: #111111 !important;
}

.mobile-donate-item a:hover {
    background: #e5a900;
}


/*=========================================================
    MOBILE OVERLAY
=========================================================*/

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: .35s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


/*=========================================================
    PREVENT PAGE SCROLL WHEN MENU IS OPEN
=========================================================*/

body.menu-open {
    overflow: hidden;
}


/*=========================================================
    HIDE MOBILE MENU ON DESKTOP
=========================================================*/

@media (min-width: 1025px) {

    .mobile-menu,
    .mobile-menu-overlay {
        display: none;
    }

}


/*=========================================================
    TABLET / MOBILE MENU
=========================================================*/

@media (max-width: 1024px) {

    .mobile-menu {
        display: block;
    }

    .mobile-menu-overlay {
        display: block;
    }

}
/* =========================================================
   MOBILE SEARCH BOX
   Louis Carter Foundation
========================================================= */

.mobile-search-box {
    display: none;
}


/* =========================================================
   MOBILE / TABLET NAVIGATION
========================================================= */

@media (max-width: 991px) {

    .navbar-wrapper .container {
        position: relative;

        display: flex;
        align-items: center;

        gap: 14px;
    }


    /* -----------------------------------------------------
       LOGO
    ----------------------------------------------------- */

    .navbar-wrapper .logo {
        flex: 0 0 auto;

        display: flex;
        align-items: center;
    }

    .navbar-wrapper .logo img {
        display: block;

        width: auto;
        max-width: 82px;
        height: auto;

        object-fit: contain;
    }


    /* -----------------------------------------------------
       HIDE DESKTOP NAVIGATION
    ----------------------------------------------------- */

    .navbar-wrapper .main-nav {
        display: none;
    }


    /* -----------------------------------------------------
       MOBILE SEARCH
    ----------------------------------------------------- */

    .mobile-search-box {
        display: block;

        flex: 1;

        width: 100%;
        max-width: 360px;

        margin: 0 auto;
    }

    .mobile-search-box form {
        position: relative;

        width: 100%;
        height: 44px;

        margin: 0;
    }


    /* Search input */

    .mobile-search-box input {
        display: block;

        width: 100%;
        height: 44px;

        padding: 0 48px 0 17px;

        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 24px;

        outline: none;

        background: #ffffff;
        color: #172033;

        font-family: 'Inter', sans-serif;
        font-size: 13px;
        font-weight: 400;

        box-sizing: border-box;

        box-shadow:
            0 4px 14px rgba(0, 0, 0, 0.12);

        transition:
            border-color 0.2s ease,
            box-shadow 0.2s ease;
    }


    .mobile-search-box input::placeholder {
        color: #8a94a3;
    }


    .mobile-search-box input:focus {
        border-color: #fdbb05;

        box-shadow:
            0 0 0 3px rgba(253, 187, 5, 0.16);
    }


    /* -----------------------------------------------------
       SEARCH ICON INSIDE INPUT
    ----------------------------------------------------- */

    .mobile-search-box button {
        position: absolute;

        top: 50%;
        right: 5px;

        width: 34px;
        height: 34px;

        padding: 0;

        transform: translateY(-50%);

        display: flex;
        align-items: center;
        justify-content: center;

        border: none;
        border-radius: 50%;

        background: #1450a3;
        color: #ffffff;

        font-size: 13px;

        cursor: pointer;

        transition:
            background 0.2s ease,
            transform 0.2s ease;
    }


    .mobile-search-box button:hover {
        background: #0d3f84;
    }


    .mobile-search-box button:active {
        transform: translateY(-50%) scale(0.96);
    }


    /* -----------------------------------------------------
       RIGHT SIDE ACTIONS
    ----------------------------------------------------- */

    .navbar-wrapper .nav-actions {
        display: flex;

        align-items: center;
        justify-content: center;

        gap: 8px;

        flex: 0 0 auto;
    }


    /* Hide desktop circular search */

    .navbar-wrapper .nav-actions .search-btn {
        display: none;
    }


    /* -----------------------------------------------------
       HAMBURGER BUTTON
    ----------------------------------------------------- */

    .navbar-wrapper .mobile-btn {
        width: 44px;
        height: 44px;

        padding: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        border: none;
        border-radius: 50%;

        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;

        font-size: 19px;

        cursor: pointer;

        transition:
            background 0.2s ease,
            transform 0.2s ease;
    }


    .navbar-wrapper .mobile-btn:hover {
        background: rgba(255, 255, 255, 0.20);
    }


    .navbar-wrapper .mobile-btn:active {
        transform: scale(0.95);
    }


    /* -----------------------------------------------------
       MOBILE MENU
    ----------------------------------------------------- */

    .navbar-wrapper .mobile-menu {
        display: block;
    }

}


/* =========================================================
   SMALL MOBILE DEVICES
========================================================= */

@media (max-width: 575px) {

    .navbar-wrapper .container {
        gap: 10px;
    }


    .navbar-wrapper .logo img {
        max-width: 68px;
    }


    .mobile-search-box {
        max-width: none;

        margin-left: 4px;
        margin-right: 4px;
    }


    .mobile-search-box input {
        height: 42px;

        padding-left: 15px;
        padding-right: 45px;

        font-size: 12px;
    }


    .mobile-search-box form {
        height: 42px;
    }


    .mobile-search-box button {
        width: 32px;
        height: 32px;

        right: 5px;

        font-size: 12px;
    }


    .navbar-wrapper .mobile-btn {
        width: 42px;
        height: 42px;

        font-size: 18px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .navbar-wrapper .container {
        gap: 7px;
    }


    .navbar-wrapper .logo img {
        max-width: 60px;
    }


    .mobile-search-box {
        margin-left: 2px;
        margin-right: 2px;
    }


    .mobile-search-box input {
        height: 40px;

        padding-left: 13px;
        padding-right: 42px;

        font-size: 12px;
    }


    .mobile-search-box form {
        height: 40px;
    }


    .mobile-search-box button {
        width: 30px;
        height: 30px;

        right: 5px;
    }


    .navbar-wrapper .mobile-btn {
        width: 40px;
        height: 40px;
    }

}
/* =========================================================
   DESKTOP SEARCH
========================================================= */

.desktop-search {
    position: relative;
    display: flex;
    align-items: center;
}


/* SEARCH ICON */

.desktop-search .search-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: transparent;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.desktop-search .search-btn:hover,
.desktop-search .search-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}


/* SEARCH FORM */

.desktop-search-form {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 1000;
    width: 320px;
    padding: 8px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.16);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.desktop-search-form.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* INPUT WRAPPER */

.desktop-search-input {
    position: relative;
    width: 100%;
    height: 48px;
}


/* SEARCH ICON INSIDE INPUT */

.desktop-search-input > i {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 2;
    transform: translateY(-50%);
    color: #7b8798;
    font-size: 14px;
    pointer-events: none;
}


/* INPUT */

.desktop-search-input input {
    width: 100%;
    height: 100%;
    padding: 0 45px 0 42px;
    border: 1px solid #e1e6ed;
    border-radius: 7px;
    outline: none;
    color: #172033;
    background: #f8fafc;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.desktop-search-input input::placeholder {
    color: #9aa5b5;
}

.desktop-search-input input:focus {
    border-color: #1769e0;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.10);
}


/* CLOSE BUTTON */

.desktop-search-close {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    color: #7b8798;
    background: transparent;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.desktop-search-close:hover {
    color: #172033;
    background: #edf1f5;
}


/* =========================================================
   HIDE DESKTOP SEARCH ON MOBILE/TABLET
========================================================= */

@media (max-width: 991px) {

    .desktop-search {
        display: none;
    }

}