/* Custom responsive professional medical header */
.gemenu-custom-header-932ea000 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #f0f4f8;
    transition: all 0.3s ease;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Adjust top padding of page body to fit fixed header */
body {
    padding-top: 80px !important;
}

/* Base header layout */
.gemenu-header-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo styling */
.gemenu-logo-container .gemenu-logo {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}
.gemenu-site-name {
    font-size: 24px;
    font-weight: 700;
    color: #0c8346;
}

/* Desktop Navigation - Ultra optimized for no-wrapping */
.gemenu-desktop-nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
    padding: 0 15px;
    overflow: hidden;
}
.gemenu-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px; /* Reduced gap to fit more items */
    flex-wrap: nowrap; /* Strictly no wrapping */
}
.gemenu-menu-item {
    flex-shrink: 0;
}
.gemenu-menu-link {
    font-size: 14px; /* Reduced font size slightly */
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    padding: 8px 10px; /* Reduced padding */
    border-radius: 6px;
    transition: all 0.25s ease;
    white-space: nowrap; /* FORCE SINGLE LINE */
    display: block;
}
.gemenu-menu-link:hover {
    color: #0c8346;
    background: rgba(12, 131, 70, 0.05);
}

/* Call to action & button styles */
.gemenu-cta-container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.gemenu-cta-button {
    background-color: #0c8346;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(12, 131, 70, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.gemenu-cta-button:hover {
    background-color: #096837;
    box-shadow: 0 6px 16px rgba(12, 131, 70, 0.3);
    transform: translateY(-2px);
}

/* Hamburger menu styles */
.gemenu-hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 6px;
    z-index: 10000;
}
.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #334155;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Drawer */
.gemenu-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 24px;
}
.gemenu-mobile-drawer.is-active {
    right: 0;
}
.gemenu-mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
}
.gemenu-close-btn {
    background: none;
    border: none;
    font-size: 32px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}
.gemenu-mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.gemenu-mobile-menu-link {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}
.gemenu-mobile-menu-link:hover {
    color: #0c8346;
}
.gemenu-mobile-cta {
    margin-top: 40px;
}
.mobile-cta {
    display: block;
    text-align: center;
}

/* Background overlay when mobile menu is open */
.gemenu-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.gemenu-mobile-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Responsive queries - Optimized mobile break point */
@media (max-width: 1100px) {
    .gemenu-menu-link {
        font-size: 13px;
        padding: 6px 8px;
    }
    .gemenu-menu-list {
        gap: 10px;
    }
}
@media (max-width: 991px) {
    .gemenu-desktop-nav {
        display: none;
    }
    .gemenu-hamburger-btn {
        display: flex;
    }
    .gemenu-cta-container .gemenu-cta-button {
        display: none; /* Hide on smaller screens, show in mobile drawer */
    }
}
