/* Lynxsol Complete Header & Mega Menu Style */

.lmm-header-wrapper {
    position: relative;
    font-family: 'Roboto', sans-serif;
    width: 100%;
}

/* TOP ROW - Revenue Pill Bar */
.lmm-top-row {
    width: 100%;
    max-width: 100% !important;
    display: flex;
    justify-content: center;
    padding: 15px 40px 10px 40px;
    box-sizing: border-box;
}

.lmm-revenue-pill {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(0, 153, 255, 0.25);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 8px 24px;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box;
}

.lmm-pill-left {
    font-size: 14px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.lmm-pill-bold {
    font-weight: 700;
}

.lmm-pill-desc {
    color: #55728a;
}

.lmm-pill-right {
    display: flex;
    gap: 8px;
}

.lmm-social-icon {
    width: 28px;
    height: 28px;
    background-color: #0099ff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.lmm-social-icon:hover {
    transform: translateY(-2px);
    background-color: #002F5F;
}

/* MAIN ROW */
.lmm-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    width: 100%;
    max-width: 100% !important;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}

/* Logo col */
.lmm-logo-col {
    flex-shrink: 0;
    max-width: 140px !important;
    width: 140px !important;
}

.lmm-logo-img {
    height: 40px !important;
    width: auto !important;
    max-height: 40px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block;
}

/* Navigation col */
.lmm-nav-col {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.lmm-nav-container {
    width: auto;
}

.lmm-menu-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 28px;
}

.lmm-menu-item {
    position: static;
}

.lmm-item-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 15px 0;
    cursor: pointer;
}

.lmm-chevron {
    font-size: 10px;
    transition: transform 0.3s ease;
}

/* Chevron Rotation */
.lmm-menu-item.lmm-expanded .lmm-chevron {
    transform: rotate(180deg);
}

/* CTA Expert Button */
.lmm-cta-col {
    flex-shrink: 0;
}

.lmm-expert-btn {
    display: inline-block;
    background-color: #0099ff;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.lmm-expert-btn:hover {
    background-color: #002F5F;
    transform: translateY(-2px);
}

/* Dropdown Panel - Absolute local menu-item centering */
.lmm-dropdown-panel {
    display: none;
    position: absolute;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: none !important;
    top: 100%;
    background: transparent;
    padding-top: 15px;
    box-sizing: border-box;
    z-index: 9999;
}

.lmm-menu-item.lmm-expanded .lmm-dropdown-panel {
    display: block;
}

/* Row of cards, naturally-flowing flex row */
.lmm-dropdown-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    background: transparent;
    padding: 10px;
}

/* Dropdown Card Styling */
.lmm-dropdown-card {
    flex: 1 1 0;
    max-width: 340px;
    min-width: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,47,95,0.08);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.lmm-dropdown-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,153,255,0.15);
}

/* Card Header */
.lmm-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 12px;
}

.lmm-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #002F5F;
    margin: 0;
    line-height: 1.3;
}

.lmm-card-icon-box {
    width: 42px;
    height: 42px;
    background-color: #0099ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lmm-card-icon {
    color: #ffffff;
    stroke: #ffffff;
}

/* Link Lists */
.lmm-card-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lmm-card-links a {
    text-decoration: none;
    font-size: 14px;
    color: #333333;
    transition: color 0.2s ease;
    line-height: 1.4;
    display: inline-block;
}

/* Promo Card */
.lmm-promo-card {
    background: #002F5F !important;
    color: #ffffff;
}

.lmm-promo-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 4px 0;
}

.lmm-promo-subtitle {
    font-size: 14px;
    color: #0099ff;
    margin: 0 0 16px 0;
}

.lmm-promo-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.lmm-promo-img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

/* Responsive & Mobile Burger */
.lmm-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.lmm-burger-line {
    width: 24px;
    height: 2px;
    background-color: #002F5F;
    border-radius: 2px;
}

/* Mobile Layout < 1200px */
@media (max-width: 1199px) {
    .lmm-top-row {
        padding: 10px 15px;
    }

    .lmm-revenue-pill {
        flex-direction: column;
        gap: 10px;
        border-radius: 12px;
        align-items: center;
        text-align: center;
    }

    .lmm-cta-col {
        display: none; /* Hide desktop CTA btn, inside mobile view or keep header simpler */
    }

    .lmm-mobile-toggle {
        display: flex;
    }

    .lmm-nav-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: 20px;
        box-sizing: border-box;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        z-index: 10000;
    }

    .lmm-mobile-open .lmm-nav-container {
        display: block;
    }

    .lmm-menu-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .lmm-menu-item {
        border-bottom: 1px solid #eeeeee;
    }

    .lmm-item-link {
        width: 100%;
        justify-content: space-between;
        padding: 15px 0;
    }

    /* Accordion Panels */
    .lmm-dropdown-panel {
        display: none;
        position: static;
        transform: none !important;
        width: 100% !important;
        padding: 0 0 15px 0;
    }

    .lmm-menu-item.lmm-expanded .lmm-dropdown-panel {
        display: block;
    }

    .lmm-dropdown-row {
        flex-direction: column;
        gap: 12px;
        padding: 0;
    }

    .lmm-dropdown-card {
        box-shadow: none;
        border-radius: 0;
        background: transparent !important;
        padding: 0;
        width: 100% !important;
        transform: none !important;
    }

    .lmm-card-header, .lmm-promo-card {
        display: none !important; /* Simple link list, hide headers & promo card */
    }

    .lmm-card-links {
        padding-left: 15px;
    }
}