/* =====================================================================
   FONTS
   ===================================================================== */
@font-face {
    font-family: 'True North Rough';
    src: url('/frontend/fonts/True-North-Rough-Black-W01-Rg.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/*@font-face {*/
/*    font-family: 'Google Sans Flex';*/
/*    src: url('/frontend/fonts/GoogleSansFlex_24pt-Regular.ttf') format('truetype');*/
/*    font-weight: 400;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

@font-face {
    font-family: 'Google Sans Flex';
    src: url('/frontend/fonts/GoogleSansFlex_24pt-Medium.ttf') format('truetype');
    font-weight: 500 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-head: 'True North Rough', sans-serif;
    --font-body: 'Google Sans Flex', sans-serif;

    /* Homepage CSS wala hi scale (dono files me same value rakho) */
    --vw: min(1vw, 16px);

    /* Header + footer + homepage sabka same container */
    --site-max: 1280px;
    --site-gutter: clamp(16px, calc(2.5 * var(--vw)), 48px);
}

body {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 400;
    font-synthesis: none;
}

/* =====================================================================
   HEADER  (prefix: mn-)
   ===================================================================== */

.mn-header {
    --mn-navy: #002e5d;
    --mn-ink: #0f1c3f;
    --mn-pink: #d23577;
    --mn-pink-dark: #d01363;
    --mn-text: #000;
    --mn-top-h: 50px;
    --mn-bar-h: 80px;
    --mn-logo-hang: 46px;
    --mn-logo-w: 125px;
    --mn-ease: cubic-bezier(.22, 1, .36, 1);

    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: var(--font-body);
}

.mn-header *, .mn-header *::before, .mn-header *::after { box-sizing: border-box; }
.mn-header a { text-decoration: none; }
.mn-header ul { list-style: none; margin: 0; padding: 0; }
.mn-header button { font-family: inherit; }
.mn-header :focus-visible { outline: 2px solid var(--mn-pink); outline-offset: 3px; }

/* Header ke headings -> True North */
.mn-panel__title,
.mn-mega__card h3,
.mn-panel__list--lg a {
    font-family: var(--font-head);
    font-weight: 400;
    font-synthesis: none;
}

.mn-mega__title{
     font-family: var(--font-head);
}

/* Container: homepage (.mh-container, .wd-inner etc.) jaisa hi */
.mn-container {
    width: 100%;
    max-width: calc(var(--site-max) + 2 * var(--site-gutter));
    margin-inline: auto;
    padding-inline: var(--site-gutter);
}

/* ---------------- Top bar ---------------- */
.mn-top {
    position: relative;
    z-index: 2;
    height: var(--mn-top-h);
    background: var(--mn-navy);
    color: #fff;
}

.mn-top__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mn-campus {
    display: inline-flex;
    border: 1.5px solid #fff;
    border-radius: 999px;
    overflow: hidden;
}

.mn-campus__tab {
    display: flex;
    align-items: center;
    height: 23px;
    padding: 0 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
    transition: background-color .25s ease;
}

.mn-campus__tab:hover { background: #d01363; color: #fff; }
.mn-campus__tab.is-active { background: var(--mn-pink); color: #fff; }

/* Ek tab par hover/focus karo to doosre (active) tab ka background transparent ho jaye */
.mn-campus:hover .mn-campus__tab.is-active:not(:hover),
.mn-campus:focus-within .mn-campus__tab.is-active:not(:focus-visible) { background: transparent; }

.mn-top__links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.mn-top__link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #d3dcf1;
    transition: color .2s ease;
}

.mn-top__link:hover { color: #fff; }

.mn-social { display: flex; align-items: center; gap: 10px; }

.mn-social__btn {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--mn-navy);
    transition: transform .25s var(--mn-ease), background-color .2s ease, color .2s ease;
}

.mn-social__btn svg { width: 14px; height: 14px; display: block; }
.mn-social__btn:hover { background: var(--mn-pink); color: #fff; transform: translateY(-2px); }

/* ---------------- Main bar ---------------- */
.mn-bar {
    position: relative;
    z-index: 2;
    height: var(--mn-bar-h);
    background: #fff;
}

.mn-bar__inner {
    height: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: clamp(16px, calc(2 * var(--vw)), 40px);
}

/* Logo card — bar se neeche hero par latakta hai */
.mn-logo {
    position: relative;
    align-self: stretch;
    width: var(--mn-logo-w);
    transition: width .5s var(--mn-ease);
}

.mn-logo__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(var(--mn-bar-h) + var(--mn-logo-hang));
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 12px 22px -12px rgba(11, 42, 102, .35);
    transition:
        height .5s var(--mn-ease),
        padding .5s var(--mn-ease),
        box-shadow .5s var(--mn-ease);
}

.mn-logo__link img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* Menu / mega open hone par logo compact: hanging khatam, card chhota, shadow off */
.mn-header.is-menu-open,
.mn-header.is-mega-open {
    --mn-logo-hang: 0px;
    --mn-logo-w: 104px;
}

.mn-header.is-menu-open .mn-logo__link,
.mn-header.is-mega-open .mn-logo__link {
    padding: 8px;
    box-shadow: none;
}

.mn-nav { display: flex; justify-content: center; min-width: 0; }

.mn-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(18px, calc(1.6 * var(--vw)), 28px);
}

.mn-nav__link {
    position: relative;
    display: block;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    color: var(--mn-text);
    transition: color .2s ease;
}

.mn-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;
    height: 2px;
    border-radius: 2px;
    background: var(--mn-pink);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s var(--mn-ease);
}

.mn-nav__link:hover, .mn-nav__link.is-active { color: var(--mn-pink); }
.mn-nav__link:hover::after, .mn-nav__link.is-active::after { transform: scaleX(1); }

.mn-actions { display: flex; align-items: center; gap: 14px; }

.mn-enquire {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 35px;
    padding: 0 15px;
    border-radius: 999px;
    background: var(--mn-pink);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 6px 14px -6px rgba(238, 35, 119, .7);
    transition: background-color .2s ease, transform .25s var(--mn-ease);
}

.mn-enquire svg { width: 12px; height: 12px; transition: transform .25s var(--mn-ease); }
.mn-enquire:hover { background: var(--mn-pink-dark); color: #fff; }
.mn-enquire:hover svg { transform: translateX(3px); }

/* Hamburger -> X */
.mn-burger {
    position: relative;
    flex: none;
    width: 40px;
    height: 38px;
    border: 0;
    border-radius: 9px;
    background: var(--mn-ink);
    cursor: pointer;
    transition: background-color .2s ease;
}

.mn-burger:hover { background: var(--mn-navy); }

.mn-burger span {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .45s var(--mn-ease), opacity .2s ease;
}

.mn-burger span:nth-child(1) { top: 12px; }
.mn-burger span:nth-child(2) { top: 18px; }
.mn-burger span:nth-child(3) { top: 24px; }

.mn-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mn-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mn-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- Drop-down panel (top -> bottom) ---------------- */
.mn-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 3;
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows .65s var(--mn-ease), visibility 0s linear .65s;
}

.mn-panel.is-open {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows .65s var(--mn-ease), visibility 0s;
}

.mn-panel__clip { min-height: 0; overflow: hidden; }

.mn-panel__body {
    max-height: calc(100vh - var(--mn-head-h, 148px));
    max-height: calc(100dvh - var(--mn-head-h, 148px));
    overflow-y: auto;
    padding: 44px 0 52px;
    background: var(--mn-navy);
    color: #fff;
}

.mn-panel__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: clamp(24px, calc(3 * var(--vw)), 56px);
}

.mn-panel__title {
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    font-size: 13px;
    color: #ff8fbd;
}

.mn-panel__list { display: grid; gap: 10px; }
.mn-panel__list a, .mn-panel__contact a:not(.mn-enquire) { color: #fff; transition: color .2s ease; }
.mn-panel__list a:hover, .mn-panel__contact a:not(.mn-enquire):hover { color: #ff8fbd; }
.mn-panel__list a { font-size: 15px; font-weight: 500; }
.mn-panel__list--lg a { font-size: 22px; line-height: 1.3; }

.mn-panel__contact p:not(.mn-panel__title) {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.55;
    color: #cdd7ee;
}

.mn-enquire--panel { margin-top: 10px; }

/* Panel items thoda-thoda karke andar aate hain */
.mn-panel__body [data-reveal] {
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease;
}

.mn-panel.is-open [data-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity .5s ease, transform .7s var(--mn-ease);
    transition-delay: calc(var(--i, 0) * 70ms + 180ms);
}

/* Backdrop */
.mn-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(8, 16, 40, .5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s ease;
}

.mn-header.is-menu-open .mn-backdrop { opacity: 1; pointer-events: auto; }

/* ---------------- Hide on scroll down / show on scroll up ---------------- */
.mn-header {
    transition: transform .45s var(--mn-ease);
}

.mn-header.is-hidden {
    transform: translateY(calc(-100% - var(--mn-logo-hang) - 12px));
}

/* ---------------- Header shadow: scroll-up par wapas aane par ----------------
   JS se .is-stuck class lagti hai jab header scroll-up par wapas aata hai
   (page top par nahi). Shadow top bar + main bar ke bottom edge par aati hai. */
.mn-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: calc(var(--mn-top-h) + var(--mn-bar-h));
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 10px 24px -8px rgba(0, 30, 70, .28);
    opacity: 0;
    transition: opacity .3s ease;
}

.mn-header.is-stuck::after { opacity: 1; }

/* Menu / mega open ho to shadow nahi (unka apna shadow hai) */
.mn-header.is-menu-open::after,
.mn-header.is-mega-open::after { opacity: 0; }

/* ---------------- Mega menu (hover) — sirf desktop ---------------- */
.mn-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 3;
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows .45s var(--mn-ease), visibility 0s linear .45s;
}

.mn-mega.is-open {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows .45s var(--mn-ease), visibility 0s;
}

.mn-mega__clip {
    min-height: 0;
    overflow: hidden;
    box-shadow: 0 28px 40px -26px rgba(11, 42, 102, .4);
}

.mn-mega__stage {
    display: grid;
    background: #fff;
    border-top: 1px solid #e6ebf5;
}

.mn-mega__panel {
    grid-area: 1 / 1;
    padding: 36px 0 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .3s var(--mn-ease), visibility 0s linear .2s;
}

.mn-mega__panel.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .35s ease .08s, transform .5s var(--mn-ease) .08s, visibility 0s;
}

.mn-mega__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.15fr;
    gap: clamp(24px, calc(3 * var(--vw)), 56px);
    align-items: start;
}

.mn-mega__title {
    margin: 0 0 16px;
    font-size: 12.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mn-pink);
}

.mn-mega__list { display: grid; gap: 4px; }

.mn-mega__list a {
    display: block;
    padding: 7px 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: #33436b;
    transition: color .2s ease, transform .25s var(--mn-ease);
}

.mn-mega__list a span { margin-left: 6px; font-size: 13px; color: #8591ad; }
.mn-mega__list a:hover { color: var(--mn-pink); transform: translateX(4px); }

.mn-mega__card {
    padding: 24px 26px 26px;
    border: 1px solid rgba(238, 35, 119, .18);
    border-radius: 14px;
    background: #fff1f7;
}

.mn-mega__card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--mn-ink);
}

.mn-mega__card p {
    margin: 0 0 18px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #5a6788;
}

/* Jis nav item ka mega khula ho wo active dikhe */
.mn-nav__link.is-open { color: var(--mn-pink); }
.mn-nav__link.is-open::after { transform: scaleX(1); }

/* ---------------- Responsive ---------------- */

/* Zoom 125% / 150% (viewport ~1536 / ~1280) */
@media (max-width: 1360px) {
    .mn-nav__list { gap: 18px; }
    .mn-nav__link { font-size: 12px; }
    .mn-top__links { gap: 18px; }
    .mn-mega__list a { font-size: 14px; }
    .mn-mega__card { padding: 20px; }
}

/* Is width se neeche nav links hamburger me, mega ki zaroorat nahi */
@media (max-width: 1200px) {
    .mn-nav { display: none; }
    .mn-actions { grid-column: 3; }
    .mn-mega { display: none; }
}

@media (max-width: 900px) {
    .mn-panel__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .mn-header { --mn-top-h: 48px; --mn-bar-h: 72px; --mn-logo-hang: 30px; --mn-logo-w: 104px; }
    .mn-header.is-menu-open,
    .mn-header.is-mega-open { --mn-logo-hang: 0px; --mn-logo-w: 80px; }
    .mn-header.is-menu-open .mn-logo__link,
    .mn-header.is-mega-open .mn-logo__link { padding: 6px; }
    .mn-top__phone, .mn-top__careers, .mn-social { display: none; }
    .mn-campus__tab { padding: 0 12px; font-size: 10.5px; }
    .mn-panel__body { padding: 28px 0 36px; }
}

@media (max-width: 480px) {
    .mn-enquire { padding: 0 14px; font-size: 12.5px; }
    .mn-enquire svg { display: none; }
    .mn-panel__grid { grid-template-columns: 1fr; }
    .mn-panel__list--lg a { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .mn-header *, .mn-header *::before, .mn-header *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}


/* =====================================================================
   FOOTER  (prefix: mf-)
   Images apni files se replace karne ke liye neeche wale 3 variables badlo.
   ===================================================================== */
.mf-footer {
    --mf-bg: #002e5d;
    --mf-accent: #4fd8dc;
    --mf-text: #f6f6f6;
    --mf-muted: rgba(255, 255, 255, .72);

    position: relative;
    overflow-x: clip;
    color: var(--mf-text);
}

.mf-footer *, .mf-footer *::before, .mf-footer *::after { box-sizing: border-box; }
.mf-footer a { color: inherit; text-decoration: none; }
.mf-footer ul { list-style: none; margin: 0; padding: 0; }
.mf-footer p { margin: 0; }
.mf-footer :focus-visible { outline: 2px solid var(--mf-accent); outline-offset: 3px; }

/* Container: homepage + header jaisa hi */
.mf-container {
    width: 100%;
    max-width: calc(var(--site-max) + 2 * var(--site-gutter));
    margin-inline: auto;
    padding-inline: var(--site-gutter);
}

/* ---------------- Cloud strip + bachche ---------------- */
.mf-cloud {
    --mf-wave-h: calc(10 * var(--vw));       /* wave ka visible hissa */
    --mf-kid: calc(15 * var(--vw));          /* mascot box size (GIF me transparent padding hai) */

    position: relative;
    z-index: 2;                              /* kids .mf-body ke upar dikhein */
    isolation: isolate;
    height: calc(var(--mf-wave-h) + var(--mf-kid) * .3);
    margin-bottom: -2px;
    /* white seam hataane ke liye neeche 4px navy patti */
    background: linear-gradient(to top, var(--mf-bg) 4px, transparent 4px);
}

/* Cloud layer - sirf wave wala hissa dikhta hai, neeche ka extra navy crop */
.mf-cloud::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: -6%;
    bottom: 0;
    width: 112%;                             /* slide me side gap na aaye */
    height: var(--mf-wave-h);
    background: var(--mf-cloud) center top / 100% auto no-repeat;
    pointer-events: none;
    will-change: transform;
    animation: mf-cloud-front 18s ease-in-out infinite alternate;
}

@keyframes mf-cloud-front {
    from { transform: translate3d(-5%, 0, 0); }
    to   { transform: translate3d(5%, 0, 0); }
}

.mf-kid {
    position: absolute;
    z-index: 2;
    bottom: calc(var(--mf-kid) * -.10);    
    width: var(--mf-kid);
    aspect-ratio: 1 / 1;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    pointer-events: none;
    animation: mf-kid-float 5s ease-in-out infinite alternate;
}

.mf-kid--left  { left: 0; background-image: var(--mf-kid-left); }
.mf-kid--right { right: 0; background-image: var(--mf-kid-right); animation-delay: -2.5s; }

@keyframes mf-kid-float {
    from { transform: translateY(0); }
    to   { transform: translateY(-6px); }
}

/* ---------------- Body ---------------- */
.mf-body {
    position: relative;
    z-index: 1;
    background: var(--mf-bg);
    padding: clamp(10px, calc(1.5 * var(--vw)), 28px) 0 25px;
}

.mf-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.25fr 1.2fr 1fr;
    column-gap: clamp(20px, calc(2.2 * var(--vw)), 40px);
    row-gap: 40px;
    align-items: start;
}

.mf-grid > * { min-width: 0; }

.mf-logo { display: inline-block; width: clamp(150px, calc(12 * var(--vw)), 200px); }
.mf-logo img { width: 100%; height: auto; display: block; }

.mf-links { display: grid; gap: 3px; }

.mf-links a, .mf-contact a {
    display: inline-block;
    padding: 2px 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;                 /* lambe email/links bahar na jayein */
    transition: color .2s ease;
}

.mf-links a:hover, .mf-contact a:hover { color: var(--mf-accent); }

.mf-contact { display: grid; gap: 3px; }

.mf-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 0 20px;
    margin-top: 42px;
    border-radius: 999px;
    background: #fff;
    color: var(--mf-bg);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, transform .25s cubic-bezier(.22, 1, .36, 1);
}

.mf-footer a.mf-cta { color: var(--mf-bg); }
.mf-footer a.mf-cta:hover { background: var(--mf-accent); color: var(--mf-bg); transform: translateY(-2px); }

.mf-footer .mf-campus-note {
    margin-top: 64px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.mf-campus-note a {
    color: var(--mf-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------------- Bottom bar ---------------- */
.mf-bottom {
    background: var(--mf-bg);
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 28px 0;
}

.mf-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 24px;
    font-size: 14.5px;
}

.mf-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; }
.mf-legal li + li::before { content: "|"; margin-right: 16px; color: rgba(255, 255, 255, .55); }
.mf-legal a:hover, .mf-credit a:hover { color: var(--mf-accent); }
.mf-credit strong { font-weight: 800; }

/* ---------------- Floating chat + WhatsApp ---------------- */
.mf-float {
    position: fixed;
    right: clamp(14px, calc(2 * var(--vw)), 40px);
    bottom: clamp(16px, 4vh, 48px);
    z-index: 900;
    display: grid;
    gap: 18px;
    justify-items: center;
}

.mf-float__btn {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}

.mf-float__btn:hover { transform: scale(1.08); }
.mf-float__btn svg { width: 30px; height: 30px; display: block; }

/* Chat icon: pink + white ring => white aur navy dono background par dikhta hai */
.mf-float__chat {
    background: #d23577;
    color: #ffffff;
    box-shadow: 0 0 0 2px #ffffff, 0 8px 18px -6px rgba(0, 20, 50, .55);
}
.mf-float__chat:hover { background: #d01363; }

.mf-float__wa {
    background: #25d366;
    color: #fff;
    box-shadow: 0 0 0 2px #ffffff, 0 8px 18px -6px rgba(0, 20, 50, .45);
}

/* Floating buttons credit text ke upar na aayein */
.mf-footer .mf-credit { padding-right: 72px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

/* Large laptop / zoom 125% */
@media (max-width: 1360px) {
    .mf-links a, .mf-contact a { font-size: 14px; }
    .mf-cta { padding: 12px 22px; font-size: 12px; white-space: normal; letter-spacing: .1em; }
}

/* Tablet landscape */
@media (max-width: 1100px) {
    .mf-grid { grid-template-columns: 1fr 1fr 1fr; }
    .mf-brand { grid-column: 1 / -1; }
    .mf-contact-col { grid-column: 1 / -1; }
    .mf-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
    .mf-cta { margin-top: 24px; }
    .mf-footer .mf-campus-note { margin-top: 48px; }
}

/* Tablet portrait / large phone */
@media (max-width: 768px) {
    .mf-body { padding-bottom: 44px; }
    .mf-bottom { padding: 24px 0; }
    .mf-bottom__inner { font-size: 14px; }
}

/* Phone */
@media (max-width: 640px) {
    .mf-cloud { --mf-wave-h: 14vw; --mf-kid: 40vw; }
    .mf-kid--left  { left: -4%; }
    .mf-kid--right { right: -4%; }
    .mf-kid {
        aspect-ratio: 3 / 2;
    }

    .mf-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
    .mf-grid > ul:nth-of-type(3),
    .mf-links--wide { grid-column: 1 / -1; }

    /* bade tap targets */
    .mf-links { gap: 0; }
    .mf-links a, .mf-contact a { padding: 6px 0; }
    .mf-contact { grid-template-columns: 1fr; }
    .mf-cta { width: 100%; min-height: 52px; }

    .mf-footer .mf-campus-note { margin-top: 36px; font-size: 14px; }

    .mf-bottom__inner { flex-direction: column; align-items: flex-start; }
    .mf-legal { gap: 4px 18px; }
    .mf-legal li + li::before { display: none; }   /* wrap hone par "|" line ke start me na aaye */
    .mf-footer .mf-credit { padding-right: 60px; font-size: 13.5px; line-height: 1.6; }

    .mf-float { gap: 12px; }
    .mf-float__btn { width: 48px; height: 48px; }
    .mf-float__btn svg { width: 26px; height: 26px; }
}

/* Small phone */
@media (max-width: 440px) {
    .mf-grid { grid-template-columns: 1fr; }
    .mf-grid > ul:nth-of-type(3),
    .mf-links--wide { grid-column: auto; }
}

/* Motion kam karna ho to sab animation band */
@media (prefers-reduced-motion: reduce) {
    .mf-footer *, .mf-footer *::before, .mf-footer *::after {
        transition-duration: .01ms !important;
        animation: none !important;
    }
}



/* =====================================================================
   NAVIGATION SPEC UPDATES (header + footer)
   ===================================================================== */

/* ---------------- Skip link ---------------- */
.mn-skip {
    position: fixed;
    left: 12px;
    top: -60px;
    z-index: 2000;
    padding: 12px 18px;
    border-radius: 8px;
    background: #fff;
    color: #002e5d;
    font-weight: 600;
    text-decoration: none;
    transition: top .2s ease;
}
.mn-skip:focus { top: 12px; outline: 2px solid #d23577; outline-offset: 2px; }

/* ---------------- Header: nav ab buttons hain ---------------- */
.mn-nav button.mn-nav__link {
    border: 0;
    background: none;
    cursor: pointer;
    font-family: inherit;
}
button.mn-enquire { border: 0; cursor: pointer; font-family: var(--font-body); }
.mn-enquire--ghost {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .7);
    box-shadow: none;
}
.mn-enquire--ghost:hover { background: rgba(255, 255, 255, .14); }

/* Active page link (aria-current) */
.mn-mega__list a[aria-current="page"],
.mn-acc__list a[aria-current="page"] { color: var(--mn-pink); font-weight: 600; }

/* ---------------- Mega: compact (Contact help panel) ---------------- */
.mn-mega__panel--compact .mn-mega__grid { max-width: 1000px; }


/* ---------------- Hamburger panel ---------------- */
.mn-panel__body {
    padding: 36px 0 calc(52px + env(safe-area-inset-bottom, 0px));
    overscroll-behavior: contain;
}
.mn-panel__wrap { max-width: 980px; display: grid; gap: 28px; }
.mn-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.mn-acc { border-top: 1px solid rgba(255, 255, 255, .18); }
.mn-acc__item { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.mn-acc__h { margin: 0; font-size: inherit; font-weight: inherit; }

.mn-acc__btn {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border: 0;
    background: none;
    color: #fff;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.3;
}
.mn-acc__btn:hover { color: #ff8fbd; }
.mn-acc__btn svg { flex: none; width: 16px; height: 16px; transition: transform .3s var(--mn-ease); }
.mn-acc__btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.mn-acc__body[hidden] { display: none; }
.mn-acc__groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px 32px;
    padding: 4px 0 24px;
}
.mn-acc__group {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    color: #ff8fbd;
}
.mn-acc__list { display: grid; gap: 0; }
.mn-acc__list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: #fff;
    transition: color .2s ease;
}
.mn-acc__list a:hover { color: #ff8fbd; }
.mn-acc__list a[aria-current="page"] { color: #ff8fbd; }

.mn-panel__list a { display: inline-flex; align-items: center; min-height: 44px; }
.mn-panel__list--row { display: flex; flex-wrap: wrap; gap: 0 22px; }
.mn-panel__list--row a { font-size: 14px; color: #cdd7ee; }
.mn-panel__util { padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .18); }

/* ---------------- Touch areas (mobile) ---------------- */
@media (max-width: 760px) {
    .mn-header { --mn-top-h: 56px; }
    /* .mn-campus__tab { height: 40px; } */
    /* .mn-enquire { height: 44px; } */
    .mn-burger { width: 40px; height: 40px; }
    .mn-burger span { left: 13px; right: 13px; }
    .mn-burger span:nth-child(1) { top: 15px; }
    .mn-burger span:nth-child(2) { top: 21px; }
    .mn-burger span:nth-child(3) { top: 27px; }
    .mn-acc__btn { font-size: 20px; }
    .mn-panel__actions .mn-enquire { flex: 1 1 100%; justify-content: center; }
}

/* ---------------- Floating controls: menu/dialog khula ho to hide ---------------- */
body:has(.mn-header.is-menu-open) .mf-float,
body:has(dialog[open]) .mf-float,
body:has([aria-modal="true"]:not([hidden])) .mf-float { display: none; }

/* ---------------- Footer ---------------- */
.mf-footer button.mf-cta { border: 0; cursor: pointer; font-family: inherit; }
.mf-footer button.mf-cta:hover { background: var(--mf-accent); transform: translateY(-2px); }
.mf-float__btn { border: 0; cursor: pointer; padding: 0; }

.mf-col { min-width: 0; }
.mf-col__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--mf-accent);
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 400;
    text-align: left;
    cursor: default;
}
.mf-col__head svg { display: none; width: 14px; height: 14px; transition: transform .3s ease; }

.mf-near { margin-top: 48px; text-align: center; }
.mf-near__title { margin-bottom: 8px; font-family: var(--font-head); font-size: 15px; color: var(--mf-accent); }
.mf-near__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.mf-near__list a { display: inline-block; padding: 4px 0; font-size: 13.5px; font-weight: 500; transition: color .2s ease; }
.mf-near__list a:hover { color: var(--mf-accent); }

@media (max-width: 1100px) {
    .mf-near { margin-top: 36px; }
}

/* Mobile footer accordions (sirf JS ke saath, warna sab khula rahega) */
@media (max-width: 768px) {
    .mf-footer.is-js .mf-col { border-bottom: 1px solid rgba(255, 255, 255, .15); }
    .mf-footer.is-js .mf-col__head { min-height: 0px; margin: 0; cursor: pointer; }
    .mf-footer.is-js .mf-col__head svg { display: block; }
    .mf-footer.is-js .mf-col.is-open .mf-col__head svg { transform: rotate(180deg); }
    .mf-footer.is-js .mf-col .mf-links { display: none; padding-bottom: 12px; }
    .mf-footer.is-js .mf-col.is-open .mf-links { display: grid; }
    .mf-near { text-align: left; }
    .mf-near__list { justify-content: flex-start; gap: 0 24px; }
    .mf-near__list a { padding: 10px 0; }
}

/* Mobile par grid pe puraane nth-of-type rules ab lagu nahi, columns full width */
@media (max-width: 640px) {
    .mf-grid > .mf-col { grid-column: 1 / -1; }
}

/* Config URL abhi set na ho to bhi tab/icons dikhen (bina href ke) */
.mn-campus__tab:not([href]),
.mn-social__btn:not([href]),
.mn-top__link:not([href]) { cursor: default; }

/* Footer: column headings desktop par sirf screen-reader ke liye (original design), mobile accordion me dikhte hain */
.mf-col__head {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
@media (max-width: 768px) {
    .mf-footer.is-js .mf-col__head {
        position: static;
        width: 100%;
        height: auto;
        margin: 0;
        overflow: visible;
        clip: auto;
        white-space: normal;
    }
}
/* "Explore near you": chhoti, shaant line */
.mf-near__title { font-family: var(--font-body); font-size: 13px; font-weight: 600; opacity: .75; color: var(--mf-text); }


/* =====================================================================
   FOOTER: "Visit our Greater Noida West campus" link
   Header ke campus tab jaisa white border wala pill
   ===================================================================== */
.mf-footer .mf-campus-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
}
.mf-footer .mf-campus-note a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 18px;
    border: 1.5px solid #14b8c4;
    border-radius: 999px;
    color: #14b8c4;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .25s ease;
}
.mf-footer .mf-campus-note a:hover { background: #14b8c4; color: #ffffff; }
.mf-footer .mf-campus-note a:not([href]) { cursor: default; }
@media (max-width: 768px) {
    .mf-footer .mf-campus-note a { min-height: 44px; }
}


/* =====================================================================
   MEGA MENU REDESIGN
   Left me navy card, uske saamne 3 columns, khulte hi stagger animation,
   zyada content ho to andar mouse se scroll
   ===================================================================== */
.mn-header .mn-mega__clip { box-shadow: 0 30px 50px -28px rgba(0, 30, 70, .45); }

.mn-header .mn-mega__stage {
    border-top: 3px solid var(--mn-pink);
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
    max-height: calc(100vh - var(--mn-head-h, 148px) - 16px);
    max-height: calc(100dvh - var(--mn-head-h, 148px) - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.mn-header .mn-mega__panel { padding: 40px 0 46px; }

.mn-header .mn-mega__grid {
    grid-template-columns: minmax(250px, 1.05fr) repeat(3, minmax(0, 1fr));
    gap: clamp(24px, calc(3 * var(--vw)), 56px);
    align-items: stretch;
}

/* Card left me, columns uske saamne (HTML order same rehta hai) */
.mn-header .mn-mega__card { grid-column: 1; grid-row: 1; }
.mn-header .mn-mega__col  { grid-row: 1; align-self: start; }
.mn-header .mn-mega__col:nth-of-type(1) { grid-column: 2; }
.mn-header .mn-mega__col:nth-of-type(2) { grid-column: 3; }
.mn-header .mn-mega__col:nth-of-type(3) { grid-column: 4; }

/* ---- Left card ---- */
.mn-header .mn-mega__card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 28px 28px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(160deg, #002e5d 0%, #0a4a85 100%);
    color: #ffffff;
}
.mn-header .mn-mega__card::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(210, 53, 119, .92);
}
.mn-header .mn-mega__card::after {
    content: "";
    position: absolute;
    left: -50px;
    bottom: -70px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(20, 184, 196, .35);
}
.mn-header .mn-mega__card > * { position: relative; z-index: 1; }

.mn-header .mn-mega__card h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(24px, calc(2 * var(--vw)), 30px);
    line-height: 1;
    text-transform: uppercase;
}
.mn-header .mn-mega__card h3::before {
    content: "Explore";
    display: block;
    margin-bottom: 10px;
    color: #ff8fbd;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
}
.mn-header .mn-mega__card p {
    margin: 0 0 26px;
    color: rgba(255, 255, 255, .84);
    font-size: 14px;
    line-height: 1.55;
}
.mn-header .mn-mega__card .mn-enquire {
    margin-top: auto;
    height: 42px;
    padding: 0 20px;
    background: #ffffff;
    color: #002e5d;
    box-shadow: none;
}
.mn-header .mn-mega__card .mn-enquire::after {
    content: "\2192";
    transition: transform .25s var(--mn-ease);
}
.mn-header .mn-mega__card .mn-enquire:hover { background: var(--mn-pink); color: #ffffff; }
.mn-header .mn-mega__card .mn-enquire:hover::after { transform: translateX(4px); }

/* ---- Columns ---- */
.mn-header .mn-mega__title {
    position: relative;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e3e9f3;
    font-size: 13px;
    letter-spacing: .12em;
}
.mn-header .mn-mega__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 32px;
    height: 3px;
    border-radius: 3px;
    background: var(--mn-pink);
}

.mn-header .mn-mega__list { gap: 2px; }

.mn-header .mn-mega__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-inline: -12px;
    padding: 9px 12px;
    border-radius: 10px;
    color: #1d3557;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    transform: none;
    transition: background-color .2s ease, color .2s ease;
}
.mn-header .mn-mega__list a::after {
    content: "";
    flex: none;
    width: 13px;
    height: 13px;
    background: currentColor;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity .25s ease, transform .3s var(--mn-ease);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h8M6.5 2.5 10 6l-3.5 3.5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h8M6.5 2.5 10 6l-3.5 3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mn-header .mn-mega__list a:hover,
.mn-header .mn-mega__list a:focus-visible { background: #fff1f7; color: var(--mn-pink); transform: none; }
.mn-header .mn-mega__list a:hover::after,
.mn-header .mn-mega__list a:focus-visible::after { opacity: 1; transform: none; }
.mn-header .mn-mega__list a[aria-current="page"] { color: var(--mn-pink); font-weight: 700; }

/* ---- Panel khulte hi card + columns ek ek karke upar aate hain ---- */
@keyframes mn-mega-rise {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}
.mn-header .mn-mega__panel.is-active .mn-mega__card,
.mn-header .mn-mega__panel.is-active .mn-mega__col {
    animation: mn-mega-rise .55s var(--mn-ease) both;
}
.mn-header .mn-mega__panel.is-active .mn-mega__card                { animation-delay: .06s; }
.mn-header .mn-mega__panel.is-active .mn-mega__col:nth-of-type(1)  { animation-delay: .14s; }
.mn-header .mn-mega__panel.is-active .mn-mega__col:nth-of-type(2)  { animation-delay: .20s; }
.mn-header .mn-mega__panel.is-active .mn-mega__col:nth-of-type(3)  { animation-delay: .26s; }

.mn-header .mn-mega__panel--compact .mn-mega__grid { max-width: 1100px; }


/* =====================================================================
   ENQUIRY / VISIT DIALOG  (prefix: ef-)
   Rules: name / mobile / DOB / programme required, email optional,
   consent shuru me untick.
   ===================================================================== */
html:has(.ef-dialog[open]) { overflow: hidden; }

.ef-dialog {
    --ef-navy: #002e5d;
    --ef-pink: #d23577;
    --ef-teal: #14b8c4;
    --ef-ink: #17384c;
    --ef-ease: cubic-bezier(.22, 1, .36, 1);

    width: min(580px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: #ffffff;
    color: var(--ef-ink);
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0, 20, 50, .6);
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
}
.ef-dialog *, .ef-dialog *::before, .ef-dialog *::after { box-sizing: border-box; }
.ef-dialog[open] { display: flex; flex-direction: column; animation: ef-pop .4s var(--ef-ease); }
.ef-dialog::backdrop { background: rgba(0, 20, 40, .72); backdrop-filter: blur(3px); }
.ef-dialog :focus-visible { outline: 2px solid var(--ef-pink); outline-offset: 3px; }
@keyframes ef-pop {
    from { opacity: 0; transform: translateY(18px) scale(.97); }
    to   { opacity: 1; transform: none; }
}

/* ---- Head ---- */
.ef-head {
    position: relative;
    flex: none;
    overflow: hidden;
    padding: 30px 72px 26px 30px;
    background: var(--ef-navy);
    color: #ffffff;
}
.ef-head::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--ef-pink);
    pointer-events: none;
}
.ef-head > * { position: relative; z-index: 1; }

.ef-eyebrow {
    margin: 0;
    color: #ff8fbd;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.ef-title {
    margin: 8px 0 0;
    font-size: clamp(26px, 5vw, 32px);
    line-height: 1;
    text-transform: uppercase;
    color: #ffffff;
}
.ef-squiggle { display: block; width: 150px; height: 10px; margin-top: 12px; overflow: visible; }
.ef-squiggle path { fill: none; stroke: #ff8fbd; stroke-width: 3.5; stroke-linecap: round; }
.ef-sub { margin: 12px 0 0; max-width: 40ch; color: rgba(255, 255, 255, .85); font-size: 14px; line-height: 1.5; }

.ef-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: var(--ef-navy);
    cursor: pointer;
    transition: transform .25s var(--ef-ease);
}
.ef-close svg { width: 16px; height: 16px; }
.ef-close:hover { transform: scale(1.08) rotate(90deg); }

/* ---- Body / form ---- */
.ef-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 26px 30px 30px;
}
.ef-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.ef-form[hidden], .ef-done[hidden], .ef-alert[hidden], .ef-err[hidden] { display: none; }

.ef-field { display: grid; align-content: start; gap: 6px; min-width: 0; }
.ef-field--full { grid-column: 1 / -1; }

.ef-field label { color: var(--ef-navy); font-size: 13px; font-weight: 700; line-height: 1.3; }
.ef-req { margin-left: 2px; color: var(--ef-pink); }
.ef-opt { margin-left: 6px; color: #6b7a8a; font-size: 12px; font-weight: 500; }

.ef-field input,
.ef-field select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1.5px solid #d5dce6;
    border-radius: 12px;
    background-color: #ffffff;
    color: var(--ef-ink);
    font: inherit;
    font-size: 16px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.ef-field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23002e5d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
}
.ef-field input:focus,
.ef-field select:focus {
    outline: none;
    border-color: var(--ef-navy);
    box-shadow: 0 0 0 4px rgba(20, 184, 196, .22);
}
.ef-field [aria-invalid="true"] { border-color: #c62828; background-color: #fff8f8; }
.ef-field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(198, 40, 40, .15); }

.ef-err { margin: 0; color: #b3261e; font-size: 12.5px; font-weight: 600; line-height: 1.35; }

.ef-check {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f4f7fb;
    color: var(--ef-ink);
    font-size: 13.5px;
    line-height: 1.45;
    cursor: pointer;
}
.ef-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ef-navy); cursor: pointer; }

.ef-alert {
    grid-column: 1 / -1;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fdecea;
    color: #8c1d18;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.45;
}

.ef-submit {
    grid-column: 1 / -1;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: var(--ef-pink);
    color: #ffffff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 20px -10px rgba(210, 53, 119, .8);
    transition: background-color .2s ease, transform .25s var(--ef-ease);
}
.ef-submit:hover { background: #d01363; transform: translateY(-2px); }
.ef-submit[disabled] { opacity: .7; cursor: progress; transform: none; }

.ef-note { grid-column: 1 / -1; margin: -4px 0 0; text-align: center; color: #6b7a8a; font-size: 12px; }

/* Honeypot (spam) */
.ef-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Success ---- */
.ef-done { display: grid; justify-items: center; gap: 12px; padding: 18px 0 6px; text-align: center; }
.ef-done:focus { outline: none; }
.ef-done__icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ef-teal);
    color: #ffffff;
}
.ef-done__icon svg { width: 32px; height: 32px; }
.ef-done__title { margin: 6px 0 0; color: var(--ef-navy); font-size: 28px; line-height: 1; text-transform: uppercase; }
.ef-done__text { margin: 0; max-width: 34ch; font-size: 15px; line-height: 1.55; }
.ef-done__btn {
    min-height: 48px;
    margin-top: 10px;
    padding: 0 30px;
    border: 0;
    border-radius: 999px;
    background: var(--ef-navy);
    color: #ffffff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s ease;
}
.ef-done__btn:hover { background: var(--ef-teal); }

@media (max-width: 520px) {
    .ef-dialog { border-radius: 18px; }
    .ef-head { padding: 24px 64px 20px 20px; }
    .ef-body { padding: 22px 20px 26px; }
    .ef-form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .mn-header .mn-mega__panel * { animation: none !important; }
    .ef-dialog, .ef-dialog * { animation: none !important; transition-duration: .01ms !important; }
}

/* Hamburger accordion headings: chhote */
.mn-acc__btn { min-height: 48px; font-size: 17px; padding: 8px 0; }
.mn-acc__btn svg { width: 14px; height: 14px; }

@media (max-width: 760px) { .mn-acc__btn { font-size: 16px; } }
@media (max-width: 480px) { .mn-acc__btn { font-size: 15px; } }


/* Hamburger > Contact: extra links ka compact layout */
.mn-acc__extra {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
    padding-top: 18px;
    border-top: 1px dashed rgba(255, 255, 255, .22);
}
.mn-acc__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.mn-acc__chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1.5px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: background-color .2s ease, border-color .2s ease;
}
.mn-acc__chip:hover { background: var(--mn-pink); border-color: var(--mn-pink); color: #fff; }

.mn-acc__mini { display: flex; flex-wrap: wrap; gap: 0 20px; }
.mn-acc__mini a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: #cdd7ee;
    font-size: 13px;
    font-weight: 500;
    transition: color .2s ease;
}
.mn-acc__mini a:hover { color: #ff8fbd; }