@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap");

html {
    transition: font-size 0.2s ease-in-out;
}

body {
    font-family: "Plus Jakarta Sans",
    "Noto Sans Devanagari",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
    color: var(--mptbc-text-primary);
    background-color: var(--mptbc-surface-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.mptbc-hero-title,
.mptbc-title-eng,
.mptbc-section-title,
.mptbc-quick-title,
.mptbc-metric-num,
.mptbc-metric-title {
    font-family: "Outfit", "Plus Jakarta Sans", "Noto Sans Devanagari", sans-serif;
    letter-spacing: -0.015em;
}

/* ─── High-Fidelity Bilingual Hindi / Devanagari Compatibility ─── */
html[lang^="hi"],
html[lang^="hi"] body {
    font-family: "Noto Sans Devanagari",
    "Poppins",
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif !important;
    letter-spacing: normal !important;
}

html[lang^="hi"] h1,
html[lang^="hi"] h2,
html[lang^="hi"] h3,
html[lang^="hi"] h4,
html[lang^="hi"] h5,
html[lang^="hi"] h6,
html[lang^="hi"] .mptbc-hero-title,
html[lang^="hi"] .mptbc-title-eng,
html[lang^="hi"] .mptbc-section-title,
html[lang^="hi"] .mptbc-section-heading,
html[lang^="hi"] .mptbc-md-headline,
html[lang^="hi"] .mptbc-about-heading,
html[lang^="hi"] .mptbc-notice-heading,
html[lang^="hi"] .mptbc-kpi-title,
html[lang^="hi"] .mptbc-quick-title,
html[lang^="hi"] .mptbc-pillar-title {
    font-family: "Noto Sans Devanagari", "Poppins", sans-serif !important;
    letter-spacing: normal !important;
    line-height: 1.38 !important;
}

html[lang^="hi"] .mptbc-section-badge-text,
html[lang^="hi"] .mptbc-md-badge-text,
html[lang^="hi"] .mptbc-quick-badge,
html[lang^="hi"] .mptbc-gallery-cat-badge,
html[lang^="hi"] .mptbc-badge-ref,
html[lang^="hi"] .mptbc-badge-cat,
html[lang^="hi"] .mptbc-depot-badge {
    font-family: "Noto Sans Devanagari", "Poppins", sans-serif !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

html[lang^="hi"] .mptbc-section-sub,
html[lang^="hi"] .mptbc-section-desc,
html[lang^="hi"] .mptbc-kpi-subhead,
html[lang^="hi"] .mptbc-md-lead,
html[lang^="hi"] .mptbc-md-body,
html[lang^="hi"] .mptbc-about-text,
html[lang^="hi"] p {
    line-height: 1.68 !important;
}

/* ─── Global Design Tokens: Typography Scale ─── */
:root {
    --fs-2xs: 0.625rem; /* 10px - Micro badges, tags, tiny indicators */
    --fs-xs: 0.75rem; /* 12px - Subtitles, secondary info, timestamps */
    --fs-sm: 0.85rem; /* 13.6px - Table cells, candidate info, badges */
    --fs-base: 0.9375rem; /* 15px - Standard body text, main labels */
    --fs-md: 1rem; /* 16px - Card subheads, button text */
    --fs-lg: 1.125rem; /* 18px - Card titles, section headers */
    --fs-xl: 1.25rem; /* 20px - Main panels & large titles */
    --fs-2xl: 1.5rem; /* 24px - Page headings, hero numbers */
    --fs-3xl: 1.875rem; /* 30px - Large KPI metrics/counters */

    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    --fw-black: 900;
}

/* ─── Global Typography Scale Utility Classes ─── */
.fs-2xs {
    font-size: var(--fs-2xs) !important;
}

.fs-xs {
    font-size: var(--fs-xs) !important;
}

.fs-sm {
    font-size: var(--fs-sm) !important;
}

.fs-base {
    font-size: var(--fs-base) !important;
}

.fs-md {
    font-size: var(--fs-md) !important;
}

.fs-lg {
    font-size: var(--fs-lg) !important;
}

.fs-xl {
    font-size: var(--fs-xl) !important;
}

.fs-2xl {
    font-size: var(--fs-2xl) !important;
}

.fs-3xl {
    font-size: var(--fs-3xl) !important;
}

/* ─── Global Font Weight Utility Classes ─── */
.fw-normal {
    font-weight: var(--fw-normal) !important;
}

.fw-medium {
    font-weight: var(--fw-medium) !important;
}

.fw-semibold {
    font-weight: var(--fw-semibold) !important;
}

.fw-bold {
    font-weight: var(--fw-bold) !important;
}

.fw-extrabold {
    font-weight: var(--fw-extrabold) !important;
}

.fw-black {
    font-weight: var(--fw-black) !important;
}

:root,
body,
[data-theme="blue"] {
    --mptbc-primary: #1d5b96;
    --mptbc-primary-dark: #144370;
    --mptbc-primary-light: #2b74ba;
    --mptbc-primary-rgb: 29, 91, 150;
    --mptbc-primary-dark-rgb: 20, 67, 112;

    /* Luminous Warm Amber Gold Accents */
    --mptbc-secondary: #f59e0b;
    --mptbc-secondary-hover: #d97706;
    --mptbc-secondary-light: #fbbf24;

    --mptbc-navy: var(--mptbc-primary);
    --mptbc-navy-dark: var(--mptbc-primary-dark);
    --mptbc-navy-light: var(--mptbc-primary-light);
    --mptbc-gold: var(--mptbc-secondary);
    --mptbc-gold-bright: #e48603;
    --mptbc-gold-hover: var(--mptbc-secondary-hover);
    --mptbc-text-primary-color: #f59e0b;

    --mptbc-surface-light: #f8fafc;
    --mptbc-card-border: #e2e8f0;
    --mptbc-text-primary: #0f172a;
    --mptbc-text-secondary: #475569;

    --mptbc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --mptbc-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --mptbc-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --mptbc-radius: 12px;

    /* Airy, Clean Light Section Surface with Soft Sky Radiance */
    --mptbc-section-light-bg: linear-gradient(
            180deg,
            #f8fafc 0%,
            #ffffff 50%,
            #f1f5f9 100%
    );
    --mptbc-section-light-border: rgba(29, 91, 150, 0.14);
    --mptbc-section-light-glow: rgba(245, 158, 11, 0.12);
}

[data-theme="brown"] {
    --mptbc-primary: #7a2e3b;
    --mptbc-primary-dark: #581d28;
    --mptbc-primary-light: #963d4d;
    --mptbc-primary-rgb: 122, 46, 59;
    --mptbc-primary-dark-rgb: 88, 29, 40;

    --mptbc-secondary: #d9a74a;
    --mptbc-secondary-hover: #c29033;
    --mptbc-secondary-light: #f1cf88;

    --mptbc-navy: var(--mptbc-primary);
    --mptbc-navy-dark: var(--mptbc-primary-dark);
    --mptbc-navy-light: var(--mptbc-primary-light);
    --mptbc-gold: var(--mptbc-secondary);
    --mptbc-gold-hover: var(--mptbc-secondary-hover);

    --mptbc-surface-light: #fcfbfa;
    --mptbc-card-border: #ede8e3;
    --mptbc-text-primary: #1e1b18;
    --mptbc-text-secondary: #57534e;
    --mptbc-text-primary-color: #d9a74a;

    --mptbc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --mptbc-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --mptbc-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --mptbc-radius: 12px;

    /* Theme-adaptive Light Section Background (Brown: Soft Warm Linen) */
    --mptbc-section-light-bg: linear-gradient(
            180deg,
            #faf6f2 0%,
            #fdfbf9 50%,
            #f7f2ec 100%
    );
    --mptbc-section-light-border: rgba(217, 167, 74, 0.22);
    --mptbc-section-light-glow: rgba(217, 167, 74, 0.1);
}

[data-theme="green"] {
    --mptbc-primary: #0e7c6b;
    --mptbc-primary-dark: #09594d;
    --mptbc-primary-light: #169b87;
    --mptbc-primary-rgb: 14, 124, 107;
    --mptbc-primary-dark-rgb: 9, 89, 77;

    /* Modern Mint / Soft Emerald Accents */
    --mptbc-secondary: #10b981;
    --mptbc-secondary-hover: #059669;
    --mptbc-secondary-light: #34d399;

    --mptbc-navy: var(--mptbc-primary);
    --mptbc-navy-dark: var(--mptbc-primary-dark);
    --mptbc-navy-light: var(--mptbc-primary-light);
    --mptbc-gold: #10b981;
    --mptbc-gold-bright: #34d399;
    --mptbc-gold-hover: #059669;
    --mptbc-text-primary-color: #10b981;

    --mptbc-surface-light: #f9fcfb;
    --mptbc-card-border: #e2ede7;
    --mptbc-text-primary: #0f1d19;
    --mptbc-text-secondary: #3d564f;

    --mptbc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --mptbc-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --mptbc-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);

    /* Theme-adaptive Light Section Background (Green: Soft Airy Sea-Mist) */
    --mptbc-section-light-bg: linear-gradient(
            180deg,
            #f2faf6 0%,
            #f9fdfb 50%,
            #eaf5ef 100%
    );
    --mptbc-section-light-border: rgba(14, 124, 107, 0.14);
    --mptbc-section-light-glow: rgba(16, 185, 129, 0.12);
}

[data-theme="high-contrast"] {
    --mptbc-primary: #000000;
    --mptbc-primary-dark: #000000;
    --mptbc-primary-light: #1f1f1f;
    --mptbc-primary-rgb: 0, 0, 0;
    --mptbc-primary-dark-rgb: 0, 0, 0;

    --mptbc-secondary: #ffff00;
    --mptbc-secondary-hover: #ffd700;
    --mptbc-secondary-light: #ffffff;

    --mptbc-navy: var(--mptbc-primary);
    --mptbc-navy-dark: var(--mptbc-primary-dark);
    --mptbc-navy-light: var(--mptbc-primary-light);
    --mptbc-gold: var(--mptbc-secondary);
    --mptbc-gold-hover: var(--mptbc-secondary-hover);
    --mptbc-text-primary-color: #ffff00;

    /* Theme-adaptive Light Section Background (High Contrast) */
    --mptbc-section-light-bg: #000000;
    --mptbc-section-light-border: #ffff00;
    --mptbc-section-light-glow: transparent;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
    color: var(--mptbc-text-primary);
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

.text-navy {
    color: var(--mptbc-navy) !important;
}

.text-warning {
    color: var(--mptbc-secondary) !important;
}

.text-primary {
    color: var(--mptbc-text-primary-color) !important;
}

.bg-warning {
    background-color: var(--mptbc-secondary) !important;
    color: #000000 !important;
}

.cursor-pointer {
    cursor: pointer;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

/* Layout & Utility Helper Classes (Replacing inline styles) */
.mptbc-z-2 {
    z-index: 2 !important;
}

.mptbc-footer-brand-logo {
    height: 48px;
    width: auto;
}

.mptbc-footer-social-link {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff !important;
    font-size: var(--fs-base);
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mptbc-footer-social-link:hover {
    background: var(--mptbc-secondary, var(--mptbc-gold)) !important;
    border-color: var(--mptbc-secondary, var(--mptbc-gold)) !important;
    color: var(--mptbc-primary-dark, #1e293b) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.mptbc-footer-contact-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--mptbc-secondary) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--mptbc-secondary) 35%, transparent);
    color: var(--mptbc-secondary, var(--mptbc-gold));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    flex-shrink: 0;
}

.mptbc-footer-link-icon {
    color: var(--mptbc-secondary, var(--mptbc-gold));
    font-size: var(--fs-xs);
    transition: transform 0.25s ease;
    display: inline-block;
}

.mptbc-footer-link:hover .mptbc-footer-link-icon {
    transform: translateX(4px);
}

.mptbc-footer-map-box {
    height: 140px;
}

.mptbc-footer-map-iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

.mptbc-metric-card:nth-child(1) {
    --delay: 0.1s;
}

.mptbc-metric-card:nth-child(2) {
    --delay: 0.2s;
}

.mptbc-metric-card:nth-child(3) {
    --delay: 0.3s;
}

.mptbc-metric-card:nth-child(4) {
    --delay: 0.4s;
}

/* â”€â”€â”€ High Contrast Accessibility Mode (WCAG AAA Compliant) â”€â”€â”€ */
body.high-contrast,
body[data-theme="high-contrast"] {
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast h5,
body.high-contrast h6,
body[data-theme="high-contrast"] h1,
body[data-theme="high-contrast"] h2,
body[data-theme="high-contrast"] h3,
body[data-theme="high-contrast"] h4,
body[data-theme="high-contrast"] h5,
body[data-theme="high-contrast"] h6 {
    color: #ffff00 !important;
}

body.high-contrast p,
body.high-contrast span,
body.high-contrast li,
body[data-theme="high-contrast"] p,
body[data-theme="high-contrast"] span,
body[data-theme="high-contrast"] li {
    color: #ffffff;
}

body.high-contrast .text-secondary,
body.high-contrast .text-muted,
body[data-theme="high-contrast"] .text-secondary,
body[data-theme="high-contrast"] .text-muted {
    color: #e2e8f0 !important;
}

body.high-contrast .mptbc-topbar,
body.high-contrast .mptbc-header-brand,
body.high-contrast .mptbc-navbar,
body.high-contrast .mptbc-footer,
body[data-theme="high-contrast"] .mptbc-topbar,
body[data-theme="high-contrast"] .mptbc-header-brand,
body[data-theme="high-contrast"] .mptbc-navbar,
body[data-theme="high-contrast"] .mptbc-footer {
    background: #000000 !important;
    border-color: #ffff00 !important;
}

body.high-contrast .mptbc-section,
body.high-contrast .mptbc-about-section,
body[data-theme="high-contrast"] .mptbc-section,
body[data-theme="high-contrast"] .mptbc-about-section {
    background: #000000 !important;
    border-color: #ffff00 !important;
    color: #ffffff !important;
}

body.high-contrast .mptbc-about-decor-wave,
body.high-contrast .mptbc-about-watermark,
body[data-theme="high-contrast"] .mptbc-about-decor-wave,
body[data-theme="high-contrast"] .mptbc-about-watermark {
    display: none !important;
}

body.high-contrast .mptbc-about-btn,
body[data-theme="high-contrast"] .mptbc-about-btn {
    background: #000000 !important;
    color: #ffff00 !important;
    border: 1.5px solid #ffff00 !important;
}

body.high-contrast .mptbc-about-btn:hover,
body[data-theme="high-contrast"] .mptbc-about-btn:hover {
    background: #ffff00 !important;
    color: #000000 !important;
}

/* Clear, distinct card borders so cards are easily distinguishable */
body.high-contrast .mptbc-quick-card,
body.high-contrast .mptbc-metric-card,
body.high-contrast .mptbc-tender-card,
body.high-contrast .mptbc-depot-card,
body.high-contrast .card,
body.high-contrast .mptbc-notice-card,
body.high-contrast .mptbc-procure-card,
body[data-theme="high-contrast"] .mptbc-quick-card,
body[data-theme="high-contrast"] .mptbc-metric-card,
body[data-theme="high-contrast"] .mptbc-tender-card,
body[data-theme="high-contrast"] .mptbc-depot-card,
body[data-theme="high-contrast"] .mptbc-notice-card,
body[data-theme="high-contrast"] .mptbc-procure-card,
body[data-theme="high-contrast"] .card {
    background: #121212 !important;
    border: 1.5px solid #ffff00 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body.high-contrast .mptbc-quick-title,
body.high-contrast .mptbc-tender-card h5,
body.high-contrast .mptbc-depot-title,
body.high-contrast .mptbc-notice-day,
body.high-contrast .mptbc-notice-title,
body[data-theme="high-contrast"] .mptbc-quick-title,
body[data-theme="high-contrast"] .mptbc-tender-card h5,
body[data-theme="high-contrast"] .mptbc-depot-title,
body[data-theme="high-contrast"] .mptbc-notice-day,
body[data-theme="high-contrast"] .mptbc-notice-title {
    color: #ffff00 !important;
}

body.high-contrast a,
body[data-theme="high-contrast"] a {
    color: #ffff00 !important;
}

body.high-contrast .btn-warning,
body[data-theme="high-contrast"] .btn-warning {
    background: #ffff00 !important;
    color: #000000 !important;
    font-weight: 800 !important;
    border: 2px solid #ffffff !important;
}

body.high-contrast .mptbc-portal-btn,
body[data-theme="high-contrast"] .mptbc-portal-btn {
    background: #000000 !important;
    color: #ffff00 !important;
    border: 2px solid #ffff00 !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

body.high-contrast .mptbc-portal-btn:hover,
body[data-theme="high-contrast"] .mptbc-portal-btn:hover {
    background: #ffff00 !important;
    color: #000000 !important;
}

body.high-contrast .mptbc-notice-list::-webkit-scrollbar-track,
body[data-theme="high-contrast"] .mptbc-notice-list::-webkit-scrollbar-track {
    background: #121212 !important;
}

body.high-contrast .mptbc-notice-list::-webkit-scrollbar-thumb,
body[data-theme="high-contrast"] .mptbc-notice-list::-webkit-scrollbar-thumb {
    background: #ffff00 !important;
}

body.high-contrast .badge,
body[data-theme="high-contrast"] .badge {
    border: 1px solid #ffff00 !important;
    background: #000000 !important;
    color: #ffff00 !important;
}

body.high-contrast .mptbc-quick-icon,
body[data-theme="high-contrast"] .mptbc-quick-icon {
    background: #000000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
}

body.high-contrast .mptbc-quick-badge,
body[data-theme="high-contrast"] .mptbc-quick-badge {
    background: #000000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
}

body.high-contrast .mptbc-quick-arrow,
body[data-theme="high-contrast"] .mptbc-quick-arrow {
    background: #000000 !important;
    color: #ffff00 !important;
    border: 1px solid #ffff00 !important;
}

body.high-contrast .mptbc-quick-card:hover,
body[data-theme="high-contrast"] .mptbc-quick-card:hover {
    background: #ffff00 !important;
    color: #000000 !important;
}

body.high-contrast .mptbc-quick-card:hover .mptbc-quick-title,
body.high-contrast .mptbc-quick-card:hover .mptbc-quick-desc,
body[data-theme="high-contrast"] .mptbc-quick-card:hover .mptbc-quick-title,
body[data-theme="high-contrast"] .mptbc-quick-card:hover .mptbc-quick-desc {
    color: #000000 !important;
}

body.high-contrast .mptbc-quick-card:hover .mptbc-quick-icon,
body[data-theme="high-contrast"] .mptbc-quick-card:hover .mptbc-quick-icon {
    background: #000000 !important;
    color: #ffff00 !important;
    border-color: #000000 !important;
}

body.high-contrast .mptbc-quick-card:hover .mptbc-quick-badge,
body[data-theme="high-contrast"] .mptbc-quick-card:hover .mptbc-quick-badge {
    background: #000000 !important;
    color: #ffff00 !important;
}

body.high-contrast .mptbc-quick-card:hover .mptbc-quick-arrow,
body[data-theme="high-contrast"] .mptbc-quick-card:hover .mptbc-quick-arrow {
    background: #000000 !important;
    color: #ffff00 !important;
}

/* â”€â”€â”€ 1. Top Accessibility Bar â”€â”€â”€ */
.mptbc-topbar {
    background: var(--mptbc-navy-dark);
    color: #f1f5f9;
    font-size: var(--fs-sm);
    padding: 8px 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mptbc-topbar-left,
.mptbc-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ─── Skip to Main Content Accessibility Link ─── */
.mptbc-skip-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-xs);
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.mptbc-skip-link:hover,
.mptbc-skip-link:focus {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.18);
    text-decoration: none !important;
}

.mptbc-skip-link:focus-visible {
    outline: 2px solid var(--mptbc-gold-bright);
    outline-offset: 2px;
}

.mptbc-main-content {
    display: block;
    outline: none;
    scroll-margin-top: 10px;
}

.mptbc-acc-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: var(--fs-xs);
    cursor: pointer;
    font-weight: var(--fw-semibold);
    transition: all 0.2s ease;
}

.mptbc-acc-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mptbc-acc-btn.active {
    background: #ffffff;
    color: #0b2545;
    border-color: #ffffff;
    font-weight: var(--fw-bold);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.mptbc-acc-btn:focus-visible {
    outline: 2px solid var(--mptbc-gold-bright);
    outline-offset: 1px;
}

/* ─── Language Switcher (ENG | हिंदी) ─── */
.mptbc-lang-switch {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 1px 4px;
    gap: 2px;
}

.mptbc-lang-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    cursor: pointer;
    padding: 1px 7px;
    border-radius: 12px;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.mptbc-lang-btn:hover {
    color: var(--mptbc-secondary);
}

.mptbc-lang-btn.active {
    background: var(--mptbc-gold-bright);
    color: #0f172a;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.mptbc-lang-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--fs-2xs);
    user-select: none;
}

.mptbc-theme-swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: inline-block;
    flex-shrink: 0;
}

.mptbc-topbar .dropdown-menu.mptbc-theme-menu {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid #e2e8f0;
    min-width: 215px;
    padding: 6px 0;
    z-index: 1060;
}

.mptbc-topbar .dropdown-item {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: #0f172a !important;
    cursor: pointer;
    padding: 8px 16px;
    transition: background 0.15s ease,
    color 0.15s ease;
}

.mptbc-topbar .dropdown-item span {
    color: #0f172a !important;
}

.mptbc-topbar .dropdown-item:hover {
    background: #f1f5f9 !important;
}

.mptbc-topbar .dropdown-item:hover span {
    color: var(--mptbc-primary) !important;
}

.mptbc-theme-header {
    font-size: var(--fs-2xs);
    font-weight: var(--fw-bold);
    color: #64748b !important;
    letter-spacing: 0.05em;
    padding: 6px 16px 2px 16px;
}

.mptbc-badge-default {
    font-size: var(--fs-2xs);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Dropdown styling under High Contrast */
body.high-contrast .mptbc-topbar .dropdown-menu.mptbc-theme-menu,
body[data-theme="high-contrast"] .mptbc-topbar .dropdown-menu.mptbc-theme-menu {
    background: #000000 !important;
    border: 1.5px solid #ffff00 !important;
    box-shadow: 0 10px 25px rgba(255, 255, 0, 0.2) !important;
}

body.high-contrast .mptbc-topbar .dropdown-item,
body[data-theme="high-contrast"] .mptbc-topbar .dropdown-item,
body.high-contrast .mptbc-topbar .dropdown-item span,
body[data-theme="high-contrast"] .mptbc-topbar .dropdown-item span {
    color: #ffffff !important;
}

body.high-contrast .mptbc-topbar .dropdown-item:hover,
body[data-theme="high-contrast"] .mptbc-topbar .dropdown-item:hover {
    background: #1a1a1a !important;
}

body.high-contrast .mptbc-topbar .dropdown-item:hover span,
body[data-theme="high-contrast"] .mptbc-topbar .dropdown-item:hover span {
    color: #ffff00 !important;
}

body.high-contrast .mptbc-theme-header,
body[data-theme="high-contrast"] .mptbc-theme-header {
    color: #ffff00 !important;
}

body.high-contrast .mptbc-badge-default,
body[data-theme="high-contrast"] .mptbc-badge-default {
    background: #000000 !important;
    border: 1px solid #ffff00 !important;
    color: #ffff00 !important;
}

.mptbc-gov-logo {
    height: 20px;
    width: auto;
}

.mptbc-theme-swatch.swatch-brown {
    background: linear-gradient(135deg, #7a2e3b 50%, #d9a74a 50%);
}

.mptbc-theme-swatch.swatch-blue {
    background: linear-gradient(135deg, #1d5b96 50%, #f59e0b 50%);
}

.mptbc-theme-swatch.swatch-green {
    background: linear-gradient(135deg, #0e7c6b 50%, #10b981 50%);
}

.mptbc-theme-swatch.swatch-contrast {
    background: linear-gradient(135deg, #000000 50%, #ffff00 50%);
}

/* â”€â”€â”€ 2. Header & Navigation Bar â”€â”€â”€ */
.mptbc-header-brand {
    padding: 1rem 1.5rem;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--mptbc-shadow-sm);
    border-bottom: 1px solid var(--mptbc-card-border);
}

.mptbc-brand-title-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mptbc-seal-img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.mptbc-title-eng {
    font-size: var(--fs-xl);
    font-weight: var(--fw-extrabold);
    color: var(--mptbc-navy);
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.01em;
}

.mptbc-title-hindi {
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    color: var(--mptbc-text-secondary);
}

.mptbc-portal-btn {
    background: var(--mptbc-navy);
    color: #ffffff !important;
    font-weight: var(--fw-bold);
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: var(--fs-sm);
    letter-spacing: 0.02em;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mptbc-portal-btn:hover {
    background: var(--mptbc-navy-light);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25);
    color: #ffffff !important;
}

.mptbc-navbar {
    background: var(--mptbc-navy);
    padding: 0;
    box-shadow: var(--mptbc-shadow-md);
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid #eee;
}

.mptbc-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0 auto;
    padding: 0;
}

.mptbc-nav-item > a {
    display: block;
    padding: 14px 18px;
    color: #f1f5f9;
    text-decoration: none;
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.mptbc-nav-item > a:hover,
.mptbc-nav-item.active > a,
.mptbc-nav-item.dropdown:hover > a,
.mptbc-nav-item > a.show,
.mptbc-nav-item.show > a {
    background: rgba(255, 255, 255, 0.12);
    color: var(--mptbc-secondary) !important;
    border-bottom-color: var(--mptbc-secondary) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.mptbc-nav-item.dropdown .dropdown-menu {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--mptbc-card-border);
    padding: 6px 0;
    margin-top: 2px !important;
}

.mptbc-nav-item.dropdown .dropdown-item {
    color: var(--mptbc-text-primary, #1e293b) !important;
    font-size: var(--fs-base);
    font-weight: var(--fw-medium);
    border-bottom: none !important;
    border-left: 3px solid transparent;
    text-shadow: none !important;
    padding: 9px 18px;
    transition: all 0.2s ease;
}

.mptbc-nav-item.dropdown .dropdown-item:hover,
.mptbc-nav-item.dropdown .dropdown-item:focus {
    background: color-mix(
            in srgb,
            var(--mptbc-secondary) 16%,
            #ffffff
    ) !important;
    color: var(--mptbc-primary) !important;
    border-left: 3px solid var(--mptbc-secondary) !important;
    border-bottom: none !important;
    text-shadow: none !important;
    padding-left: 22px !important;
}

/* â”€â”€â”€ 3. Hero Carousel Showcase â”€â”€â”€ */
.mptbc-hero-carousel-wrapper,
.mptbc-hero-banner-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--mptbc-primary-dark);
    border-bottom: 2.5px solid var(--mptbc-secondary);
}

.mptbc-hero-banner-container {
    position: relative;
    width: 100%;
}

.mptbc-carousel-img,
.mptbc-hero-banner {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: none !important;
    animation: mptbcBannerFadeIn 0.35s ease-in-out;
}

@keyframes mptbcBannerFadeIn {
    from {
        opacity: 0.6;
        transform: scale(1.003);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 1. Blue Theme (Default) */
:root[data-theme="blue"] .mptbc-banner-blue,
body[data-theme="blue"] .mptbc-banner-blue,
:root:not([data-theme]) .mptbc-banner-blue,
body:not([data-theme]) .mptbc-banner-blue {
    display: block !important;
}

/* 2. Brown Theme */
:root[data-theme="brown"] .mptbc-banner-brown,
body[data-theme="brown"] .mptbc-banner-brown {
    display: block !important;
}

/* 3. Green Theme */
:root[data-theme="green"] .mptbc-banner-green,
body[data-theme="green"] .mptbc-banner-green {
    display: block !important;
}

/* 4. High-Contrast: Banner 2 */
:root[data-theme="high-contrast"] .mptbc-banner-blue,
body[data-theme="high-contrast"] .mptbc-banner-blue,
body.high-contrast .mptbc-banner-blue {
    display: block !important;
}

/* â”€â”€â”€ About MPTBC Section Styles (Reference SS-2) â”€â”€â”€ */
.mptbc-about-section {
    position: relative;
    overflow: hidden;
    background: var(--mptbc-section-light-bg);
    border-top: 1px solid var(--mptbc-section-light-border);
    border-bottom: 1px solid var(--mptbc-section-light-border);
    box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.02),
    inset 0 -3px 12px rgba(0, 0, 0, 0.02);
}

/* Organic decorative theme glow in bottom-right matching SS-2 */
.mptbc-about-decor-wave {
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 440px;
    height: 440px;
    background: radial-gradient(
            circle at 60% 60%,
            var(--mptbc-section-light-glow) 0%,
            color-mix(in srgb, var(--mptbc-primary) 6%, transparent) 45%,
            transparent 72%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Watermark line-art illustration of stacked books (Reference SS-2) */
.mptbc-about-watermark {
    position: absolute;
    right: 15px;
    bottom: 10px;
    width: 290px;
    max-width: 28%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.mptbc-about-books-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    animation: bookFloatUpDown 4s ease-in-out infinite;
    will-change: transform;
}

@keyframes bookFloatUpDown {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mptbc-about-books-img {
        animation: none;
    }
}

@media (max-width: 991px) {
    .mptbc-about-watermark {
        display: none;
    }
}

.mptbc-about-img-container {
    position: relative;
    display: block;
    padding: 14px;
}

/* Top-Left Corner Bracket (Gold) */
.mptbc-about-img-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    border-top: 4px solid var(--mptbc-gold);
    border-left: 4px solid var(--mptbc-gold);
    border-top-left-radius: 4px;
    z-index: 1;
    pointer-events: none;
}

/* Bottom-Right Corner Bracket (Maroon / Navy) */
.mptbc-about-img-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border-bottom: 4px solid var(--mptbc-navy);
    border-right: 4px solid var(--mptbc-navy);
    border-bottom-right-radius: 4px;
    z-index: 1;
    pointer-events: none;
}

.mptbc-about-img-frame {
    position: relative;
    z-index: 2;
    border-radius: 8px;
    border: 4px solid #ffffff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    background: #ffffff;
}

.mptbc-hq-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.mptbc-about-img-frame:hover .mptbc-hq-img {
    transform: scale(1.03);
}

.mptbc-about-content {
    position: relative;
    z-index: 2;
}

.mptbc-about-content .mptbc-badge-sub {
    color: var(--mptbc-gold-bright, var(--mptbc-gold));
    font-weight: var(--fw-bold);
    letter-spacing: 0.8px;
    font-size: var(--fs-xs);
    display: inline-block;
}

.mptbc-about-heading {
    font-size: var(--fs-2xl);
    font-family: Georgia, "Playfair Display", "Times New Roman", serif;
    font-weight: var(--fw-extrabold);
    color: var(--mptbc-navy);
    letter-spacing: -0.015em;
    margin-top: 0.25rem;
    margin-bottom: 0.4rem;
}

.mptbc-heading-line {
    width: 48px;
    height: 3.5px;
    background: var(--mptbc-gold);
    border-radius: 2px;
}

.mptbc-about-text {
    font-size: var(--fs-base);
    line-height: 1.68;
    color: #475569;
}

.mptbc-light-bg,
.mptbc-bg {
    background: var(--mptbc-section-light-bg);
    border-top: 1px solid var(--mptbc-section-light-border);
    border-bottom: 1px solid var(--mptbc-section-light-border);
    box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.02),
    inset 0 -3px 12px rgba(0, 0, 0, 0.02);
}

/* Read More Button matching SS-2 */
.mptbc-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 22px;
    background: linear-gradient(
            135deg,
            var(--mptbc-navy) 0%,
            var(--mptbc-navy-dark) 100%
    );
    color: #ffffff !important;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(var(--mptbc-primary-rgb), 0.25);
    border: 1.5px solid var(--mptbc-gold);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mptbc-about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(var(--mptbc-primary-rgb), 0.38),
    0 0 10px color-mix(in srgb, var(--mptbc-gold) 60%, transparent);
    color: #ffffff !important;
    background: linear-gradient(
            135deg,
            var(--mptbc-navy-dark) 0%,
            var(--mptbc-navy) 100%
    );
}

.mptbc-about-btn i {
    color: var(--mptbc-gold-bright, var(--mptbc-gold));
    transition: transform 0.25s ease;
}

.mptbc-about-btn:hover i {
    transform: translateX(4px);
}

/* â”€â”€â”€ Quick Access Portals Section â”€â”€â”€ */
.mptbc-quick-section {
    background: #ffffff;
    padding-top: 3.5rem;
    padding-bottom: 3.25rem;
    position: relative;
    z-index: 10;
}

.mptbc-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.35rem;
}

@media (min-width: 992px) {
    .mptbc-quick-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.mptbc-quick-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.45rem 1.35rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--mptbc-card-border);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.2rem;
    text-decoration: none;
    color: var(--mptbc-text-primary);
    position: relative;
    overflow: hidden;
    min-height: 190px;
}

/* Subtle decorative gold top highlight on hover */
.mptbc-quick-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.28s ease;
}

.mptbc-quick-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(
            135deg,
            var(--mptbc-navy) 0%,
            var(--mptbc-navy-dark) 100%
    ) !important;
    border-color: var(--mptbc-gold) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18),
    0 0 0 1px var(--mptbc-gold);
    color: #ffffff !important;
}

.mptbc-quick-card:hover::before {
    background: var(--mptbc-gold-bright, var(--mptbc-gold));
}

.mptbc-quick-icon-wrap {
    flex-shrink: 0;
    padding-top: 3px;
}

/* Circular Icon Badge - Theme adaptive */
.mptbc-quick-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--mptbc-primary) 8%, #ffffff);
    border: 1.5px solid color-mix(in srgb, var(--mptbc-primary) 20%, #ffffff);
    color: var(--mptbc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.mptbc-quick-icon i {
    font-size: 1.55rem;
    line-height: 1;
    color: var(--mptbc-primary);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.28s ease;
}

/* Hover: Icon circle turns pure white and icon stays primary so it never merges */
.mptbc-quick-card:hover .mptbc-quick-icon {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: var(--mptbc-primary) !important;
    transform: scale(1.06);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.mptbc-quick-card:hover .mptbc-quick-icon i {
    color: var(--mptbc-primary) !important;
    transform: scale(1.1);
}

.mptbc-quick-img-icon {
    width: 33px;
    height: 33px;
    object-fit: contain;
    display: block;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mptbc-quick-card:hover .mptbc-quick-img-icon {
    transform: scale(1.08);
}

.mptbc-quick-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mptbc-quick-meta {
    margin-bottom: 0.4rem;
}

/* Enhanced Pill Badge */
.mptbc-quick-badge {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.6px;
    padding: 3px 9px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--mptbc-gold) 18%, #ffffff);
    color: var(--mptbc-gold-hover, var(--mptbc-gold));
    border: 1px solid color-mix(in srgb, var(--mptbc-gold) 40%, transparent);
    text-transform: uppercase;
    transition: background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease;
}

.mptbc-quick-card:hover .mptbc-quick-badge {
    background: var(--mptbc-gold-bright, var(--mptbc-gold)) !important;
    color: var(--mptbc-navy) !important;
    border-color: var(--mptbc-gold-bright, var(--mptbc-gold)) !important;
    font-weight: var(--fw-extrabold);
}

.mptbc-quick-title {
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--mptbc-navy);
    margin: 0 0 7px 0;
    line-height: 1.28;
    transition: color 0.28s ease;
}

.mptbc-quick-card:hover .mptbc-quick-title {
    color: #ffffff !important;
}

.mptbc-quick-desc {
    font-size: var(--fs-sm);
    color: #556477;
    line-height: 1.58;
    margin: 0 0 14px 0;
    flex-grow: 1;
    transition: color 0.28s ease;
}

.mptbc-quick-card:hover .mptbc-quick-desc {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Interactive Action Footer with Arrow */
.mptbc-quick-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    color: var(--mptbc-navy);
    margin-top: auto;
    transition: color 0.28s ease;
}

.mptbc-quick-card:hover .mptbc-quick-action {
    color: var(--mptbc-gold-bright, var(--mptbc-gold)) !important;
}

.mptbc-quick-arrow {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xs);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.28s ease,
    color 0.28s ease;
}

.mptbc-quick-card:hover .mptbc-quick-arrow {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    transform: translateX(5px);
}

/* â”€â”€â”€ 4. Modern Emergency Announcement Ribbon Ticker â”€â”€â”€ */
.mptbc-marquee-wrapper {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 2.5px solid var(--mptbc-gold);
    padding: 6px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 10;
}

.mptbc-marquee-label {
    background: linear-gradient(
            135deg,
            var(--mptbc-navy) 0%,
            var(--mptbc-navy-dark) 100%
    );
    color: #ffffff;
    font-weight: var(--fw-bold);
    font-size: var(--fs-xs);
    padding: 7px 18px;
    border-radius: 6px;
    margin-left: 1rem;
    margin-right: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.mptbc-live-dot {
    width: 9px;
    height: 9px;
    background-color: var(--mptbc-gold-bright, var(--mptbc-gold));
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 var(--mptbc-gold);
    animation: liveDotPulse 1.8s infinite;
}

@keyframes liveDotPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 var(--mptbc-gold);
    }
    70% {
        transform: scale(1.15);
        box-shadow: 0 0 0 7px rgba(0, 0, 0, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.mptbc-marquee-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(
            90deg,
            transparent 0%,
            black 35px,
            black calc(100% - 35px),
            transparent 100%
    );
    -webkit-mask-image: linear-gradient(
            90deg,
            transparent 0%,
            black 35px,
            black calc(100% - 35px),
            transparent 100%
    );
}

.mptbc-marquee-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: mptbcTickerMarquee 42s linear infinite;
    will-change: transform;
}

.mptbc-marquee-wrapper:hover .mptbc-marquee-content,
.mptbc-marquee-content.paused {
    animation-play-state: paused;
}

@keyframes mptbcTickerMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.mptbc-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    color: #1e293b;
    padding: 0 4px;
}

.mptbc-ticker-tag {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    padding: 3px 8px;
    border-radius: 4px;
}

.mptbc-ticker-text {
    color: #1e293b;
    font-weight: var(--fw-semibold);
}

.mptbc-ticker-sep {
    color: var(--mptbc-gold);
    font-size: var(--fs-2xs);
    opacity: 0.85;
    margin: 0 1.25rem;
}

.mptbc-marquee-actions {
    padding-right: 1rem;
    padding-left: 0.5rem;
    flex-shrink: 0;
    z-index: 5;
}

.mptbc-ticker-ctrl-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--mptbc-gold);
    background: #ffffff;
    color: var(--mptbc-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mptbc-ticker-ctrl-btn:hover {
    background: var(--mptbc-navy);
    color: var(--mptbc-gold-bright, var(--mptbc-gold));
    border-color: var(--mptbc-navy);
}

/* High Contrast mode for ticker */
[data-theme="high-contrast"] .mptbc-marquee-wrapper {
    background: #000000;
    border-top: 1px solid #ffff00;
    border-bottom: 2px solid #ffff00;
}

[data-theme="high-contrast"] .mptbc-marquee-label {
    background: #000000;
    border: 1.5px solid #ffff00;
    color: #ffff00;
}

[data-theme="high-contrast"] .mptbc-ticker-item {
    color: #ffffff;
}

[data-theme="high-contrast"] .mptbc-ticker-tag {
    background: #ffff00;
    color: #000000;
}

/* â”€â”€â”€ 5. MD Message Section Card â”€â”€â”€ */
/* â”€â”€â”€ 5. MD Message Executive Section Styles â”€â”€â”€ */
.mptbc-md-section {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.mptbc-md-quote-watermark {
    position: absolute;
    right: -10px;
    top: -35px;
    font-size: 8rem;
    line-height: 1;
    color: rgba(139, 21, 56, 0.04);
    pointer-events: none;
    z-index: 0;
    font-family: Georgia, serif;
}

.mptbc-md-badge-pill {
    padding: 4px 14px;
    border-radius: 30px;
    background: color-mix(in srgb, var(--mptbc-navy) 7%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--mptbc-navy) 15%, transparent);
}

.mptbc-md-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mptbc-gold-bright, var(--mptbc-gold));
    box-shadow: 0 0 6px rgba(223, 178, 53, 0.6);
}

.mptbc-md-badge-text {
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--mptbc-navy);
}

.mptbc-md-headline {
    font-size: var(--fs-2xl);
    font-family: Georgia, "Playfair Display", "Times New Roman", serif;
    font-weight: var(--fw-extrabold);
    color: var(--mptbc-navy);
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.mptbc-md-lead {
    font-size: var(--fs-md);
    line-height: 1.72;
    color: #334155;
    font-weight: var(--fw-medium);
    margin-bottom: 0.85rem;
}

.mptbc-md-body {
    font-size: var(--fs-base);
    line-height: 1.7;
    color: #556477;
    margin-bottom: 1.75rem;
}

/* Unified Strategic Vision Ribbon (Replaces Flat Cards) */
.mptbc-md-pillars-strip {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: var(--mptbc-section-light-bg);
    border-radius: 16px;
    border: 1px solid var(--mptbc-section-light-border);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .mptbc-md-pillars-strip {
        flex-direction: column;
        gap: 1rem;
    }
}

.mptbc-md-pillar {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.mptbc-md-pillar:hover {
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
    transform: translateY(-3px);
}

.mptbc-pillar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.mptbc-pillar-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--mptbc-navy) 9%, #ffffff);
    border: 1.5px solid color-mix(in srgb, var(--mptbc-navy) 18%, #ffffff);
    color: var(--mptbc-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xl);
    transition: transform 0.28s ease,
    background 0.28s ease,
    color 0.28s ease,
    box-shadow 0.28s ease;
}

.mptbc-md-pillar:hover .mptbc-pillar-icon-badge {
    background: var(--mptbc-navy);
    color: var(--mptbc-gold-bright, var(--mptbc-gold));
    border-color: var(--mptbc-navy);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mptbc-pillar-num {
    font-size: var(--fs-lg);
    font-weight: var(--fw-extrabold);
    font-family: "Outfit", sans-serif;
    color: rgba(223, 178, 53, 0.55);
    transition: color 0.28s ease;
}

.mptbc-md-pillar:hover .mptbc-pillar-num {
    color: var(--mptbc-gold-bright, var(--mptbc-gold));
}

.mptbc-pillar-title {
    font-size: var(--fs-base);
    font-weight: var(--fw-bold);
    color: var(--mptbc-navy);
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.mptbc-pillar-desc {
    font-size: var(--fs-sm);
    line-height: 1.55;
    color: #556477;
    margin: 0;
}

.mptbc-pillar-divider {
    width: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 0.5rem 0.25rem;
    align-self: stretch;
}

@media (max-width: 767px) {
    .mptbc-pillar-divider {
        display: none;
    }
}

/* MD Profile Portrait Card */
.mptbc-md-card {
    max-width: 320px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    border: 4px solid #ffffff;
    background: var(--mptbc-navy);
    position: relative;
}

.mptbc-md-tricolor {
    display: flex;
    height: 4px;
    width: 100%;
}

.mptbc-tc-saffron {
    background: #ff9933;
    flex: 1;
}

.mptbc-tc-white {
    background: #ffffff;
    flex: 1;
}

.mptbc-tc-green {
    background: #138808;
    flex: 1;
}

.mptbc-md-img-wrapper {
    height: 300px;
    background: #e2e8f0;
    overflow: hidden;
}

.mptbc-md-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.mptbc-md-card:hover .mptbc-md-img {
    transform: scale(1.03);
}

.mptbc-md-card-footer {
    padding: 1.25rem 1rem;
    background: linear-gradient(
            135deg,
            var(--mptbc-navy) 0%,
            var(--mptbc-navy-dark) 100%
    );
    color: #ffffff;
    text-align: center;
}

.mptbc-md-name {
    font-size: var(--fs-lg);
    font-weight: var(--fw-extrabold);
    color: var(--mptbc-gold-bright, var(--mptbc-gold));
    margin-bottom: 4px;
}

.mptbc-md-desig {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    font-weight: var(--fw-bold);
    letter-spacing: 0.8px;
    color: #ffffff;
    margin-bottom: 3px;
}

.mptbc-md-location {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.72);
}

/* â”€â”€â”€ 6. Section Styles & Unified Heading System (Matching Reference) â”€â”€â”€ */
.mptbc-section {
    padding: 4rem 0;
}

.mptbc-section-bg {
    background-color: var(--mptbc-surface-light);
}

/* 1. Unified Subheading Badge Capsule with Golden Dot */
.mptbc-section-badge,
.mptbc-md-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    background: color-mix(in srgb, var(--mptbc-gold) 14%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--mptbc-gold) 38%, transparent);
    border-radius: 50px;
    margin-bottom: 0.65rem;
    box-shadow: 0 2px 6px color-mix(in srgb, var(--mptbc-gold) 12%, transparent);
    text-decoration: none;
}

@keyframes mptbcPulseDot {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.35);
        opacity: 1;
        box-shadow: 0 0 10px color-mix(in srgb, var(--mptbc-gold) 90%, transparent);
    }
}

.mptbc-section-badge-dot,
.mptbc-md-badge-dot {
    width: 7.5px;
    height: 7.5px;
    min-width: 7.5px;
    border-radius: 50%;
    background: var(--mptbc-gold);
    display: inline-block;
    box-shadow: 0 0 6px color-mix(in srgb, var(--mptbc-gold) 60%, transparent);
    animation: mptbcPulseDot 2.2s ease-in-out infinite;
}

.mptbc-section-badge-text,
.mptbc-md-badge-text {
    font-family: "Plus Jakarta Sans",
    -apple-system,
    sans-serif !important;
    font-size: var(--fs-xs) !important;
    font-weight: var(--fw-bold) !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: var(--mptbc-gold-hover, var(--mptbc-gold)) !important;
    line-height: 1 !important;
}

/* 2. Unified Section Heading (Executive Serif matching screenshot) */
.mptbc-section-title,
.mptbc-section-heading,
.mptbc-md-headline,
.mptbc-about-heading,
.mptbc-notice-heading {
    font-family: Georgia, "Playfair Display", "Times New Roman", serif !important;
    font-size: var(--fs-2xl) !important;
    font-weight: var(--fw-extrabold) !important;
    color: var(--mptbc-primary) !important;
    line-height: 1.28 !important;
    letter-spacing: -0.015em !important;
    margin-top: 0.2rem !important;
    margin-bottom: 0.4rem !important;
}

/* 3. Unified Golden Underline Divider */
.mptbc-heading-line,
.mptbc-divider {
    width: 50px !important;
    height: 3.5px !important;
    background: var(--mptbc-gold) !important;
    border-radius: 2px !important;
    margin-top: 0.4rem !important;
    margin-bottom: 0.9rem !important;
}

/* 4. Unified Section Subhead / Description */
.mptbc-section-sub,
.mptbc-section-desc {
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: var(--fs-base) !important;
    color: var(--mptbc-text-secondary) !important;
    line-height: 1.65 !important;
    font-weight: var(--fw-normal) !important;
    max-width: 680px;
}

/*  6. MPTBC at a Glance (Parallax Fixed Background / Content Scroll Effect) */
.mptbc-kpi-section {
    position: relative;
    background-image: url("/img/book-bg-img.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 3.75rem 0 4.25rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Subtle single-tone smooth overlay (Single uniform tint, breathable, no harsh multi-color rings) */
.mptbc-kpi-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--mptbc-primary-dark) 86%, #000000);
    opacity: 0.78;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 991px) {
    .mptbc-kpi-section {
        background-attachment: scroll;
    }
}

.mptbc-kpi-title {
    font-family: Georgia, "Playfair Display", "Times New Roman", serif;
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    color: #ffffff;
    letter-spacing: 0.02em;
    margin-bottom: 0.35rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

/* SS-2 Golden Ribbon Knot Divider */
.mptbc-glance-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 150px;
    max-width: 85%;
    margin: 0 auto 0.75rem auto;
}

.mptbc-glance-divider-line {
    flex: 1;
    height: 1px;
    background: color-mix(in srgb, var(--mptbc-secondary) 75%, transparent);
}

.mptbc-glance-divider-knot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: mptbcKnotPulse 3.5s ease-in-out infinite;
}

@keyframes mptbcKnotPulse {
    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(
                0 0 3px color-mix(in srgb, var(--mptbc-secondary) 50%, transparent)
        );
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(
                0 0 8px color-mix(in srgb, var(--mptbc-secondary) 85%, transparent)
        );
    }
}

.mptbc-kpi-subhead {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: var(--fs-base);
    font-weight: var(--fw-medium);
    letter-spacing: 0.01em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 0;
}

/* SS-2 Metrics Grid (4 Equal Horizontal Columns) */
.mptbc-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

/* SS-2 Translucent Glassmorphic Card (Theme-adaptive) */
.mptbc-metric-card {
    background: color-mix(
            in srgb,
            var(--mptbc-primary-dark) 75%,
            rgba(0, 0, 0, 0.22)
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.2px solid color-mix(in srgb, var(--mptbc-secondary) 50%, transparent);
    border-radius: 10px;
    padding: 1.15rem 1.35rem;
    display: flex;
    align-items: center;
    gap: 1.15rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.mptbc-metric-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: radial-gradient(
            circle at 15% 50%,
            color-mix(in srgb, var(--mptbc-secondary) 14%, transparent),
            transparent 60%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.mptbc-metric-card:hover {
    transform: translateY(-5px);
    background: color-mix(
            in srgb,
            var(--mptbc-primary-dark) 80%,
            rgba(0, 0, 0, 0.2)
    );
    border-color: var(--mptbc-secondary-light, var(--mptbc-secondary));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35),
    0 0 16px color-mix(in srgb, var(--mptbc-secondary) 40%, transparent);
}

.mptbc-metric-card:hover::before {
    opacity: 1;
}

.mptbc-metric-card-interactive {
    cursor: pointer;
}

/* SS-2 Golden Circular Shield Crest (Theme-adaptive) */
.mptbc-metric-crest {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--mptbc-secondary);
    background: radial-gradient(
            circle,
            color-mix(in srgb, var(--mptbc-secondary) 24%, transparent) 0%,
            color-mix(in srgb, var(--mptbc-secondary) 6%, transparent) 100%
    );
    color: var(--mptbc-secondary-light, var(--mptbc-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xl);
    box-shadow: 0 0 10px color-mix(in srgb, var(--mptbc-secondary) 30%, transparent);
    transition: transform 0.35s ease,
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
    flex-shrink: 0;
}

.mptbc-metric-card:hover .mptbc-metric-crest {
    transform: scale(1.08) rotate(4deg);
    border-color: #ffffff;
    color: #ffffff;
    background: radial-gradient(
            circle,
            rgba(255, 255, 255, 0.25) 0%,
            color-mix(in srgb, var(--mptbc-secondary) 25%, transparent) 100%
    );
    box-shadow: 0 0 16px color-mix(in srgb, var(--mptbc-secondary) 55%, transparent);
}

.mptbc-metric-content {
    flex: 1;
    min-width: 0;
}

.mptbc-metric-num {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.mptbc-metric-title {
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: var(--mptbc-secondary-light, var(--mptbc-secondary));
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: 2px;
}

.mptbc-metric-sub {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.3;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .mptbc-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .mptbc-kpi-section {
        padding: 2rem 0 2.25rem 0;
    }

    .mptbc-kpi-title {
        font-size: 1.45rem;
    }

    .mptbc-metrics-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .mptbc-metric-card {
        padding: 0.95rem 1.15rem;
    }
}

/* â”€â”€â”€ 7. Photo Gallery Responsive Grid & SS-1 Card Style â”€â”€â”€ */
.mptbc-gallery-card-item {
    display: flex;
    flex-direction: column;
}

.mptbc-gallery-card {
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--mptbc-card-border);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    width: 100%;
}

.mptbc-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
    border-color: color-mix(
            in srgb,
            var(--mptbc-primary) 35%,
            var(--mptbc-card-border)
    );
}

.mptbc-gallery-img-box {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #0f172a;
    cursor: pointer;
}

.mptbc-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.mptbc-gallery-card:hover .mptbc-gallery-img {
    transform: scale(1.06);
}

.mptbc-gallery-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.mptbc-gallery-card:hover .mptbc-gallery-zoom-overlay {
    opacity: 1;
}

.mptbc-gallery-zoom-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--mptbc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mptbc-gallery-card:hover .mptbc-gallery-zoom-icon {
    transform: scale(1);
}

.mptbc-gallery-card-body {
    padding: 1.15rem 1.25rem 1.25rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
    border-top: 1px solid #f1f5f9;
}

/* Refined Category Pill Badge (Theme-Adaptive & High Contrast) */
.mptbc-gallery-cat-badge {
    background: color-mix(in srgb, var(--mptbc-gold) 15%, #ffffff);
    color: var(--mptbc-primary-dark);
    border: 1px solid color-mix(in srgb, var(--mptbc-gold) 40%, transparent);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    padding: 3px 11px;
    border-radius: 6px;
    display: inline-block;
    letter-spacing: 0.03em;
    margin-bottom: 0.55rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mptbc-gallery-card:hover .mptbc-gallery-cat-badge {
    background: var(--mptbc-gold);
    color: var(--mptbc-primary-dark);
    border-color: var(--mptbc-gold);
}

.mptbc-gallery-card-title {
    color: var(--mptbc-text-primary, #0f172a);
    font-size: var(--fs-base);
    font-weight: var(--fw-bold);
    line-height: 1.4;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mptbc-gallery-card:hover .mptbc-gallery-card-title {
    color: var(--mptbc-primary);
}

/* SS-1 Reference: Card-level Explore Button with Arrow */
.mptbc-card-explore-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.75rem;
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    font-size: var(--fs-base);
    font-weight: var(--fw-bold);
    color: var(--mptbc-primary);
    text-decoration: none !important;
    transition: all 0.25s ease;
    width: fit-content;
}

.mptbc-card-explore-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--mptbc-primary) 8%, #f1f5f9);
    color: var(--mptbc-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mptbc-card-explore-link:hover {
    color: var(--mptbc-primary-dark, var(--mptbc-primary));
}

.mptbc-card-explore-link:hover .mptbc-card-explore-circle {
    background: var(--mptbc-primary);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 3px 8px color-mix(in srgb, var(--mptbc-primary) 35%, transparent);
}

/* High contrast theme */
[data-theme="high-contrast"] .mptbc-gallery-card {
    background: #000000;
    border: 1.5px solid #ffff00;
}

[data-theme="high-contrast"] .mptbc-gallery-card-body {
    background: #000000;
}

[data-theme="high-contrast"] .mptbc-gallery-cat-badge {
    background: #ffff00;
    color: #000000;
}

[data-theme="high-contrast"] .mptbc-gallery-card-title {
    color: #ffffff;
}

[data-theme="high-contrast"] .mptbc-card-explore-link {
    color: #ffff00;
}

[data-theme="high-contrast"] .mptbc-card-explore-circle {
    background: #222222;
    color: #ffff00;
    border: 1px solid #ffff00;
}

[data-theme="high-contrast"]
.mptbc-card-explore-link:hover
.mptbc-card-explore-circle {
    background: #ffff00;
    color: #000000;
}

/* Lightbox Modal */
.mptbc-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.mptbc-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.mptbc-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 2010;
    transition: background 0.2s ease;
}

.mptbc-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mptbc-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 2010;
    transition: all 0.2s ease;
}

.mptbc-lightbox-nav:hover {
    background: var(--mptbc-gold);
    color: #000000;
}

.mptbc-lightbox-nav.prev {
    left: 1.5rem;
}

.mptbc-lightbox-nav.next {
    right: 1.5rem;
}

.mptbc-lightbox-content {
    position: relative;
    z-index: 2005;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
}

.mptbc-lightbox-img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #f8fafc;
}

.mptbc-lightbox-caption {
    padding: 1.1rem 1.5rem;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mptbc-lightbox-title {
    color: #0f172a;
    font-weight: 700;
    font-size: 1.12rem;
    line-height: 1.35;
}

.mptbc-lightbox-counter {
    color: #64748b;
    font-weight: 600;
    font-family: "Outfit", sans-serif;
}

/* â”€â”€â”€ 8. Categorized Tenders â”€â”€â”€ */
.mptbc-tab-list {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

/*  8. Active Tenders & Notice Board (SS-2 Split Layout) */
.mptbc-notice-card {
    border: 1px solid var(--mptbc-card-border);
    border-radius: 12px;
    padding: 20px;
}

.mptbc-notice-viewall {
    color: var(--mptbc-navy);
    font-size: var(--fs-base);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.mptbc-notice-viewall:hover {
    color: var(--mptbc-gold);
    transform: translateX(3px);
}

.mptbc-notice-tabs {
    border-bottom: 1px solid var(--mptbc-card-border);
    padding-bottom: 0.85rem;
}

.mptbc-notice-tab,
.mptbc-tab-btn {
    background: #ffffff;
    border: 1px solid var(--mptbc-card-border);
    border-radius: 6px;
    padding: 6px 16px;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--mptbc-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mptbc-notice-tab:hover,
.mptbc-tab-btn:hover {
    border-color: var(--mptbc-navy);
    color: var(--mptbc-navy);
}

.mptbc-notice-tab.active,
.mptbc-tab-btn.active {
    background: var(--mptbc-navy);
    border-color: var(--mptbc-gold);
    border-bottom: 3px solid var(--mptbc-gold);
    color: #ffffff !important;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--mptbc-gold) 30%, transparent);
}

.mptbc-notice-list {
    max-height: 335px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--mptbc-navy) #f1f5f9;
}

/* Custom Sleek Scrollbar (SS-2 Reference Style) */
.mptbc-notice-list::-webkit-scrollbar {
    width: 5px;
}

.mptbc-notice-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.mptbc-notice-list::-webkit-scrollbar-thumb {
    background: var(--mptbc-navy);
    border-radius: 4px;
}

.mptbc-notice-list::-webkit-scrollbar-thumb:hover {
    background: var(--mptbc-gold);
}

.mptbc-notice-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.15rem 0.65rem;
    margin: 0 -0.65rem;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mptbc-notice-item:hover {
    background: color-mix(in srgb, var(--mptbc-primary) 4%, #ffffff);
    transform: translateX(4px);
}

.mptbc-notice-item:last-child {
    border-bottom: none;
}

.mptbc-notice-date-box {
    min-width: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 4px 6px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.mptbc-notice-day {
    font-family: "Outfit", sans-serif;
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    line-height: 1;
    color: var(--mptbc-navy);
}

.mptbc-notice-month {
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.mptbc-badge-ref {
    background: color-mix(in srgb, var(--mptbc-gold) 14%, #ffffff);
    color: var(--mptbc-gold-hover, var(--mptbc-gold));
    font-weight: var(--fw-bold);
    font-size: var(--fs-2xs);
    border: 1px solid color-mix(in srgb, var(--mptbc-gold) 35%, transparent);
}

.mptbc-badge-cat {
    background: #f8fafc;
    color: #64748b;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-2xs);
    border: 1px solid #e2e8f0;
}

.mptbc-notice-title {
    color: #0f172a;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-base);
    line-height: 1.45;
    transition: color 0.2s ease;
}

.mptbc-notice-title:hover {
    color: var(--mptbc-navy);
}

.mptbc-notice-action {
    flex-shrink: 0;
}

.mptbc-notice-pdf-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--mptbc-card-border);
    color: var(--mptbc-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mptbc-notice-pdf-btn:hover {
    background: var(--mptbc-navy);
    border-color: var(--mptbc-navy);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Latest News */
.mptbc-news-card {
    border: 1px solid var(--mptbc-card-border);
    border-radius: 12px;
    padding: 20px;
}

.mptbc-news-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mptbc-news-item {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 1.15rem 1.4rem;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.mptbc-news-item:hover {
    transform: translateX(4px);
    background: #f1f5f9;
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.mptbc-news-num {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -2px;
    min-width: 58px;
    flex-shrink: 0;
    color: transparent;
    -webkit-text-stroke: 1.5px #94a3b8;
    transition: all 0.25s ease;
    user-select: none;
}

.mptbc-news-item:hover .mptbc-news-num {
    -webkit-text-stroke-color: var(--mptbc-navy);
}

.mptbc-news-content {
    flex-grow: 1;
    min-width: 0;
}

.mptbc-news-title {
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.4rem;
    color: #0f172a;
}

.mptbc-news-title a {
    color: inherit;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mptbc-news-item:not(.active):hover .mptbc-news-title a {
    color: var(--mptbc-navy);
}

.mptbc-news-meta {
    font-size: 0.76rem;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    align-items: center;
}

.mptbc-news-meta .mptbc-meta-item {
    display: inline-flex;
    align-items: center;
}

.mptbc-news-meta .mptbc-meta-item i {
    color: var(--mptbc-navy);
    font-size: 0.82rem;
}

/* Active Highlight Item (Row 02 in SS-1) */
.mptbc-news-item.active {
    background: linear-gradient(
            135deg,
            var(--mptbc-navy) 0%,
            var(--mptbc-navy-dark) 100%
    );
    border: 1.5px solid var(--mptbc-gold);
    border-left: 5px solid var(--mptbc-gold);
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.mptbc-news-item.active .mptbc-news-num {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--mptbc-gold-bright, var(--mptbc-gold));
}

.mptbc-news-item.active .mptbc-news-title,
.mptbc-news-item.active .mptbc-news-title a {
    color: #ffffff !important;
}

.mptbc-news-item.active .mptbc-news-meta {
    color: rgba(255, 255, 255, 0.9);
}

.mptbc-news-item.active .mptbc-news-meta .mptbc-meta-item i {
    color: var(--mptbc-gold-bright, var(--mptbc-gold));
}

.mptbc-news-item.active:hover {
    transform: translateX(4px);
    background: var(--mptbc-navy-dark);
}

/* High-Contrast Theme Overrides */
[data-theme="high-contrast"] .mptbc-news-item {
    background: #000000;
    border-color: #333333;
}

[data-theme="high-contrast"] .mptbc-news-num {
    -webkit-text-stroke-color: #888888;
}

[data-theme="high-contrast"] .mptbc-news-title a {
    color: #ffffff;
}

[data-theme="high-contrast"] .mptbc-news-meta {
    color: #cccccc;
}

[data-theme="high-contrast"] .mptbc-news-meta .mptbc-meta-item i {
    color: #ffff00;
}

[data-theme="high-contrast"] .mptbc-news-item.active {
    background: #111111;
    border: 2px solid #ffff00;
}

[data-theme="high-contrast"] .mptbc-news-item.active .mptbc-news-num {
    -webkit-text-stroke: 1.5px #ffff00;
}

[data-theme="high-contrast"] .mptbc-news-item.active .mptbc-news-title a {
    color: #ffff00 !important;
}

[data-theme="high-contrast"] .mptbc-news-item.active .mptbc-news-meta {
    color: #ffffff;
}

[data-theme="high-contrast"]
.mptbc-news-item.active
.mptbc-news-meta
.mptbc-meta-item
i {
    color: #ffff00;
}

/* Right Column: E-Procurement Showcase Card */
.mptbc-procure-card {
    border: 1px solid var(--mptbc-card-border);
    border-radius: 12px;
}

.mptbc-procure-img-wrap {
    height: 220px;
    overflow: hidden;
}

.mptbc-procure-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mptbc-procure-card:hover .mptbc-procure-img {
    transform: scale(1.05);
}

.mptbc-procure-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.2) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem 1.5rem;
}

.mptbc-feature-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--mptbc-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.mptbc-portal-link-btn {
    background: var(--mptbc-navy);
    color: #ffffff !important;
    font-weight: var(--fw-bold);
    font-size: var(--fs-base);
    padding: 11px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: none;
}

.mptbc-portal-link-btn:hover {
    background: var(--mptbc-navy-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* ─── 9. Regional Depots ─── */
.mptbc-depot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.mptbc-depot-card {
    background: #ffffff;
    border-radius: var(--mptbc-radius);
    border: 1px solid var(--mptbc-card-border);
    padding: 1.25rem;
    transition: all 0.25s ease;
}

.mptbc-depot-card:hover {
    transform: translateY(-3px);
    border-color: var(--mptbc-navy);
    box-shadow: var(--mptbc-shadow-md);
}

.mptbc-depot-title {
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    color: var(--mptbc-navy);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mptbc-depot-badge {
    font-size: var(--fs-2xs);
    background: #e2e8f0;
    color: #334155;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: var(--fw-semibold);
}

/* ─── 10. Footer ─── */
.mptbc-footer {
    background: var(--mptbc-navy-dark);
    color: #cbd5e1;
    padding: 4rem 0 1.5rem 0;
    font-size: var(--fs-base);
    border-top: 4px solid var(--mptbc-gold);
}

.mptbc-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s ease;
}

.mptbc-footer a:hover {
    color: #ffffff;
}

.mptbc-footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--fs-sm);
}

.hover-lift {
    transition: transform 0.25s ease,
    box-shadow 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--mptbc-shadow-md) !important;
}

@media (max-width: 991.98px) {
    .mptbc-topbar {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }

    .mptbc-header-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .mptbc-carousel-img {
        max-height: 280px;
    }

    .mptbc-carousel-control {
        width: 38px;
        height: 38px;
        margin: 0 0.5rem;
    }

    .mptbc-nav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .mptbc-tender-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   21. OPERATIONS GATEWAY / SERPENTINE WORKFLOW ROADWAY (SS-1 REFERENCE DESIGN)
   ========================================================================== */

.mptbc-heading-accent {
    color: var(--mptbc-secondary, #f59e0b);
}

.mptbc-roadmap-section {
    position: relative;
    background: var(
            --mptbc-section-light-bg,
            linear-gradient(180deg, #ffffff 0%, #f8fafc 100%)
    );
    border-top: 1px solid var(--mptbc-section-light-border, rgba(0, 0, 0, 0.06));
    padding: 3.25rem 0 3.25rem;
    overflow: hidden;
    isolation: isolate;
    contain: paint;
}

.mptbc-serpentine-wrapper {
    position: relative;
    width: 100%;
    max-width: 1060px;
    margin: 1rem auto 0;
    aspect-ratio: 1000 / 530;
    user-select: none;
}

/* Background Scalable SVG Track */
.mptbc-serpentine-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 1;
}

.mptbc-svg-road-base {
    transition: stroke 0.3s ease;
}

.mptbc-svg-road-divider {
    animation: mptbcDashScroll 20s linear infinite;
}

@keyframes mptbcDashScroll {
    to {
        stroke-dashoffset: -220;
    }
}

.mptbc-curve-chevrons {
    opacity: 0.85;
    transition: opacity 0.3s ease,
    fill 0.3s ease;
}

.mptbc-serpentine-wrapper:hover .mptbc-curve-chevrons {
    opacity: 1;
    fill: var(--mptbc-secondary, #f59e0b);
}

/* HTML Milestone Nodes Overlay Layer */
.mptbc-road-nodes-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

/* START and FINISH Terminal Badges */
.mptbc-road-milestone {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    z-index: 4;
}

.mptbc-milestone-disc {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
    border: 3px solid #ffffff;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
}

.mptbc-milestone-start .mptbc-milestone-disc {
    background: #0f172a;
    border-color: var(--mptbc-secondary, #f59e0b);
}

.mptbc-milestone-finish .mptbc-milestone-disc {
    background: var(--mptbc-primary, #1d5b96);
    border-color: var(--mptbc-secondary, #f59e0b);
}

.mptbc-milestone-label {
    font-family: "Outfit", sans-serif;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.mptbc-road-milestone:hover .mptbc-milestone-disc {
    transform: scale(1.12);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
}

/* Individual Milestone Node (Steps 01 to 06) */
/* Anchored directly on the 78px circular disc center (39px vertical offset) */
.mptbc-road-node {
    position: absolute;
    transform: translate(-50%, -39px);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 170px;
    pointer-events: auto;
    z-index: 5;
}

.mptbc-node-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    color: inherit;
    width: 100%;
}

/* Circular Node Badge */
.mptbc-node-disc {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid color-mix(in srgb, var(--mptbc-primary) 18%, #ffffff);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12),
    0 2px 6px rgba(15, 23, 42, 0.06);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.38s ease,
    background-color 0.3s ease;
    z-index: 6;
}

.mptbc-node-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--mptbc-primary, #1d5b96);
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    box-shadow: 0 3px 8px color-mix(in srgb, var(--mptbc-primary) 40%, transparent);
    transition: transform 0.3s ease,
    background 0.3s ease;
    z-index: 7;
}

.mptbc-node-icon {
    font-size: 1.85rem;
    line-height: 1;
    color: var(--mptbc-secondary, #f59e0b);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.3s ease;
}

/* Typography Below Circular Disc (Ample vertical clearance from road) */
.mptbc-node-content {
    text-align: center;
    margin-top: 0.75rem;
    max-width: 165px;
    transition: transform 0.3s ease;
}

.mptbc-node-title {
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--mptbc-text-primary, #0f172a);
    margin-bottom: 0.2rem;
    line-height: 1.25;
    transition: color 0.25s ease;
}

.mptbc-node-desc {
    font-size: var(--fs-xs);
    line-height: 1.35;
    font-weight: var(--fw-semibold);
    color: var(--mptbc-text-secondary);
}

/* Hover States on Node */
.mptbc-node-link:hover .mptbc-node-disc {
    transform: scale(1.12);
    border-color: var(--mptbc-secondary, #f59e0b);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18),
    0 0 20px color-mix(in srgb, var(--mptbc-secondary) 35%, transparent);
}

.mptbc-node-link:hover .mptbc-node-badge {
    transform: scale(1.15);
    background: var(--mptbc-secondary, #f59e0b);
}

.mptbc-node-link:hover .mptbc-node-icon {
    transform: scale(1.12);
    color: var(--mptbc-primary, #1d5b96);
}

.mptbc-node-link:hover .mptbc-node-title {
    color: var(--mptbc-primary, #1d5b96);
}

/* ==========================================================================
   RIPPLE / BUBBLE BURST EFFECT WHEN TRUCK ARRIVES AT NODE
   Nested strictly inside .mptbc-node-disc to eliminate any viewport bleeding
   ========================================================================== */

.mptbc-node-pulse-ring,
.mptbc-node-bubble-burst {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: -1;
}

/* Expanding Sonar / Ripple Ring */
.mptbc-road-node.is-active .mptbc-node-pulse-ring {
    display: block;
    animation: mptbcRippleWave 1.5s cubic-bezier(0.1, 0.7, 0.1, 1) infinite;
}

@keyframes mptbcRippleWave {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.85;
        border: 3px solid var(--mptbc-secondary, #f59e0b);
        box-shadow: 0 0 16px 4px color-mix(in srgb, var(--mptbc-secondary) 50%, transparent);
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
        border: 1px solid var(--mptbc-secondary, #f59e0b);
        box-shadow: 0 0 24px 6px transparent;
    }
}

/* Secondary Bubble Burst Ring */
.mptbc-road-node.is-active .mptbc-node-bubble-burst {
    display: block;
    animation: mptbcBubbleBurst 1.5s 0.25s cubic-bezier(0.1, 0.7, 0.1, 1) infinite;
}

@keyframes mptbcBubbleBurst {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
        border: 2px solid var(--mptbc-primary, #1d5b96);
        box-shadow: 0 0 18px 5px color-mix(in srgb, var(--mptbc-primary) 60%, transparent);
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
        border: 1px solid var(--mptbc-primary, #1d5b96);
    }
}

.mptbc-road-node.is-active .mptbc-node-disc {
    border-color: var(--mptbc-secondary, #f59e0b);
    box-shadow: 0 0 24px color-mix(in srgb, var(--mptbc-secondary) 45%, transparent),
    0 12px 30px rgba(15, 23, 42, 0.16);
    transform: scale(1.08);
}

.mptbc-road-node.is-active .mptbc-node-icon {
    color: var(--mptbc-primary, #1d5b96);
}

/* Progress Trail: Milestone Passed State */
.mptbc-road-node.is-passed .mptbc-node-disc {
    border-color: #10b981;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.16),
    0 2px 6px rgba(15, 23, 42, 0.06);
}

.mptbc-road-node.is-passed .mptbc-node-badge {
    background: #10b981;
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
}

/* Moving Truck Styling */
.mptbc-svg-truck {
    z-index: 2;
    cursor: pointer;
    filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.35));
    transition: filter 0.25s ease;
}

.mptbc-svg-truck:hover {
    filter: drop-shadow(0 6px 16px rgba(15, 23, 42, 0.5));
}

/* Responsive Handling */
@media (max-width: 767px) {
    .mptbc-serpentine-wrapper {
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        padding: 1rem 0;
    }

    .mptbc-serpentine-svg {
        display: none;
    }

    .mptbc-road-nodes-layer {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        pointer-events: auto;
        padding-left: 20px;
        border-left: 4px dashed #475569;
        margin-left: 20px;
    }

    .mptbc-road-milestone,
    .mptbc-road-node {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        flex-direction: row;
        align-items: center;
        gap: 1.25rem;
    }

    .mptbc-node-link {
        flex-direction: row;
        align-items: center;
        gap: 1.25rem;
        width: 100%;
    }

    .mptbc-node-content {
        text-align: left;
        max-width: none;
        margin-top: 0;
    }

    .mptbc-node-pulse-ring,
    .mptbc-node-bubble-burst {
        left: 39px;
        top: 39px;
    }
}

/* High Contrast Mode */
[data-theme="high-contrast"] .mptbc-svg-road-base {
    stroke: #ffffff;
}

[data-theme="high-contrast"] .mptbc-svg-road-surface {
    stroke: #000000;
}

[data-theme="high-contrast"] .mptbc-svg-road-divider {
    stroke: #ffff00;
}

[data-theme="high-contrast"] .mptbc-node-disc {
    background: #000000;
    border-color: #ffff00;
    box-shadow: none;
}

[data-theme="high-contrast"] .mptbc-node-badge {
    background: #ffff00;
    color: #000000;
}

[data-theme="high-contrast"] .mptbc-node-icon {
    color: #ffff00;
}

[data-theme="high-contrast"] .mptbc-node-title,
[data-theme="high-contrast"] .mptbc-node-desc {
    color: #ffffff !important;
}

/* SS-2 Reference: Circular Go To Top with Scroll Progress Ring */
.mptbc-scroll-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mptbc-scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.mptbc-scroll-top-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.mptbc-progress-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.mptbc-progress-bg-ring {
    fill: var(--mptbc-navy); /* Theme Primary Color */
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 3.5;
}

.mptbc-progress-bar-ring {
    fill: none;
    stroke: var(
            --mptbc-gold-bright,
            var(--mptbc-gold)
    ); /* Theme Secondary Color (Gold/Yellow) */
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-dasharray: 119.38;
    stroke-dashoffset: 119.38;
    transition: stroke-dashoffset 0.12s linear;
}

.mptbc-scroll-arrow-center {
    position: relative;
    z-index: 2;
    width: 30px;
    height: 30px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mptbc-navy);
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.mptbc-scroll-top-btn:hover .mptbc-scroll-arrow-center {
    background: var(--mptbc-gold-bright, var(--mptbc-gold));
    color: #0f172a;
}

/* Theme adaptation for high-contrast */
[data-theme="high-contrast"] .mptbc-progress-bg-ring {
    fill: #000000;
    stroke: #ffffff;
}

[data-theme="high-contrast"] .mptbc-progress-bar-ring {
    stroke: #ffff00;
}

/* Language Switcher Toast */
.mptbc-lang-toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: #1e293b;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2100;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mptbc-lang-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* â”€â”€â”€ 22. Smooth Scrolling & Premium Reveal Animations â”€â”€â”€ */
html {
    scroll-behavior: smooth;
}

/* Scroll Reveal Base Classes */
.mptbc-reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
    will-change: opacity, transform;
}

.mptbc-reveal-fade {
    opacity: 0;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
    will-change: opacity;
}

.mptbc-reveal-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
    will-change: opacity, transform;
}

.mptbc-reveal-right {
    opacity: 0;
    transform: translateX(36px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
    will-change: opacity, transform;
}

/* Triggered State */
.mptbc-reveal-up.is-revealed,
.mptbc-reveal-fade.is-revealed,
.mptbc-reveal-left.is-revealed,
.mptbc-reveal-right.is-revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Unblock Component Card Hover Transforms when Revealed */
.mptbc-quick-card.is-revealed:hover,
.mptbc-quick-card:hover {
    transform: translateY(-7px) !important;
}

.mptbc-metric-card.is-revealed:hover,
.mptbc-metric-card:hover {
    transform: translateY(-5px) !important;
}

.mptbc-service-card.is-revealed:hover,
.mptbc-service-card:hover {
    transform: translateY(-6px) !important;
}

.mptbc-depot-card.is-revealed:hover,
.mptbc-depot-card:hover {
    transform: translateY(-5px) !important;
}

.mptbc-gallery-card:hover {
    transform: translateY(-6px) !important;
}

.mptbc-md-card:hover {
    transform: translateY(-4px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

/* HQ Image Hover Micro-interaction */
.mptbc-about-img-frame {
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
}

.mptbc-about-img-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18) !important;
}

.mptbc-hq-img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mptbc-about-img-frame:hover .mptbc-hq-img {
    transform: scale(1.04);
}

/* Staggered Delay Utilities */
.mptbc-delay-1 {
    --delay: 0.08s;
    transition-delay: 0.08s !important;
}

.mptbc-delay-2 {
    --delay: 0.16s;
    transition-delay: 0.16s !important;
}

.mptbc-delay-3 {
    --delay: 0.24s;
    transition-delay: 0.24s !important;
}

.mptbc-delay-4 {
    --delay: 0.32s;
    transition-delay: 0.32s !important;
}

.mptbc-delay-5 {
    --delay: 0.4s;
    transition-delay: 0.4s !important;
}

.mptbc-delay-6 {
    --delay: 0.48s;
    transition-delay: 0.48s !important;
}

.mptbc-delay-7 {
    --delay: 0.56s;
    transition-delay: 0.56s !important;
}

.mptbc-delay-8 {
    --delay: 0.64s;
    transition-delay: 0.64s !important;
}

/* Grid Staggers for Quick Action Cards */
.mptbc-quick-card:nth-child(1) {
    --delay: 0.08s;
}

.mptbc-quick-card:nth-child(2) {
    --delay: 0.16s;
}

.mptbc-quick-card:nth-child(3) {
    --delay: 0.24s;
}

.mptbc-quick-card:nth-child(4) {
    --delay: 0.32s;
}

/* Grid Staggers for Gallery Cards */
.mptbc-gallery-card-item:nth-child(1) {
    --delay: 0.06s;
}

.mptbc-gallery-card-item:nth-child(2) {
    --delay: 0.12s;
}

.mptbc-gallery-card-item:nth-child(3) {
    --delay: 0.18s;
}

.mptbc-gallery-card-item:nth-child(4) {
    --delay: 0.24s;
}

.mptbc-gallery-card-item:nth-child(5) {
    --delay: 0.3s;
}

.mptbc-gallery-card-item:nth-child(6) {
    --delay: 0.36s;
}

.mptbc-gallery-card-item:nth-child(7) {
    --delay: 0.42s;
}

.mptbc-gallery-card-item:nth-child(8) {
    --delay: 0.48s;
}

/* Stagger for Digital Services Cells */
.mptbc-service-cell:nth-child(1) {
    --delay: 0.06s;
}

.mptbc-service-cell:nth-child(2) {
    --delay: 0.12s;
}

.mptbc-service-cell:nth-child(3) {
    --delay: 0.18s;
}

.mptbc-service-cell:nth-child(4) {
    --delay: 0.24s;
}

.mptbc-service-cell:nth-child(5) {
    --delay: 0.3s;
}

.mptbc-service-cell:nth-child(6) {
    --delay: 0.36s;
}

/* Stagger for MD Strategic Pillars */
.mptbc-md-pillar:nth-child(1) {
    --delay: 0.1s;
}

.mptbc-md-pillar:nth-child(3) {
    --delay: 0.22s;
}

.mptbc-md-pillar:nth-child(5) {
    --delay: 0.34s;
}

/* CSS Keyframe Animations */
@keyframes mptbcFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.mptbc-floating {
    animation: mptbcFloat 4.8s ease-in-out infinite;
}

@keyframes mptbcFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes mptbcFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes mptbcFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mptbc-animate-fade-in {
    animation: mptbcFadeIn 0.5s ease forwards;
}

.mptbc-animate-fade-up {
    animation: mptbcFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Micro-interaction: Subtle link & button arrow slide */
.mptbc-arrow-slide {
    display: inline-block;
    transition: transform 0.25s ease;
}

a:hover .mptbc-arrow-slide,
button:hover .mptbc-arrow-slide,
.mptbc-about-btn:hover i {
    transform: translateX(4px);
}

.mptbc-about-btn {
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mptbc-about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--mptbc-primary) 35%, transparent);
}

/* Accessibility: Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .mptbc-reveal-up,
    .mptbc-reveal-fade,
    .mptbc-reveal-left,
    .mptbc-reveal-right,
    .mptbc-glance-divider-knot,
    .mptbc-floating,
    .mptbc-section-badge-dot,
    .mptbc-md-badge-dot {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}
