
/* ==========================================
   MSME CHAMPIONS — HEADER DESIGN
========================================== */

:root {
    --mc-navy: #013C9F;
    --mc-navy-dark: #052b50;
    --mc-blue: #1a66c8;
    --mc-blue-og: #013C9F;
    --mc-blue-og-dark: #013C9F;
    --mc-gold: #f5b51b;
    --mc-text: #14346b;
    --mc-muted: #5f7490;
    --mc-border: #e8edf1;
    --mc-white: #ffffff;
    --mc-hex-cut: 11px;

    --mc-font-head: "Poppins", "Segoe UI", Arial, sans-serif;
    --mc-font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

/* Global safety: prevent overflow at any zoom */
.mc-header,
.mc-disclaimer {
    max-width: 100%;
    overflow-x: clip;
}

.mc-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background: var(--mc-white);
    font-family: var(--mc-font-body);
}

.mc-header *,
.mc-disclaimer * {
    box-sizing: border-box;
}


/* ==========================================
   TOP ANNOUNCEMENT BAR — AUTO MARQUEE
========================================== */

.mc-topbar {
    min-height: 42px;
    color: #fff;
    background: linear-gradient(105deg, #003287 0%, #022467 55%, #013C9F 100%);
}

.mc-topbar-inner {
    width: 100%;
    min-height: 42px;
    padding: 0 3.5%;
    display: flex;
    align-items: center;
    gap: 22px;
}

.mc-announcement {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    gap: 16px;
}

.mc-announcement-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 24px;
    padding-right: 18px;
    color: var(--mc-gold);
    font-size: 15px;
    border-right: 1px solid rgba(255, 255, 255, .28);
}

.mc-announce-window {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    height: 24px;
    overflow: hidden;
}

.mc-announce-track {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    will-change: transform;
    animation: mc-marquee 40s linear infinite;
}

.mc-announce-item {
    display: inline-block;
    padding-right: 46px;
    color: #fff;
    font-family: var(--mc-font-body);
    font-size: 13px;
    line-height: 24px;
    font-weight: 500;
    letter-spacing: .15px;
}

.mc-announce-item strong {
    color: #ffda6b;
    font-weight: 700;
}

.mc-announce-sep {
    display: inline-block;
    margin: 0 12px;
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
}

.mc-announce-link {
    margin-left: 6px;
    color: var(--mc-gold) !important;
    font-weight: 500;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.mc-announce-link:hover {
    color: #ffe08a !important;
}

.mc-announce-link i {
    font-size: 12px;
}

.mc-announce-window:hover .mc-announce-track {
    animation-play-state: paused;
}

@keyframes mc-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


/* Business hours */

.mc-business-hours {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    color: rgba(255, 255, 255, .96);
    font-family: var(--mc-font-body);
    font-size: 12.5px;
    font-weight: 500;
}

.mc-business-hours i {
    color: #fff;
    font-size: 14px;
}


/* ==========================================
   MAIN NAVIGATION
========================================== */

.mc-navbar-wrap {
    width: 100%;
    background: linear-gradient(90deg, var(--mc-blue) 0%, var(--mc-navy) 18%, var(--mc-blue-og-dark) 82%, var(--mc-blue-og) 100%);
}

.mc-navbar-shape {
    background: #fff;
    clip-path: polygon(0 0, 100% 0, calc(100% - 34px) 100%, 34px 100%);
}

.mc-navbar-container {
    padding: 0 calc(2% + 20px);
}

.mc-navbar {
    position: relative;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}


/* LOGO */

.mc-brand {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    text-decoration: none !important;
    min-width: 0;
}

.mc-brand-logo {
    display: block;
    width: auto;
    max-width: 160px;
    max-height: 58px;
    object-fit: contain;
}


/* NAVIGATION WRAPPER — pushed fully right, tight gaps */

.mc-navigation {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 35px;
}

.mc-nav-list {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;              /* ← tighter gap between tabs */
    list-style: none;
    padding: 0;
    margin: 0;
}

.mc-nav-list li {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}


/* ==========================================
   HEXAGON LINK SHAPE
========================================== */

.mc-hex {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 14px;       /* ← tighter horizontal padding */
    color: var(--mc-text);
    font-family: var(--mc-font-head);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .1px;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none !important;
    background: transparent;
    clip-path: polygon(
        var(--mc-hex-cut) 0,
        calc(100% - var(--mc-hex-cut)) 0,
        100% 50%,
        calc(100% - var(--mc-hex-cut)) 100%,
        var(--mc-hex-cut) 100%,
        0 50%
    );
    transition: color .2s ease, background .2s ease;
}

.mc-hex:hover {
    color: var(--mc-blue-og-dark);
    background: #eaf5ef;
}

.mc-hex.active {
    color: #fff;
    font-weight: 600;
    background: var(--mc-blue-og);
}

.mc-hex.active:hover {
    color: #fff;
    background: var(--mc-blue-og-dark);
}

.mc-hex i {
    font-size: 14px;
}


/* Outlined variant */

.mc-hex-outline {
    color: var(--mc-blue-og-dark) !important;
    font-weight: 600;
    background: var(--mc-blue-og);
}

.mc-hex-outline::before {
    position: absolute;
    inset: 1.5px;
    z-index: -1;
    content: "";
    background: #fff;
    clip-path: polygon(
        var(--mc-hex-cut) 0,
        calc(100% - var(--mc-hex-cut)) 0,
        100% 50%,
        calc(100% - var(--mc-hex-cut)) 100%,
        var(--mc-hex-cut) 100%,
        0 50%
    );
    transition: background .2s ease;
}

.mc-hex-outline:hover {
    color: #fff !important;
    background: var(--mc-blue-og);
}

.mc-hex-outline:hover::before {
    background: var(--mc-blue-og);
}

.mc-register-button {
    min-height: 44px;
    padding: 0 20px;
    font-size: 13.5px;
    flex: 0 0 auto;
}

.mc-register-button .fa-long-arrow-right {
    transition: transform .2s ease;
}

.mc-register-button:hover .fa-long-arrow-right {
    transform: translateX(3px);
}

.mc-hex:focus-visible {
    outline: 2px solid var(--mc-blue);
    outline-offset: 2px;
}


/* ==========================================
   STATIC DISCLAIMER
========================================== */

.mc-disclaimer {
    position: relative;
    z-index: 1;
    width: 100%;
    background: #fffaf0;
    border-bottom: 1px solid #f1e7d2;
    font-family: var(--mc-font-body);
}

.mc-disclaimer-inner {
    min-height: 52px;
    padding: 8px 4.5%;
    display: flex;
    align-items: center;
    gap: 17px;
}

.mc-disclaimer-label {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    color: var(--mc-navy);
    background: #fff0c8;
    border-left: 3px solid var(--mc-gold);
    border-radius: 3px;
    font-family: var(--mc-font-head);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .2px;
    white-space: nowrap;
}

.mc-disclaimer-label i {
    color: #a87300;
    font-size: 13px;
}

.mc-disclaimer p {
    margin: 0;
    color: #536174;
    font-size: 12px;
    line-height: 1.7;
}

.mc-disclaimer p strong {
    color: var(--mc-navy);
    font-weight: 700;
}


/* ==========================================
   MOBILE MENU BUTTON
========================================== */

.mc-menu-toggle {
    display: none;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    background: #fff;
    border: 1px solid #dce7e1;
    border-radius: 5px;
    cursor: pointer;
}

.mc-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--mc-blue-og-dark);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.mc-menu-toggle.mc-toggle-open span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.mc-menu-toggle.mc-toggle-open span:nth-child(2) {
    opacity: 0;
}

.mc-menu-toggle.mc-toggle-open span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}


/* ==========================================
   RESPONSIVE — LARGE DESKTOP (1600px+)
========================================== */

@media (min-width: 1600px) {
    .mc-navbar-container { padding: 0 calc(3% + 34px); }
    .mc-hex { padding: 0 18px; font-size: 13.5px; min-height: 44px; }
    .mc-nav-list { gap: 3px; }
    .mc-register-button { padding: 0 24px; font-size: 14px; }
}


/* ==========================================
   RESPONSIVE — MID DESKTOP (1200–1440)
   Tighten everything so nothing overlaps the logo
========================================== */

@media (max-width: 1440px) {
    .mc-navbar { gap: 10px; min-height: 84px; }
    .mc-navigation { gap: 10px; }
    .mc-hex {
        padding: 0 12px;
        font-size: 12.5px;
        min-height: 40px;
        gap: 5px;
    }
    .mc-hex i { font-size: 13px; }
    .mc-register-button { padding: 0 16px; font-size: 13px; }
    .mc-brand-logo { max-width: 140px; max-height: 52px; }
}

@media (max-width: 1280px) {
    .mc-navbar-container { padding: 0 calc(1.5% + 34px); }
    .mc-hex { padding: 0 10px; font-size: 12px; }
    .mc-register-button { padding: 0 14px; font-size: 12.5px; }
    .mc-nav-list { gap: 1px; }
    .mc-brand-logo { max-width: 130px; }
}

@media (max-width: 1120px) {
    .mc-hex { padding: 0 9px; font-size: 11.5px; letter-spacing: 0; }
    .mc-hex i { font-size: 12px; }
    .mc-register-button { padding: 0 12px; font-size: 12px; }
    .mc-navbar-container { padding: 0 calc(1% + 34px); }
    .mc-navigation { gap: 8px; }
    .mc-brand-logo { max-width: 120px; max-height: 48px; }
}


/* ==========================================
   RESPONSIVE — TABLET & BELOW
========================================== */

@media (max-width: 991px) {

    .mc-navbar-wrap {
        background: #fff;
        border-bottom: 1px solid var(--mc-border);
        box-shadow: 0 4px 16px rgba(5, 43, 80, .06);
    }

    .mc-navbar-shape { clip-path: none; }
    .mc-navbar-container { padding: 0 20px; }

    .mc-topbar-inner { padding: 0 20px; gap: 14px; }
    .mc-business-hours { display: none; }

    .mc-navbar {
        min-height: 78px;
        flex-wrap: wrap;
        gap: 0;
        padding: 10px 0;
    }

    .mc-brand-logo { max-width: 150px; max-height: 54px; }

    .mc-menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .mc-header .mc-navigation {
        display: none !important;
        flex: 0 0 100%;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        padding: 12px 0 5px;
    }

    .mc-header .mc-navigation.mc-menu-open {
        display: flex !important;
    }

    .mc-nav-list {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 2px;
    }

    .mc-nav-list li { width: 100%; }

    .mc-nav-list li .mc-hex {
        width: 100%;
        min-height: 48px;
        justify-content: flex-start;
        padding: 0 18px;
        font-size: 14px;
    }

    .mc-register-button {
        align-self: flex-start;
        margin: 4px 0 0;
        width: auto;
    }

    .mc-disclaimer-inner {
        padding-right: 20px;
        padding-left: 20px;
    }
}


/* ==========================================
   RESPONSIVE — MOBILE
========================================== */

@media (max-width: 767px) {

    .mc-topbar,
    .mc-topbar-inner { min-height: 38px; }

    .mc-topbar-inner { padding: 0 13px; }
    .mc-announcement { gap: 10px; }
    .mc-announcement-icon { padding-right: 10px; font-size: 13px; }
    .mc-announce-item { font-size: 12px; }

    .mc-navbar-container { padding: 0 14px; }
    .mc-navbar { min-height: 68px; }
    .mc-brand-logo { max-width: 130px; max-height: 46px; }

    .mc-disclaimer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .mc-announce-item { font-size: 11.5px; }
    .mc-brand-logo { max-width: 118px; }
    .mc-disclaimer p { font-size: 11px; }
}

@media (max-width: 380px) {
    .mc-brand-logo { max-width: 105px; }
    .mc-disclaimer p { font-size: 10.5px; }
    .mc-disclaimer-label { font-size: 11px; }
}


/* ==========================================
   ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {
    .mc-header *,
    .mc-disclaimer * { transition-duration: 0s !important; }
    .mc-announce-track { animation: none !important; }
}