/* ══ MEGA MENU ══ */
.mega {
    display: none;
    position: fixed;
    top: 85px; /* adjust according to navbar */
    left: 0;
    width: 100%;
    /*    background: #fff;*/
    z-index: 99999;
    /*    border: 2px solid red !important;*/
}

#ct {
    position: relative;
}


@keyframes mDrop {
    from {
        opacity: 0;
        transform: translateY(-8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

#ct.open .mega {
    display: block;
}

#ct {
    position: relative;
}


.header-menu ul > li.open .mega {
    display: block;
}


.mega-in {
    max-width: 1700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr 320px;
    min-height: 480px;
    border-top: 2px solid #FF2B5B;
}

/* col1 streams */
.m-streams {
    background: #071B63;
    padding: 20px 0;
    border-right: 1px solid rgba(0,201,228,.1)
}

    .m-streams h5, .m-courses h5, .m-mods h5 {
        padding: 0 18px 10px;
        font-size: .65rem;
        letter-spacing: .13em;
        text-transform: uppercase;
        color: var(--cyan);
        font-weight: 700
    }

.m-courses h5, .m-mods h5 {
    padding: 0 0 12px
}

.si {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(232,237,248,.78);
    border-left: 3px solid transparent;
    transition: background .14s,color .14s,border-color .14s
}

    .si:hover, .si.act {
        background: rgba(0,201,228,.08);
        color: var(--cyan);
        border-left-color: var(--cyan)
    }

.si-ico {
    font-size: .95rem;
    flex-shrink: 0
}

.si-name {
    flex: 1;
    line-height: 1.3
}

.si svg {
    opacity: .35;
    flex-shrink: 0
}

.si:hover svg, .si.act svg {
    opacity: 1
}

/* col2 courses */
.m-courses {
    padding: 20px 20px;
    overflow-y: auto;
    max-height: 560px;
    background: #f5f7fe
}

    .m-courses h5 span {
        color: var(--navy);
        font-weight: 800
    }

.c-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 8px
}

.cc {
    padding: 12px 13px;
    border-radius: 8px;
    background: #fff;
    border: 1.5px solid #dde3f5;
    cursor: pointer;
    transition: border-color .18s,box-shadow .18s,background .18s
}

    .cc:hover, .cc.act {
        border-color: var(--crimson);
        box-shadow: 0 4px 18px rgba(232,0,61,.11);
        background: #fff5f7
    }

.cc-code {
    font-size: .85rem;
    font-weight: 800;
    color: var(--crimson);
    letter-spacing: .06em;
    margin-bottom: 4px
}

.cc-name {
    font-size: 1rem;
    color: var(--navy);
    line-height: 1.35;
    font-weight: 500
}

/* col3 modules */
.m-mods {
    background: var(--navy-mid);
    border-left: 1px solid rgba(0,201,228,.1);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 560px
}

.m-sel {
    font-size: .83rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.4;
    border-bottom: 1px solid rgba(0,201,228,.14);
    padding-bottom: 11px
}

.mod-item {
    border-radius: 8px;
    border: 1px solid rgba(0,201,228,.12);
    margin-bottom: 8px;
    overflow: hidden
}

.mod-hd {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    cursor: pointer;
    background: rgba(255,255,255,.05);
    transition: background .15s
}

    .mod-hd:hover {
        background: rgba(0,201,228,.07)
    }

.mod-num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--crimson);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .62rem;
    font-weight: 800;
    color: #fff
}

.mod-ttl {
    font-size: .79rem;
    color: var(--off);
    font-weight: 500;
    flex: 1
}

.mod-arr {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: var(--cyan);
    stroke-width: 2.2;
    transition: transform .22s;
    flex-shrink: 0
}

.mod-item.open .mod-arr {
    transform: rotate(180deg)
}

.mod-bd {
    display: none;
    padding: 6px 12px 10px 43px;
    background: rgba(255,255,255,.03)
}

.mod-item.open .mod-bd {
    display: block
}

.mod-bd ul {
    list-style: none
}

    .mod-bd ul li {
        font-size: .72rem;
        color: var(--muted);
        line-height: 1.55;
        padding: 3px 0;
        border-bottom: 1px solid rgba(255,255,255,.04);
        display: flex;
        align-items: flex-start;
        gap: 6px
    }

        .mod-bd ul li::before {
            content: "›";
            color: var(--cyan);
            font-size: .85rem;
            flex-shrink: 0;
            margin-top: 1px
        }




.chev {
    width: 26px;
    height: 29px;
    margin-left: -8px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    vertical-align: middle;
}

.si {
    color: rgba(255,255,255,.85);
    border-left: 3px solid transparent;
}

    .si:hover,
    .si.act {
        background: rgba(0,201,228,.12);
        color: #00C9E4;
        border-left: 3px solid #00C9E4;
    }


.m-streams h5 {
    color: #00C9E4;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
}

.m-courses {
    background: #F5F7FC;
}

.cc.act {
    border: 2px solid #FF2B5B;
    background: #FFF8FA;
    box-shadow: 0 8px 24px rgba(255,43,91,.12);
}

.m-mods {
    background: #11277A;
    color: white;
}

.m-sel {
    color: white;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.mod-item {
    background: rgba(255,255,255,.04);
    border: none;
    border-radius: 10px;
}

.mod-hd {
    background: rgba(255,255,255,.05);
}

    .mod-hd:hover {
        background: rgba(0,201,228,.08);
    }

.mod-num {
    width: 24px;
    height: 24px;
    background: #FF2B5B;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.mod-ttl {
    color: #fff;
    font-weight: 500;
}

.mod-bd ul li {
    color: rgba(255,255,255,.75);
}

/*.mega {
    border-top: 2px solid #FF2B5B;
}*/

.si {
    cursor: pointer;
}

.mod-ttl {
    font-size: 16px;
}

.m-streams h5,
.m-courses h5,
.m-mods h5 {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/*==================================================
    COURSES MEGA MENU
==================================================*/

#nav-courses-ct {
    position: relative;
}

#nav-mega {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-top: 3px solid #ff0f7b;
    height: 485px; /* fixed height so it doesn't jump per stream */
    max-height: 485px;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: .25s;
    z-index: 99999;
    box-shadow: -6px 0 14px rgba(0, 0, 0, 0.10), 6px 0 14px rgba(0, 0, 0, 0.10), 0 10px 20px rgba(0, 0, 0, 0.15);
}

#nav-courses-ct:hover #nav-mega {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}




/*==================================================
    DROPDOWN
==================================================*/

#nav-mega {
    position: absolute;
    top: calc(100% + 28px);
    left: 303%;
    transform: translateX(-50%);
    width: 1100px;
    max-width: calc(100vw - 40px);
    background: #fff;
    
    border-top: 3px solid #00005a;
    box-shadow: 0 20px 50px rgba(0,0,0,.16);
    overflow: hidden;
    display: flex;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, top .25s ease;
    z-index: 99999;
    max-height: 580px;
    box-shadow: -6px 0 14px rgba(0, 0, 0, 0.10), 6px 0 14px rgba(0, 0, 0, 0.10), 0 10px 20px rgba(0, 0, 0, 0.15);
   
}

/*==================================================
    SHOW
==================================================*/

#nav-courses-ct:hover #nav-mega {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    /*    transform: translateX(-50%) translateY(0);*/
}

/*==================================================
    STICKY HEADER
==================================================*/
/*
.header.scrolled #nav-mega {
    top: calc(100% + 2px);
}*/

/*==================================================
    CONTENT
==================================================*/

.nav-mega-in {
    display: flex;
    width: 100%;
    max-height: 600px;
}

.nav-m-streams {
    width: 320px;
    background: #001a4d;
    color: #fff;
    padding: 25px;
}

.nav-m-courses {
    width: 780px;
    padding: 30px;
    background: #fff;
    overflow-y: auto;
}

.nav-c-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    /*    gap: 18px;*/
}

.nav-cc {
    /*    border: 1px solid #ececec;*/
    border-radius: 8px;
    padding: 10px;
    transition: .3s;
    background: #fff;
}

    .nav-cc:hover {
        border-color: #ff0f7b;
        box-shadow: 0 8px 20px rgba(0,0,0,.08);
        transform: translateY(-3px);
    }




.header,
.header-wrapper,
.main-header,
.header-menu,
.header-menu ul {
    overflow: visible !important;
}




#nav-mega {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

    #nav-mega.show-mega {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }



/*==========================================
    LEFT STREAM PANEL
==========================================*/

.nav-m-streams {
    width: 320px;
    background: #0d1f3c;
    color: #fff;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
}

    .nav-m-streams h5 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 22px;
        color: #fff;
        position: relative;
    }

        .nav-m-streams h5::after {
            content: "";
/*            width: 55px;*/
            height: 4px;
            background: #ff0f7b;
            border-radius: 50px;
            display: block;
            margin-top: 10px;
        }

/*==========================================
    STREAM LIST
==========================================*/

#nav-slist {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    padding-right: 0px;
}

    /* Custom Scroll */

    #nav-slist::-webkit-scrollbar {
        width: 5px;
    }

    #nav-slist::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.25);
        border-radius: 20px;
    }

/*==========================================
    STREAM ITEM (FULL PINK HOVER - FIXED)
==========================================*/

.nav-si {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 8px 12px;
/*    border-radius: 8px;*/
    cursor: pointer;
    transition: background .2s, color .2s;
    position: relative;
}

    /* accent bar removed on purpose - full background fill replaces it */
    .nav-si::before {
        content: none;
    }

    .nav-si:hover,
    .nav-si.nav-act {
        background: #d40543;
    }

.nav-si-ico {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    text-align: center;
    transition: background .2s;
}

    .nav-si-ico::before {
        line-height: 1;
    }

.nav-si:hover .nav-si-ico,
.nav-si.nav-act .nav-si-ico {
    background: #fff;
}

.nav-si-name {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    color: #fff;
    flex: 1;
    letter-spacing: 0.4px;
    transition: color .2s;
}

.nav-si:hover .nav-si-name,
.nav-si.nav-act .nav-si-name {
    color: #fff;
}



.nav-m-streams {
    padding: 0px 0px 0px;
}

    .nav-m-streams h5 {
        padding: 5px 0px 0px;
        font-size: 22px;
        margin-bottom: 16px;
    }

        .nav-m-streams h5::after {
            width: 45px;
            height: 3px;
            margin-top: 8px;
        }




#nav-cgrid .nav-cc,
#nav-slist .nav-si {
    font-size: 15px;
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    pointer-events: auto; /* make sure it's clickable */
    position: relative;
    z-index: 5; /* above slider arrows/overlays */
}

/* children must not swallow the click target */
.nav-cc .nav-cc-name,
.nav-si .nav-si-ico,
.nav-si .nav-si-name {
    pointer-events: none;
}

/* the mega menu panel itself */
.mega-menu, #nav-cgrid, #nav-slist {
    pointer-events: auto;
}

.nav-cc-highlight {
    animation: hl 2s ease;
}

@keyframes hl {
    from {
        background: #ffe9f3;
    }

    to {
        background: transparent;
    }
}


/* ========================================================
   MEGA MENU OVERRIDES (Prevents white-on-white text bugs)
   ======================================================== */

/* Force the course title and course names to be dark gray */
#nav-mega #nav-slbl,
#nav-mega .nav-cc-name {
    color: #212529 !important;
}

/* Ensure the text turns blue (or your brand color) on hover */
#nav-mega .nav-cc:hover .nav-cc-name {
    color: #0d6efd !important;
}


/* ========================================================
   MEGA MENU: Keep Icon and Text on the Same Line
   (width/box-sizing added so the full-pink hover fills edge-to-edge)
   ======================================================== */

.nav-si {
    display: flex !important;
    flex-direction: row !important; /* Forces items side-by-side */
    align-items: center !important; /* Centers them vertically */
    gap: 12px; /* Adds space between the icon and the text */
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure the spans don't create their own line breaks */
.nav-si-ico,
.nav-si-name {
    display: inline-block !important;
    /*    margin: 0 !important;*/
    padding: 0 !important;
    margin-left: -6px;
}

#nav-cgrid .nav-cc {
    display: flex !important;
    align-items: flex-start;
    text-decoration: none;
    gap: 8px;
    padding: 10px;
}

#nav-cgrid .nav-cc-name {
    display: block;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}

#nav-cgrid .nav-cc::before {
    content: ">";
    font-size: 16px;
    font-weight: 700;
    color: grey;
    line-height: 1.4;
    flex-shrink: 0;
}
.svc-stream-arrow {
    width: 16px;
    height: 16px;
    stroke: #e8476a;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .15s ease, transform .15s ease;
}

.svc-stream-item:hover .svc-stream-arrow,
.svc-stream-item.svc-active .svc-stream-arrow {
    opacity: 1;
    transform: translateX(0);
}


.svc-stream-item.svc-active {
    background: #ffffff;
}

    .svc-stream-item.svc-active .svc-stream-label {
        color: #ffffff;
        font-weight: 500;
    }

.nav-si-arrow {
    width: 24px;
    height: 27px;
    flex-shrink: 0;
    stroke: #fff;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .15s ease, transform .15s ease;
}

.nav-si:hover .nav-si-arrow,
.nav-si.nav-act .nav-si-arrow {
    opacity: 1;
    transform: translateX(0);
}

/*.header-menu ul li#nav-courses-ct > a#courses-trigger {
    color: inherit !important;
}
*/
.header-menu ul li#nav-courses-ct:hover > a#courses-trigger,
.header-menu ul li#nav-courses-ct.open > a#courses-trigger {
    color: #d40543!important;
}

    .header-menu ul li#nav-courses-ct:hover > a#courses-trigger .chev,
    .header-menu ul li#nav-courses-ct.open > a#courses-trigger .chev {
        stroke: #d40543!important;
        transform: rotate(180deg);
    }
@media (min-width: 992px) and (max-width: 1199px) {
    #nav-mega {
        left: 350%;
        transform: translateX(-50%);
        top: calc(100% + 15px);
        width: 92vw;
        max-width: 1050px;
        max-height: 300px;
        overflow: visible;
        z-index: 999999;
        box-shadow: -6px 0 14px rgba(0, 0, 0, 0.10), 6px 0 14px rgba(0, 0, 0, 0.10), 0 10px 20px rgba(0, 0, 0, 0.15);
        overflow: visible;
    }

    .nav-mega-in {
        width: 100% ;
        overflow: visible ;
        max-height: none ;
        align-items: stretch ;
        border-radius: 0 0 10px 10px ;
        overflow: hidden ; 
    }

    .nav-m-streams {
        width: 267px ;
        flex-shrink: 0 ;
        padding: 0px 12px ;
    }

        .nav-m-streams h5 {
            font-size: 15px ;
        }

    .nav-si {
        padding: 7px 8px ;
        gap: 7px ;
    }

    .nav-si-name {
        font-size: 12px ;
        line-height: 1.2 ;
        white-space: normal ;
    }

    .nav-si-ico {
        width: 20px ;
        height: 20px;
    }

    .nav-si-arrow {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }

    .nav-m-courses {
        width: auto ;
        flex: 1 ;
        min-width: 0 ;
        padding: 16px ;
        box-sizing: border-box ;
        max-height: none ;
        overflow: visible ;
    }

    .nav-c-grid {
        grid-template-columns: 1fr 1fr ;
        grid-auto-rows: auto ;
        align-items: start ;
        gap: 10px 14px ;
    }

    .nav-cc {
        min-width: 0 ;
        height: auto ;
        box-sizing: border-box ;
    }

    #nav-cgrid .nav-cc {
        padding: 8px ;
        align-items: flex-start ;
    }

    #nav-cgrid .nav-cc-name {
        font-size: 12px ;
        line-height: 1.4 ;
        white-space: normal ;
        word-break: break-word ;
        overflow-wrap: break-word ;
        display: block ;
    }
    
    #nav-slist {
        padding-left: 0 ;
        padding-right: 0 ;
        margin: 0 ;
    }

    .nav-si {
        width: 100% ;
        margin: 0 ;
        border-radius: 0 ; 
        box-sizing: border-box ;
    }

        .nav-si:hover,
        .nav-si.nav-act {
            background: #d40543 ;
            border-radius: 0 ; 
            width: 100% ;
        }

    .nav-m-streams {
        padding-left: 0 ;
        padding-right: 0 ;
        overflow: hidden ; 
    }
    #nav-cgrid .nav-cc, #nav-slist .nav-si {
        font-size: 16px;
        display: block;
        cursor: pointer;
        text-decoration: none;
        color: inherit;
        pointer-events: auto;
        position: relative;
        z-index: 9;
        padding: 5px 3px 5px;
    }
}

html, body {
    overflow-x: hidden ;
}


/*------------------------------------*/
/*Service Mega Menu - restyled to match Courses mega menu*/

/* ---- Service Mega Menu Wrapper ---- */
.service-mega-parent {
    position: relative;
}

    .service-mega-parent > a {
        display: flex;
        align-items: center;
        gap: 4px;
        cursor: pointer;
    }

.nav-arrow .chev {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-width: 2.2px;
    fill: none;
    transition: transform 0.25s ease;
    vertical-align: middle;
}

.service-mega-parent:hover .nav-arrow .chev,
.service-mega-parent:focus-within .nav-arrow .chev {
    transform: rotate(180deg);
}

.header-menu ul li.service-mega-parent:hover > a,
.header-menu ul li.service-mega-parent.open > a {
    color: #d40543!important;
}

    .header-menu ul li.service-mega-parent:hover > a .chev,
    .header-menu ul li.service-mega-parent.open > a .chev {
        stroke: #d40543 !important;
        transform: rotate(180deg);
    }

/* ---- Mega Menu Container ---- */
.service-mega-menu {
    display: none;
    position: absolute;
    top: calc(100% + 28px);
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,.16);
    z-index: 99999;
    overflow: hidden;
    border-top: 3px solid #00005a;
    flex-direction: row;
    animation: megaFadeIn 0.2s ease;
    max-height: 580px;
    box-shadow: -6px 0 14px rgba(0, 0, 0, 0.10), 6px 0 14px rgba(0, 0, 0, 0.10), 0 10px 20px rgba(0, 0, 0, 0.15);
    overflow: visible;
}

#svc-ct.open .service-mega-menu {
    display: flex;
}

@keyframes megaFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.service-mega-parent:hover .service-mega-menu,
.service-mega-parent:focus-within .service-mega-menu {
    display: flex;
}

/* ---- LEFT PANEL — Stream List (matches .nav-m-streams) ---- */
.svc-mega-left {
    width: 320px;
    background: #0d1f3c;
    padding: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.svc-left-heading {
    font-size: 22px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    color: #fff;
    padding: 20px 22px 0;
    border-bottom: none;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

    .svc-left-heading::after {
        content: "";
        width: 45px;
        height: 3px;
        background: #ff0f7b;
        border-radius: 50px;
        display: block;
        margin-top: 8px;
        margin-left: 22px;
    }

.svc-stream-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
   padding: 9px 15px;
    cursor: pointer;
    border-left: none;
    transition: background .2s, color .2s;
    position: relative;
}

    .svc-stream-item:hover,
    .svc-stream-item.svc-active {
        background: #d40543;
        border-left-color: transparent;
        transform: none;
    }

        .svc-stream-label,
         .svc-stream-label {
            color: #fff;
            
            font-size: 17px;
            font-weight: 500;
            line-height: 1.35;
        }

        .svc-stream-item:hover .svc-stream-icon,
        .svc-stream-item.svc-active .svc-stream-icon {
            background: #fff;
        }

.svc-stream-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: background 0.2s;
}

.svc-stream-label {
    font-size: 19px;
    font-weight: 500;
    color: #fff;
    line-height: 1.35;
    flex: 1;
    letter-spacing: 0.4px;
    transition: color 0.2s;
    font-family: 'Poppins', sans-serif;
}

.svc-stream-arrow {
    width: 24px;
    height: 27px;
    stroke: #fff;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .15s ease, transform .15s ease;
}

.svc-stream-item:hover .svc-stream-arrow,
.svc-stream-item.svc-active .svc-stream-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ---- CENTER PANEL — Service Cards (matches .nav-m-courses / .nav-cc) ---- */
.svc-mega-center {
    flex: 1;
    padding: 30px;
    background: #fff;
    overflow-y: auto;
}

.svc-center-title {
    font-size: 24px;
    font-weight: 500;
/*    text-transform: uppercase;*/
    letter-spacing: 1px;
    color: #212529;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
}

    .svc-center-title span {
        color: #ff0f7b;
        font-weight: 800;
    }

.svc-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.svc-card {
    border: none;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-decoration: none;
    background: #fff;
    transition: .3s;
    cursor: pointer;
}

    .svc-card::before {
        content: ">";
        font-size: 16px;
        font-weight: 700;
        color: grey;
        line-height: 1.4;
        flex-shrink: 0;
    }

    .svc-card:hover,
    .svc-card.svc-card-active {
        border-color: #ff0f7b;
        box-shadow: 0 4px 14px rgb(235 227 229 / 78%);
        transform: translateY(-3px);
        background: #fff;
    }

.svc-card-icon {
    display: none;
}

.svc-card-code {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 2px;
}

.svc-card-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
}

.svc-card:hover .svc-card-name,
.svc-card.svc-card-active .svc-card-name {
    color: #0d6efd;
}

/* ---- RIGHT PANEL — Highlights (matches .m-mods) ---- */
.svc-mega-right {
    width: 320px;
    background: #11277A;
    padding: 20px 16px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.svc-right-header {
    padding: 0 0 11px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 14px;
}

.svc-right-service-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 2px;
}

.svc-right-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00C9E4;
    font-family: 'Poppins', sans-serif;
}

.svc-right-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    padding: 0 0 10px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.svc-module-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    border: none;
    margin-bottom: 8px;
    transition: background .15s;
    cursor: default;
}

    .svc-module-item:hover {
        background: rgba(0,201,228,.08);
        border-left-color: transparent;
    }

.svc-module-num {
    width: 24px;
    height: 24px;
    background: #FF2B5B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    margin-top: 0;
    font-family: 'Poppins', sans-serif;
}

.svc-module-name {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
    flex: 1;
}

.svc-module-subs {
    list-style: none;
    padding: 0 0 10px 34px;
    margin: -4px 0 4px;
}

    .svc-module-subs li {
        font-size: .72rem;
        color: rgba(255,255,255,.75);
        line-height: 1.55;
        padding: 3px 0;
        border-bottom: 1px solid rgba(255,255,255,.04);
        display: flex;
        align-items: flex-start;
        gap: 6px;
        position: relative;
    }

        .svc-module-subs li::before {
            content: "›";
            color: #00C9E4;
            font-size: .85rem;
            flex-shrink: 0;
            margin-top: 1px;
            position: static;
        }

@media (min-width: 992px) and (max-width: 1199px) {
    .service-mega-menu {
        left: 125%;
        transform: translateX(-50%);
        top: calc(100% + 15px);
        width: 96vw;
        max-width: 1000px;
        max-height: none;
        overflow: hidden;
        z-index: 999999;
        box-shadow: -6px 0 14px rgba(0, 0, 0, 0.10), 6px 0 14px rgba(0, 0, 0, 0.10), 0 10px 20px rgba(0, 0, 0, 0.15);
        
    }

    .svc-mega-left {
        width: 266px;
        flex-shrink: 0;
        padding: 14px 0;
    }

    .svc-left-heading {
        font-size: 9px;
        padding: 0 0.85rem 0.6rem;
    }

    .svc-stream-item {
        padding: 0.3rem 0.20rem;
        gap: 8px;
    }

    .svc-stream-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .svc-stream-label {
        font-size: 15px;
        line-height: 1.25;
        white-space: normal;
    }

    .svc-stream-arrow {
        width: 14px;
        height: 14px;
    }

    .svc-mega-center {
        flex: 1;
        min-width: 0;
        padding: 1rem 1.1rem;
        box-sizing: border-box;
    }

    .svc-center-title {
        font-size: 17px;
        margin-bottom: 0.8rem;
    }

    .svc-card-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
        gap: 8px;
    }

    .svc-card {
        min-width: 0;
        height: auto;
        padding: 0.65rem 0.8rem;
        box-sizing: border-box;
    }

    .svc-card-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
        flex-shrink: 0;
    }

    .svc-card-code {
        font-size: 9px;
    }

    .svc-card-name {
        font-size: 13px;
        line-height: 1.3;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* full edge-to-edge active/hover color, jaise nav-si mein diya tha */
    .svc-mega-left {
        padding-left: 0;
        padding-right: 0;
        overflow: hidden;
    }

    .svc-stream-item {
        width: 100%;
        margin: 0;
        border-radius: 0;
        box-sizing: border-box;
    }

        .svc-stream-item:hover,
        .svc-stream-item.svc-active {
            border-radius: 0;
            width: 100%;
        }

    .svc-card:hover,
    .svc-card.svc-card-active {
        border-color: #e8476a;
       
        transform: translateY(-2px);
        box-shadow: 0 4px 14px rgba(232, 71, 106, 0.15);
        padding: 0.8rem 1rem;
    }
    .svc-stream-item.svc-active .svc-stream-label {
        color: #fff;
        
        font-weight: 500;
        line-height: 1.35;
    }
    .svc-left-heading{
        font-size:17px;
    }
    .svc-stream-item {
        padding: 9px 15px;
    }
    .sidesize {
        font-size: 15px;
        color: #252729;
        line-height: 1.7;
        font-family: 'Poppins', sans-serif;
        margin: 0;
        font-weight: 400 !important;
    }
    

}
.svc-content-section {
    display: none;
    gap: 40px;
    width: 100%;
}

    .svc-content-section.active {
        display: flex;
    }

.svc-info-col {
    flex: 1;
    min-width: 0;
}

.svc-info-topic {
    margin-bottom: 20px;
}

    .svc-info-topic h5 {
        font-size: 19px;
        font-weight: 500;
        color: #0d1f3c;
        font-family: 'Poppins', sans-serif;
        margin-bottom: 12px;
    }

.svc-info-desc {
    font-size: 15px;
    color: #252729;
    line-height: 1.7;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

.svc-website-type h5 {
    font-size: 17px;
    font-weight: 500;
    color: #0d1f3c;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 8px;
}

.svc-website-type p {
    font-size: 15px;
    color: #252729;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.svc-tech-wrapper h5 {
    font-size: 17px;
    font-weight: 500;
    color: #0d1f3c;
    margin-bottom: 12px;
    margin-top: 16px;
    font-family: 'Poppins', sans-serif;
}

.svc-tech-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .svc-tech-wrapper ul li {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 15px;
        color: #252729;
        font-family: 'Poppins', sans-serif;
    }

        .svc-tech-wrapper ul li::before {
            content: ">";
            color: #ff0f7b;
            font-size: 15px;
            font-weight: 700;
            flex-shrink: 0;
        }

.svc-blog-col {
    width: 300px;
    flex-shrink: 0;
}

.svc-blog-card {
    display: block;
    text-decoration: none;
}

    .svc-blog-card img {
        width: 100%;
        height: 190px;
        object-fit: cover;
        display: block;
        border-radius: 10px;
        margin-bottom: 14px;
    }

.svc-blog-tag {
    display: block;
    font-size: 14px;
    color: #252729;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 6px;
}

.svc-blog-card strong {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #0d1f3c;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 8px;
}

.svc-blog-card p {
    font-size: 15px;
    color: #252729;
    line-height: 1.7;
    font-family: 'Poppins', sans-serif;
/*    margin-bottom: 16px;*/
    
    margin: 0;
}

.svc-blog-readmore {
    display: inline-block;
    background: #e8002b;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 11px 26px;
    border-radius: 4px;
    
    font-family: 'Poppins', sans-serif;
    transition: background 0.2s;
}

.svc-blog-card:hover .svc-blog-readmore {
    background: #00005a;
}
.svc-tech-wrapper h3{
    font-size:17px;
    font-weight:500;
}

.svc-blog-card a{
    font-size:17px;
}
.sidesize {
    font-size: 15px;
    color: #252729;
    line-height: 1.7;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    font-weight:400!important;
}
.nav-m-courses {
    position: relative;
    padding-bottom: 70px; 
}

.buttoncard {
    position: absolute;
    right: 25px;
    bottom: 20px;
    text-decoration: none;
}

    .buttoncard .svc-blog-readmore {
        display: inline-block;
        padding: 12px 28px;
        background: #DF014A;
        color: #fff;
        border-radius: 6px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .buttoncard:hover .svc-blog-readmore {
        background: #00005a;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
    }

#nav-mega {
   box-shadow: -6px 0 14px rgba(0, 0, 0, 0.10), 6px 0 14px rgba(0, 0, 0, 0.10), 0 10px 20px rgba(0, 0, 0, 0.15);
  
}
.service-mega-menu {
    width: 1100px;
    max-width: calc(100vw - 40px);
    height: 500px; 
    max-height: 500px;
    overflow: hidden; 
}
/*zoom 110%*/
@media (min-resolution: 1.05dppx) and (max-resolution: 1.5dppx) {
    #nav-mega {
        width: 1000px;
        height: 470px;
        max-height: 390px;
    }

    .nav-mega-in {
        max-height: 470px;
    }

    .nav-m-streams {
        width: 280px;
    }

    .nav-m-courses {
        width: 720px;
        padding: 20px;
        background: #fff;
        overflow-y: auto;
    }

    .nav-si-name {
        font-size: 15px;
    }

    .nav-si {
        padding: 5px 5px;
    }

    #nav-cgrid .nav-cc-name {
        font-size: 14px;
    }
    #nav-cgrid .nav-cc {
        display: flex !important;
        align-items: flex-start;
        text-decoration: none;
        gap: 8px;
        padding: 5px;
    }
    .buttoncard .svc-blog-readmore {
        display: inline-block;
        padding: 10px 25px;
        background: #DF014A;
        color: #fff;
        border-radius: 6px;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    #nav-slist {
        gap: 5px;
    }
}
/*zoom 125%*/
@media (min-resolution: 1.2dppx) and (max-resolution: 1.3dppx) {
    #nav-mega {
        width: 1000px;
        height: 370px;
        max-height: 370px;
    }

    .nav-mega-in {
        max-height: 370px;
    }

    .nav-m-streams {
        width: 280px;
    }

    .nav-m-courses {
        width: 720px;
        padding: 15px;
        background: #fff;
        overflow-y: auto;
    }

    .nav-si-name {
        font-size: 14px;
    }

    .nav-si {
        padding: 5px 5px;
    }

    #nav-cgrid .nav-cc-name {
        font-size: 13px;
    }

    #nav-cgrid .nav-cc {
        display: flex !important;
        align-items: flex-start;
        text-decoration: none;
        gap: 8px;
        padding: 3px;
    }

    .buttoncard .svc-blog-readmore {
        display: inline-block;
        padding: 7px 20px;
        background: #DF014A;
        color: #fff;
        border-radius: 6px;
        font-weight: 400;
        transition: all 0.3s ease;
    }

    #nav-slist {
        gap: 3px;
    }
}
/*zoom 110%*/
@media (min-resolution: 1.05dppx) and (max-resolution: 1.19dppx) {


    /* ---- Services Mega Menu (110%) ---- */
    .svc-mega-center {
        padding: 20px;
    }

    .svc-left-heading {
        padding: 4px 17px 0;
    }

    .service-mega-menu {
        width: 1050px;
        height: 400px;
        max-height: 400px;
    }

    .svc-mega-left {
        width: 280px;
    }

    .svc-mega-center {
        padding: 20px;
    }

    .svc-mega-right {
        width: 280px;
        padding: 16px 12px;
    }

    .svc-stream-label {
        font-size: 15px;
    }

    .svc-stream-item {
        padding: 6px 12px;
    }

    .svc-card-name {
        font-size: 14px;
    }

    .svc-card {
        padding: 6px;
    }

    .svc-center-title {
        font-size: 20px;
    }

    .svc-stream-item {
        display: flex;
        align-items: center;
        gap: 11px;
        width: 100%;
        box-sizing: border-box;
        padding: 5px 14px;
    }

    .svc-info-topic h5 {
        font-size: 17px;
        font-weight: 500;
    }

    .svc-info-desc {
        font-size: 14px;
    }

    .svc-info-topic {
        margin-bottom: 10px;
    }

        .svc-info-topic h5 {
            margin-bottom: 5px;
        }

    .svc-tech-wrapper h5 {
        font-size: 16px;
        font-weight: 500;
        color: #0d1f3c;
        margin-bottom: 5px;
        margin-top: 4px;
    }

    .svc-tech-wrapper ul li {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 14px;
    }

    .svc-website-type p {
        font-size: 14px;
    }
    .svc-tech-wrapper ul {
        gap: 0px;
    }
    .svc-stream-arrow {
        width: 20px;
        height: 20px;
    }
}
/*zoom 125%*/
@media (min-resolution: 1.2dppx) and (max-resolution: 1.3dppx) {

    /* ---- Services Mega Menu (125%) ---- */
    .svc-mega-center {
        padding: 20px;
    }

    .svc-left-heading {
        padding: 4px 17px 0;
    }

    .service-mega-menu {
        width: 1000px;
        height: 380px;
        max-height: 380px;
    }

    .svc-mega-left {
        width: 280px;
    }

    .svc-mega-center {
        padding: 15px;
    }

    .svc-mega-right {
        width: 280px;
        padding: 12px 10px;
    }

    .svc-stream-label {
        font-size: 15px;
    }

    .svc-stream-item {
        padding: 5px 10px;
    }

    .svc-card-name {
        font-size: 13px;
    }

    .svc-card {
        padding: 5px;
    }

    .svc-center-title {
        font-size: 17px;
    }

    .svc-stream-item {
        display: flex;
        align-items: center;
        gap: 11px;
        width: 100%;
        box-sizing: border-box;
        padding: 5px 14px;
    }

    .svc-info-topic h5 {
        font-size: 15px;
        font-weight: 500;
    }

    .svc-info-desc {
        font-size: 13px;
    }

    .svc-info-topic {
        margin-bottom: 10px;
    }

        .svc-info-topic h5 {
            margin-bottom: 5px;
        }

    .svc-tech-wrapper h5 {
        font-size: 16px;
        font-weight: 500;
        color: #0d1f3c;
        margin-bottom: 5px;
        margin-top: 0px;
    }

    .svc-tech-wrapper ul li {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
    }

    .svc-website-type p {
        font-size: 14px;
    }
    .svc-tech-wrapper ul {
        gap: 0px;
    }
    .svc-stream-arrow {
        width: 20px;
        height: 20px;
    }
    .svc-blog-readmore {
        padding: 10px 24px;
    }
}