:root {
    --navy: #0E1736;
    --navy-2: #08112A;
    --blue: #004973;
    --teal: #21BFB0;
    --teal-2: #12A99C;
    --ice: #F3F8FA;
    --line: #DCE6EA;
    --ink: #10213E;
    --muted: #667386;
    --white: #FFFFFF;
    --shadow: 0 24px 70px rgba(14, 23, 54, .22);
}

/* Navigation List */


.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.has-megamenu {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 0.5rem;
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #38bdf8;
}

.arrow-icon {
    font-size: 0.75rem;
}

/* Mega Menu Dropdown */
.megamenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 1240px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    display: grid;
    grid-template-columns: 280px 1fr;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    pointer-events: none;
    z-index: 1000;
    text-align: left;
}

.megamenu {
   
    position: fixed;

   
    top: 80px;
    left: 50%;

   
    max-width: 90vw;
    
    transform: translateX(-50%) translateY(10px);

}

/* Featured Hero Block */
.megamenu-hero-block {
    background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);
    padding: 2rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #38bdf8;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.hero-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.hero-link {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.hero-link:hover {
    color: #38bdf8;
}

.megamenu .card-icon img{
    width: 32px;
	height: 32px;
}

/* Content Area */
.megamenu-content {
    padding: 2rem;
    background: #ffffff;
}

.megamenu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.megamenu-header .section-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #64748b;
    text-transform: uppercase;
}

.megamenu-header .section-subtitle {
    font-size: 0.75rem;
    color: #94a3b8;
}

.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.megamenu-card {
    text-decoration: none;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #ccc;
    gap: 17px;
}

.megamenu-card:hover {
    background-color: #f8fafc;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    /* margin-bottom: 0.75rem; */

    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 12px;
    background: linear-gradient(145deg, #EFF8FA, #E7F2F7);
    display: grid;
    place-items: center;
    border: 1px solid #DDECEF;
    color: #036D8B;
}




.card-arrow {
    width: 24px;
    height: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #0284c7;
    margin-top: 0.75rem;
    align-self: flex-start;
    transition: all 0.2s ease;
    margin-left: auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #D5E4E6;
    display: grid;
    place-items: center;
    color: var(--teal-2);
    font-size: 22px;
    transition: .18s ease;
    background: #fff;
}

.megamenu-card:hover .card-arrow {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    transform: translateX(3px);
}

.back-btn {
    display: none;
}

.megamenu-card:hover .card-arrow {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
    transform: translateX(2px);
}

.style-1 .card-arrow {
    position: absolute;
    right: 17px;
    bottom: 15px;

}

.megamenu-card:hover {

    border-color: #C9E8E3;
    background: linear-gradient(90deg, #F5FBFA, #fff);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(16, 33, 62, .08);

}

.megamenu-card.style-1 .card-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
}

.card__title {
    line-height: 1.25;
    margin: 0 0 7px;
    color: var(--ink);
    font-weight: bold;
    margin: 0;

}

.megamenu-card.style-1 .card__title,.megamenu-card.style-3 .card__title {
    font-size: 18px;
}

.megamenu-card.style-2 .card__title {
    font-size: 21px;
}

.card-desc {
    
    line-height: 1.48;
    margin: 0;
    color: var(--muted);
    
}
.card-desc > *{
    margin: 0;
}

.megamenu-card.style-1 .card-desc >*,.megamenu-card.style-3 .card-desc >* {
    font-size: 13px;

}

.megamenu-card.style-2 .card-desc >* {
    font-size: 14px;
    /* max-width: 650px; */
}

.megamenu-card.style-2 {
    border-color: #E6ECEF;
    flex-direction: row;
    padding: 21px 20px;
    align-items: center
}

.megamenu-card .tag {
    display: none;
}
.megamenu-card.style-2 .tag {
   display: inline-block;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: #087E76;
    background: #E7F7F4;
    border-radius: 12px;
    padding: 0 15px;
    margin-bottom: 5px;
}

.megamenu-card.style-2 .card-arrow{
    margin-top: auto;
    margin-bottom: auto;
}

.megamenu-card.style-3 .card-arrow{
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.megamenu-card.style-3 .inner-wrap{
        padding-right: 50px;
}
.nav-list .nav-item {
    padding: 11px 5px;
}
.nav-list .nav-link {
    color: var(--e-global-color-primary);;
    font-size: 16px;
    font-weight: 400;
}
.nav-list .nav-link:hover{
        color: var(--e-global-color-accentsecondary);
}


/* Desktop Hover Trigger */
@media (min-width: 992px) {
    .has-megamenu:hover .megamenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .megamenu-card.style-1 {
        align-items: flex-start;
        min-height: 182px;
        flex-direction: column;
        padding: 20px;
    }

    .megamenu-card.style-3{
    min-height: 112px;
    align-items: flex-start;
    flex-direction: row;
            border: 1px solid transparent;
}

    .megamenu-content.style-2 .megamenu-grid {
        grid-template-columns: 1fr;

    }

    .megamenu-content.style-3 .megamenu-grid {
    grid-template-columns: repeat(2, 1fr);
}

.nav-menu-wrapper{
    border: 1px solid #ccc;
    padding: 0 2rem;
    border-radius: 50px;
}


    

}

/* Mobile & Tablet Styles */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        background: #0b1329;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-x: hidden;
        overflow-y: auto;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    }

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

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding-top: 0;
        align-items: stretch;
    }

    .has-megamenu {
        position: static;
    }

    .nav-link {
        padding: 1.2rem 1.5rem;
        justify-content: space-between;
        border-bottom: 1px solid #1e293b;
        color: #f1f5f9;
    }

    .megamenu {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        background: #ffffff;
        grid-template-columns: 1fr;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        padding-top: 1rem;
    }


    .megamenu.panel-open {
        transform: translateX(0);
    }

    .megamenu-hero-block {
        padding: 1.25rem;
    }

    .megamenu-content {
        padding: 1rem;
    }

    .megamenu-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .megamenu-card {
        padding: 0.75rem;
        background: #f8fafc;
    }

    .back-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: #ffffff;
        border: none;
        font-size: 0.95rem;
        font-weight: 600;
        color: #0284c7;
        cursor: pointer;
        padding: 1.25rem;
        border-bottom: 1px solid #e2e8f0;
        width: 100%;
    }

    .megamenu-header,.megamenu-hero-block,.card-icon{
        display: none;
    }

    .card-icon{
        display: none;
    }
    
    .card-arrow{
        
        width: 30px;
    height: 30px;
    min-width: 30px;
    }
    .megamenu-card[class*="style-"] .card__title{
        font-size: 16px;
        width: 90%;
        margin-bottom: 10px;
    }
    .megamenu-card[class*="style-"] .card-desc, .megamenu-card[class*="style-"] .card-desc>*{
        font-size: 10px;
        width: 90%;
    }
    .megamenu-card.style-3 .card-arrow{
        top:35%
    }
    .megamenu-card[class*="style-"]{
        padding: 0.75rem;
        gap: 5px;
    }

    .style-1 .card-arrow {
        top:0;
        bottom:0;
        margin:auto;
    }
    .nav-item {
    padding: 7px 1rem;
    border-bottom: 1px solid #ccc;
}
.has-megamenu .arrow-icon{
        
    }

    .megamenu-card.style-3 .inner-wrap{
        padding-right: unset;
    }

}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #ffffff;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}

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

@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }
}


/* #top- .megamenu{
    opacity: 1 !important;
    visibility: visible !important;
} */