/* ===== TOP BAR ===== */
.topNav {
    display: none;
}

@media (max-width: 991px) {
    .topNav {
        display: block;
        background: var(--blue-color);
        text-align: center;
        padding: 8px 15px;
        width: 100%;
    }
    .topNav h3 {
        color: #fff;
        font-size: 1.05rem;
        margin: 0 0 2px;
        font-weight: 700;
    }
    .topNav p {
        color: rgba(255, 255, 255, .85);
        font-size: 0.82rem;
        margin: 0;
    }
}

/* ===== MAIN NAV BAR ===== */
.myNav {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 24px;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
    position: sticky;
    top: 0;
    z-index: 200;
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.myNav.sticky {
    padding: 6px 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .12);
}

/* Logo */
.myNav_logo img {
    max-height: 90px;
    width: auto;
    transition: max-height 0.3s ease;
}

.myNav.sticky .myNav_logo img {
    max-height: 65px;
}

/* Event date center block */
.event_date {
    text-align: center;
    flex: 1;
}

.event_date h3 {
    font-size: clamp(14px, 2vw, 20px);
    color: var(--blue-color);
    margin: 0 0 2px;
    font-weight: 700;
}

.event_date p {
    font-size: clamp(12px, 1.5vw, 16px);
    color: #555;
    margin: 0;
}

/* Right block */
.nav_right_block {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav_partner_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.nav_partner_block h3 {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.nav_partner_block img {
    max-height: 50px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.nav_partner_block img:hover {
    opacity: 0.75;
}

.nav_partner_divider {
    width: 1px;
    height: 60px;
    background: #e5e7eb;
    flex-shrink: 0;
}

/* Mobile hamburger */
.menu_icon {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: var(--blue-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .nav_partner_block img {
        max-height: 42px;
        max-width: 110px;
    }
    .myNav_logo img {
        max-height: 70px;
    }
}

@media (max-width: 991px) {
    .event_date { display: none; }
    .menu_icon { display: block; }
    .nav_right_block { gap: 8px; }
    .nav_partner_block img {
        max-height: 30px;
        max-width: 80px;
    }
    .nav_partner_block h3 {
        font-size: 9px;
        display: block;
    }
}

@media (max-width: 600px) {
    .myNav { padding: 8px 14px; }
    .myNav_logo img { max-height: 65px; }
    .nav_partner_block img {
        max-height: 45px;
        max-width: 90px;
    }
    .nav_partner_divider { height: 36px; }
    .nav_right_block { gap: 8px; }
}

@media (max-width: 400px) {
    .nav_partner_block h3 { font-size: 6px; }
    .nav_partner_block img { max-height: 26px; max-width: 65px; }
}

/* Register Now highlight button */
@media (min-width: 991px) {
    .custom_btn {
        background: #21b8ef !important;
        padding: 1rem !important;
        border-radius: 50px;
    }
}

/* Top accent border on dropdowns */
.dropdown_menu__list {
    border-top: 3px solid var(--orange-color) !important;
    border-radius: var(--radius-sm) !important;
}

/* ===== NESTED DROPDOWN ===== */
.nested_dropdown { position: relative; }

.nested_dropdown .has_submenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nested_dropdown__list {
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 1000;
}

.nested_dropdown:hover .nested_dropdown__list {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nested_dropdown__list a {
    display: block;
    padding: 11px 16px;
    color: #374151;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.nested_dropdown__list a:first-child {
    border-radius: 10px 10px 0 0;
}

.nested_dropdown__list a:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.nested_dropdown__list a:hover {
    background-color: var(--orange-color);
    color: #fff;
    padding-left: 20px;
}

@media (max-width: 991px) {
    .nested_dropdown__list {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f0f6ff;
        margin-left: 12px;
        border-left: 3px solid var(--orange-color);
        border-radius: 0;
        border-top: none;
        border-right: none;
        border-bottom: none;
    }

    .mobile_menu__dropdown .mobile_menu__dropdown-list {
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .mobile_menu__dropdown a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 15px;
        color: #333;
        border-bottom: 1px solid #eee;
        transition: background 0.2s ease;
    }

    .mobile_menu__dropdown a:hover { background-color: #f8f9fa; }

    .mobile_menu__dropdown a i { transition: transform 0.3s ease; }

    .mobile_menu__dropdown .mobile_menu__dropdown-list ul {
        background: #f8f9fa;
        margin: 0;
        padding: 0;
    }

    .mobile_menu__dropdown .mobile_menu__dropdown-list li {
        border-left: 3px solid var(--orange-color);
        margin-left: 10px;
    }

    .mobile_menu__dropdown .mobile_menu__dropdown-list li a {
        padding: 9px 15px;
        font-size: 13px;
        color: #555;
        border-bottom: 1px solid #e5e5e5;
    }

    .mobile_menu__dropdown .mobile_menu__dropdown-list li a:hover {
        background-color: #e9ecef;
        color: var(--blue-color);
    }
}
