/* ==========================================================================
   Responsive & Elegant Modern Navbar Styles
   ========================================================================== */

.react-header .react-menus,
.react-header .react-menus ul,
.react-header .topbar-area ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.react-header .react-menus {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.react-header .react-menus li {
    list-style: none;
    position: relative;
}

.react-header .react-menus li ul {
    display: none;
}

.react-header .react-menus > li {
    display: block;
    margin: 0;
    padding: 0;
    border: 0px;
}

.react-header .react-menus li > a {
    color: #1e293b;
}

.react-header .react-menus > li > a {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: #1e3a5f !important;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.1px;
}

.react-header .react-menus > li > a:hover {
    color: #0d7a68 !important;
    background-color: rgba(13, 122, 104, 0.07);
}

.react-header .react-menus li.menu-active > a,
.react-header .react-menus li > a.active {
    color: #0d7a68 !important;
}

/* Certificate Verification Highlight Button */
.react-header .react-menus > li > a.nav-btn-highlight {
    background: linear-gradient(135deg, #0d7a68 0%, #085f51 100%) !important;
    color: #ffffff !important;
    padding: 9px 20px !important;
    border-radius: 24px;
    margin-left: 10px;
    box-shadow: 0 3px 10px rgba(13, 122, 104, 0.25);
    font-weight: 600;
}

.react-header .react-menus > li > a.nav-btn-highlight:hover {
    background: linear-gradient(135deg, #0f8e79 0%, #0a7060 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(13, 122, 104, 0.38);
    transform: translateY(-1px);
}

/* Submenu Styles */
.react-header .react-menus > li > ul.sub-menu {
    list-style: none;
    clear: both;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    background: #fff;
    padding: 12px 0;
    box-shadow: 0 15px 35px rgba(8, 10, 41, 0.12);
    border-radius: 8px;
    min-width: 210px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.react-header .react-menus li ul.sub-menu > li {
    width: 100%;
}

.react-header .react-menus li ul.sub-menu li a {
    display: block;
    padding: 8px 22px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14.5px;
    color: #334155;
    transition: all 0.2s ease;
}

.react-header .react-menus li ul.sub-menu li a:hover {
    color: #0d7a68;
    background: rgba(13, 122, 104, 0.06);
    padding-left: 26px;
}

/* Header & Logo Details */
.react-header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 20, 50, 0.05);
    position: relative;
    z-index: 9999;
}

.react-header .logo {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.dual-logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.dual-logo-wrap .logo-primary {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.dual-logo-wrap .logo-emblem {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #0d7a68;
    box-shadow: 0 2px 8px rgba(0, 40, 85, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dual-logo-wrap:hover .logo-primary,
.dual-logo-wrap:hover .logo-emblem {
    transform: scale(1.04);
}

.react-header.react-sticky {
    box-shadow: 0 4px 20px rgba(0, 20, 60, 0.09);
}

.react-header.react-sticky .topbar-area.style1 {
    display: none;
}

/* Topbar Polish */
.react-header .topbar-area.style1 {
    background: #002855;
    color: #e2e8f0;
    padding: 7px 0;
    font-size: 13.5px;
}

.react-header .topbar-area.style1 a {
    color: #e2e8f0;
    transition: color 0.2s ease;
}

.react-header .topbar-area.style1 a:hover {
    color: #38bdf8;
}

/* Menu Toggle Button */
.react-header .menu-toggle .icon-bar {
    display: block !important;
    width: 22px;
    height: 2px;
    background-color: #002855 !important;
    margin: 5px 0;
    transition: all 300ms ease;
    border-radius: 2px;
}

.react-header .menu-toggle #menu-btn {
    float: right;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    margin: 6px 0;
    display: none;
}

.react-header .menu-toggle #menu-btn:hover {
    background: #e2e8f0;
}

.hide-menu {
    display: none;
}

/* Desktop Alignment */
@media screen and (min-width: 992px) {
    .react-header .react-main-menu nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 72px;
    }

    .react-header .react-inner-menus {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
}

/* Mobile & Tablet Styles */
@media screen and (max-width: 991px) {
    .react-header .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 8px 0;
    }

    .react-header .menu-toggle #menu-btn {
        display: block;
    }

    .react-header .react-menus {
        display: block;
        width: 100%;
        box-shadow: none;
        margin: 10px 0;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        padding: 10px 0;
    }

    .react-header .react-menus > li {
        display: block;
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .react-header .react-menus > li > a {
        display: block;
        padding: 12px 18px !important;
        border-radius: 0;
        font-size: 15px;
    }

    .react-header .react-menus > li > a.nav-btn-highlight {
        margin: 10px 18px !important;
        text-align: center;
        display: block;
        border-radius: 8px;
    }

    .react-header .react-menus li ul.sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        background: #f8fafc;
    }
}