/* New Modern Header Design - Compact 2-row layout */

/* Override old styles */
.top-white {
    display: none;
}

.top-white-new {
    background-color: #fff;
    position: relative;
    z-index: 100;
}

/* Top compact bar - contact info + action buttons */
.top-bar-compact {
    background-color: #01306b;
    padding: 20px 0;
    font-size: 16px;
    position: relative;
    z-index: 100;
}

.top-bar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-bar-left {
    flex: 1;
}

.top-bar-right {
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 16px;
    transition: color 0.2s;
}

.contact-item i {
    color: #00b5ca;
    font-size: 18px;
}

a.contact-item:hover {
    color: #00b5ca;
    text-decoration: none;
}

/* Action buttons - compact style */
.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: transparent;
    color: #fff;
    padding: 6px 14px;
    border: 1px solid #ffffff;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.action-btn i {
    font-size: 18px;
}

.action-btn:hover {
    background-color: #ffffff;
    color: #01306b;
    border-color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Main menu bar - logo + menu */
.main-menu-bar-new {
    background-color: white;
    border-radius: 0 0 6px 6px;
    margin-top: 0;
    padding-top: 16px;
    padding-bottom: 16px;
}

.main-bar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    min-height: 70px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-new img {
    height: 50px;
    width: auto;
}

.nfz-logo-new {
    height: 35px;
    width: auto;
}

.menu-section {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Update menu positioning */
#droppy {
    margin: 0;
    padding: 0;
}

#droppy > li {
    position: relative;
    border-left: none !important;
    border-right: none !important;
}

#droppy li a {
    padding: 15px 20px;
}

#droppy ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 1000;
}

#droppy ul li {
    list-style: none;
    display: block;
}

/* Wider container */
@media (min-width: 1440px) {
    .top-container {
        width: 1400px;
        max-width: 1400px;
    }
}

/* Tablet responsiveness */
@media (max-width: 1200px) {
    .action-btn span {
        display: none;
    }

    .action-btn {
        padding: 6px 10px;
    }

    .contact-info {
        font-size: 12px;
        gap: 10px;
    }

    .contact-item {
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    .top-bar-row {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }

    .contact-info {
        justify-content: center;
    }

    .action-buttons {
        justify-content: center;
    }

    .main-bar-row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .logo-section {
        justify-content: center;
    }
}

/* Desktop menu - visible only on desktop */
@media (min-width: 993px) {


    .main-bar-row-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-section-mobile {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .menu-section {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }

    /* Hide mobile-only elements on desktop */
    .burger-icon,
    .mobile-menu-fullscreen {
        display: none !important;
    }
}

/* Mobile responsiveness */
@media (max-width: 992px) {
    .top-bar-compact {
        display: none !important;
    }

    .main-menu-bar-new {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 15px 0;
        width: 100%;
    }

    .main-bar-row-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }

    .logo-section-mobile {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .burger-icon {
      
        display: flex!important;
        align-items: center;
    }

    .mobile-burger-btn {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        color: #1a365d;
        font-size: 28px;
        line-height: 1;
    }

    .mobile-burger-btn:hover {
        text-decoration: none;
        color: #1a365d;
    }

    /* Hide desktop menu on mobile */
    .menu-section {
        display: none !important;
    }

    .logo-new img {
        height: 40px;
        width: auto;
    }

    .nfz-logo-new {
        height: 40px;
        width: auto;
    }

    body {
        padding-top: 70px;
    }

    /* Mobile Menu Fullscreen */
    .mobile-menu-fullscreen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #ffffff;
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .mobile-menu-fullscreen.open {
        transform: translateX(0);
    }

    .mobile-menu-header {
        padding: 20px;
        text-align: right;
        border-bottom: 1px solid #e5e5e5;
        position: sticky;
        top: 0;
        background: #ffffff;
        z-index: 10;
    }

    .mobile-menu-close {
        color: #1a365d;
        font-size: 28px;
        text-decoration: none;
        line-height: 1;
        display: inline-block;
    }

    .mobile-menu-close:hover {
        color: #1a365d;
        text-decoration: none;
    }

    .mobile-menu-content {
        padding: 20px;
    }

    .mobile-menu-content #droppy {
        display: block !important;
    }

    .mobile-menu-content #droppy > li {
        display: block;
        border: none;
        border-bottom: 1px solid #e5e5e5;
        position: relative;
    }

    .mobile-menu-content #droppy > li > a {
        display: block;
        padding: 15px 40px 15px 0;
        color: #1a365d;
        font-size: 16px;
        text-decoration: none;
        pointer-events: auto;
    }

    .mobile-menu-content #droppy > li > a:hover {
        color: #00b5ca;
    }

    /* Disable hover effects on desktop menu inside mobile menu */
    .mobile-menu-content #droppy > li:hover > ul {
        display: none !important;
    }

    /* Submenu arrow for mobile */
    .mobile-menu-content #droppy > li > ul {
        display: none !important;
        position: static !important;
        width: 100% !important;
        background: #f5f5f5 !important;
        padding-left: 15px !important;
    }

    .mobile-menu-content #droppy > li.has-submenu::after {
        content: '\203A';
        position: absolute;
        right: 15px;
        top: 15px;
        transform: rotate(90deg);
        font-size: 24px;
        color: #1a365d;
        transition: transform 0.3s ease;
        cursor: pointer;
        pointer-events: none;
    }

    .mobile-menu-content #droppy > li.has-submenu.open::after {
        transform: rotate(-90deg);
    }

    .mobile-menu-content #droppy > li.has-submenu.open > ul {
        display: block !important;
    }

    .mobile-menu-content #droppy > li > ul > li {
        border-bottom: 1px solid #ddd;
    }

    .mobile-menu-content #droppy > li > ul > li > a {
        padding: 12px 0;
        font-size: 15px;
    }

    .mobile-menu-actions {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 2px solid #e5e5e5;
    }

    .mobile-action-btn {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px 20px;
        background: #1a365d;
        color: #ffffff;
        text-decoration: none;
        border-radius: 8px;
        margin-bottom: 10px;
        font-size: 15px;
        font-weight: 500;
        transition: background 0.3s ease;
    }

    .mobile-action-btn i {
        font-size: 20px;
    }

    .mobile-action-btn:hover {
        background: #00b5ca;
        color: #ffffff;
        text-decoration: none;
    }

    .contact-info {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        width: 100%;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
        gap: 6px;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 14px;
    }

    .action-btn span {
        display: inline;
    }

    .logo-new img {
        height: 40px;
    }

    .nfz-logo-new {
        height: 35px;
    }
}

@media (max-width: 540px) {
    .contact-item {
        font-size: 11px;
    }

    .action-btn {
        font-size: 12px;
    }
}

