/* Reset & Base */
ul{
    list-style: none;
}
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    z-index: 1000;
    color: #222;
}

.has-submenu{
    position: relative;
}
.headermenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    width: 110px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: auto;
}

/* Desktop Menu */
.menu-desktop {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6px;
}

.menu-desktop li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    color: #011333;
    text-decoration: none;
        white-space: nowrap;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.menu-desktop li a:hover {
    color: #2c4e89;
}

.has-submenu > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    margin-left: 6px;
}

/* Desktop Dropdowns */
.submenu-desktop {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.14);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 999;
}

.menu-desktop li:hover > .submenu-desktop,
.submenu-desktop li:hover > .submenu-desktop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-desktop li a {
    display: block;
    padding: 10px 22px;
    color: #333;
    font-size: 14px;
}

.submenu-desktop li a:hover {
    background: #f8f9fa;
    color: #2c4e89;
}

.submenu-desktop .submenu-desktop {
    top: 0;
    left: 100%;
    margin-left: 4px;
}

/* Profile Dropdown (desktop) */
.profile-dropdown {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
}

.profile-dropdown:hover {
    background: rgba(0,0,0,0.04);
}

.profile-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #2c4e89;
    color: white;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-text {
    line-height: 1.15;
}

.profile-username {
    font-size: 12px;
    color: #6c757d;
}

.profile-fullname {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
}

/* Auth Button */
.us-signin-btn {
    width: 110px;
    height: 42px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(107deg, #284d5d, #2c4e89 50%, #375fa5);
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.us-signin-btn:hover {
    opacity: 0.93;
    transform: translateY(-1px);
}

/* Mobile Toggle */
.menu-toggle {
    width: 44px;
    height: 44px;
    background: #2c4e89;
    color: white;
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}

/* ──────────────────────────────────────────────── */
/*                  MOBILE SIDEBAR                  */
/* ──────────────────────────────────────────────── */

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-sidebar {
    position: fixed;
    top: 0; right: -320px;
    width: 300px;
    height: 100%;
    background: #fff;
    color: #ecf0f1;
    z-index: 1100;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
}

.menu-sidebar.active {
    right: 0;
    padding: 15px;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-close {
    font-size: 26px;
    cursor: pointer;
}

.menu-sidebar > ul > li > a {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    color: #000;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.menu-sidebar > ul > li > a:hover {
    background: rgba(255,255,255,0.07);
}

.has-submenu > a {
    justify-content: space-between;
}

.has-submenu > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s;
}

.has-submenu.open > a::after {
    transform: rotate(180deg);
}

.submenu-sidebar {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
    background: rgba(0,0,0,0.18);
}

.has-submenu.open > .submenu-sidebar {
    max-height: 1500px; /* large enough for deep nesting */
}

.submenu-sidebar li a {
    padding-left: 56px;
    font-size: 14.5px;
}

.submenu-sidebar .submenu-sidebar li a {
    padding-left: 76px !important;
}
.has-submenu{

}
/* Responsive */
@media (max-width: 1024px) {
   .list_li{
        padding: 10px;
   }
   .menu-sidebar > ul > li > a{
    padding: 0px;
   }
   .submenu-sidebar li a{
    text-decoration: none;
    color: #000;
    padding: 10px;
    display: flex;

   }
   .menu-sidebar > ul{
    padding-left: 0px;
   }

    .us-signin-btn {
    width: 80px;
    height: 36px;
    font-size: 11px;
}
.menu-desktop li a {
    display: flex;
    align-items: center;
    padding: 0 6px;
    color: #011333;
    text-decoration: none;
            height: auto;
    white-space: nowrap;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.2s;
}
.aboutbg .d-flex{
    flex-direction: column;
}
.formdesignabout {
    position: relative;
    right: 0px;
    top: 0px;
    background: #fff;
    padding: 15px;
    border: 2px solid #ccc;
    border-radius: 10px;
}
.contentabout {
    width: 100%;
}
.has-submenu .submenu-desktop {
    list-style: none;
}
.has-submenu .submenu-desktop li a{
    height: auto;
}
}

@media (max-width: 991px) {
    .submenu-sidebar li a {
    padding-left: 0px;
    font-size: 14.5px;
}
.submenu-sidebar{
    background: transparent;
    padding-left: 0px;
}
    .menu-desktop {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .us-signin-btn {
        width: 100px;
        height: 38px;
        font-size: 13.5px;
    }
    .submenu-sidebar .submenu-sidebar li a {
    padding-left: 20px !important;
}
.sidebar-header {
        padding: 0px;
    }
    .sidebar-close .fas{
        color: #000;
    }
}

@media (max-width: 576px) {
    .logo { width: 95px; }
    .container_custum { padding: 0 15px; }
}