/* --- Global Body Overrides --- */
/* --- Main Header Wrapper --- */
.header-wraper {
    height:50px;
    position: none;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--turquoise-surf); /* Corporate Cobalt Blue Primary Accent */
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
}

.header-midd {
    position: relative;
    width: 100%;
    max-width: 1400px; /* Optional: centers navigation container nicely */
    margin: 0 auto;
}

.mega-list {
    /* display: flex; */
    /* width: 100%; */
    /* justify-content: space-between; */
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: table;
}

/* --- Top-Level Menu Items --- */
.mega-item {
    position: static; /* Required for full-width drop downs */
    height: 50px;
    /* display: flex; */
    padding: 0 12px;
    /* justify-content: center;
    align-items: center; */
    /* flex: 1; */
    float: left;
}

.mega-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-size: 1.0rem;
    /* letter-spacing: 0.031em; */
    line-height: 1.3em;
    /* text-transform: uppercase; */
    color: #ffffff;
    font-weight: 400;
    width: 100%;
    height: 100%;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
}
.mega-link:hover {
    color: #ffffff; /* Deepens into blue on hover */
}

/* Lucide Icon Configurations */
.mega-link svg, 
.mega-link i {
    height: 16px;
    width: 16px;
    min-height: 16px;
    min-width: 16px;
    margin-left: 6px;
    stroke-width: 2.5;
    transition: transform 0.2s ease;
}

.mega-item:hover .mega-link svg,
.mega-item:hover .mega-link i {
    transform: translateY(0px); /* Subtle downward bounce on hover */
}

/* --- Mega Dropdown Container --- */
.megamenu {
    position: absolute;
    top: 50px; 
    left: 0;
    width: 100%;
    color: #1e293b;
    text-align: left;
    padding: 40px 50px;
    font-size: 15px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Animations using hardware-accelerated transforms */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0s linear 0.25s;
    z-index: 5;
}

/* --- Triggering State --- */
.mega-item:hover .megamenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0s linear 0s;
}

/* --- Mega Dropdown Headers --- */
.mega-header {
    border-bottom: 1px solid #f1f5f9;
    padding: 0 0 20px 0;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a; /* Deep Charcoal Blue */
    letter-spacing: -0.01em;
}

.mega-header svg,
.mega-header i {
    margin-right: 12px;
    height: 30px;
    width: 30px;
    min-height: 30px;
    min-width: 30px;
    stroke-width: 1px;
    color: #2563eb; /* Blue primary icon accent */
}

/* --- Column Configurations --- */
.mega-list-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.megacollink {
    flex: 1;
    box-sizing: border-box;
    padding: 0 15px;
}

/* --- Sub-Category Group Headers --- */
.megaulheader {
    padding: 0 0 10px 0;
    margin-top: 15px;
}

.megaulheader:first-of-type {
    margin-top: 0; /* Cleans alignment on first items */
}

.megaulheader a {
    text-decoration: none;
    color: #1e293b;
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 5px 0;
    display: inline-block;
}

/* Modern Ribbon Accent Line */
.megaulheader .bottom-ribbon {
    height: 2px;
    background: #ffff25;
    background: linear-gradient(135deg, #fd7641 0%, rgb(252 74 74) 35%, rgb(5 127 250) 100%);
    width:33%;
    margin-top: 4px;
}

/* --- Link Lists --- */
.mega-ul-list {
    margin: 0 0 20px 0;
    padding: 0;
    list-style: none;
}

.mega-ul-item {
    padding: 3px 0;
}

.mega-ul-link {
    text-decoration: none;
    font-size: 0.9rem;
    line-height:1em;
    color: #64748b; /* Neutral slate text color */
    display: inline-block;
    transition: color 0.15s ease, transform 0.15s ease;
}
.mega-ul-link svg{
    height: 16px;
    width: 16px;
    min-height: 16px;
    min-width: 16px;
}

.mega-ul-link:hover {
    text-decoration: none;
    color: #2563eb; /* Hover states match primary corporate blue */
    transform: translateX(4px); /* Clean slider effect */
}
.big-link{
    text-decoration:none;
    color:inherit;
    transition: all 0.3s ease-in-out;
    display: block;
}
.big-link:hover{
    text-decoration:none;
    color:inherit;
}
.big-link-box{
    display: flex;
    align-items: center;
    background-color: #e0e5ff;
    border:1px solid #c3d3f5;
    border-radius:8px;
    padding:15px;
}
.big-link-box .heading{
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
}
.big-link-box .peragraph{
    font-size: 12px;
    font-weight: 400;
}
.big-link-box svg{
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    color: #353535;
    margin-right: 15px;
    stroke-width: 0.9;
    color:#2563eb;
}
.big-link-2{
    text-decoration:none;
    color:inherit;
    transition: all 0.3s ease-in-out;
    background-color: #ffffff;
    display: block;
    border-radius: 8px;
    margin: 8px 0px;
}
.big-link-2:hover{
    text-decoration:none;
    color:inherit;
    background-color: #eaf0f6;
}
.big-link-box-2{
    display: flex;
    align-items: center;
    border-radius:8px;
    padding:15px;
}
.big-link-box-2 .heading-2{
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
}
.big-link-box-2 .peragraph-2{
    font-size: 12px;
    font-weight: 400;
}
.round-icon{
    width: 40px;
    height: 40px;
    border-radius: 100px;
    background-color: #cce0f4;
    text-align: center;
    line-height: 40px;
    margin-right: 15px;
}
.big-link-box-2 svg{
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    color: #353535;
    stroke-width: 0.9;
    color:#2563eb;
}
