/* ==========================================================================
   ms-midnight-theme.css — Premium deep-navy / midnight-blue dark theme
   --------------------------------------------------------------------------
   CONFLICT-SAFE BY DESIGN
   • Every rule starts with  body.ms-theme  → nothing changes on pages that
     do not add  class="ms-theme"  to <body>.
   • All custom properties use the  --ms-*  prefix, all new ids/classes use
     the  ms-  prefix. No :root overrides, no changes to Bootstrap variables.
   • style.css and bootstrap.min.css are NOT edited. Load this file AFTER them.
   • Hero block (centered, tall, modern) is styled in the "HERO" section below.
   ========================================================================== */

body.ms-theme {
  --ms-bg-0: #030814;
  --ms-bg-1: #061126;
  --ms-bg-2: #0a1a38;
  --ms-surface: rgba(10, 24, 52, 0.62);
  --ms-surface-solid: #0a1a38;
  --ms-surface-hi: rgba(18, 40, 84, 0.72);
  --ms-border: rgba(120, 165, 255, 0.16);
  --ms-border-hi: rgba(140, 185, 255, 0.34);
  --ms-text: #e8eefb;
  --ms-text-soft: #b4c2e0;
  --ms-muted: #8d9dc2;
  --ms-accent: #6ea8ff;
  --ms-accent-2: #8a7bff;
  --ms-accent-3: #5ee1f5;
  --ms-warm: #ffa45c;
  --ms-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
  --ms-glow: 0 0 0 1px rgba(120, 165, 255, 0.12), 0 14px 40px rgba(4, 12, 34, 0.55);
  --ms-blur: blur(14px) saturate(130%);
}

/* ---------- page base ---------- */
/* body stays transparent on purpose: the navy backdrop lives on <html> and on the
   fixed globe stage (z-index:-1). A painted body background would hide the globe. */
body.ms-theme {
  background: transparent;
  color: var(--ms-text);
}
body.ms-theme ::selection { background: rgba(110, 168, 255, 0.35); color: #fff; }

@supports selector(:has(*)) {
  html:has(body.ms-theme) {
    color-scheme: dark;
    scrollbar-color: #2b4a8c #0c1a42;
    background: #0c1a42;   /* globe ke aas-paas wala blue — kinare ab zyada dark nahi */
  }
}

/* The fixed background globe stage (created by ms-globe.js) */
/* Poore background me wahi blue jo globe ke aas-paas dikhta hai (left/right kinare ab gehre kaale nahi).
   Beech me halki si roshni pehle jaisi rehti hai. */
body.ms-theme #ms-globe-stage {
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(24, 58, 140, 0.30) 0%, rgba(24, 58, 140, 0) 70%),
    linear-gradient(180deg, #10204c 0%, #0d1c45 55%, #0c1a42 100%);
}

/* ---------- make page sections see-through so the globe shows behind them ---------- */
body.ms-theme .hero-section:not(.leadership-slider),
body.ms-theme .impact-section,
body.ms-theme .testimonials-section,
body.ms-theme .news-section,
body.ms-theme .leadership-slider {
  background-color: transparent;
  background-image: none;
}

/* hero: soft vignette (full hero styling is in the HERO section further below) */
body.ms-theme .hero-section:not(.leadership-slider) {
  background-image: linear-gradient(180deg, rgba(3, 8, 20, 0.35) 0%, rgba(3, 8, 20, 0) 55%);
}

/* About strip: keep its picture, but tint it into the navy palette.
   (If it still looks off, replace the 3 lines below with:  background-image: none; ) */


/* ==========================================================================
   HERO — tall, centered, modern  (only the first .hero-section, not the
   leadership slider which also carries .hero-section)
   ========================================================================== */
body.ms-theme .hero-section:not(.leadership-slider) {
  display: flex;
  align-items: center;
  min-height: clamp(560px, 84vh, 880px);
  padding: 90px 0 120px;
  overflow: hidden;
}
body.ms-theme .hero-section:not(.leadership-slider) > .container { width: 100%; }
body.ms-theme .hero-section:not(.leadership-slider) .row { justify-content: center; }

body.ms-theme .hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  text-align: center;
}
/* soft dark halo so text stays crisp over the globe */
body.ms-theme .hero-content::before {
  content: "";
  position: absolute;
  inset: -50px 4%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(3, 8, 20, 0.62) 0%, rgba(3, 8, 20, 0) 70%);
  pointer-events: none;
}
body.ms-theme .hero-content > h1,
body.ms-theme .hero-content > p,
body.ms-theme .hero-content > .ms-hero-eyebrow,
body.ms-theme .hero-content > .ms-hero-trust { flex: 0 0 100%; }

/* eyebrow pill */
body.ms-theme .ms-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ms-text-soft);
  background: var(--ms-surface);
  border: 1px solid var(--ms-border-hi);
  -webkit-backdrop-filter: var(--ms-blur);
  backdrop-filter: var(--ms-blur);
}
body.ms-theme .ms-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ms-accent-3);
  box-shadow: 0 0 0 0 rgba(94, 225, 245, 0.6);
  animation: ms-hero-pulse 2s infinite;
}
@keyframes ms-hero-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(94, 225, 245, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(94, 225, 245, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 225, 245, 0); }
}

/* headline */
body.ms-theme .hero-content h1 {
  font-size: 40px;
  text-wrap: balance;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 6px 0 4px;
}
body.ms-theme .hero-content h1 .color-purple,
body.ms-theme .hero-content h1 .color-orange {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
body.ms-theme .hero-content h1 .color-purple {
  background-image: linear-gradient(90deg, #ffffff 0%, #bcd4ff 45%, #8fb4ff 100%);
}
body.ms-theme .hero-content h1 .color-orange {
  background-image: linear-gradient(90deg, #ffb26b 0%, #ff8a4c 50%, #ffcf8a 100%);
}

/* sub-text */
body.ms-theme .hero-content p {
  box-sizing: border-box;
  max-width: 100%;
  /* centers a ~760px text column without breaking the flex row */
  padding-left: calc((100% - 760px) / 2);
  padding-right: calc((100% - 760px) / 2);
  margin: 0 0 10px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  text-align: center;
  color: var(--ms-text-soft);
  opacity: 1;
}

/* CTA buttons */
body.ms-theme .hero-content .btn-started,
body.ms-theme .hero-content .btn-video {
  margin: 0;
  padding: 14px 34px;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
body.ms-theme .hero-content .btn-started:hover,
body.ms-theme .hero-content .btn-video:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}
body.ms-theme .hero-content .btn-started { box-shadow: 0 10px 30px rgba(47, 107, 255, 0.45); }
body.ms-theme .hero-content .btn-video { box-shadow: 0 10px 30px rgba(233, 129, 44, 0.35); }

/* trust chips */
body.ms-theme .ms-hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin: 18px 0 0;
  padding: 0;
}
body.ms-theme .ms-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ms-muted);
}
body.ms-theme .ms-hero-trust i { color: var(--ms-accent-3); }

/* scroll cue */
body.ms-theme .hero-section:not(.leadership-slider)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, rgba(140, 185, 255, 0), rgba(140, 185, 255, 0.7));
  transform: translateX(-50%);
  animation: ms-hero-cue 2.2s ease-in-out infinite;
  pointer-events: none;
}


/* ==========================================================================
   ABOUT CA SETU — no background image; the page globe shows through.
   Left: copy + highlights.  Right: two "choose your path" glass cards
   over a slowly orbiting ring.  (classes: ms-about-*, ms-path-*)
   ========================================================================== */
body.ms-theme .ms-about {
  position: relative;
  padding: 110px 0;
  background: none;
  overflow-x: clip;
}
body.ms-theme .ms-about::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ms-border-hi), transparent);
  pointer-events: none;
}
/* soft dark halo behind the copy so text is crisp over the globe */
body.ms-theme .ms-about .col-lg-6:first-child { position: relative; }
body.ms-theme .ms-about .col-lg-6:first-child::before {
  content: "";
  position: absolute;
  inset: -30px 0 -30px -40px;
  z-index: -1;
  background: radial-gradient(ellipse at 40% 50%, rgba(3, 8, 20, 0.55), transparent 72%);
  pointer-events: none;
}

body.ms-theme .ms-about-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ms-accent-3);
  background: rgba(94, 225, 245, 0.08);
  border: 1px solid rgba(94, 225, 245, 0.28);
}
body.ms-theme .ms-about-title {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
body.ms-theme .ms-about-text {
  margin: 0 0 28px;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: left;
  color: var(--ms-text-soft);
}
body.ms-theme .ms-about-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  font-weight: 600;
  color: var(--ms-warm);
  text-decoration: none;
  white-space: nowrap;
}
body.ms-theme .ms-about-more i { font-size: 0.75em; transition: transform 0.25s ease; }
body.ms-theme .ms-about-more:hover { color: #ffc08a; }
body.ms-theme .ms-about-more:hover i { transform: translateX(4px); }

/* highlights list */
body.ms-theme .ms-about-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 560px;
}
body.ms-theme .ms-about-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}
body.ms-theme .ms-about-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  font-size: 1.1rem;
  color: var(--ms-accent);
  background: linear-gradient(145deg, rgba(110, 168, 255, 0.18), rgba(122, 92, 255, 0.10));
  border: 1px solid var(--ms-border-hi);
  box-shadow: 0 8px 22px rgba(4, 12, 34, 0.5);
}
body.ms-theme .ms-about-list strong { display: block; font-size: 1.02rem; color: #fff; line-height: 1.3; }
body.ms-theme .ms-about-list small { display: block; margin-top: 2px; font-size: 0.88rem; color: var(--ms-muted); }

/* choose-your-path cards */
body.ms-theme .ms-about-paths {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 10px 0;
}
body.ms-theme .ms-about-paths > .ms-path { position: relative; z-index: 1; }

/* orbiting rings (pure CSS) */
body.ms-theme .ms-about-orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 118%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
body.ms-theme .ms-about-orbit::before,
body.ms-theme .ms-about-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(110, 168, 255, 0.22);
}
body.ms-theme .ms-about-orbit::before {
  inset: 0;
  background: radial-gradient(circle at 50% 0, #5ee1f5 0 4px, transparent 5px);
  animation: ms-about-spin 48s linear infinite;
}
body.ms-theme .ms-about-orbit::after {
  inset: 15%;
  border-color: rgba(138, 123, 255, 0.28);
  background: radial-gradient(circle at 50% 100%, #ffa45c 0 3px, transparent 4px);
  animation: ms-about-spin 34s linear infinite reverse;
}
@keyframes ms-about-spin { to { transform: rotate(360deg); } }

body.ms-theme .ms-path {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 26px;
  border-radius: 24px;
  color: var(--ms-text);
  text-decoration: none;
  background: linear-gradient(160deg, rgba(22, 50, 108, 0.72) 0%, rgba(7, 17, 40, 0.86) 70%);
  border: 1px solid var(--ms-border-hi);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.ms-theme .ms-path:hover { color: var(--ms-text); transform: translateY(-5px); }
body.ms-theme .ms-path-ca:hover { border-color: rgba(110, 168, 255, 0.7); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(47, 107, 255, 0.30); }
body.ms-theme .ms-path-ent:hover { border-color: rgba(255, 164, 92, 0.7);  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(237, 91, 14, 0.26); }

body.ms-theme .ms-path-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 18px;
  font-size: 1.5rem;
  color: #fff;
}
body.ms-theme .ms-path-ca .ms-path-ico { background-image: linear-gradient(135deg, #2f6bff, #7a5cff); box-shadow: 0 10px 26px rgba(47, 107, 255, 0.5); }
body.ms-theme .ms-path-ent .ms-path-ico { background-image: linear-gradient(135deg, #ed5b0e, #ff9854); box-shadow: 0 10px 26px rgba(237, 91, 14, 0.42); }

body.ms-theme .ms-path-body { flex: 1 1 auto; min-width: 0; }
body.ms-theme .ms-path-body small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ms-muted);
}
body.ms-theme .ms-path-body strong { display: block; margin: 2px 0 6px; font-size: 1.45rem; font-weight: 700; color: #fff; line-height: 1.2; }
body.ms-theme .ms-path-body em { display: block; font-style: normal; font-size: 0.92rem; line-height: 1.55; color: var(--ms-text-soft); }

body.ms-theme .ms-path-go {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 0.95rem;
  color: var(--ms-text-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ms-border-hi);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
body.ms-theme .ms-path:hover .ms-path-go { transform: translateX(4px); color: #fff; }
body.ms-theme .ms-path-ca:hover .ms-path-go { background: linear-gradient(135deg, #2f6bff, #7a5cff); }
body.ms-theme .ms-path-ent:hover .ms-path-go { background: linear-gradient(135deg, #ed5b0e, #ff9854); }


@keyframes ms-hero-cue {
  0%, 100% { opacity: 0.25; transform: translate(-50%, -6px); }
  50%      { opacity: 1;    transform: translate(-50%, 6px); }
}

@media (max-width: 800px) {
  body.ms-theme .hero-content p { padding-left: 0; padding-right: 0; }
}
@media (max-width: 767.98px) {
  body.ms-theme .hero-section:not(.leadership-slider) {
    min-height: 0;
    padding: 70px 0 90px;
  }
  body.ms-theme .hero-content .btn-started,
  body.ms-theme .hero-content .btn-video { padding: 12px 26px; }
  body.ms-theme .ms-hero-trust { gap: 8px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .ms-hero-dot,
  body.ms-theme .hero-section:not(.leadership-slider)::after { animation: none; }
}

/* soft section separators that look premium on dark */
body.ms-theme .impact-section,
body.ms-theme .news-section {
  position: relative;
}
body.ms-theme .impact-section::before,
body.ms-theme .news-section::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ms-border-hi), transparent);
  pointer-events: none;
}

/* ---------- Bootstrap utility colours (they use !important, so we must too) ---------- */
body.ms-theme .text-black,
body.ms-theme .text-dark,
body.ms-theme .text-body { color: var(--ms-text) !important; }
body.ms-theme .text-muted,
body.ms-theme .text-secondary { color: var(--ms-muted) !important; }
body.ms-theme .bg-white,
body.ms-theme .bg-light,
body.ms-theme .bg-light-2 {
  background-color: rgb(10 27 62) !important;
  -webkit-backdrop-filter: var(--ms-blur);
  backdrop-filter: var(--ms-blur);
}
body.ms-theme .border { border-color: var(--ms-border) !important; }
body.ms-theme .shadow,
body.ms-theme .shadow-sm { box-shadow: var(--ms-glow) !important; }
body.ms-theme hr { border-color: var(--ms-border); opacity: 1; }

/* brand colour helpers from style.css (dark purple was unreadable on navy) */
body.ms-theme .color-purple { color: #93b8ff; }
body.ms-theme .color-orange { color: var(--ms-warm); }
body.ms-theme .section-title { color: var(--ms-text); }
body.ms-theme .gradient-text {
  background-image: linear-gradient(90deg, #7fb0ff 0%, #a99bff 55%, #5ee1f5 100%);
}

/* ---------- header / top bar ---------- */
body.ms-theme .top-bar {
  background-color: rgba(4, 11, 26, 0.74);
  border-bottom: 1px solid var(--ms-border);
  -webkit-backdrop-filter: var(--ms-blur);
  backdrop-filter: var(--ms-blur);
  color: var(--ms-text);
}
body.ms-theme .top-bar .logo img { background: #fff; }   /* keeps any dark logo legible */
body.ms-theme .header-rounded,
body.ms-theme .navbar {
  background-color: transparent;
  box-shadow: none;
}
body.ms-theme .nav-link { color: var(--ms-text-soft); }
body.ms-theme .nav-link:hover,
body.ms-theme .nav-link:focus { color: #fff; }
body.ms-theme .top-bar-right button { color: var(--ms-text-soft); }
body.ms-theme .top-bar-right .border-gradient { background: var(--ms-bg-2); color: #fff; }
body.ms-theme .top-search-btn { color: var(--ms-muted); border-left-color: var(--ms-border); }
body.ms-theme .navbar-toggler { border-color: var(--ms-border-hi); filter: invert(1) brightness(1.4); }

/* dropdowns */
body.ms-theme .dropdown-menu {
  background-color: rgba(8, 20, 46, 0.96);
  border: 1px solid var(--ms-border);
  box-shadow: var(--ms-shadow);
  -webkit-backdrop-filter: var(--ms-blur);
  backdrop-filter: var(--ms-blur);
}
body.ms-theme .dropdown-item { color: var(--ms-text-soft); }
body.ms-theme .dropdown-item:hover,
body.ms-theme .dropdown-item:focus { background: var(--ms-surface-hi); color: #fff; }

/* ---------- buttons ---------- */
body.ms-theme .btn-primary,
body.ms-theme .gradient-bg-purple {
  background-image: linear-gradient(90deg, #2f6bff 0%, #7a5cff 100%) !important;
  background-color: #2f6bff;
  color: #fff !important;
  border: 0;
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.35);
}
body.ms-theme .btn-primary:hover,
body.ms-theme .gradient-bg-purple:hover { filter: brightness(1.12); transform: translateY(-1px); }
body.ms-theme .gradient-bg-orange { box-shadow: 0 8px 24px rgba(233, 129, 44, 0.28); }
body.ms-theme .btn-outline-secondary {
  color: var(--ms-text-soft);
  border-color: var(--ms-border-hi);
  background: transparent;
}
body.ms-theme .btn-outline-secondary:hover,
body.ms-theme .btn-outline-secondary:focus {
  color: #fff;
  background: var(--ms-surface-hi);
  border-color: var(--ms-accent);
}

/* ---------- glass cards ---------- */

body.ms-theme .news-card-large,
body.ms-theme .news-card-small,
body.ms-theme .card {
  background: var(--ms-surface);
  border: 1px solid var(--ms-border);
  box-shadow: var(--ms-glow);
  color: var(--ms-text);
  -webkit-backdrop-filter: var(--ms-blur);
  backdrop-filter: var(--ms-blur);
  --bs-card-bg: transparent;
  --bs-card-color: var(--ms-text);
}


body.ms-theme .news-card-small:hover {
  border-color: var(--ms-border-hi);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

/* headings inside cards that style.css coloured dark */


body.ms-theme .card a { color: var(--ms-text); }
body.ms-theme .card a:hover { color: var(--ms-accent); }
/* Announcements header strip has an inline light background */
body.ms-theme .card .card-body > h5 {
  background-color: var(--ms-surface-hi) !important;
  color: var(--ms-text);
  border: 1px solid var(--ms-border);
}

/* gradient photo overlays (most-liked, news) stay dark – just refine the fade */
body.ms-theme .purple-card {
  background: linear-gradient(135deg, #0c2150 0%, #17327a 100%);
  border: 1px solid var(--ms-border-hi);
  box-shadow: var(--ms-glow);
}

/* ---------- impact numbers ---------- */
body.ms-theme .impact-section .col { border-bottom-color: var(--ms-border); }
body.ms-theme .inpact-stacts h4 { color: #fff; text-shadow: 0 0 22px rgba(110, 168, 255, 0.45); }


/* ---------- event tabs ---------- */

body.ms-theme .event-tab { color: var(--ms-text-soft); }
body.ms-theme .event-tab.active { background: linear-gradient(135deg, #2f6bff, #7a5cff); color: #fff; }


/* ---------- Knowledge Bank tabs (style.css uses !important + #id, so we match it) ---------- */
body.ms-theme .nav-tabs { border-bottom-color: var(--ms-border); }
body.ms-theme #knowledgeTab .nav-link { color: var(--ms-muted); background: transparent; }
body.ms-theme #knowledgeTab .nav-link:hover { color: var(--ms-text); }
body.ms-theme #knowledgeTab .nav-link.active {
  color: #fff !important;
  background: transparent;
  border-bottom: 2px solid var(--ms-accent) !important;
}

/* ---------- leadership slider ---------- */
body.ms-theme .slider-arrow {
  background: var(--ms-surface-hi);
  color: #fff;
  border: 1px solid var(--ms-border-hi);
  -webkit-backdrop-filter: var(--ms-blur);
  backdrop-filter: var(--ms-blur);
}
body.ms-theme .slider-arrow:hover { background: var(--ms-accent); color: #04112b; }

/* ---------- forms ---------- */
body.ms-theme .form-control,
body.ms-theme .form-select,
body.ms-theme .newsletter-input {
  background-color: rgba(6, 16, 38, 0.85);
  border: 1px solid var(--ms-border);
  color: var(--ms-text);
}
body.ms-theme .form-control::placeholder,
body.ms-theme .newsletter-input::placeholder { color: var(--ms-muted); }
body.ms-theme .form-control:focus,
body.ms-theme .form-select:focus,
body.ms-theme .newsletter-input:focus {
  background-color: rgba(8, 20, 46, 0.95);
  color: #fff;
  border-color: var(--ms-accent);
  box-shadow: 0 0 0 0.2rem rgba(110, 168, 255, 0.2);
}
body.ms-theme .form-label { color: var(--ms-text-soft); }

/* ---------- modals ---------- */
body.ms-theme .modal-content {
  background-color: #08183a;
  background-image: linear-gradient(160deg, rgba(40, 80, 180, 0.18), rgba(8, 24, 58, 0) 55%);
  color: var(--ms-text);
  border: 1px solid var(--ms-border-hi);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
body.ms-theme .modal-header,
body.ms-theme .modal-footer { border-color: var(--ms-border); }
body.ms-theme .modal-title { color: #fff; }
body.ms-theme .btn-close { filter: invert(1) grayscale(1) brightness(2); opacity: 0.8; }
body.ms-theme .modal-backdrop.show { opacity: 0.72; }

/* ---------- footer ---------- */
body.ms-theme .footer {
  background-color: rgba(3, 8, 20, 0.88);
  border-top: 1px solid var(--ms-border);
  -webkit-backdrop-filter: var(--ms-blur);
  backdrop-filter: var(--ms-blur);
}
body.ms-theme .footer ul li a { color: var(--ms-text-soft); }
body.ms-theme .footer ul li a:hover { color: #fff; }
body.ms-theme .footer-bottom { border-top-color: var(--ms-border); color: var(--ms-muted); }
body.ms-theme .btn-subscribe { background: linear-gradient(90deg, #2f6bff, #7a5cff); }

/* ---------- small-screen & accessibility ---------- */
@media (max-width: 767.98px) {
  /* backdrop-filter is heavy on low-end phones: use slightly more opaque glass instead */
  
  body.ms-theme .news-card-large,
  body.ms-theme .news-card-small,
  body.ms-theme .card,
  body.ms-theme .bg-white,
  body.ms-theme .bg-light-2 {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: rgba(9, 22, 48, 0.82) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .btn-primary:hover,
  body.ms-theme .gradient-bg-purple:hover { transform: none; }
}
@media print {
  body.ms-theme #ms-globe-stage { display: none; }
}


/* ==========================================================================
   ms-leadership.css — Premium "ICAI Leadership" section
   --------------------------------------------------------------------------
   CONFLICT-SAFE
   • Har selector  .msl  se shuru hota hai (sirf is section par lagta hai).
   • Saari classes "msl-" prefix, saare keyframes "msl-" prefix,
     saare custom properties "--msl-" prefix. Koi :root / body / Bootstrap
     override nahi.
   • Midnight theme (--ms-* vars) ho to wahi colours use karta hai,
     warna apne fallback colours.
   • Load order: style.css aur ms-midnight-theme.css ke BAAD.
   ========================================================================== */

body.ms-theme .msl {
  --msl-text: var(--ms-text, #e8eefb);
  --msl-soft: var(--ms-text-soft, #b4c2e0);
  --msl-muted: var(--ms-muted, #8d9dc2);
  --msl-border: rgba(120, 165, 255, 0.16);
  --msl-border-hi: rgba(140, 185, 255, 0.34);
  --msl-cyan: #5ee1f5;
  --msl-autoplay: 7s;

  position: relative;
  isolation: isolate;
  padding: 110px 0 100px;
  color: var(--msl-text);
  overflow-x: clip;
}
body.ms-theme .msl *,
body.ms-theme .msl *::before,
body.ms-theme .msl *::after { box-sizing: border-box; }

/* page bina midnight theme ke ho to section apna navy background le */
body.ms-theme body:not(.ms-theme) .msl {
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(24, 58, 140, 0.35), transparent 70%),
    #061126;
}

/* top hairline separator */
body.ms-theme .msl::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--msl-border-hi), transparent);
  pointer-events: none;
}

/* ---------- heading ---------- */
body.ms-theme .msl .msl-head { text-align: center; }

body.ms-theme .msl .msl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--msl-cyan);
  background: rgba(94, 225, 245, 0.08);
  border: 1px solid rgba(94, 225, 245, 0.28);
}
body.ms-theme .msl .msl-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--msl-cyan);
  animation: msl-pulse 2s infinite;
}

body.ms-theme .msl .msl-title {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fff;
}
body.ms-theme .msl .msl-title-grad {
  background-image: linear-gradient(90deg, #7fb0ff 0%, #a99bff 55%, #5ee1f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
body.ms-theme .msl .msl-sub {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
  text-align: center;
  color: var(--msl-soft);
}

/* ---------- tabs ---------- */
body.ms-theme .msl .msl-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 36px auto 46px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(10, 24, 52, 0.62);
  border: 1px solid var(--msl-border-hi);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
}
body.ms-theme .msl .msl-tab {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 11px 24px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--msl-soft);
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
body.ms-theme .msl .msl-tab:hover { color: #fff; }
body.ms-theme .msl .msl-tab.is-active {
  color: #fff;
  background-image: linear-gradient(135deg, #2f6bff, #7a5cff);
  box-shadow: 0 8px 22px rgba(47, 107, 255, 0.38);
}
body.ms-theme .msl .msl-tab:focus-visible { outline: 2px solid var(--msl-cyan); outline-offset: 2px; }

/* autoplay progress line inside active tab */
body.ms-theme .msl .msl-tab-bar {
  position: absolute;
  left: 18px; right: 18px; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
  opacity: 0;
  transition: opacity 0.3s ease;
}
body.ms-theme .msl .msl-tab-fill {
  display: block;
  width: 100%; height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
}
body.ms-theme .msl .msl-tab.is-active .msl-tab-bar { opacity: 1; }
body.ms-theme .msl .msl-tab.is-active .msl-tab-fill {
  animation: msl-progress var(--msl-autoplay) linear forwards;
}
/* pause: hover / focus / section off-screen / tab hidden */
body.ms-theme .msl.is-paused .msl-tab.is-active .msl-tab-fill { animation-play-state: paused; }

/* ---------- stage ---------- */
body.ms-theme .msl .msl-stage {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 70px;
}
/* soft glow behind cards */
body.ms-theme .msl .msl-stage::before {
  content: "";
  position: absolute;
  inset: 12% 18%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(47, 107, 255, 0.26), rgba(122, 92, 255, 0.10) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

body.ms-theme .msl .msl-track {
  display: grid;           /* sab slides ek hi cell me: height = sabse lamba slide */
  touch-action: pan-y;
}
body.ms-theme .msl .msl-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.7s;
}
body.ms-theme .msl .msl-slide.is-active {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

/* ---------- card ---------- */
body.ms-theme .msl .msl-card {
  --msl-a1: #2f6bff;
  --msl-a2: #7a5cff;
  --msl-glow: rgba(47, 107, 255, 0.34);
  --msl-edge: rgba(110, 168, 255, 0.7);

  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(22, 50, 108, 0.72) 0%, rgba(7, 17, 40, 0.9) 72%);
  border: 1px solid var(--msl-border-hi);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);

  /* enter / leave animation */
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition:
    opacity 0.55s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    translate 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}
body.ms-theme .msl .msl-card--warm {
  --msl-a1: #ed5b0e;
  --msl-a2: #ff9854;
  --msl-glow: rgba(237, 91, 14, 0.30);
  --msl-edge: rgba(255, 164, 92, 0.7);
}
body.ms-theme .msl .msl-slide.is-active .msl-card { opacity: 1; transform: none; }
body.ms-theme .msl .msl-slide.is-active .msl-card + .msl-card { transition-delay: 0.12s, 0.12s, 0s, 0s, 0s; }

body.ms-theme .msl .msl-card:hover {
  translate: 0 -6px;
  border-color: var(--msl-edge);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 50px var(--msl-glow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* bottom accent line */
body.ms-theme .msl .msl-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--msl-a1), var(--msl-a2));
  transform: scaleX(0.3);
  transition: transform 0.5s ease;
  z-index: 4;
}
body.ms-theme .msl .msl-card:hover::after { transform: scaleX(1); }

/* ---------- photo area ---------- */
body.ms-theme .msl .msl-photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 60%, var(--msl-glow) 0%, transparent 62%);
}
/* dotted grid texture */
body.ms-theme .msl .msl-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(140, 185, 255, 0.22) 1px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle at 50% 55%, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle at 50% 55%, #000 0%, transparent 68%);
  pointer-events: none;
}
/* fade photo into card body */
body.ms-theme .msl .msl-photo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34%;
  z-index: 2;
  background: linear-gradient(180deg, rgba(8, 19, 44, 0) 0%, rgba(8, 19, 44, 0.92) 100%);
  pointer-events: none;
}

/* rotating gradient ring + dashed outer ring */
body.ms-theme .msl .msl-ring {
  position: absolute;
  top: 52%; left: 50%;
  width: 76%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
body.ms-theme .msl .msl-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, var(--msl-a1) 82%, var(--msl-a2) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: msl-spin 12s linear infinite;
}
body.ms-theme .msl .msl-ring::after {
  content: "";
  position: absolute;
  inset: -9%;
  border-radius: 50%;
  border: 1px dashed rgba(140, 185, 255, 0.22);
  animation: msl-spin 40s linear infinite reverse;
}

body.ms-theme .msl .msl-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: 86%;
  height: 92%;
  margin: 0;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.5));
  transform-origin: center bottom;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.ms-theme .msl .msl-card:hover .msl-photo img { transform: scale(1.04); }

/* role badge */
body.ms-theme .msl .msl-badge {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(3, 8, 20, 0.55);
  border: 1px solid var(--msl-border-hi);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
body.ms-theme .msl .msl-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--msl-a1), var(--msl-a2));
  box-shadow: 0 0 10px var(--msl-a1);
}

/* big outlined number */
body.ms-theme .msl .msl-index {
  position: absolute;
  top: 8px; right: 20px;
  z-index: 0;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  pointer-events: none;
  user-select: none;
}

/* ---------- info ---------- */
body.ms-theme .msl .msl-info {
  position: relative;
  z-index: 3;
  margin-top: -30px;
  padding: 0 26px 30px;
  text-align: center;
}
body.ms-theme .msl .msl-name {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
  color: #fff;
}
body.ms-theme .msl .msl-role {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--msl-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--msl-border);
}
body.ms-theme .msl .msl-role::before {
  content: "";
  flex: 0 0 auto;
  width: 16px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--msl-a1), var(--msl-a2));
}

/* ---------- arrows ---------- */
body.ms-theme .msl .msl-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin: -25px 0 0;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--msl-border-hi);
  background: rgba(18, 40, 84, 0.72);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
body.ms-theme .msl .msl-nav-prev { left: 0; }
body.ms-theme .msl .msl-nav-next { right: 0; }
body.ms-theme .msl .msl-nav:hover {
  transform: scale(1.08);
  background-image: linear-gradient(135deg, #2f6bff, #7a5cff);
  border-color: transparent;
}
body.ms-theme .msl .msl-nav:focus-visible { outline: 2px solid var(--msl-cyan); outline-offset: 3px; }
body.ms-theme .msl .msl-nav svg { display: block; }

/* ---------- keyframes ---------- */
@keyframes msl-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes msl-spin { to { transform: rotate(360deg); } }
@keyframes msl-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(94, 225, 245, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(94, 225, 245, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 225, 245, 0); }
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  body.ms-theme .msl .msl-stage { padding: 0 60px; }
  body.ms-theme .msl .msl-slide { gap: 22px; }
  body.ms-theme .msl .msl-info { padding: 0 18px 26px; }
}

@media (max-width: 767.98px) {
  body.ms-theme .msl { padding: 70px 0 64px; }
  body.ms-theme .msl .msl-tabs { margin: 28px auto 32px; }
  body.ms-theme .msl .msl-tab { padding: 10px 16px 12px; font-size: 0.82rem; }

  body.ms-theme .msl .msl-stage { max-width: 440px; padding: 0 0 76px; }
  body.ms-theme .msl .msl-slide { grid-template-columns: minmax(0, 1fr); gap: 20px; }

  /* arrows card ke neeche center me */
  body.ms-theme .msl .msl-nav { top: auto; bottom: 0; margin: 0; width: 46px; height: 46px; }
  body.ms-theme .msl .msl-nav-prev { left: calc(50% - 56px); }
  body.ms-theme .msl .msl-nav-next { right: calc(50% - 56px); }

  /* low-end phones par backdrop-filter heavy hota hai */
  body.ms-theme .msl .msl-card,
  body.ms-theme .msl .msl-tabs,
  body.ms-theme .msl .msl-nav,
  body.ms-theme .msl .msl-badge { -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.ms-theme .msl .msl-card { background: linear-gradient(165deg, #12295a 0%, #081430 72%); }
}

@media (max-width: 399.98px) {
  body.ms-theme .msl .msl-tabs { width: 100%; }
  body.ms-theme .msl .msl-tab { flex: 1 1 0; padding-left: 8px; padding-right: 8px; white-space: normal; }
}

/* ---------- accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .msl .msl-eyebrow-dot,
  body.ms-theme .msl .msl-ring::before,
  body.ms-theme .msl .msl-ring::after { animation: none; }
  body.ms-theme .msl .msl-tab.is-active .msl-tab-fill { animation: none; } /* = no autoplay */
  body.ms-theme .msl .msl-tab-bar { display: none; }
  body.ms-theme .msl .msl-card { transform: none; transition: opacity 0.2s ease; }
  body.ms-theme .msl .msl-card:hover { translate: none; }
  body.ms-theme .msl .msl-card:hover .msl-photo img { transform: none; }
}

@media print {
  body.ms-theme .msl .msl-nav,
  body.ms-theme .msl .msl-tabs { display: none; }
  body.ms-theme .msl .msl-slide { visibility: visible; position: static; }
  body.ms-theme .msl .msl-card { opacity: 1; transform: none; }
}


/* ==========================================================================
   ms-impact.css — "Impact by the Numbers" · Network Map design
   --------------------------------------------------------------------------
   CONFLICT-SAFE
   • Har selector  .msi  se shuru hota hai; saari nayi classes "msi-" prefix,
     keyframes "msi-" prefix, variables "--msi-" prefix.
   • Purani classes (.impact-section, .inpact-stacts, .odometer-number) sirf
     counter script ke liye rakhi hain; unke purane styles yahan
     ".msi.impact-section" (zyada specificity) se neutral kiye gaye hain.
   • Load order: style.css aur ms-midnight-theme.css ke BAAD.
   ========================================================================== */

body.ms-theme .msi.impact-section {
  --msi-text: var(--ms-text, #e8eefb);
  --msi-soft: var(--ms-text-soft, #b4c2e0);
  --msi-muted: var(--ms-muted, #8d9dc2);
  --msi-border: rgba(120, 165, 255, 0.16);
  --msi-border-hi: rgba(140, 185, 255, 0.34);
  --msi-blue: #2f6bff;
  --msi-violet: #7a5cff;
  --msi-cyan: #5ee1f5;
  --msi-warm: #ff9854;
  --msi-orange: #ed5b0e;

  position: relative;
  isolation: isolate;
  padding: 110px 0 90px;
  color: var(--msi-text);
  background-color: transparent;
  background-image: none;
  overflow: hidden;
}
body.ms-theme .msi *,
body.ms-theme .msi *::before,
body.ms-theme .msi *::after { box-sizing: border-box; }

body.ms-theme body:not(.ms-theme) .msi.impact-section { background: #061126; }

/* ---------- heading ---------- */
body.ms-theme .msi .msi-head { position: relative; z-index: 2; text-align: center; }
body.ms-theme .msi .msi-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--msi-cyan);
  background: rgba(94, 225, 245, 0.08);
  border: 1px solid rgba(94, 225, 245, 0.28);
}
body.ms-theme .msi .msi-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--msi-cyan);
  animation: msi-dot 2s infinite;
}
body.ms-theme .msi .msi-title {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fff;
}
body.ms-theme .msi .msi-title-grad {
  background-image: linear-gradient(90deg, #7fb0ff 0%, #a99bff 55%, #5ee1f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
body.ms-theme .msi .msi-sub {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
  text-align: center;
  color: var(--msi-soft);
}

/* ---------- shared number/label (overrides midnight ".inpact-stacts h4") ---------- */
body.ms-theme .msi.impact-section .inpact-stacts .msi-num {
  margin: 0;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: #fff;
  text-shadow: none;
}
body.ms-theme .msi.impact-section .inpact-stacts .msi-num--xl { font-size: 36px; }
body.ms-theme .msi.impact-section .inpact-stacts .msi-num--md { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
body.ms-theme .msi.impact-section .inpact-stacts .msi-num--sm { font-size: 1.25rem; }
body.ms-theme .msi .msi-label {
  margin: 6px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: inherit;
  color: var(--msi-soft);
}
body.ms-theme .msi .msi-label--sm { margin-top: 2px; font-size: 0.78rem; font-weight: 600; color: var(--msi-muted); }


/* ==========================================================================
   NETWORK MAP (desktop)
   ========================================================================== */
body.ms-theme .msi .msi-map {
  position: relative;
  height: 620px;
  max-width: 1150px;
  margin: 30px auto 0;
}
/* starfield behind the map */
body.ms-theme .msi .msi-map::before {
  content: "";
  position: absolute;
  inset: -40px -10%;
  z-index: -1;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 20%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1px 1px at 28% 72%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 12%, rgba(94, 225, 245, 0.8), transparent 60%),
    radial-gradient(1px 1px at 63% 86%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 30%, rgba(255, 178, 107, 0.8), transparent 60%),
    radial-gradient(1px 1px at 91% 64%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1px 1px at 6% 52%, rgba(169, 155, 255, 0.7), transparent 60%),
    radial-gradient(1px 1px at 55% 40%, rgba(255, 255, 255, 0.35), transparent 60%);
  animation: msi-twinkle 5s ease-in-out infinite alternate;
  pointer-events: none;
}
/* big soft glow at the hub */
body.ms-theme .msi .msi-map::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 640px; height: 640px;
  transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.28) 0%, rgba(122, 92, 255, 0.10) 40%, transparent 68%);
  pointer-events: none;
}

/* connection lines */
body.ms-theme .msi .msi-links {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
}
body.ms-theme .msi .msi-link {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s;
}
body.ms-theme .msi .msi-pulse { fill: var(--msi-cyan); filter: drop-shadow(0 0 6px var(--msi-cyan)); }
body.ms-theme .msi .msi-pulse--warm { fill: #ffb26b; filter: drop-shadow(0 0 6px var(--msi-warm)); }

/* ---------- hub ---------- */
body.ms-theme .msi .msi-hub {
  position: absolute;
  top: 50%; left: 50%;
  width: 330px; height: 330px;
  margin: -165px 0 0 -165px;
  z-index: 2;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.7s ease;
}
body.ms-theme .msi .msi-hub-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
body.ms-theme .msi .msi-hub-ring--1 {
  inset: -38px;
  border: 1px dashed rgba(140, 185, 255, 0.28);
  animation: msi-spin 40s linear infinite;
}
body.ms-theme .msi .msi-hub-ring--1::before {
  content: "";
  position: absolute;
  top: -5px; left: 50%;
  width: 10px; height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--msi-cyan);
  box-shadow: 0 0 14px var(--msi-cyan);
}
body.ms-theme .msi .msi-hub-ring--2 {
  inset: -78px;
  border: 1px solid rgba(138, 123, 255, 0.14);
  animation: msi-spin 70s linear infinite reverse;
}
body.ms-theme .msi .msi-hub-ring--2::before {
  content: "";
  position: absolute;
  bottom: -4px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #ffb26b;
  box-shadow: 0 0 12px var(--msi-warm);
}
/* expanding sonar ripple */
body.ms-theme .msi .msi-hub-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(110, 168, 255, 0.5);
  animation: msi-ripple 3.2s ease-out infinite;
  pointer-events: none;
}

/* practicing-share gauge around the core */
body.ms-theme .msi .msi-gauge {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}
body.ms-theme .msi .msi-gauge circle { fill: none; stroke-width: 2.4; }
body.ms-theme .msi .msi-gauge-track { stroke: rgba(255, 255, 255, 0.08); }
body.ms-theme .msi .msi-gauge-fill {
  stroke: var(--msi-warm);
  stroke-linecap: round;
  stroke-dasharray: var(--msi-pct, 0) 100;
  filter: drop-shadow(0 0 4px rgba(255, 152, 84, 0.8));
  transition: stroke-dasharray 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s;
}

body.ms-theme .msi .msi-hub-core {
  position: absolute;
  inset: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  border-radius: 50%;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(60, 110, 230, 0.55) 0%, rgba(12, 30, 70, 0.95) 55%, rgba(5, 12, 30, 0.98) 100%);
  border: 1px solid var(--msi-border-hi);
  box-shadow:
    0 0 0 10px rgba(3, 8, 20, 0.55),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 90px rgba(47, 107, 255, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.12),
    inset 0 -30px 60px rgba(0, 0, 0, 0.35);
}
body.ms-theme .msi .msi-hub-main { display: flex; flex-direction: column; align-items: center; }
body.ms-theme .msi .msi-hub-ico {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 10px;
  border-radius: 14px;
  font-size: 1.05rem;
  color: #fff;
  background-image: linear-gradient(135deg, var(--msi-blue), var(--msi-violet));
  box-shadow: 0 8px 22px rgba(47, 107, 255, 0.55);
}
body.ms-theme .msi .msi-hub-sub {
  padding: 8px 16px 9px;
  border-radius: 14px;
  background: rgba(3, 8, 20, 0.5);
  border: 1px solid rgba(255, 152, 84, 0.35);
}

/* ---------- satellites ---------- */
body.ms-theme .msi .msi-sat {
  --msi-a1: var(--msi-blue);
  --msi-a2: var(--msi-violet);
  --msi-glow: rgba(47, 107, 255, 0.4);
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 258px;
  padding: 18px 20px;
  border-radius: 22px;
  text-align: left;
  background: linear-gradient(160deg, rgba(22, 50, 108, 0.75) 0%, rgba(7, 17, 40, 0.92) 75%);
  border: 1px solid var(--msi-border-hi);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transform: translate(-50%, -50%);
  transition:
    opacity 0.6s ease calc(0.9s + var(--msi-k, 0) * 0.15s),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.9s + var(--msi-k, 0) * 0.15s),
    translate 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  animation: msi-bob 6s ease-in-out infinite;
  animation-delay: calc(var(--msi-k, 0) * -1.5s);
}
/* position = line end points in the SVG (viewBox 1000 x 600) */
body.ms-theme .msi .msi-sat--1 { left: 14%; top: 20%; }
body.ms-theme .msi .msi-sat--2 { left: 86%; top: 20%; --msi-a1: var(--msi-orange); --msi-a2: var(--msi-warm); --msi-glow: rgba(237, 91, 14, 0.35); }
body.ms-theme .msi .msi-sat--3 { left: 14%; top: 80%; --msi-a1: var(--msi-orange); --msi-a2: var(--msi-warm); --msi-glow: rgba(237, 91, 14, 0.35); }
body.ms-theme .msi .msi-sat--4 { left: 86%; top: 80%; --msi-a1: #12a6c4; --msi-a2: var(--msi-cyan); --msi-glow: rgba(18, 166, 196, 0.4); }

body.ms-theme .msi .msi-sat:hover {
  translate: 0 -6px;
  border-color: rgba(140, 185, 255, 0.7);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), 0 0 40px var(--msi-glow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
body.ms-theme .msi .msi-sat-ico {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  font-size: 1.15rem;
  color: #fff;
  background-image: linear-gradient(135deg, var(--msi-a1), var(--msi-a2));
  box-shadow: 0 10px 24px var(--msi-glow);
}
/* spinning dashed halo around the icon */
body.ms-theme .msi .msi-sat-ico::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  animation: msi-spin 12s linear infinite;
}
body.ms-theme .msi .msi-sat-body { min-width: 0; }

/* ==========================================================================
   RIBBON (infinite marquee of the 4 impact items)
   ========================================================================== */
body.ms-theme .msi .msi-ribbon-wrap {
  position: relative;
  margin-top: 70px;
  padding: 30px 0;
}
body.ms-theme .msi .msi-ribbon,
body.ms-theme .msi .msi-ribbon-shadow {
  position: relative;
  width: 110%;
  margin-left: -5%;
  transform: rotate(-2deg);
}
/* second band crossing behind (decorative) */
body.ms-theme .msi .msi-ribbon-shadow {
  position: absolute;
  top: 50%; left: 0;
  height: 54px;
  margin-top: -27px;
  transform: rotate(2.2deg);
  background: linear-gradient(90deg, rgba(237, 91, 14, 0.15), rgba(255, 152, 84, 0.35), rgba(237, 91, 14, 0.15));
  border-block: 1px solid rgba(255, 164, 92, 0.3);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
body.ms-theme .msi .msi-ribbon {
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(90deg, #1f4fd8 0%, #4a3fd6 50%, #2f6bff 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 60px rgba(47, 107, 255, 0.3);
}
body.ms-theme .msi .msi-marquee {
  display: flex;
  width: max-content;
  animation: msi-marquee 28s linear infinite;
}
body.ms-theme .msi .msi-ribbon:hover .msi-marquee,
body.ms-theme .msi.is-off .msi-marquee { animation-play-state: paused; }
body.ms-theme .msi .msi-marquee-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.ms-theme .msi .msi-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px;
  white-space: nowrap;
  color: #fff;
}
body.ms-theme .msi .msi-chip-ico {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
body.ms-theme .msi .msi-chip-ico img { display: block; width: 32px; height: 32px; margin: 0; object-fit: contain; }
body.ms-theme .msi .msi-chip strong {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
body.ms-theme .msi .msi-chip span:last-child {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
body.ms-theme .msi .msi-star {
  font-size: 1.2rem;
  color: #ffb26b;
  text-shadow: 0 0 12px rgba(255, 152, 84, 0.9);
}

/* ==========================================================================
   ENTRANCE (JS adds .msi-anim, then .is-in when in view)
   ========================================================================== */
body.ms-theme .msi.msi-anim:not(.is-in) .msi-hub { opacity: 0; transform: scale(0.7); }
body.ms-theme .msi.msi-anim:not(.is-in) .msi-link { stroke-dashoffset: 1; }
body.ms-theme .msi.msi-anim:not(.is-in) .msi-gauge-fill { stroke-dasharray: 0 100; }
body.ms-theme .msi.msi-anim:not(.is-in) .msi-sat { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
body.ms-theme .msi.msi-anim:not(.is-in) .msi-pulse { opacity: 0; }
body.ms-theme .msi .msi-pulse { transition: opacity 0.6s ease 1.6s; }

/* ---------- keyframes ---------- */
@keyframes msi-spin { to { transform: rotate(360deg); } }
@keyframes msi-ripple {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.75); opacity: 0; }
}
@keyframes msi-bob {
  0%, 100% { margin-top: 0; }
  50%      { margin-top: -10px; }
}
@keyframes msi-twinkle { from { opacity: 0.45; } to { opacity: 1; } }
@keyframes msi-marquee { to { transform: translateX(-50%); } }
@keyframes msi-dot {
  0%   { box-shadow: 0 0 0 0 rgba(94, 225, 245, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(94, 225, 245, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 225, 245, 0); }
}

/* ==========================================================================
   RESPONSIVE — tablet/mobile: hub on top, nodes in a grid with a spine line
   ========================================================================== */
@media (max-width: 1199.98px) {
  body.ms-theme .msi .msi-sat { width: 232px; padding: 16px 18px; }
  body.ms-theme .msi .msi-sat--1, body.ms-theme .msi .msi-sat--3 { left: 15%; }
  body.ms-theme .msi .msi-sat--2, body.ms-theme .msi .msi-sat--4 { left: 85%; }
}

@media (max-width: 991.98px) {
  body.ms-theme .msi.impact-section { padding: 80px 0 70px; }
  body.ms-theme .msi .msi-map {
    height: auto;
    max-width: 560px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
  }
  body.ms-theme .msi .msi-links { display: none; }
  body.ms-theme .msi .msi-map::after { top: 170px; width: 460px; height: 460px; }

  body.ms-theme .msi .msi-hub {
    position: relative;
    top: auto; left: auto;
    grid-column: 1 / -1;
    justify-self: center;
    width: 290px; height: 290px;
    margin: 40px 0 70px;
  }
  body.ms-theme .msi .msi-hub-ring--2 { inset: -56px; }
  body.ms-theme .msi .msi-hub-ring--1 { inset: -28px; }

  /* little spine from hub down to the grid */
  body.ms-theme .msi .msi-hub::after {
    content: "";
    position: absolute;
    left: 50%; top: 100%;
    width: 2px; height: 70px;
    margin-left: -1px;
    background: linear-gradient(180deg, rgba(110, 168, 255, 0.7), transparent);
  }

  body.ms-theme .msi .msi-sat {
    position: relative;
    left: auto; top: auto;
    width: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transform: none;
    animation: none;
  }
  body.ms-theme .msi.msi-anim:not(.is-in) .msi-sat { transform: translateY(24px) scale(0.95); }
}

@media (max-width: 767.98px) {
  body.ms-theme .msi.impact-section { padding: 64px 0 56px; }
  body.ms-theme .msi .msi-hub { width: 260px; height: 260px; margin: 34px 0 60px; }
  body.ms-theme .msi .msi-hub-core { inset: 12px; gap: 10px; padding: 18px; }
  body.ms-theme .msi .msi-hub-ring--2 { display: none; }
  body.ms-theme .msi.impact-section .inpact-stacts .msi-num--xl { font-size: 2rem; }
  body.ms-theme .msi.impact-section .inpact-stacts .msi-num--md { font-size: 1.45rem; }
  body.ms-theme .msi.impact-section .inpact-stacts .msi-num--sm { font-size: 1.05rem; }
  body.ms-theme .msi .msi-hub-ico { width: 36px; height: 36px; margin-bottom: 6px; font-size: 0.9rem; }
  
  body.ms-theme .msi .msi-sat { padding: 16px; border-radius: 18px; }
  body.ms-theme .msi .msi-sat-ico { width: 44px; height: 44px; font-size: 1rem; }
  body.ms-theme .msi .msi-label { font-size: 0.84rem; }

  body.ms-theme .msi .msi-ribbon-wrap { margin-top: 50px; padding: 22px 0; }
  body.ms-theme .msi .msi-chip { padding: 12px 22px; gap: 10px; }
  body.ms-theme .msi .msi-chip-ico { width: 40px; height: 40px; }
  body.ms-theme .msi .msi-chip-ico img { width: 26px; height: 26px; }
  body.ms-theme .msi .msi-chip strong { font-size: 1.3rem; }
  body.ms-theme .msi .msi-chip span:last-child { font-size: 0.8rem; }

  body.ms-theme .msi .msi-sat { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(160deg, #12295a 0%, #081430 75%); }
}

@media (max-width: 359.98px) {
  body.ms-theme .msi .msi-map { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .msi .msi-eyebrow-dot,
  body.ms-theme .msi .msi-hub-ring,
  body.ms-theme .msi .msi-hub-ripple,
  body.ms-theme .msi .msi-sat,
  body.ms-theme .msi .msi-sat-ico::after,
  body.ms-theme .msi .msi-map::before { animation: none; }
  body.ms-theme .msi .msi-pulse { display: none; }
  /* marquee: static, wraps instead of scrolling */
  body.ms-theme .msi .msi-marquee { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  body.ms-theme .msi .msi-marquee-set[aria-hidden="true"] { display: none; }
  body.ms-theme .msi .msi-marquee-set { flex-wrap: wrap; justify-content: center; }
  body.ms-theme .msi .msi-ribbon, body.ms-theme .msi .msi-ribbon-shadow { transform: none; }
}


/* ==========================================================================
   ms-trending.css — "Trending Now" (Trending Post + Pin Post)
   --------------------------------------------------------------------------
   CONFLICT-SAFE
   • Har selector  .mst  se shuru hota hai; saari classes "mst-" prefix,
     keyframes "mst-" prefix, variables "--mst-" prefix.
   • Purani classes (.insight-card, .trending-row …) is section me use nahi
     hoti, isliye style.css / midnight theme ke rules yahan nahi lagte.
   • Load order: style.css aur ms-midnight-theme.css ke BAAD.
   ========================================================================== */

body.ms-theme .mst {
  --mst-text: var(--ms-text, #e8eefb);
  --mst-soft: var(--ms-text-soft, #b4c2e0);
  --mst-muted: var(--ms-muted, #8d9dc2);
  --mst-border: rgba(120, 165, 255, 0.16);
  --mst-border-hi: rgba(140, 185, 255, 0.34);
  --mst-blue: #2f6bff;
  --mst-violet: #7a5cff;
  --mst-cyan: #5ee1f5;
  --mst-orange: #ed5b0e;
  --mst-warm: #ff9854;

  position: relative;
  isolation: isolate;
  padding: 110px 0;
  color: var(--mst-text);
  overflow-x: clip;
}
body.ms-theme .mst *,
body.ms-theme .mst *::before,
body.ms-theme .mst *::after { box-sizing: border-box; }

body.ms-theme body:not(.ms-theme) .mst { background: #061126; }

body.ms-theme .mst::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mst-border-hi), transparent);
}

/* ---------- heading (same family as Leadership / Impact) ---------- */
body.ms-theme .mst .mst-head { margin-bottom: 50px; text-align: center; }
body.ms-theme .mst .mst-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mst-cyan);
  background: rgba(94, 225, 245, 0.08);
  border: 1px solid rgba(94, 225, 245, 0.28);
}
body.ms-theme .mst .mst-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mst-cyan);
  animation: mst-pulse 2s infinite;
}
body.ms-theme .mst .mst-title {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fff;
}
body.ms-theme .mst .mst-title-grad {
  background-image: linear-gradient(90deg, #7fb0ff 0%, #a99bff 55%, #5ee1f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
body.ms-theme .mst .mst-sub {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
  text-align: center;
  color: var(--mst-soft);
}

/* ---------- utilities ---------- */
body.ms-theme .mst .mst-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
body.ms-theme .mst .mst-clamp-3 { -webkit-line-clamp: 3; line-clamp: 3; }


/* ---------- shared bits ---------- */
body.ms-theme .mst .mst-avatar {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(135deg, var(--mst-blue), var(--mst-violet));
}
body.ms-theme .mst .mst-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 6px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--mst-border-hi);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
body.ms-theme .mst .mst-cta a:hover {
  color: #fff;
  background-color: rgba(47, 107, 255, 0.25);
  border-color: rgba(110, 168, 255, 0.8);
  box-shadow: 0 10px 26px rgba(47, 107, 255, 0.35);
}
body.ms-theme .mst .mst-go { font-size: 0.75em; transition: transform 0.3s ease; }
body.ms-theme .mst .mst-cta a:hover .mst-go { transform: translateX(4px); }
body.ms-theme .mst .mst-byline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  color: var(--mst-soft);
}

@keyframes mst-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(94, 225, 245, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(94, 225, 245, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 225, 245, 0); }
}


/* ==========================================================================
   DESIGN B — Tab Showcase (Leadership jaisa)
   ========================================================================== */
body.ms-theme .mst--b {
  --mst-autoplay: 6s;
}

/* tabs */
body.ms-theme .mst--b .mst-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: -14px auto 40px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(10, 24, 52, 0.62);
  border: 1px solid var(--mst-border-hi);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
}
body.ms-theme .mst--b .mst-tab {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 11px 26px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--mst-soft);
  cursor: pointer;
  transition: color 0.3s ease, box-shadow 0.3s ease;
}
body.ms-theme .mst--b .mst-tab:hover { color: #fff; }
body.ms-theme .mst--b .mst-tab.is-active {
  color: #fff;
  background-image: linear-gradient(135deg, var(--mst-blue), var(--mst-violet));
  box-shadow: 0 8px 22px rgba(47, 107, 255, 0.38);
}
body.ms-theme .mst--b .mst-tab[data-mst-tab="1"].is-active {
  background-image: linear-gradient(135deg, var(--mst-orange), var(--mst-warm));
  box-shadow: 0 8px 22px rgba(237, 91, 14, 0.38);
}
body.ms-theme .mst--b .mst-tab:focus-visible { outline: 2px solid var(--mst-cyan); outline-offset: 2px; }


/* stage: panes stacked in one grid cell (height = tallest) */
body.ms-theme .mst--b .mst-stage {
  position: relative;
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
}
body.ms-theme .mst--b .mst-stage::before {
  content: "";
  position: absolute;
  inset: 10% 15%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(47, 107, 255, 0.3), rgba(122, 92, 255, 0.1) 50%, transparent 70%);
  filter: blur(60px);
}

body.ms-theme .mst--b .mst-pane {
  --mst-a1: var(--mst-blue);
  --mst-a2: var(--mst-violet);
  --mst-glow: rgba(47, 107, 255, 0.4);
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  min-height: 440px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(22, 50, 108, 0.66) 0%, rgba(7, 17, 40, 0.9) 75%);
  border: 1px solid var(--mst-border-hi);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  visibility: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.7s;
}
body.ms-theme .mst--b .mst-pane--pin {
  --mst-a1: var(--mst-orange);
  --mst-a2: var(--mst-warm);
  --mst-glow: rgba(237, 91, 14, 0.38);
}
body.ms-theme .mst--b .mst-pane.is-active {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

/* left visual */
body.ms-theme .mst--b .mst-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--mst-a1) 35%, transparent) 0%, transparent 62%),
    linear-gradient(160deg, rgba(10, 26, 64, 0.9), rgba(4, 10, 26, 0.95));
  border-right: 1px solid var(--mst-border);
}


body.ms-theme .mst--b .mst-visual.has-photo { display: block; }
body.ms-theme .mst--b .mst-visual.has-photo img {
  display: block;
  width: 100%; height: 100%;
  min-height: 440px;
  margin: 0;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.ms-theme .mst--b .mst-pane:hover .mst-visual.has-photo img { transform: scale(1.05); }
body.ms-theme .mst--b .mst-visual.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(7, 17, 40, 0.6) 100%);
  pointer-events: none;
}

/* right copy */
body.ms-theme .mst--b .mst-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  padding: 48px 52px;
}
body.ms-theme .mst--b .mst-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: color-mix(in srgb, var(--mst-a1) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--mst-a1) 50%, transparent);
}
body.ms-theme .mst--b .mst-kicker i { color: var(--mst-a2); }
body.ms-theme .mst--b .mst-pane--trend .mst-kicker i { color: #ffb26b; }
body.ms-theme .mst--b .mst-copy-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-align: left;
  color: #fff;
}

body.ms-theme .mst--b .mst-copy-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
  color: var(--mst-soft);
}


body.ms-theme .mst--b .mst-pane--pin .mst-avatar { background: linear-gradient(135deg, var(--mst-orange), var(--mst-warm)); }
body.ms-theme .mst--b .mst-pane--pin .mst-cta a:hover { background-color: rgba(237, 91, 14, 0.2); border-color: rgba(255, 164, 92, 0.8); box-shadow: 0 10px 26px rgba(237, 91, 14, 0.3); }

/* entrance */
body.ms-theme .mst--b.mst-anim:not(.is-in) .mst-stage { opacity: 0; transform: translateY(30px); }
body.ms-theme .mst--b .mst-stage { transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }


/* responsive */
@media (max-width: 991.98px) {
  body.ms-theme .mst--b .mst-copy { padding: 36px 34px; }
  body.ms-theme .mst--b .mst-pane { min-height: 400px; }
}
@media (max-width: 767.98px) {
  body.ms-theme .mst { padding: 70px 0; }
  body.ms-theme .mst .mst-head { margin-bottom: 34px; }
  body.ms-theme .mst--b .mst-tabs { margin: -6px auto 28px; }
  body.ms-theme .mst--b .mst-tab { padding: 10px 16px 12px; font-size: 0.85rem; }
  body.ms-theme .mst--b .mst-pane {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    border-radius: 26px;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: linear-gradient(160deg, #12295a 0%, #081430 80%);
  }
  body.ms-theme .mst--b .mst-visual { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--mst-border); }
  body.ms-theme .mst--b .mst-visual.has-photo img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  body.ms-theme .mst--b .mst-visual.has-photo::after { display: none; }
  
  
  
  body.ms-theme .mst--b .mst-copy { padding: 26px 22px 30px; gap: 14px; }
}
@media (max-width: 399.98px) {
  body.ms-theme .mst--b .mst-tabs { width: 100%; }
  body.ms-theme .mst--b .mst-tab { flex: 1 1 0; justify-content: center; padding-left: 8px; padding-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .mst .mst-eyebrow-dot { animation: none; }
  
  
  body.ms-theme .mst--b .mst-pane { transform: none; transition: opacity 0.2s ease, visibility 0s linear 0.2s; }
  body.ms-theme .mst--b .mst-pane:hover .mst-visual.has-photo img { transform: none; }
}

/* ==========================================================================
   DESIGN B · Solo pane (left visual hata diya) — content poori chaudai me
   ========================================================================== */
body.ms-theme .mst--b .mst-pane--solo { grid-template-columns: minmax(0, 1fr); }
body.ms-theme .mst--b .mst-pane--solo .mst-copy { padding: 40px 48px; justify-content: center; }

/* trending list: 2 columns ki jagah ek saaf list, beech me rakhi hui */

/* bina photo wala pin: text beech me, bada */
body.ms-theme .mst--b .mst-pane--pin.mst-pane--solo .mst-copy {
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
body.ms-theme .mst--b .mst-pane--pin.mst-pane--solo .mst-kicker { align-self: center; }
body.ms-theme .mst--b .mst-pane--pin.mst-pane--solo .mst-copy-title { text-align: center; }
body.ms-theme .mst--b .mst-pane--pin.mst-pane--solo .mst-copy-title { font-size: clamp(1.6rem, 3vw, 2.3rem); }

@media (max-width: 767.98px) {
  body.ms-theme .mst--b .mst-pane--solo .mst-copy { padding: 24px 18px 26px; }
}

/* ==========================================================================
   DESIGN B · Trending slider — ek post at a time, right → left
   ========================================================================== */
body.ms-theme .mst--b .mst-pane { min-height: 460px; }

/* tabs ab manual hain (trending ka apna slider hai) */


body.ms-theme .mst--b .mst-slider {
  position: relative;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
}
body.ms-theme .mst--b .mst-slides {
  display: flex;
  height: 100%;
  transition: transform 0.85s cubic-bezier(0.65, 0, 0.25, 1);
  will-change: transform;
}
body.ms-theme .mst--b .mst-slides.is-jump { transition: none; }

body.ms-theme .mst--b .mst-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 460px;
}
body.ms-theme .mst--b .mst-slide .mst-visual.has-photo img { min-height: 460px; }
body.ms-theme .mst--b .mst-slide .mst-copy {
  justify-content: center;
  padding: 48px 52px 96px;     /* neeche nav ke liye jagah */
}

/* text ka halka entrance jab slide aati hai */
body.ms-theme .mst--b .mst-slide .mst-copy > * {
  transition: opacity 0.6s ease 0.25s, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s;
}
body.ms-theme .mst--b .mst-slide:not(.is-current) .mst-copy > * { opacity: 0; transform: translateX(30px); }

/* rank badge on image */
body.ms-theme .mst--b .mst-slide-rank {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  padding: 7px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--mst-orange), var(--mst-warm));
  box-shadow: 0 10px 24px rgba(237, 91, 14, 0.45);
}

body.ms-theme .mst--b .mst-trend-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 9px 16px;
  border-radius: 12px;
  background: rgba(255, 152, 84, 0.1);
  border: 1px solid rgba(255, 152, 84, 0.3);
  color: #ffd2ad;
}
body.ms-theme .mst--b .mst-trend-line strong { color: #fff; font-weight: 800; }
body.ms-theme .mst--b .mst-trend-line i { color: #ffb26b; }

/* nav: arrows + dots, right half ke neeche */
body.ms-theme .mst--b .mst-slider-nav {
  position: absolute;
  right: 52px; bottom: 34px;
  left: calc(0.95 / 2 * 100% + 52px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
}
body.ms-theme .mst--b .mst-snav {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--mst-border-hi);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
body.ms-theme .mst--b .mst-snav:hover { transform: scale(1.08); background-image: linear-gradient(135deg, var(--mst-blue), var(--mst-violet)); border-color: transparent; }
body.ms-theme .mst--b .mst-snav:focus-visible,
body.ms-theme .mst--b .mst-dot:focus-visible { outline: 2px solid var(--mst-cyan); outline-offset: 2px; }
body.ms-theme .mst--b .mst-dots { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body.ms-theme .mst--b .mst-dot {
  width: 8px; height: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: width 0.35s ease, background-color 0.35s ease;
}
body.ms-theme .mst--b .mst-dot.is-active {
  width: 28px;
  background-image: linear-gradient(90deg, var(--mst-orange), var(--mst-warm));
}

@media (max-width: 991.98px) {
  body.ms-theme .mst--b .mst-slide .mst-copy { padding: 36px 34px 90px; }
  body.ms-theme .mst--b .mst-slider-nav { left: calc(0.95 / 2 * 100% + 34px); right: 34px; }
}
@media (max-width: 767.98px) {
  body.ms-theme .mst--b .mst-pane { min-height: 0; }
  body.ms-theme .mst--b .mst-slide { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  body.ms-theme .mst--b .mst-slide .mst-visual { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--mst-border); }
  body.ms-theme .mst--b .mst-slide .mst-visual.has-photo img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  body.ms-theme .mst--b .mst-slide .mst-copy { padding: 24px 20px 84px; }
  body.ms-theme .mst--b .mst-slider-nav { left: 20px; right: 20px; bottom: 24px; justify-content: center; }
  body.ms-theme .mst--b .mst-slide-rank { top: 14px; left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .mst--b .mst-slides { transition: none; }
  body.ms-theme .mst--b .mst-slide:not(.is-current) .mst-copy > * { opacity: 1; transform: none; }
}

/* ==========================================================================
   DESIGN B · Image fill fix + Pin Post = Trending jaisa layout
   --------------------------------------------------------------------------
   • Image kitni bhi badi / chhoti ho, box ko poora bharegi (crop, stretch nahi).
   • Upar-neeche ka khaali space khatam: img absolute + object-fit: cover.
   • !important sirf yahan, .mst--b ke andar — project ke kisi aur img par asar nahi.
   ========================================================================== */
body.ms-theme .mst--b .mst-visual.has-photo {
  position: relative;
  display: block;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  background: #0a1838;
}
body.ms-theme .mst--b .mst-visual.has-photo > img {
  position: absolute !important;
  inset: 0 !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center;
}

/* Pin Post — slide jaisa: copy beech me, same padding */
body.ms-theme .mst--b .mst-pane--pin:not(.mst-pane--solo) .mst-copy {
  justify-content: center;
  padding: 48px 52px;
}
body.ms-theme .mst--b .mst-slide-rank--pin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--mst-violet), var(--mst-blue));
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.45);
}
body.ms-theme .mst--b .mst-pane--pin .mst-byline {
  align-self: flex-start;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--mst-border-hi);
  color: #fff;
}

@media (max-width: 991.98px) {
  body.ms-theme .mst--b .mst-pane--pin:not(.mst-pane--solo) .mst-copy { padding: 36px 34px; }
}
@media (max-width: 767.98px) {
  body.ms-theme .mst--b .mst-visual.has-photo { min-height: 0; aspect-ratio: 16 / 10; }
  body.ms-theme .mst--b .mst-pane--pin:not(.mst-pane--solo) .mst-copy { padding: 24px 20px 28px; }
}


/* ==========================================================================
   ms-updates.css — "Latest Updates" (Articles · Events · Announcements) + FAQs
   --------------------------------------------------------------------------
   CONFLICT-SAFE
   • Har selector  .msu  se shuru hota hai; classes "msu-" prefix,
     keyframes "msu-" prefix, variables "--msu-" prefix.
   • Events tabs ab apni classes (.msu-tab) use karte hain aur ms-updates.js
     se chalte hain; FAQ section ".msf" prefix me hai.
   • Load order: style.css aur ms-midnight-theme.css ke BAAD.
   ========================================================================== */

body.ms-theme .msu {
  --msu-text: var(--ms-text, #e8eefb);
  --msu-soft: var(--ms-text-soft, #b4c2e0);
  --msu-muted: var(--ms-muted, #8d9dc2);
  --msu-border: rgba(120, 165, 255, 0.16);
  --msu-border-hi: rgba(140, 185, 255, 0.34);
  --msu-blue: #2f6bff;
  --msu-violet: #7a5cff;
  --msu-cyan: #5ee1f5;
  --msu-orange: #ed5b0e;
  --msu-warm: #ff9854;

  position: relative;
  isolation: isolate;
  padding: 110px 0;
  color: var(--msu-text);
  overflow-x: clip;
}
body.ms-theme .msu *,
body.ms-theme .msu *::before,
body.ms-theme .msu *::after { box-sizing: border-box; }

body.ms-theme body:not(.ms-theme) .msu { background: #061126; }

body.ms-theme .msu::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--msu-border-hi), transparent);
}

/* ---------- heading ---------- */
body.ms-theme .msu .msu-head { margin-bottom: 50px; text-align: center; }
body.ms-theme .msu .msu-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--msu-cyan);
  background: rgba(94, 225, 245, 0.08);
  border: 1px solid rgba(94, 225, 245, 0.28);
}
body.ms-theme .msu .msu-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--msu-cyan);
  animation: msu-pulse 2s infinite;
}
body.ms-theme .msu .msu-title {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fff;
}
body.ms-theme .msu .msu-title-grad {
  background-image: linear-gradient(90deg, #7fb0ff 0%, #a99bff 55%, #5ee1f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
body.ms-theme .msu .msu-sub {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
  text-align: center;
  color: var(--msu-soft);
}

/* ---------- utilities ---------- */
body.ms-theme .msu .msu-clamp-1,
body.ms-theme .msu .msu-clamp-2 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
body.ms-theme .msu .msu-clamp-1 { -webkit-line-clamp: 1; line-clamp: 1; }
body.ms-theme .msu .msu-clamp-2 { -webkit-line-clamp: 2; line-clamp: 2; }
body.ms-theme .msu p { text-align: left; }

/* ---------- grid ---------- */
body.ms-theme .msu .msu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* ---------- box (shared) ---------- */
body.ms-theme .msu .msu-box {
  --msu-a1: var(--msu-blue);
  --msu-a2: var(--msu-violet);
  --msu-glow: rgba(47, 107, 255, 0.4);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 26px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(22, 50, 108, 0.62) 0%, rgba(7, 17, 40, 0.9) 75%);
  border: 1px solid var(--msu-border-hi);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
body.ms-theme .msu .msu-box--events { --msu-a1: #12a6c4; --msu-a2: var(--msu-cyan); --msu-glow: rgba(18, 166, 196, 0.4); }
body.ms-theme .msu .msu-box--ann { --msu-a1: var(--msu-orange); --msu-a2: var(--msu-warm); --msu-glow: rgba(237, 91, 14, 0.38); }

/* coloured top edge + corner glow */
body.ms-theme .msu .msu-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--msu-a1), var(--msu-a2), transparent 85%);
}
body.ms-theme .msu .msu-box::after {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--msu-glow), transparent 70%);
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.6s ease;
}
body.ms-theme .msu .msu-box:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--msu-a2) 60%, transparent);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.5), 0 0 50px color-mix(in srgb, var(--msu-a1) 25%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
body.ms-theme .msu .msu-box:hover::after { opacity: 0.9; transform: scale(1.15); }
body.ms-theme .msu .msu-box > * { position: relative; z-index: 1; }

/* box head */
body.ms-theme .msu .msu-box-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
body.ms-theme .msu .msu-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  font-size: 1.25rem;
  color: #fff;
  background-image: linear-gradient(135deg, var(--msu-a1), var(--msu-a2));
  box-shadow: 0 12px 26px var(--msu-glow);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.ms-theme .msu .msu-box:hover .msu-ico { transform: rotate(-8deg) scale(1.06); }
body.ms-theme .msu .msu-box-title { flex: 1 1 auto; min-width: 0; }
body.ms-theme .msu .msu-box-title small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--msu-muted);
}
body.ms-theme .msu .msu-box-title h3 {
  margin: 2px 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

/* "New" live pill (announcements) */
body.ms-theme .msu .msu-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffd2ad;
  background: rgba(237, 91, 14, 0.14);
  border: 1px solid rgba(255, 152, 84, 0.4);
}
body.ms-theme .msu .msu-live i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--msu-warm);
  animation: msu-blink 1.4s ease-in-out infinite;
}

/* box foot */
body.ms-theme .msu .msu-box-foot { margin-top: auto; padding-top: 20px; }
body.ms-theme .msu .msu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--msu-border-hi);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
body.ms-theme .msu .msu-btn i { font-size: 0.8em; transition: transform 0.3s ease; }
body.ms-theme .msu .msu-btn:hover {
  color: #fff;
  background-image: linear-gradient(135deg, var(--msu-a1), var(--msu-a2));
  border-color: transparent;
  box-shadow: 0 12px 28px var(--msu-glow);
}
body.ms-theme .msu .msu-btn:hover i { transform: translateX(4px); }

/* lists (shared) */
body.ms-theme .msu .msu-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.ms-theme .msu .msu-item,
body.ms-theme .msu .msu-ann {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--msu-border);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
body.ms-theme .msu .msu-item:hover,
body.ms-theme .msu .msu-ann:hover {
  background: color-mix(in srgb, var(--msu-a1) 10%, transparent);
  border-color: color-mix(in srgb, var(--msu-a2) 45%, transparent);
  transform: translateX(4px);
}
body.ms-theme .msu .msu-item-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--msu-a2);
  background: color-mix(in srgb, var(--msu-a1) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--msu-a2) 35%, transparent);
}
body.ms-theme .msu .msu-box--articles .msu-item-ico { color: #a99bff; }
body.ms-theme .msu .msu-item-body { flex: 1 1 auto; min-width: 0; }
body.ms-theme .msu .msu-item-title {
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  text-decoration: none;
}
body.ms-theme .msu .msu-item-title:hover { color: #cfe0ff; }
body.ms-theme .msu .msu-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--msu-soft);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--msu-border);
}
body.ms-theme .msu .msu-chip:hover { color: #fff; border-color: var(--msu-border-hi); }

/* empty states */
body.ms-theme .msu .msu-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  font-size: 0.92rem;
  color: var(--msu-muted);
  border: 1px dashed var(--msu-border-hi);
}
body.ms-theme .msu .msu-empty--box {
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
  text-align: center;
}
body.ms-theme .msu .msu-empty--box i { font-size: 1.8rem; color: var(--msu-a2); }

/* ==========================================================================
   ① ARTICLES — featured mini hero
   ========================================================================== */
body.ms-theme .msu .msu-feature {
  position: relative;
  margin-bottom: 14px;
  padding: 20px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 14, 36, 0.35) 0%, rgba(6, 14, 36, 0.92) 100%),
    url("../img/success-stories-bg.jpg") center / cover no-repeat;
  border: 1px solid var(--msu-border-hi);
}
body.ms-theme .msu .msu-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 30px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--msu-blue), var(--msu-violet));
}
body.ms-theme .msu .msu-feature-title {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}
body.ms-theme .msu .msu-feature-text {
  margin: 0 0 10px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}
body.ms-theme .msu .msu-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #9cc0ff;
  text-decoration: none;
}
body.ms-theme .msu .msu-feature-link i { font-size: 0.8em; transition: transform 0.3s ease; }
body.ms-theme .msu .msu-feature-link:hover { color: #fff; }
body.ms-theme .msu .msu-feature-link:hover i { transform: translateX(4px); }

/* ==========================================================================
   ② EVENTS — segmented tabs + timeline rows
   ========================================================================== */
body.ms-theme .msu .msu-tabs {
  display: flex;
  gap: 4px;
  width: 100%;
  margin: 0 0 16px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(3, 8, 20, 0.5);
  border: 1px solid var(--msu-border);
}
body.ms-theme .msu .msu-tab {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 0;
  margin: 0;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--msu-soft);
  background: transparent;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
body.ms-theme .msu .msu-tab:hover { color: #fff; }
body.ms-theme .msu .msu-tab.active {
  color: #04212a;
  background: linear-gradient(135deg, #8beeff, var(--msu-cyan));
  box-shadow: 0 8px 20px rgba(94, 225, 245, 0.3);
}
body.ms-theme .msu .msu-tab:focus-visible { outline: 2px solid var(--msu-cyan); outline-offset: 2px; }

body.ms-theme .msu .msu-events { position: relative; }

body.ms-theme .msu .msu-event {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--msu-border);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
body.ms-theme .msu .msu-event:hover {
  background: rgba(94, 225, 245, 0.07);
  border-color: rgba(94, 225, 245, 0.4);
  transform: translateX(4px);
}
body.ms-theme .msu .msu-date {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 62px; height: 66px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(160deg, #12a6c4, #1f4fd8);
  box-shadow: 0 10px 22px rgba(18, 166, 196, 0.3);
  text-align: center;
  line-height: 1;
}
body.ms-theme .msu .msu-date strong { font-size: 1.5rem; font-weight: 800; }
body.ms-theme .msu .msu-date span {
  max-width: 100%;
  margin-top: 4px;
  overflow: hidden;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.9;
}
body.ms-theme .msu .msu-event--past .msu-date {
  background: linear-gradient(160deg, #3a4a6e, #1c2747);
  box-shadow: none;
}
body.ms-theme .msu .msu-event-body { flex: 1 1 auto; min-width: 0; }
body.ms-theme .msu .msu-event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
body.ms-theme .msu .msu-badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
body.ms-theme .msu .msu-time { font-size: 0.75rem; color: var(--msu-muted); }
body.ms-theme .msu .msu-time i { margin-right: 3px; }
body.ms-theme .msu .msu-event-title {
  margin: 0 0 3px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}
body.ms-theme .msu .msu-event-loc {
  margin: 0;
  font-size: 0.8rem;
  color: var(--msu-soft);
}
body.ms-theme .msu .msu-event-loc i { margin-right: 5px; color: var(--msu-cyan); }
body.ms-theme .msu .msu-go {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 0.8rem;
  color: var(--msu-soft);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--msu-border-hi);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
body.ms-theme .msu .msu-go:hover {
  color: #04212a;
  background: var(--msu-cyan);
  border-color: transparent;
  transform: translateX(3px);
}

/* ==========================================================================
   ③ ANNOUNCEMENTS — notice-board rows with timeline dot
   ========================================================================== */
body.ms-theme .msu .msu-list--ann { position: relative; padding-left: 4px; }
body.ms-theme .msu .msu-list--ann::before {
  content: "";
  position: absolute;
  top: 20px; bottom: 20px; left: 22px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 152, 84, 0.5), rgba(255, 152, 84, 0.05));
}
body.ms-theme .msu .msu-ann { align-items: center; }
body.ms-theme .msu .msu-ann-dot {
  position: relative;
  flex: 0 0 auto;
  width: 12px; height: 12px;
  margin: 0 2px;
  border-radius: 50%;
  background: var(--msu-warm);
  box-shadow: 0 0 0 4px rgba(255, 152, 84, 0.15), 0 0 12px rgba(255, 152, 84, 0.6);
}
body.ms-theme .msu .msu-ann:first-child .msu-ann-dot { animation: msu-ring 2s ease-out infinite; }
body.ms-theme .msu .msu-ann-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--msu-muted);
}

/* ---------- keyframes ---------- */
@keyframes msu-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(94, 225, 245, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(94, 225, 245, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 225, 245, 0); }
}
@keyframes msu-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes msu-ring {
  0%   { box-shadow: 0 0 0 0 rgba(255, 152, 84, 0.6), 0 0 12px rgba(255, 152, 84, 0.6); }
  100% { box-shadow: 0 0 0 12px rgba(255, 152, 84, 0), 0 0 12px rgba(255, 152, 84, 0.6); }
}

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  body.ms-theme .msu .msu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ms-theme .msu .msu-box--ann { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  body.ms-theme .msu { padding: 70px 0; }
  body.ms-theme .msu .msu-head { margin-bottom: 34px; }
  body.ms-theme .msu .msu-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body.ms-theme .msu .msu-box { padding: 20px; border-radius: 22px; -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(165deg, #12295a 0%, #081430 75%); }
  body.ms-theme .msu .msu-box:hover { transform: none; }
}

/* ---------- accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .msu .msu-eyebrow-dot,
  body.ms-theme .msu .msu-live i,
  body.ms-theme .msu .msu-ann:first-child .msu-ann-dot { animation: none; }
  body.ms-theme .msu .msu-box:hover,
  body.ms-theme .msu .msu-item:hover,
  body.ms-theme .msu .msu-ann:hover,
  body.ms-theme .msu .msu-event:hover { transform: none; }
}

/* ==========================================================================
   SCROLLER — har box ki list neeche se upar lagatar chalti hai
   (JS: ms-updates.js clones banata hai aur --msu-shift / --msu-dur set karta hai)
   ========================================================================== */
body.ms-theme .msu .msu-events { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
body.ms-theme .msu .msu-ticker {
  position: relative;
  flex: 1 1 340px;
  min-height: 340px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 calc(100% - 26px), transparent 100%);
}
body.ms-theme .msu .msu-ticker-track { will-change: transform; }
body.ms-theme .msu .msu-ticker.is-running .msu-ticker-track {
  animation: msu-up var(--msu-dur, 20s) linear infinite;
}
body.ms-theme .msu .msu-ticker:hover .msu-ticker-track,
body.ms-theme .msu.is-off .msu-ticker-track { animation-play-state: paused; }

/* list ke end me bhi utna hi gap, taaki loop seamless rahe */
body.ms-theme .msu .msu-ticker-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0 0 10px;
}
@keyframes msu-up { to { transform: translateY(calc(-1 * var(--msu-shift, 0px))); } }

/* ==========================================================================
   FAQs SECTION  (.msf)
   ========================================================================== */
body.ms-theme .msf {
  --msf-text: var(--ms-text, #e8eefb);
  --msf-soft: var(--ms-text-soft, #b4c2e0);
  --msf-muted: var(--ms-muted, #8d9dc2);
  --msf-border: rgba(120, 165, 255, 0.16);
  --msf-border-hi: rgba(140, 185, 255, 0.34);
  position: relative;
  isolation: isolate;
  padding: 40px 0 110px;
  color: var(--msf-text);
  overflow-x: clip;
}
body.ms-theme .msf *, body.ms-theme .msf *::before, body.ms-theme .msf *::after { box-sizing: border-box; }
body.ms-theme body:not(.ms-theme) .msf { background: #061126; }

body.ms-theme .msf .msf-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
  padding: 54px;
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(22, 50, 108, 0.55) 0%, rgba(7, 17, 40, 0.88) 70%);
  border: 1px solid var(--msf-border-hi);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  overflow: hidden;
}
body.ms-theme .msf .msf-wrap::before {
  content: "";
  position: absolute;
  bottom: -160px; left: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 92, 255, 0.35), transparent 70%);
  pointer-events: none;
}

/* left intro */
body.ms-theme .msf .msf-intro { position: relative; z-index: 1; }
body.ms-theme .msf .msf-glyph {
  position: absolute;
  top: -60px; right: 0;
  z-index: -1;
  font-size: 15rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(140, 185, 255, 0.14);
  pointer-events: none;
  user-select: none;
  animation: msf-float 6s ease-in-out infinite;
}
body.ms-theme .msf .msf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9c0ff;
  background: rgba(122, 92, 255, 0.12);
  border: 1px solid rgba(169, 155, 255, 0.35);
}
body.ms-theme .msf .msf-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #a99bff; }
body.ms-theme .msf .msf-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-align: left;
  color: #fff;
}
body.ms-theme .msf .msf-title-grad {
  background-image: linear-gradient(90deg, #a99bff 0%, #7fb0ff 55%, #5ee1f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
body.ms-theme .msf .msf-sub {
  max-width: 420px;
  margin: 0 0 30px;
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
  color: var(--msf-soft);
}
body.ms-theme .msf .msf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background-image: linear-gradient(135deg, #2f6bff, #7a5cff);
  box-shadow: 0 14px 32px rgba(47, 107, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
body.ms-theme .msf .msf-btn i { font-size: 0.8em; transition: transform 0.3s ease; }
body.ms-theme .msf .msf-btn:hover { color: #fff; transform: translateY(-3px); filter: brightness(1.1); box-shadow: 0 18px 40px rgba(47, 107, 255, 0.5); }
body.ms-theme .msf .msf-btn:hover i { transform: translateX(4px); }

/* right accordion */
body.ms-theme .msf .msf-list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
body.ms-theme .msf .msf-item {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--msf-border);
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
body.ms-theme .msf .msf-item:hover { border-color: var(--msf-border-hi); }
body.ms-theme .msf .msf-item[open] {
  background: linear-gradient(160deg, rgba(47, 107, 255, 0.14), rgba(122, 92, 255, 0.08));
  border-color: rgba(140, 160, 255, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(122, 92, 255, 0.15);
}
body.ms-theme .msf .msf-q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
body.ms-theme .msf .msf-q::-webkit-details-marker { display: none; }
body.ms-theme .msf .msf-q::marker { content: ""; }
body.ms-theme .msf .msf-q:focus-visible { outline: 2px solid #5ee1f5; outline-offset: 2px; border-radius: 20px; }
body.ms-theme .msf .msf-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  font-size: 0.92rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #c9c0ff;
  background: rgba(122, 92, 255, 0.14);
  border: 1px solid rgba(169, 155, 255, 0.35);
  transition: color 0.3s ease, background 0.3s ease;
}
body.ms-theme .msf .msf-item[open] .msf-num { color: #fff; background: linear-gradient(135deg, #2f6bff, #7a5cff); border-color: transparent; }
body.ms-theme .msf .msf-q-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
}
/* plus → minus */
body.ms-theme .msf .msf-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--msf-border-hi);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.3s ease;
}
body.ms-theme .msf .msf-toggle::before,
body.ms-theme .msf .msf-toggle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.35s ease;
}
body.ms-theme .msf .msf-toggle::after { transform: rotate(90deg); }
body.ms-theme .msf .msf-item[open] .msf-toggle { transform: rotate(180deg); background: rgba(94, 225, 245, 0.18); }
body.ms-theme .msf .msf-item[open] .msf-toggle::after { transform: rotate(0deg); }

body.ms-theme .msf .msf-a {
  padding: 0 22px 22px 80px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--msf-soft);
  animation: msf-open 0.4s ease;
}
body.ms-theme .msf .msf-a p { margin: 0 0 8px; text-align: left; color: inherit; }
body.ms-theme .msf .msf-a p:last-child { margin-bottom: 0; }
body.ms-theme .msf .msf-a a { color: #9cc0ff; }

body.ms-theme .msf .msf-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-radius: 18px;
  color: var(--msf-muted);
  border: 1px dashed var(--msf-border-hi);
}

@keyframes msf-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes msf-float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

@media (max-width: 991.98px) {
  body.ms-theme .msf .msf-wrap { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 40px 32px; }
  body.ms-theme .msf .msf-glyph { font-size: 11rem; top: -40px; }
}
@media (max-width: 767.98px) {
  body.ms-theme .msf { padding: 20px 0 70px; }
  body.ms-theme .msf .msf-wrap { padding: 28px 18px; border-radius: 24px; -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(160deg, #12295a 0%, #081430 75%); }
  body.ms-theme .msf .msf-q { padding: 16px; gap: 12px; }
  body.ms-theme .msf .msf-num { width: 36px; height: 36px; border-radius: 11px; font-size: 0.82rem; }
  body.ms-theme .msf .msf-q-text { font-size: 0.96rem; }
  body.ms-theme .msf .msf-a { padding: 0 16px 18px 16px; }
  body.ms-theme .msf .msf-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .msu .msu-ticker.is-running .msu-ticker-track { animation: none; }
  body.ms-theme .msu .msu-ticker { overflow-y: auto; }
  body.ms-theme .msf .msf-glyph, body.ms-theme .msf .msf-a { animation: none; }
}


/* ==========================================================================
   ms-analytics.css — Premium "Visitor Analytics" (5 cards, right → left)
   --------------------------------------------------------------------------
   CONFLICT-SAFE
   • Har selector  .msv  se shuru hota hai; classes "msv-" prefix,
     keyframes "msv-" prefix, variables "--msv-" prefix.
   • Purani .analytics-section / .analytics-card classes use nahi hoti.
   • Load order: style.css aur ms-midnight-theme.css ke BAAD.
   ========================================================================== */

body.ms-theme .msv {
  --msv-text: var(--ms-text, #e8eefb);
  --msv-soft: var(--ms-text-soft, #b4c2e0);
  --msv-muted: var(--ms-muted, #8d9dc2);
  --msv-border: rgba(120, 165, 255, 0.16);
  --msv-border-hi: rgba(140, 185, 255, 0.34);
  --msv-gap: 24px;
  --msv-visible: 3;              /* ek baar me kitne cards dikhen */
  --msv-dur: 30s;                /* JS cards ki ginti se set karta hai */

  position: relative;
  isolation: isolate;
  padding: 110px 0;
  color: var(--msv-text);
  overflow-x: clip;
}
body.ms-theme .msv *, body.ms-theme .msv *::before, body.ms-theme .msv *::after { box-sizing: border-box; }
body.ms-theme body:not(.ms-theme) .msv { background: #061126; }

body.ms-theme .msv::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--msv-border-hi), transparent);
}

/* ---------- heading ---------- */
body.ms-theme .msv .msv-head { margin-bottom: 50px; text-align: center; }
body.ms-theme .msv .msv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--msv-text);
  background: rgba(94, 225, 245, 0.08);
  border: 1px solid rgba(94, 225, 245, 0.28);
  color: #5ee1f5;
}
body.ms-theme .msv .msv-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #5ee1f5;
  animation: msv-pulse 2s infinite;
}
body.ms-theme .msv .msv-title {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fff;
}
body.ms-theme .msv .msv-title-grad {
  background-image: linear-gradient(90deg, #7fb0ff 0%, #a99bff 55%, #5ee1f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
body.ms-theme .msv .msv-sub {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
  text-align: center;
  color: var(--msv-soft);
}

/* ---------- marquee ---------- */
body.ms-theme .msv .msv-marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0 30px;          /* hover lift + shadow ke liye jagah */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
body.ms-theme .msv .msv-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
body.ms-theme .msv .msv-marquee.is-running .msv-track { animation: msv-left var(--msv-dur) linear infinite; }
body.ms-theme .msv .msv-marquee:hover .msv-track,
body.ms-theme .msv.is-off .msv-track { animation-play-state: paused; }

body.ms-theme .msv .msv-set {
  display: flex;
  gap: var(--msv-gap);
  margin: 0;
  padding: 0 var(--msv-gap) 0 0;  /* set ke end me bhi gap → seamless loop */
  list-style: none;
}

/* card width: container ka 1/3 (JS --msv-cardw set karta hai) */
body.ms-theme .msv .msv-card {
  --msv-a1: #2f6bff;
  --msv-a2: #7a5cff;
  --msv-glow: rgba(47, 107, 255, 0.4);
  position: relative;
  flex: 0 0 var(--msv-cardw, 360px);
  width: var(--msv-cardw, 360px);
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(22, 50, 108, 0.66) 0%, rgba(7, 17, 40, 0.92) 75%);
  border: 1px solid var(--msv-border-hi);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
body.ms-theme .msv .msv-card--cyan { --msv-a1: #12a6c4; --msv-a2: #5ee1f5; --msv-glow: rgba(18, 166, 196, 0.4); }
body.ms-theme .msv .msv-card--violet { --msv-a1: #7a5cff; --msv-a2: #c08bff; --msv-glow: rgba(122, 92, 255, 0.4); }


body.ms-theme .msv .msv-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--msv-a2) 60%, transparent);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.5), 0 0 46px color-mix(in srgb, var(--msv-a1) 30%, transparent);
}
/* bottom accent bar */
body.ms-theme .msv .msv-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--msv-a1), var(--msv-a2));
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: transform 0.5s ease;
}
body.ms-theme .msv .msv-card:hover::after { transform: scaleX(1); }

/* media (image ya art) — image box ko poora bharti hai */
body.ms-theme .msv .msv-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a1838;
}
body.ms-theme .msv .msv-media > img {
  position: absolute !important;
  inset: 0 !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.ms-theme .msv .msv-card:hover .msv-media > img { transform: scale(1.07); }
body.ms-theme .msv .msv-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 28, 0) 40%, rgba(7, 17, 40, 0.95) 100%);
  pointer-events: none;
}
body.ms-theme .msv .msv-ico {
  position: absolute;
  left: 20px; bottom: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  font-size: 1.25rem;
  color: #fff;
  background-image: linear-gradient(135deg, var(--msv-a1), var(--msv-a2));
  box-shadow: 0 12px 28px var(--msv-glow);
}
body.ms-theme .msv .msv-live {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(3, 8, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
body.ms-theme .msv .msv-live i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff4d6d;
  animation: msv-blink 1.4s ease-in-out infinite;
}

/* art media for static cards */


/* body */
body.ms-theme .msv .msv-body { padding: 20px 24px 26px; }

body.ms-theme .msv .msv-num {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  text-align: left;
  background-image: linear-gradient(90deg, #ffffff 30%, color-mix(in srgb, var(--msv-a2) 70%, #fff 30%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
body.ms-theme .msv .msv-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--msv-muted);
}

/* ---------- keyframes ---------- */
@keyframes msv-left  { to { transform: translateX(calc(-1 * var(--msv-shift, 50%))); } }

@keyframes msv-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes msv-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(94, 225, 245, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(94, 225, 245, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 225, 245, 0); }
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) { body.ms-theme .msv { --msv-visible: 2; --msv-gap: 18px; } }
@media (max-width: 575.98px) {
  body.ms-theme .msv { --msv-visible: 1; padding: 70px 0; }
  body.ms-theme .msv .msv-head { margin-bottom: 30px; }
  body.ms-theme .msv .msv-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .msv .msv-marquee.is-running .msv-track { animation: none; }
  body.ms-theme .msv .msv-marquee { overflow-x: auto; }
  body.ms-theme .msv .msv-eyebrow-dot, body.ms-theme .msv .msv-live i { animation: none; }
}


body.ms-theme .intro-video-icon {
    background: #d9e5ff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}


/* ==========================================================================
   ms-header.css — Premium glass header (top bar + main navbar)
   --------------------------------------------------------------------------
   CONFLICT-SAFE
   • Har rule sirf  .msh.msh-top  (top bar) ya  .msh.msh-nav  (navbar) ke
     andar lagta hai — page ke kisi aur hisse par asar nahi.
   • Selectors jaan-boojh kar style.css / header.css / ms-midnight-theme.css
     se zyada specific hain; !important sirf wahan jahan Bootstrap utility
     (.bg-white, .text-muted) khud !important use karti hai.
   • Koi id / data-bs-* / display logic nahi chheda — dropdowns, notifications,
     messages, search suggestions sab pehle jaise JS se chalte hain.
   • Keyframes "msh-" prefix.
   ========================================================================== */

/* ---------- shared tokens ---------- */
body.ms-theme .msh {
  --msh-text: #e8eefb;
  --msh-soft: #b4c2e0;
  --msh-muted: #8d9dc2;
  --msh-glass: rgba(8, 20, 48, 0.62);
  --msh-glass-hi: rgba(14, 32, 72, 0.9);
  --msh-border: rgba(140, 185, 255, 0.22);
  --msh-border-hi: rgba(140, 185, 255, 0.45);
  --msh-blue: #2f6bff;
  --msh-violet: #7a5cff;
  --msh-cyan: #5ee1f5;
  --msh-orange: #ed5b0e;
  --msh-warm: #ff9854;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
body.ms-theme .msh.msh-top.top-bar {
  position: relative;
  z-index: 1040;                 /* notification dropdowns navbar ke upar khulen */
  padding: 14px 0 4px;
  background: #0b1b3f;
  background-image: none;
  border: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* glass panel */
body.ms-theme .msh.msh-top .header-rounded {
  position: relative;
  padding: 0px 18px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(14, 32, 72, 0.7) 0%, rgba(6, 14, 34, 0.72) 100%);
  border: 1px solid var(--msh-border);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
/* glowing top hairline */
body.ms-theme .msh.msh-top .header-rounded::before {
  content: "";
  position: absolute;
  top: -1px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--msh-cyan), var(--msh-violet), transparent);
  opacity: 0.8;
  pointer-events: none;
}

/* logos — white chip so any logo stays crisp on navy */
body.ms-theme .msh.msh-top.top-bar .logo img {
  max-height: 62px;
  width: auto;
  padding: 0px 0px;
  border-radius: 14px;
  background: #ffffff00;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
body.ms-theme .msh.msh-top.top-bar .logo a:hover img {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(94, 225, 245, 0.25);
}

/* right side wrapper (style.css isse white pill banata tha) */
body.ms-theme .msh.msh-top .top-bar-right.top-right-search-2 {
  gap: 10px;
  margin-top: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

/* search pill */
body.ms-theme .msh.msh-top .top-search { position: relative; flex: 1 1 auto; min-width: 0; max-width: 240px; }
body.ms-theme .msh.msh-top .top-search .form-control {
  width: 100%;
  height: 42px;
  padding: 0 50px 0 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--msh-text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--msh-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: width 0.35s ease, border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
body.ms-theme .msh.msh-top .top-search .form-control::placeholder { color: var(--msh-muted); }
body.ms-theme .msh.msh-top .top-search .form-control:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--msh-cyan);
  box-shadow: 0 0 0 4px rgba(94, 225, 245, 0.15);
  outline: 0;
}
body.ms-theme .msh.msh-top .top-search .top-search-btn.bg-white {
  position: absolute;
  top: 50%; right: 4px;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  padding: 0 !important;
  border: 0;
  border-radius: 50%;
  font-size: 0.8rem;
  color: #fff;
  background: linear-gradient(135deg, var(--msh-blue), var(--msh-violet)) !important;
  box-shadow: 0 6px 16px rgba(47, 107, 255, 0.45);
  transform: translateY(-50%);
  transition: transform 0.3s ease, filter 0.3s ease;
}
body.ms-theme .msh.msh-top .top-search .top-search-btn.bg-white:hover { filter: brightness(1.12); transform: translateY(-50%) scale(1.06); }

/* search suggestions (JS bharta hai) — sirf rang */
body.ms-theme .msh.msh-top .suggestions-box:empty { border: 0; box-shadow: none; }
body.ms-theme .msh.msh-top .suggestions-box {
  border-radius: 14px;
  color: var(--msh-text);
  background: var(--msh-glass-hi);
  border: 1px solid var(--msh-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

/* buttons / icons kabhi na tooten, na dabein */
body.ms-theme .msh.msh-top .top-bar-right > .btn,
body.ms-theme .msh.msh-top .top-bar-right > .dropdown { flex: 0 0 auto; white-space: nowrap; }
body.ms-theme .msh.msh-top .top-bar-right > .btn.btn-outer.me-3 { margin-right: 0 !important; }

/* Login (ghost) */
body.ms-theme .msh.msh-top .top-bar-right > .btn.btn-outer:not(.dropdown) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--msh-text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--msh-border-hi);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
body.ms-theme .msh.msh-top .top-bar-right > .btn.btn-outer:not(.dropdown):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--msh-cyan);
  transform: translateY(-1px);
}
/* Sign Up (gradient) */
body.ms-theme .msh.msh-top .top-bar-right > .btn.btn-outer.border-gradient {
  color: #fff;
  background: linear-gradient(135deg, var(--msh-orange), var(--msh-warm));
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(237, 91, 14, 0.4);
}
body.ms-theme .msh.msh-top .top-bar-right > .btn.btn-outer.border-gradient::before { display: none; }
body.ms-theme .msh.msh-top .top-bar-right > .btn.btn-outer.border-gradient:hover {
  background: linear-gradient(135deg, var(--msh-warm), var(--msh-orange));
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(237, 91, 14, 0.5);
}

/* Guidelines link (logged in) */
body.ms-theme .msh.msh-top .top-bar-right > .dropdown > .dropdown-toggle.text-dark {
  padding: 9px 14px !important;
  border-radius: 999px;
  color: var(--msh-text) !important;
  transition: background-color 0.3s ease;
}
body.ms-theme .msh.msh-top .top-bar-right > .dropdown > .dropdown-toggle.text-dark:hover { background: rgba(255, 255, 255, 0.08); }

/* message / notification icon buttons */
body.ms-theme .msh.msh-top .top-bar-right > .btn.btn-outer.dropdown {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--msh-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
body.ms-theme .msh.msh-top .top-bar-right > .btn.btn-outer.dropdown:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--msh-border-hi);
}
body.ms-theme .msh.msh-top #notificationBell,
body.ms-theme .msh.msh-top #messageIcon {
  font-size: 1.05rem;
  color: var(--msh-text) !important;
}
body.ms-theme .msh.msh-top #notificationCount,
body.ms-theme .msh.msh-top #messageCount {
  font-size: 0.62rem;
  box-shadow: 0 0 0 2px #0b1a3d;
}

/* profile avatar with gradient ring */
body.ms-theme .msh.msh-top .profile-image {
  width: 44px; height: 44px;
  padding: 2px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--msh-cyan), var(--msh-violet), var(--msh-orange));
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.ms-theme .msh.msh-top .profile-image:hover { transform: scale(1.06); box-shadow: 0 0 0 4px rgba(94, 225, 245, 0.2); }

/* ==========================================================================
   MAIN NAVBAR — floating glass bar
   ========================================================================== */
body.ms-theme .msh.msh-nav.navbar {
  z-index: 1030;
  background: transparent;
  box-shadow: none;
}
body.ms-theme .msh.msh-nav .header-rounded.bg-white {
  position: relative;
  padding: 8px 10px 8px 14px !important;
  border-radius: 20px;
  /* background: linear-gradient(160deg, rgba(14, 32, 72, 0.78) 0%, rgba(6, 14, 34, 0.82) 100%) !important; */
  border: 1px solid var(--msh-border);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}
/* moving light line along the bottom edge */
body.ms-theme .msh.msh-nav .header-rounded.bg-white::after {
  content: "";
  position: absolute;
  left: 20px; right: 20px; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--msh-cyan) 45%, var(--msh-violet) 55%, transparent 100%);
  background-size: 200% 100%;
  animation: msh-sweep 6s linear infinite;
  opacity: 0.85;
  pointer-events: none;
}

/* links */
body.ms-theme .msh.msh-nav .navbar-nav .nav-link {
  position: relative;
  margin: 0 1px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--msh-soft);
  transition: color 0.25s ease, background-color 0.25s ease;
}
body.ms-theme .msh.msh-nav .navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--msh-cyan), var(--msh-violet));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.ms-theme .msh.msh-nav .navbar-nav .nav-link:hover,
body.ms-theme .msh.msh-nav .navbar-nav .nav-link:focus-visible,
body.ms-theme .msh.msh-nav .navbar-nav .nav-link.show {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
body.ms-theme .msh.msh-nav .navbar-nav .nav-link:hover::before,
body.ms-theme .msh.msh-nav .navbar-nav .nav-link.show::before { transform: scaleX(1); }
body.ms-theme .msh.msh-nav .navbar-nav .nav-link.dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: 0.15em;
  transition: transform 0.3s ease;
}
body.ms-theme .msh.msh-nav .navbar-nav .nav-link.dropdown-toggle.show::after { transform: rotate(180deg); }

/* Contact Us — gradient pill with shine */
body.ms-theme .msh.msh-nav .btn.btn-primary {
  position: relative;
  flex: 0 0 auto;
  white-space: nowrap;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background-image: linear-gradient(135deg, var(--msh-blue), var(--msh-violet)) !important;
  box-shadow: 0 10px 26px rgba(47, 107, 255, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.ms-theme .msh.msh-nav .btn.btn-primary > a {
  display: inline-block;
  padding: 10px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff !important;
}
body.ms-theme .msh.msh-nav .btn.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: msh-shine 4.5s ease-in-out infinite;
  pointer-events: none;
}
body.ms-theme .msh.msh-nav .btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(47, 107, 255, 0.55);
}

/* toggler (mobile) */
body.ms-theme .msh.msh-nav .navbar-toggler {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--msh-border-hi);
  background: rgba(255, 255, 255, 0.06);
  filter: none;
}
body.ms-theme .msh.msh-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(94, 225, 245, 0.25); }
body.ms-theme .msh.msh-nav .navbar-toggler-icon { filter: invert(1) brightness(1.6); }

/* ==========================================================================
   DROPDOWNS (navbar + top bar) — sirf look; show/hide Bootstrap / JS ka
   ========================================================================== */
body.ms-theme .msh.msh-nav .dropdown-menu,
body.ms-theme .msh.msh-top .dropdown-menu {
  padding: 8px;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(14, 32, 72, 0.97) 0%, rgba(6, 14, 34, 0.98) 100%);
  border: 1px solid var(--msh-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
body.ms-theme .msh.msh-nav .dropdown-menu .dropdown-item,
body.ms-theme .msh.msh-top .dropdown-menu .dropdown-item {
  position: relative;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: normal;
  color: var(--msh-soft);
  transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.25s ease;
}
body.ms-theme .msh.msh-nav .dropdown-menu .dropdown-item:hover,
body.ms-theme .msh.msh-nav .dropdown-menu .dropdown-item:focus,
body.ms-theme .msh.msh-top .dropdown-menu .dropdown-item:hover,
body.ms-theme .msh.msh-top .dropdown-menu .dropdown-item:focus {
  padding-left: 20px;
  color: #fff;
  background: linear-gradient(90deg, rgba(47, 107, 255, 0.28), rgba(122, 92, 255, 0.08));
}
body.ms-theme .msh.msh-nav .dropdown-menu .dropdown-item::before,
body.ms-theme .msh.msh-top .dropdown-menu .dropdown-item::before {
  content: "";
  position: absolute;
  left: 7px; top: 50%;
  width: 4px; height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--msh-cyan);
  opacity: 0;
  transition: opacity 0.2s ease;
}
body.ms-theme .msh.msh-nav .dropdown-menu .dropdown-item:hover::before,
body.ms-theme .msh.msh-top .dropdown-menu .dropdown-item:hover::before { opacity: 1; }
body.ms-theme .msh.msh-top .dropdown-menu .dropdown-item.text-danger { color: #ff8a9b !important; }

/* "REFERENCE MATERIAL" jaise headings (Useful Links) */
body.ms-theme .msh.msh-nav .dropdown-menu .dropdown-item p.fw-bold {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--msh-cyan);
}
body.ms-theme .msh.msh-nav .dropdown-submenu > .dropdown-item i.fa-angle-right { color: var(--msh-muted); transition: transform 0.25s ease; }
body.ms-theme .msh.msh-nav .dropdown-menu .dropdown-divider,
body.ms-theme .msh.msh-top .dropdown-menu .dropdown-divider { border-color: var(--msh-border); }

/* thin scrollbar for long menus (Useful Links / notifications) */
body.ms-theme .msh .dropdown-menu { scrollbar-width: thin; scrollbar-color: #2b4a8c transparent; }

/* notification / message dropdown — header strip dark (pehle light tha) */
body.ms-theme .msh.msh-top .notification-dropdown .dropdown-header {
  padding: 12px 14px;
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
body.ms-theme .msh.msh-top .notification-dropdown .dropdown-header a { color: #fff !important; }
body.ms-theme .msh.msh-top .notification-dropdown .dropdown-item:hover { background: rgba(47, 107, 255, 0.2); }

/* ---------- keyframes ---------- */
@keyframes msh-sweep { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes msh-shine {
  0%, 70% { left: -60%; }
  100%    { left: 130%; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1399.98px) {
  body.ms-theme .msh.msh-nav .navbar-nav .nav-link { padding: 10px 9px; font-size: 0.86rem; }
  body.ms-theme .msh.msh-nav .navbar-nav .nav-link::before { left: 9px; right: 9px; }
  body.ms-theme .msh.msh-nav .btn.btn-primary { margin-left: 10px !important; }
  body.ms-theme .msh.msh-nav .btn.btn-primary > a { padding: 10px 18px; }
}
@media (max-width: 1279.98px) {
  body.ms-theme .msh.msh-nav .navbar-nav .nav-link { padding: 9px 6px; font-size: 0.8rem; }
  body.ms-theme .msh.msh-nav .navbar-nav .nav-link::before { left: 6px; right: 6px; }
  body.ms-theme .msh.msh-nav .navbar-nav .nav-link.dropdown-toggle::after { margin-left: 3px; }
  body.ms-theme .msh.msh-nav .btn.btn-primary { margin-left: 6px !important; }
  body.ms-theme .msh.msh-nav .btn.btn-primary > a { padding: 9px 14px; font-size: 0.8rem; }
  body.ms-theme .msh.msh-top .top-bar-right > .btn.btn-outer:not(.dropdown) { padding: 0 12px; font-size: 0.82rem; }
}
@media (max-width: 1099.98px) {
  body.ms-theme .msh.msh-nav .header-rounded.bg-white { padding: 6px 6px 6px 8px !important; }
  body.ms-theme .msh.msh-nav .navbar-nav .nav-link { padding: 8px 4px; font-size: 0.74rem; }
  body.ms-theme .msh.msh-nav .navbar-nav .nav-link::before { left: 4px; right: 4px; }
  body.ms-theme .msh.msh-nav .navbar-nav .nav-link.dropdown-toggle::after { margin-left: 2px; }
  body.ms-theme .msh.msh-nav .btn.btn-primary > a { padding: 8px 11px; font-size: 0.74rem; }
}

@media (max-width: 991.98px) {
  body.ms-theme .msh.msh-nav .header-rounded.bg-white { padding: 8px 10px !important; }
  body.ms-theme .msh.msh-nav .navbar-collapse { padding: 10px 4px 6px; }
  body.ms-theme .msh.msh-nav .navbar-nav .nav-link { padding: 11px 14px; }
  body.ms-theme .msh.msh-nav .navbar-nav .nav-link::before { display: none; }
  body.ms-theme .msh.msh-nav .dropdown-menu { margin: 4px 0 8px; box-shadow: none; }
  body.ms-theme .msh.msh-nav .btn.btn-primary { margin: 10px 0 4px !important; }
}

@media (max-width: 767.98px) {
  body.ms-theme .msh.msh-top.top-bar { padding: 10px 0 2px; }
  body.ms-theme .msh.msh-top .header-rounded { padding: 12px; border-radius: 18px; }
  body.ms-theme .msh.msh-top.top-bar .logo img { max-height: 52px; }
  body.ms-theme .msh.msh-top .top-bar-right.top-right-search-2 { flex-wrap: wrap; justify-content: center !important; margin-top: 8px; }
  body.ms-theme .msh.msh-top .top-search { flex: 1 1 100%; max-width: none; }
  body.ms-theme .msh.msh-top .top-search .form-control,
  body.ms-theme .msh.msh-top .top-search .form-control:focus { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  body.ms-theme .msh.msh-nav .header-rounded.bg-white::after,
  body.ms-theme .msh.msh-nav .btn.btn-primary::after { animation: none; }
}


/* ==========================================================================
   ms-header v2 — transparent top bar + premium logo chips
   (ye block file ke aakhir me hi rehna chahiye — pehle wale rules ko override karta hai)
   ========================================================================== */
@property --msh-ang {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* top bar: zyada transparent, taaki peeche ka globe dikhe */
body.ms-theme .msh.msh-top .header-rounded {
  background: linear-gradient(160deg, rgba(14, 32, 72, 0.26) 0%, rgba(6, 14, 34, 0.18) 100%);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  backdrop-filter: blur(6px) saturate(140%);
}

/* logo chip: ghoomti gradient border + halka safed glass andar */
body.ms-theme .msh.msh-top.top-bar .logo a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 1.5px;
  border-radius: 18px;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32), 0 0 24px rgba(94, 225, 245, 0.18);
  overflow: hidden;
  isolation: isolate;
  animation: msh-spin-border 8s linear infinite;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
body.ms-theme .msh.msh-top.top-bar .logo img {
  display: block;
  height: 160px;
  max-height: none;
  width: auto;
  max-width: 100%;
  border-radius: 16.5px;
  /* box-shadow: inset 0 -6px 14px rgba(47, 107, 255, 0.08); */
  transform: none;
}
/* chamak jo hover par chalti hai */
body.ms-theme .msh.msh-top.top-bar .logo a::after {
  content: "";
  position: absolute;
  top: 0; left: -70%;
  z-index: 1;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
body.ms-theme .msh.msh-top.top-bar .logo a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38), 0 0 34px rgba(122, 92, 255, 0.35);
}
body.ms-theme .msh.msh-top.top-bar .logo a:hover::after { animation: msh-logo-shine 0.9s ease; }
body.ms-theme .msh.msh-top.top-bar .logo a:hover img { transform: none; box-shadow: inset 0 -6px 14px rgba(47, 107, 255, 0.08); }

/* top bar poori chaudai ka ho (header-rounded container ke bahar) to: upar seedha, neeche gol */
body.ms-theme .msh.msh-top.top-bar > .header-rounded {
  border-top: 0;
  border-radius: 0px;
}
body.ms-theme .msh.msh-top.top-bar > .header-rounded::before { top: auto; bottom: -1px; }
body.ms-theme .msh.msh-top.top-bar:has(> .header-rounded) { padding-top: 0; }

@keyframes msh-spin-border { to { --msh-ang: 360deg; } }
@keyframes msh-logo-shine { from { left: -70%; } to { left: 130%; } }

@media (max-width: 767.98px) {
  body.ms-theme .msh.msh-top.top-bar .logo img { height: 46px; padding: 6px 12px; }
  body.ms-theme .msh.msh-top.top-bar .logo { margin: 4px 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .msh.msh-top.top-bar .logo a,
  body.ms-theme .msh.msh-top.top-bar .logo a:hover::after { animation: none; }
}


/* ==========================================================================
   ms-footer.css — Premium glass footer + themed chatbot
   --------------------------------------------------------------------------
   CONFLICT-SAFE
   • Footer ke saare rules  .msft.msft.footer  ke andar (3 classes) — style.css,
     footer.css aur ms-midnight-theme.css (body.ms-theme .footer = 2 class + 1 tag)
     se zyada specific, isliye bina !important ke jeet-te hain.
   • !important sirf wahan jahan HTML me inline style hai (captcha image).
   • Feedback form ab modal (#msftFeedbackModal) me hai — uske rules sirf us id par.
   • Chatbot ke rules sirf  #caAssistantWidget  aur
     .chatbot-fab[data-footer-action="toggle-chatbot"]  par.
   • Koi id / data-footer-action / display logic nahi chheda —
     feedback form, captcha refresh, chatbot sab footer.js se pehle jaise.
   • Keyframes "msft-" prefix.
   ========================================================================== */

/* rang ke variables — footer aur feedback modal dono ke liye */
body.ms-theme .msft.msft.footer,
body.ms-theme #msftFeedbackModal {
  --msft-text: #e8eefb;
  --msft-soft: #b4c2e0;
  --msft-muted: #8d9dc2;
  --msft-border: rgba(140, 185, 255, 0.16);
  --msft-border-hi: rgba(140, 185, 255, 0.36);
  --msft-blue: #2f6bff;
  --msft-violet: #7a5cff;
  --msft-cyan: #5ee1f5;
  --msft-orange: #ed5b0e;
  --msft-warm: #ff9854;
}

body.ms-theme .msft.msft.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 40px;
  padding: 90px 0 0;
  color: var(--msft-text);
  /* semi-transparent — globe halka dikhe, footer ka dark tone bhi rahe
     (zyada/kam karna ho to neeche 0.5 aur 0.68 badlein) */
  background:#0c1d43;
  border-top: 0;
  -webkit-backdrop-filter: none;   /* blur se globe ke dots mit jaate the */
  backdrop-filter: none;
}
/* glowing top edge */
body.ms-theme .msft.msft.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--msft-cyan) 30%, var(--msft-violet) 55%, var(--msft-warm) 75%, transparent 100%);
  opacity: 0.9;
}
/* giant outlined watermark at the bottom */
body.ms-theme .msft.msft.footer::after {
  content: "CA SETU";
  position: absolute;
  left: 50%; bottom: -0.22em;
  z-index: -1;
  transform: translateX(-50%);
  font-size: clamp(5rem, 16vw, 15rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(140, 185, 255, 0.07);
  pointer-events: none;
  user-select: none;
}

body.ms-theme .msft.msft.footer > .container { position: relative; }
body.ms-theme .msft.msft.footer p { text-align: left; }

/* ---------- headings ---------- */
body.ms-theme .msft.msft.footer h5 {
  position: relative;
  margin: 0 0 26px;
  padding-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
body.ms-theme .msft.msft.footer h5::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--msft-cyan), var(--msft-violet));
  transition: width 0.4s ease;
}
body.ms-theme .msft.msft.footer .col-lg-3:hover h5::after { width: 64px; }

/* ---------- column 1: brand + contact ---------- */
body.ms-theme .msft.msft.footer .footer-logo {
  position: relative;
  width: 104px; height: 104px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--msft-cyan), var(--msft-violet), var(--msft-warm), var(--msft-cyan));
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.03), 0 16px 40px rgba(47, 107, 255, 0.35);
}
body.ms-theme .msft.msft.footer .footer-logo img {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}
body.ms-theme .msft.msft.footer .footer-logo + p,
body.ms-theme .msft.msft.footer .footer-logo + p + p { text-align: center; }
body.ms-theme .msft.msft.footer .footer-logo + p { color: #fff; line-height: 1.4; }
body.ms-theme .msft.msft.footer .footer-logo + p + p { margin-bottom: 18px; color: var(--msft-muted); font-weight: 600 !important; }

body.ms-theme .msft.msft.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
body.ms-theme .msft.msft.footer ul li { margin-bottom: 10px; }

/* contact rows (icons) */
body.ms-theme .msft.msft.footer .col-lg-3:first-child ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.9rem;
  color: var(--msft-soft);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--msft-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
body.ms-theme .msft.msft.footer .col-lg-3:first-child ul li:hover {
  background: rgba(47, 107, 255, 0.1);
  border-color: var(--msft-border-hi);
}
body.ms-theme .msft.msft.footer .col-lg-3:first-child ul li i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  margin: 0 !important;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, var(--msft-blue), var(--msft-violet));
  box-shadow: 0 6px 16px rgba(47, 107, 255, 0.35);
}

/* ---------- link columns ---------- */
body.ms-theme .msft.msft.footer ul li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  font-size: 0.92rem;
  color: var(--msft-soft);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}
body.ms-theme .msft.msft.footer ul li a::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--msft-border-hi);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
body.ms-theme .msft.msft.footer ul li a:hover {
  color: #fff;
  transform: translateX(4px);
}
body.ms-theme .msft.msft.footer ul li a:hover::before {
  background: var(--msft-cyan);
  box-shadow: 0 0 10px var(--msft-cyan);
  transform: scale(1.3);
}

/* ---------- feedback form (ab modal ke andar) ---------- */
body.ms-theme #msftFeedbackModal #feedbackForm { margin: 0; }
body.ms-theme #msftFeedbackModal .newsletter-input {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--msft-text);
  background: rgba(3, 8, 20, 0.55);
  border: 1px solid var(--msft-border);
  outline: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
body.ms-theme #msftFeedbackModal textarea.newsletter-input { resize: vertical; min-height: 84px; }
body.ms-theme #msftFeedbackModal .newsletter-input::placeholder { color: var(--msft-muted); letter-spacing: normal; text-transform: none; font-weight: 400; }
body.ms-theme #msftFeedbackModal .newsletter-input:focus {
  color: #fff;
  background: rgba(3, 8, 20, 0.75);
  border-color: var(--msft-cyan);
  box-shadow: 0 0 0 3px rgba(94, 225, 245, 0.15);
}

/* captcha row */
body.ms-theme #msftFeedbackModal .captcha-wrapper { gap: 8px !important; }
body.ms-theme #msftFeedbackModal .captcha-wrapper .newsletter-input { margin-bottom: 0; min-width: 0; }
body.ms-theme #msftFeedbackModal #feedbackCaptchaImg {
  height: 44px !important;
  border: 1px solid var(--msft-border-hi) !important;
  border-radius: 10px !important;
  background: #fff;
}
body.ms-theme #msftFeedbackModal .captcha-wrapper .btn-outline-secondary {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  padding: 0;
  border-radius: 50%;
  color: var(--msft-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--msft-border-hi);
  transition: transform 0.4s ease, color 0.3s ease, background-color 0.3s ease;
}
body.ms-theme #msftFeedbackModal .captcha-wrapper .btn-outline-secondary:hover {
  color: #fff;
  background: rgba(94, 225, 245, 0.15);
  transform: rotate(180deg);
}

/* send button */
body.ms-theme #msftFeedbackModal .btn-subscribe {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 12px 20px;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--msft-blue), var(--msft-violet));
  box-shadow: 0 12px 28px rgba(47, 107, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
body.ms-theme #msftFeedbackModal .btn-subscribe:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 16px 34px rgba(47, 107, 255, 0.5);
}
body.ms-theme #msftFeedbackModal .btn-subscribe::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: msft-shine 5s ease-in-out infinite;
}

/* ---------- bottom bar ---------- */
body.ms-theme .msft.msft.footer .footer-bottom {
  margin-top: 50px;
  padding: 26px 0 30px;
  border-top: 1px solid var(--msft-border);
  color: var(--msft-muted);
}
body.ms-theme .msft.msft.footer .footer-bottom p { font-size: 0.86rem; color: var(--msft-muted); }

body.ms-theme .msft.msft.footer .social-icons {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
body.ms-theme .msft.msft.footer .social-icons a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin: 0;
  border-radius: 12px;
  font-size: 1rem;
  color: var(--msft-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--msft-border);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
body.ms-theme .msft.msft.footer .social-icons a:hover {
  transform: translateY(-4px);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}
/* brand colours on hover */
body.ms-theme .msft.msft.footer .social-icons a[href*="facebook"]:hover { background: #1877f2; }
body.ms-theme .msft.msft.footer .social-icons a[href*="youtube"]:hover { background: #ff0033; }
body.ms-theme .msft.msft.footer .social-icons a[href*="linkedin"]:hover { background: #0a66c2; }
body.ms-theme .msft.msft.footer .social-icons a[href*="instagram"]:hover { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4); }
body.ms-theme .msft.msft.footer .social-icons a[href*="t.me"]:hover { background: #229ed9; }
body.ms-theme .msft.msft.footer .social-icons a[href*="threads"]:hover { background: #000; border-color: #444; }
body.ms-theme .msft.msft.footer .social-icons a[href*="twitter"]:hover { background: #000; border-color: #444; }
body.ms-theme .msft.msft.footer .social-icons a[href*="whatsapp"]:hover { background: #25d366; }

/* ==========================================================================
   CHATBOT (same file me tha — sirf look)
   ========================================================================== */
body.ms-theme .chatbot-fab[data-footer-action="toggle-chatbot"] {
  background: linear-gradient(135deg, #2f6bff, #7a5cff);
  box-shadow: 0 14px 34px rgba(47, 107, 255, 0.5), 0 0 0 0 rgba(94, 225, 245, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: msft-ping 2.6s ease-out infinite;
  transition: transform 0.3s ease;
}
body.ms-theme .chatbot-fab[data-footer-action="toggle-chatbot"]:hover { transform: scale(1.08); }

body.ms-theme #caAssistantWidget.chatbot-box {
  border-radius: 20px;
  background: #0a1838;
  border: 1px solid rgba(140, 185, 255, 0.3);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(47, 107, 255, 0.2);
}
body.ms-theme #caAssistantWidget .chatbot-header {
  padding: 14px 16px;
  background: linear-gradient(135deg, #2f6bff, #7a5cff);
}
body.ms-theme #caAssistantWidget .chatbot-body { background: linear-gradient(180deg, #0b1b40, #071230); }
body.ms-theme #caAssistantWidget .chat-msg.bot {
  color: #dbe6ff;
  background: rgba(47, 107, 255, 0.16);
  border: 1px solid rgba(140, 185, 255, 0.2);
}
body.ms-theme #caAssistantWidget .chat-msg.user {
  color: #fff;
  background: linear-gradient(135deg, #2f6bff, #7a5cff);
}
body.ms-theme #caAssistantWidget .chatbot-footer {
  background: #0a1838;
  border-top: 1px solid rgba(140, 185, 255, 0.18);
}
body.ms-theme #caAssistantWidget .chatbot-footer .form-control {
  color: #e8eefb;
  background: rgba(3, 8, 20, 0.6);
  border: 1px solid rgba(140, 185, 255, 0.25);
  border-radius: 10px;
}
body.ms-theme #caAssistantWidget .chatbot-footer .form-control::placeholder { color: #8d9dc2; }
body.ms-theme #caAssistantWidget .chatbot-footer .btn-primary {
  border: 0;
  border-radius: 10px;
  background-image: linear-gradient(135deg, #2f6bff, #7a5cff);
}

/* ==========================================================================
   LET'S TALK — CTA card (QUICK FEEDBACK column ki jagah)
   ========================================================================== */

/* drifting light streak (image jaisa) */


/* ==========================================================================
   FEEDBACK MODAL — dark glass (sirf #msftFeedbackModal par)
   ========================================================================== */
body.ms-theme #msftFeedbackModal .modal-dialog { max-width: 480px; }
body.ms-theme #msftFeedbackModal .modal-content {
  overflow: hidden;
  color: #e8eefb;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(122, 92, 255, 0.28), transparent 70%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(237, 91, 14, 0.16), transparent 70%),
    #0a1430;
  border: 1px solid rgba(169, 155, 255, 0.3);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65);
}
body.ms-theme #msftFeedbackModal .modal-header {
  align-items: flex-start;
  padding: 24px 24px 10px;
  border-bottom: 0;
}
body.ms-theme #msftFeedbackModal .msft-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff8a4c;
}
body.ms-theme #msftFeedbackModal .modal-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}
body.ms-theme #msftFeedbackModal .btn-close {
  margin: 0 0 0 auto;
  filter: invert(1) grayscale(1) brightness(2);
  opacity: 0.75;
}
body.ms-theme #msftFeedbackModal .btn-close:hover { opacity: 1; }
body.ms-theme #msftFeedbackModal .modal-body { padding: 10px 24px 26px; }
body.ms-theme #msftFeedbackModal .modal-body p,
body.ms-theme #msftFeedbackModal #feedbackAlert { text-align: left; }


/* ---------- keyframes ---------- */
@keyframes msft-shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@keyframes msft-ping {
  0%   { box-shadow: 0 14px 34px rgba(47, 107, 255, 0.5), 0 0 0 0 rgba(94, 225, 245, 0.45); }
  70%  { box-shadow: 0 14px 34px rgba(47, 107, 255, 0.5), 0 0 0 14px rgba(94, 225, 245, 0); }
  100% { box-shadow: 0 14px 34px rgba(47, 107, 255, 0.5), 0 0 0 0 rgba(94, 225, 245, 0); }
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  body.ms-theme .msft.msft.footer { padding-top: 70px; }
}
@media (max-width: 767.98px) {
  body.ms-theme .msft.msft.footer { padding-top: 56px; }
  body.ms-theme #msftFeedbackModal .captcha-wrapper { flex-wrap: wrap; }
  body.ms-theme #msftFeedbackModal .captcha-wrapper .newsletter-input { flex: 1 1 100% !important; }
  body.ms-theme .msft.msft.footer .col-md-6.text-end { margin-top: 16px; text-align: left !important; }
  body.ms-theme .msft.msft.footer .social-icons { justify-content: flex-start; gap: 8px; }
  body.ms-theme .msft.msft.footer .social-icons a { width: 36px; height: 36px; border-radius: 10px; font-size: 0.9rem; }
  body.ms-theme .msft.msft.footer .footer-bottom p { text-align: left; }
  body.ms-theme #msftFeedbackModal .captcha-wrapper { flex-wrap: wrap; }
  body.ms-theme #msftFeedbackModal .captcha-wrapper .newsletter-input { flex: 1 1 100% !important; }
}
@media (prefers-reduced-motion: reduce) {
  
  body.ms-theme #msftFeedbackModal .btn-subscribe::after,
  body.ms-theme .chatbot-fab[data-footer-action="toggle-chatbot"] { animation: none; }
}


/* ===== About: "Explore as" boxes — hover par orange background ===== */
body.ms-theme .ms-about-paths > .ms-path { overflow: hidden; isolation: isolate; }
body.ms-theme .ms-about-paths > .ms-path::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, #ed5b0e 0%, #ff7a2f 55%, #ff9854 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
body.ms-theme .ms-about-paths > .ms-path:hover::before,
body.ms-theme .ms-about-paths > .ms-path:focus-visible::before { opacity: 1; }
body.ms-theme .ms-about-paths > .ms-path:hover,
body.ms-theme .ms-about-paths > .ms-path:focus-visible {
  border-color: rgba(255, 190, 140, 0.85);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 44px rgba(237, 91, 14, 0.45);
}
body.ms-theme .ms-about-paths > .ms-path:hover .ms-path-ico {
  background-image: none;
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
body.ms-theme .ms-about-paths > .ms-path:hover .ms-path-body small { color: rgba(255, 255, 255, 0.85); }
body.ms-theme .ms-about-paths > .ms-path:hover .ms-path-body em { color: rgba(255, 255, 255, 0.92); }
body.ms-theme .ms-about-paths > .ms-path:hover .ms-path-go {
  background: #fff;
  color: #ed5b0e;
  border-color: #fff;
}


/* ==========================================================================
   ms-topbar.css — Top bar v3  ·  Option B: "Midnight Dock"
   --------------------------------------------------------------------------
   • Sirf design. Markup / ids / data-bs-* / JS — kuch nahi chheda.
   • Har selector  .msh.msh.msh-top.top-bar  se shuru hota hai — purane
     ms-header.css (v1/v2) aur ms-midnight-theme.css ke top-bar rules se
     zyada specific. Navbar (.msh-nav) par koi asar nahi.
   • Keyframes "mstb-" prefix.
   ========================================================================== */

body.ms-theme .msh.msh.msh-top.top-bar {
  position: relative;
  z-index: 1040;
  padding: 0;
  /* transparent — peeche ka globe saaf dikhe (blur nahi, warna globe dhundhla ho jaata hai) */
  background: linear-gradient(180deg, rgba(4, 10, 26, 0.34) 0%, rgba(8, 20, 48, 0.12) 100%);
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
/* beech me halka spotlight */
body.ms-theme .msh.msh.msh-top.top-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(40% 140% at 50% 0%, rgba(122, 92, 255, 0.22), transparent 70%);
}
/* neeche chalti gradient hairline */
body.ms-theme .msh.msh.msh-top.top-bar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #5ee1f5 20%, #7a5cff 50%, #ff9854 80%, transparent);
  background-size: 200% 100%;
  animation: mstb-flow 7s linear infinite;
  opacity: 0.9;
}
@keyframes mstb-flow { to { background-position: -200% 0; } }

body.ms-theme .msh.msh.msh-top.top-bar > .header-rounded {
  position: relative;
  padding: 0 0 0px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.ms-theme .msh.msh.msh-top.top-bar > .header-rounded::before { display: none; }


/* ---------- right actions: ek glass capsule me ---------- */
body.ms-theme .msh.msh.msh-top.top-bar .col-md-4.text-end { padding-top: 12px !important; margin-top: 0 !important; }
body.ms-theme .msh.msh.msh-top.top-bar .top-bar-right.top-right-search-2 {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  margin-left: auto;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(140, 185, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 26px rgba(0, 0, 0, 0.3);
}
body.ms-theme .msh.msh.msh-top.top-bar .top-search .form-control {
  height: 38px;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
}
body.ms-theme .msh.msh.msh-top.top-bar .top-search .form-control:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(94, 225, 245, 0.6);
  box-shadow: 0 0 0 3px rgba(94, 225, 245, 0.12);
}
body.ms-theme .msh.msh.msh-top.top-bar .top-search .top-search-btn.bg-white { width: 30px; height: 30px; }
body.ms-theme .msh.msh.msh-top.top-bar .top-bar-right > .btn.btn-outer:not(.dropdown) {
  height: 38px;
  background: transparent;
  border-color: transparent;
}
body.ms-theme .msh.msh.msh-top.top-bar .top-bar-right > .btn.btn-outer:not(.dropdown):hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: transparent;
}
body.ms-theme .msh.msh.msh-top.top-bar .top-bar-right > .btn.btn-outer.border-gradient {
  background: linear-gradient(135deg, #ed5b0e, #ff9854);
  box-shadow: 0 8px 20px rgba(237, 91, 14, 0.38);
}
body.ms-theme .msh.msh.msh-top.top-bar .top-bar-right > .btn.btn-outer.border-gradient:hover {
  background: linear-gradient(135deg, #ff9854, #ed5b0e);
}
body.ms-theme .msh.msh.msh-top.top-bar .top-bar-right > .btn.btn-outer.dropdown {
  width: 38px; height: 38px;
  background: transparent;
  border-color: transparent;
}
body.ms-theme .msh.msh.msh-top.top-bar .top-bar-right > .btn.btn-outer.dropdown:hover { background: rgba(255, 255, 255, 0.08); }
body.ms-theme .msh.msh.msh-top.top-bar .profile-image { width: 38px; height: 38px; }

/* ---------- navbar bhi see-through (globe header ke peeche chhupe nahi) ---------- */
body.ms-theme .msh.msh.msh-nav.navbar { background: transparent; box-shadow: none; }
body.ms-theme .msh.msh.msh-nav .header-rounded.bg-white {
  background: linear-gradient(160deg, rgba(14, 32, 72, 0.38) 0%, rgba(6, 14, 34, 0.42) 100%) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  body.ms-theme .msh.msh.msh-top.top-bar .logo a { padding: 10px 14px; }
  body.ms-theme .msh.msh.msh-top.top-bar .logo img,
  body.ms-theme .msh.msh.msh-top.top-bar .logo a:hover img { height: 42px; }
}
@media (max-width: 767.98px) {
  body.ms-theme .msh.msh.msh-top.top-bar > .header-rounded { padding: 0 0 14px; }
  body.ms-theme .msh.msh.msh-top.top-bar .logo { margin: 0 0 6px; text-align: center; }
  body.ms-theme .msh.msh.msh-top.top-bar .col-md-4:nth-child(2) .logo a { border-radius: 20px; margin-top: 4px; }
  body.ms-theme .msh.msh.msh-top.top-bar .col-md-4:nth-child(2) .logo a::before { display: none; }
  body.ms-theme .msh.msh.msh-top.top-bar .top-bar-right.top-right-search-2 { width: calc(100% - 24px); border-radius: 24px; margin: 6px 12px 0; padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .msh.msh.msh-top.top-bar::after,
  body.ms-theme .msh.msh.msh-top.top-bar .logo a:hover::after { animation: none; }
}

/* ==========================================================================
   SEARCH SUGGESTIONS DROPDOWN — premium glass list
   (JS jo bhi items bharta hai — div / a / li / p — sab isi style me aate hain;
    JS / ids / click behaviour kuch nahi chheda)
   ========================================================================== */
body.ms-theme .msh.msh.msh-top.top-bar .top-search { z-index: 5; }
body.ms-theme .msh.msh.msh-top.top-bar .suggestions-box:not(:empty) {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: auto;
  z-index: 1060;
  width: max(100%, 320px);
  max-height: 360px;
  margin: 0;
  padding: 34px 8px 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  text-align: left;
  border-radius: 16px;
  color: #e8eefb;
  background: linear-gradient(180deg, rgba(14, 30, 68, 0.98) 0%, rgba(7, 16, 38, 0.98) 100%);
  border: 1px solid rgba(140, 185, 255, 0.28);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  scrollbar-width: thin;
  scrollbar-color: rgba(140, 185, 255, 0.35) transparent;
  animation: mstb-drop 0.22s ease;
}
@keyframes mstb-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
/* chhota heading */
body.ms-theme .msh.msh.msh-top.top-bar .suggestions-box:not(:empty)::before {
  content: "Quick results";
  position: absolute;
  top: 11px; left: 18px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8d9dc2;
}
body.ms-theme .msh.msh.msh-top.top-bar .suggestions-box::-webkit-scrollbar { width: 6px; }
body.ms-theme .msh.msh.msh-top.top-bar .suggestions-box::-webkit-scrollbar-thumb { background: rgba(140, 185, 255, 0.35); border-radius: 6px; }

/* har suggestion item */
body.ms-theme .msh.msh.msh-top.top-bar .suggestions-box > * {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 2px;
  padding: 10px 14px 10px 36px !important;
  border: 0 !important;
  border-radius: 10px;
  background: transparent !important;
  color: #e8eefb !important;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left !important;
  text-decoration: none;
  white-space: normal;
  list-style: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
/* item ke aage chhota search icon (pure CSS) */
body.ms-theme .msh.msh.msh-top.top-bar .suggestions-box > *::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  width: 9px; height: 9px;
  margin-top: -6px;
  border: 1.6px solid #6ea8ff;
  border-radius: 50%;
  box-sizing: border-box;
}
body.ms-theme .msh.msh.msh-top.top-bar .suggestions-box > *::after {
  content: "";
  position: absolute;
  left: 22px; top: 50%;
  width: 5px; height: 1.6px;
  margin-top: 2px;
  background: #6ea8ff;
  transform: rotate(45deg);
  transform-origin: left center;
}
body.ms-theme .msh.msh.msh-top.top-bar .suggestions-box > * a,
body.ms-theme .msh.msh.msh-top.top-bar .suggestions-box > * span,
body.ms-theme .msh.msh.msh-top.top-bar .suggestions-box > * p {
  margin: 0;
  color: inherit !important;
  text-decoration: none;
  background: transparent !important;
  border: 0 !important;
}
body.ms-theme .msh.msh.msh-top.top-bar .suggestions-box > *:hover,
body.ms-theme .msh.msh.msh-top.top-bar .suggestions-box > *:focus,
body.ms-theme .msh.msh.msh-top.top-bar .suggestions-box > *.active {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(47, 107, 255, 0.28), rgba(122, 92, 255, 0.14)) !important;
  box-shadow: inset 3px 0 0 #ff9854;
  outline: 0;
}
body.ms-theme .msh.msh.msh-top.top-bar .suggestions-box > *:hover::before { border-color: #ff9854; }
body.ms-theme .msh.msh.msh-top.top-bar .suggestions-box > *:hover::after { background: #ff9854; }

@media (max-width: 767.98px) {
  body.ms-theme .msh.msh.msh-top.top-bar .suggestions-box:not(:empty) { width: 100%; }
}

/* ==========================================================================
   LOGO BOX — border / shadow hatao (logo ka size, jagah sab waise hi)
   ========================================================================== */
body.ms-theme .msh.msh.msh-top.top-bar .logo a,
body.ms-theme .msh.msh.msh-top.top-bar .logo a:hover,
body.ms-theme .msh.msh.msh-top.top-bar .logo img,
body.ms-theme .msh.msh.msh-top.top-bar .logo a:hover img {
  border: 0 !important;
  outline: 0;
  box-shadow: none !important;
  filter: none;
} 
body.ms-theme .msh.msh.msh-top.top-bar .logo a::after { content: none; display: none; }   /* hover wali chamak bhi box ka kinara dikhati thi */
/* ==========================================================================
   NAVY & PEARL EDITION — midnight navy + ivory pearl + champagne gold
   --------------------------------------------------------------------------
   • Sections dark hi rehte hain (peeche globe dikhta rahe), lekin unke andar
     ke khaas cards ab "pearl" (ivory) ke bane hain — gold-foil kinare ke saath.
     Navy samundar me tairte moti jaisa look.
   • Headings ke rangeen words + eyebrow pills: champagne gold.
   • Sirf CSS. Markup / JS / functionality kuch nahi chheda.
   • Ye block file ke BILKUL AAKHIR me rehna chahiye.
   ========================================================================== */

body.ms-theme {
  --pl-0: #fffdf8;
  --pl-1: #fbf6ea;
  --pl-2: #f3e9d4;
  --pl-line: #e7d8b6;
  --pl-ink: #13203f;
  --pl-ink-soft: #4a536a;
  --pl-muted: #8b8270;
  --pl-gold: #c9a35a;
  --pl-gold-deep: #9c7a35;
  --pl-champ: #ecd6a3;
  --pl-card: linear-gradient(160deg, #fffdf7 0%, #faf3e3 55%, #f2e6cc 100%);
  --pl-shadow: 0 26px 60px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(236, 214, 163, 0.35);
}

/* ---------- typography accents (dark sections) ---------- */
body.ms-theme .gradient-text,
body.ms-theme .msl .msl-title-grad,
body.ms-theme .msi .msi-title-grad,
body.ms-theme .mst .mst-title-grad,
body.ms-theme .msu .msu-title-grad,
body.ms-theme .msf .msf-title-grad,
body.ms-theme .msv .msv-title-grad {
  background-image: linear-gradient(100deg, #fff6df 0%, #ecd6a3 40%, #c9a35a 70%, #f5e3b5 100%);
}
body.ms-theme .hero-content h1 .color-purple {
  background-image: linear-gradient(100deg, #ffffff 0%, #f3e4c1 50%, #d9b56d 100%);
}
body.ms-theme .msl .msl-eyebrow,
body.ms-theme .msi .msi-eyebrow,
body.ms-theme .mst .mst-eyebrow,
body.ms-theme .msu .msu-eyebrow,
body.ms-theme .msf .msf-eyebrow,
body.ms-theme .msv .msv-eyebrow,
body.ms-theme .ms-about .ms-about-eyebrow {
  color: var(--pl-champ);
  background: rgba(236, 214, 163, 0.07);
  border-color: rgba(236, 214, 163, 0.4);
}
body.ms-theme .msl .msl-eyebrow-dot,
body.ms-theme .msi .msi-eyebrow-dot,
body.ms-theme .mst .mst-eyebrow-dot,
body.ms-theme .msu .msu-eyebrow-dot,
body.ms-theme .msf .msf-eyebrow-dot,
body.ms-theme .msv .msv-eyebrow-dot { background: var(--pl-gold); animation: none; box-shadow: 0 0 10px rgba(201, 163, 90, 0.7); }

/* section divider lines → gold foil */
body.ms-theme .ms-about::before,
body.ms-theme .msu::before,
body.ms-theme .msv::before {
  background: linear-gradient(90deg, transparent, rgba(236, 214, 163, 0.6), transparent);
}

/* ---------- pearl card base (shared look) ---------- */
body.ms-theme .ms-about .ms-about-paths > .ms-path,
body.ms-theme .msf .msf-item {
  background: var(--pl-card);
  border: 1px solid var(--pl-line);
  box-shadow: var(--pl-shadow), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* ===== ABOUT: path cards ===== */
body.ms-theme .ms-about .ms-about-paths > .ms-path { color: var(--pl-ink); }
body.ms-theme .ms-about .ms-path-body strong { color: var(--pl-ink); }
body.ms-theme .ms-about .ms-path-body small { color: var(--pl-gold-deep); }
body.ms-theme .ms-about .ms-path-body em { color: var(--pl-ink-soft); }
body.ms-theme .ms-about .ms-path-go { color: var(--pl-ink); background: #fff; border-color: var(--pl-line); }
body.ms-theme .ms-about .ms-about-paths > .ms-path:hover .ms-path-body strong,
body.ms-theme .ms-about .ms-about-paths > .ms-path:hover .ms-path-body small,
body.ms-theme .ms-about .ms-about-paths > .ms-path:hover .ms-path-body em { color: #fff; }
body.ms-theme .ms-about .ms-about-orbit::before { border-color: rgba(236, 214, 163, 0.28); background: radial-gradient(circle at 50% 0, #ecd6a3 0 4px, transparent 5px); }

/* ===== FAQs: dark panel, andar pearl accordion ===== */
body.ms-theme .msf .msf-item { --msf-soft: var(--pl-ink-soft); }
body.ms-theme .msf .msf-q-text { color: var(--pl-ink); }
body.ms-theme .msf .msf-num { color: var(--pl-gold-deep); background: rgba(201, 163, 90, 0.12); border-color: rgba(201, 163, 90, 0.45); }
body.ms-theme .msf .msf-item[open] {
  background: linear-gradient(160deg, #fffaf0, #f1e2bf);
  border-color: var(--pl-gold);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 36px rgba(201, 163, 90, 0.25);
}
body.ms-theme .msf .msf-item[open] .msf-num { color: #fff; background: linear-gradient(135deg, #13203f, #2c4383); border-color: transparent; }
body.ms-theme .msf .msf-toggle { background: #fff; border-color: var(--pl-line); }
body.ms-theme .msf .msf-toggle::before,
body.ms-theme .msf .msf-toggle::after { background: var(--pl-ink); }
body.ms-theme .msf .msf-item[open] .msf-toggle { background: rgba(201, 163, 90, 0.2); }
body.ms-theme .msf .msf-a { color: var(--pl-ink-soft); }
body.ms-theme .msf .msf-a a { color: #1f3b8a; }
body.ms-theme .msf .msf-btn { background-image: linear-gradient(135deg, #f3e2b8, #c9a35a); color: var(--pl-ink); box-shadow: 0 14px 32px rgba(201, 163, 90, 0.35); }
body.ms-theme .msf .msf-btn:hover { color: var(--pl-ink); box-shadow: 0 18px 40px rgba(201, 163, 90, 0.5); }
body.ms-theme .msf .msf-glyph { -webkit-text-stroke-color: rgba(236, 214, 163, 0.16); }

/* ---------- mobile ---------- */


/* ===== ICAI LEADERSHIP: pearl cards ===== */
body.ms-theme .msl .msl-card {
  background: var(--pl-card);
  border: 1px solid var(--pl-line);
  box-shadow: var(--pl-shadow), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.ms-theme .msl .msl-card:hover { border-color: var(--pl-gold); box-shadow: 0 34px 74px rgba(0, 0, 0, 0.5), 0 0 44px rgba(201, 163, 90, 0.28); }
body.ms-theme .msl .msl-photo::before { background-image: radial-gradient(rgba(156, 122, 53, 0.22) 1px, transparent 1.6px); }
body.ms-theme .msl .msl-photo::after { background: linear-gradient(180deg, rgba(251, 246, 234, 0) 0%, rgba(248, 241, 226, 0.96) 100%); }
body.ms-theme .msl .msl-index { -webkit-text-stroke-color: rgba(19, 32, 63, 0.14); }
body.ms-theme .msl .msl-name { color: var(--pl-ink); }
body.ms-theme .msl .msl-role { color: var(--pl-ink-soft); background: rgba(255, 255, 255, 0.8); border-color: var(--pl-line); }
@media (max-width: 767.98px) {
  body.ms-theme .msl .msl-card { background: var(--pl-card); }
}

/* ==========================================================================
   TRENDING NOW — "Ivory Sheen" (ivory ke shades + animation)
   ========================================================================== */
body.ms-theme .mst--b {
  --tr-1: #fffdf7;
  --tr-2: #faf3e3;
  --tr-3: #f3e7cc;
  --tr-4: #e9d7b0;
  --tr-5: #d8bd86;
  --tr-ink: #13203f;
}
/* tabs: ivory capsule */
body.ms-theme .mst--b .mst-tabs {
  background: linear-gradient(135deg, var(--tr-1), var(--tr-3));
  border: 1px solid var(--tr-4);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.ms-theme .mst--b .mst-tab { color: #6b6455; }
body.ms-theme .mst--b .mst-tab:hover { color: var(--tr-ink); }
body.ms-theme .mst--b .mst-tab.is-active { color: #fffaf0; background-image: linear-gradient(135deg, #13203f, #2c4383); }
body.ms-theme .mst--b .mst-tab[data-mst-tab="1"].is-active { color: #fff; background-image: linear-gradient(135deg, #c2410c, #e8833a); }

/* stage glow: champagne */
body.ms-theme .mst--b .mst-stage::before {
  background: radial-gradient(ellipse, rgba(233, 215, 176, 0.28), rgba(201, 163, 90, 0.08) 50%, transparent 70%);
}

/* pane: ivory shades + chalti hui chamak (sheen) */
body.ms-theme .mst--b .mst-pane {
  color: var(--tr-ink);
  background-color: var(--tr-2);
  background-image:
    linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.85) 48%, transparent 61%),
    radial-gradient(90% 120% at 100% 0%, var(--tr-1) 0%, transparent 55%),
    radial-gradient(80% 120% at 0% 100%, var(--tr-4) 0%, transparent 60%),
    linear-gradient(160deg, var(--tr-2) 0%, var(--tr-3) 100%);
  background-size: 260% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-repeat: no-repeat;
  border: 1px solid var(--tr-4);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.5),
    inset 0 0 0 7px rgba(255, 253, 247, 0.5),
    inset 0 0 0 8px rgba(216, 189, 134, 0.45);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: mst-sheen 7s ease-in-out infinite;
}
@keyframes mst-sheen {
  0%, 30% { background-position: 130% 0, 0 0, 0 0, 0 0; }
  70%, 100% { background-position: -30% 0, 0 0, 0 0, 0 0; }
}
body.ms-theme .mst--b .mst-visual { border-right-color: var(--tr-4); }
body.ms-theme .mst--b .mst-visual.has-photo::after { background: linear-gradient(90deg, transparent 62%, rgba(250, 243, 227, 0.75) 100%); }


/* copy */
body.ms-theme .mst--b .mst-kicker {
  color: #6b4e17;
  background: linear-gradient(135deg, var(--tr-1), var(--tr-4));
  border-color: var(--tr-5);
}
body.ms-theme .mst--b .mst-kicker i,
body.ms-theme .mst--b .mst-pane--trend .mst-kicker i { color: #c2410c; animation: mst-flame 1.6s ease-in-out infinite; }
@keyframes mst-flame {
  0%, 100% { transform: scale(1) rotate(0); }
  50% { transform: scale(1.18) rotate(-6deg); }
}
body.ms-theme .mst--b .mst-copy-title { color: var(--tr-ink); }

body.ms-theme .mst--b .mst-copy-text { color: #5a5f70; }
body.ms-theme .mst--b .mst-trend-line {
  color: #8a3b12;
  background: linear-gradient(135deg, #fff7ea, #f6e3c4);
  border-color: rgba(201, 163, 90, 0.55);
}
body.ms-theme .mst--b .mst-trend-line strong { color: var(--tr-ink); }
body.ms-theme .mst--b .mst-trend-line i { color: #c2410c; animation: mst-bolt 2.4s ease-in-out infinite; }
@keyframes mst-bolt { 0%, 100% { opacity: 1; } 45% { opacity: 1; } 50% { opacity: 0.25; } 55% { opacity: 1; } }

/* #1 rank badge: sunehra, halka bounce */
body.ms-theme .mst--b .mst-slide-rank {
  color: #13203f;
  background: linear-gradient(135deg, #f7e7c0, #c9a35a);
  box-shadow: 0 8px 18px rgba(201, 163, 90, 0.45);
  animation: mst-bob 3s ease-in-out infinite;
}
@keyframes mst-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* author link */
body.ms-theme .mst--b .mst-cta a {
  color: var(--tr-ink);
  background: rgba(255, 253, 247, 0.85);
  border-color: var(--tr-4);
}
body.ms-theme .mst--b .mst-cta a:hover,
body.ms-theme .mst--b .mst-pane--pin .mst-cta a:hover {
  color: #fffaf0;
  background: linear-gradient(135deg, #13203f, #2c4383);
  border-color: #13203f;
  box-shadow: 0 10px 24px rgba(19, 32, 63, 0.3);
}
body.ms-theme .mst--b .mst-avatar { background: linear-gradient(135deg, #13203f, #2c4383); color: #f3e2b8; }
body.ms-theme .mst--b .mst-pane--pin .mst-avatar { background: linear-gradient(135deg, #c2410c, #e8833a); color: #fff; }
body.ms-theme .mst--b .mst-byline,
body.ms-theme .mst--b .mst-pane .mst-byline { color: #6b6455; }


/* slider nav + dots */
body.ms-theme .mst--b .mst-snav { color: var(--tr-ink); background: rgba(255, 253, 247, 0.9); border-color: var(--tr-4); }
body.ms-theme .mst--b .mst-snav:hover { color: #fffaf0; background-image: linear-gradient(135deg, #13203f, #2c4383); }
body.ms-theme .mst--b .mst-dot { background: var(--tr-4); }
body.ms-theme .mst--b .mst-dot.is-active { background-image: linear-gradient(90deg, #c9a35a, #c2410c); }

@media (max-width: 991.98px) {
  body.ms-theme .mst--b .mst-pane { background-color: var(--tr-2); }
  body.ms-theme .mst--b .mst-visual,
  body.ms-theme .mst--b .mst-slide .mst-visual { border-bottom-color: var(--tr-4); }
}
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .mst--b .mst-pane,
  body.ms-theme .mst--b .mst-kicker i,
  body.ms-theme .mst--b .mst-trend-line i,
  body.ms-theme .mst--b .mst-slide-rank { animation: none; }
}

/* ==========================================================================
   TRENDING POST — "Rising Trend" animation (sirf CSS, sirf Trending pane)
   1) graph line jo left se right "draw" hoti hai + live dot ripple
   2) neeche se upar uthte golden sparks
   3) "50+ interactions" pill par chamak + number pulse + ▲ ticker
   ========================================================================== */
body.ms-theme .mst--b .mst-pane--trend .mst-slide .mst-copy { position: relative; isolation: isolate; }
body.ms-theme .mst--b .mst-pane--trend .mst-slide .mst-copy > * { position: relative; z-index: 1; }


/* 2) upar uthte golden sparks (poore trending card par, halke) */
body.ms-theme .mst--b .mst-pane--trend { position: relative; }
body.ms-theme .mst--b .mst-pane--trend::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(201, 163, 90, 0.9) 0 1.5px, transparent 2.5px),
    radial-gradient(circle, rgba(232, 131, 58, 0.75) 0 1.2px, transparent 2.2px),
    radial-gradient(circle, rgba(201, 163, 90, 0.7) 0 1px, transparent 2px);
  background-size: 170px 210px, 230px 260px, 120px 170px;
  background-position: 30px 0, 110px 60px, 70px 120px;
  -webkit-mask-image: linear-gradient(90deg, transparent 46%, #000 60%), linear-gradient(0deg, transparent, #000 25%, #000 70%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 46%, #000 60%), linear-gradient(0deg, transparent, #000 25%, #000 70%, transparent);
  mask-composite: intersect;
  animation: mst-rise 9s linear infinite;
}
@keyframes mst-rise {
  to { background-position: 30px -210px, 110px -200px, 70px -50px; }
}

/* 3) trend-line pill: chamak + pulse + ▲ */
body.ms-theme .mst--b .mst-pane--trend .mst-trend-line {
  overflow: hidden;
  background-image:
    linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.9) 50%, transparent 70%),
    linear-gradient(135deg, #fff7ea, #f6e3c4);
  background-size: 250% 100%, 100% 100%;
  background-repeat: no-repeat;
  animation: mst-pill-shine 4s ease-in-out infinite;
}
@keyframes mst-pill-shine {
  0%, 55% { background-position: 150% 0, 0 0; }
  100% { background-position: -60% 0, 0 0; }
}
body.ms-theme .mst--b .mst-pane--trend .mst-trend-line strong {
  display: inline-block;
  animation: mst-num 2s ease-in-out infinite;
}
@keyframes mst-num {
  0%, 100% { transform: scale(1); color: var(--tr-ink); text-shadow: none; }
  50% { transform: scale(1.14); color: #c2410c; text-shadow: 0 0 12px rgba(232, 131, 58, 0.45); }
}
body.ms-theme .mst--b .mst-pane--trend .mst-trend-line::after {
  content: "▲";
  display: inline-block;
  font-size: 0.7em;
  color: #15803d;
  animation: mst-up 1.4s ease-in-out infinite;
}
@keyframes mst-up {
  0% { transform: translateY(5px); opacity: 0; }
  40%, 70% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-6px); opacity: 0; }
}

@media (max-width: 991.98px) {
  body.ms-theme .mst--b .mst-pane--trend .mst-slide .mst-copy::before { right: 18px; bottom: 80px; width: 62%; height: 38%; opacity: 0.8; }
  body.ms-theme .mst--b .mst-pane--trend .mst-slide .mst-copy::after { right: 12px; bottom: calc(80px + 38% * 112 / 120 - 6px); }
  body.ms-theme .mst--b .mst-pane--trend::after {
    -webkit-mask-image: linear-gradient(0deg, transparent, #000 12%, #000 38%, transparent 50%);
    mask-image: linear-gradient(0deg, transparent, #000 12%, #000 38%, transparent 50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .mst--b .mst-pane--trend .mst-slide .mst-copy::before { animation: none; clip-path: none; }
  body.ms-theme .mst--b .mst-pane--trend .mst-slide .mst-copy::after { animation: none; opacity: 1; }
  body.ms-theme .mst--b .mst-pane--trend::after,
  body.ms-theme .mst--b .mst-pane--trend .mst-trend-line,
  body.ms-theme .mst--b .mst-pane--trend .mst-trend-line strong,
  body.ms-theme .mst--b .mst-pane--trend .mst-trend-line::after { animation: none; opacity: 1; }
}

/* ==========================================================================
   ICAI CALENDAR · EVENTS box — button, icon aur border ivory
   (box ka dark background same rakha hai, sirf accents badle)
   ========================================================================== */
body.ms-theme .msu .msu-box--events {
  --msu-a1: #c9a35a;
  --msu-a2: #f3e2b8;
  --msu-glow: rgba(233, 215, 176, 0.28);
  border-color: rgba(233, 215, 176, 0.4);
}
body.ms-theme .msu .msu-box--events:hover {
  border-color: rgba(243, 226, 184, 0.7);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.5), 0 0 50px rgba(233, 215, 176, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
body.ms-theme .msu .msu-box--events::before { background: linear-gradient(90deg, #c9a35a, #fffdf7, transparent 85%); }

/* header icon */
body.ms-theme .msu .msu-box--events .msu-ico {
  color: #13203f;
  background-image: linear-gradient(135deg, #fffdf7, #f3e7cc 55%, #d8bd86);
  box-shadow: 0 12px 26px rgba(216, 189, 134, 0.3), inset 0 1px 0 #fff;
}
body.ms-theme .msu .msu-box--events .msu-box-title small { color: #e9d7b0; }

/* Upcoming / Past tabs */
body.ms-theme .msu .msu-box--events .msu-tabs { border-color: rgba(233, 215, 176, 0.3); }
body.ms-theme .msu .msu-box--events .msu-tab:hover { color: #fffaf0; }
body.ms-theme .msu .msu-box--events .msu-tab.active {
  color: #13203f;
  background: linear-gradient(135deg, #fffdf7, #f3e7cc 60%, #e9d7b0);
  box-shadow: 0 8px 20px rgba(233, 215, 176, 0.25);
}
body.ms-theme .msu .msu-box--events .msu-tab:focus-visible { outline-color: #f3e2b8; }

/* event rows */
body.ms-theme .msu .msu-box--events .msu-event { border-color: rgba(233, 215, 176, 0.18); }
body.ms-theme .msu .msu-box--events .msu-event:hover {
  background: rgba(243, 231, 204, 0.07);
  border-color: rgba(243, 226, 184, 0.5);
}
body.ms-theme .msu .msu-box--events .msu-date {
  color: #13203f;
  background: linear-gradient(160deg, #fffdf7, #f3e7cc 55%, #e2c992);
  box-shadow: 0 10px 22px rgba(216, 189, 134, 0.22);
}
body.ms-theme .msu .msu-box--events .msu-event--past .msu-date {
  color: #3d3a33;
  background: linear-gradient(160deg, #ddd3bf, #b9ab8c);
  box-shadow: none;
}
body.ms-theme .msu .msu-box--events .msu-time i,
body.ms-theme .msu .msu-box--events .msu-event-loc i { color: #e9d7b0; }

/* arrow button */
body.ms-theme .msu .msu-box--events .msu-go {
  color: #f3e2b8;
  border-color: rgba(233, 215, 176, 0.45);
}
body.ms-theme .msu .msu-box--events .msu-go:hover {
  color: #13203f;
  background: linear-gradient(135deg, #fffdf7, #e9d7b0);
  border-color: transparent;
}
body.ms-theme .msu .msu-box--events .msu-empty { border-color: rgba(233, 215, 176, 0.35); }
body.ms-theme .msu .msu-box--events .msu-empty--box i { color: #e9d7b0; }

/* ==========================================================================
   1) TWINKLING STARS — poore background me timtimate taare (sirf CSS)
   • 2 layer (safed, champagne, halka blue), alag speed se blink.
   • Sirf opacity animate hoti hai → GPU par smooth, page slow nahi.
   • Content ke peeche, click par koi asar nahi. Ye block file ke AAKHIR me rahe.
   ========================================================================== */
@keyframes ms-star-blink {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 1; }
}
body.ms-theme::after,
html:has(body.ms-theme)::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  will-change: opacity;
}
body.ms-theme::after {
  background-image:
    radial-gradient(circle at 468px 481px, rgba(255, 255, 255, 0.95) 0 1.8px, rgba(200, 220, 255, 0.28) 3.2px, transparent 5.2px),
    radial-gradient(circle at 525px 199px, rgba(243, 228, 193, 0.95) 0 1.1px, rgba(236, 214, 163, 0.3) 2.5px, transparent 4.5px),
    radial-gradient(circle at 529px 492px, rgba(255, 255, 255, 0.95) 0 1.1px, rgba(200, 220, 255, 0.28) 2.5px, transparent 4.5px),
    radial-gradient(circle at 101px 462px, rgba(180, 205, 255, 0.9) 0 1.4px, rgba(140, 180, 255, 0.25) 2.8px, transparent 4.8px),
    radial-gradient(circle at 150px 97px, rgba(255, 255, 255, 0.95) 0 0.8px, rgba(200, 220, 255, 0.28) 2.2px, transparent 4.2px),
    radial-gradient(circle at 614px 410px, rgba(243, 228, 193, 0.95) 0 1.8px, rgba(236, 214, 163, 0.3) 3.2px, transparent 5.2px),
    radial-gradient(circle at 166px 20px, rgba(255, 255, 255, 0.95) 0 0.8px, rgba(200, 220, 255, 0.28) 2.2px, transparent 4.2px),
    radial-gradient(circle at 65px 41px, rgba(180, 205, 255, 0.9) 0 1.1px, rgba(140, 180, 255, 0.25) 2.5px, transparent 4.5px),
    radial-gradient(circle at 252px 35px, rgba(255, 255, 255, 0.95) 0 1.8px, rgba(200, 220, 255, 0.28) 3.2px, transparent 5.2px),
    radial-gradient(circle at 339px 456px, rgba(243, 228, 193, 0.95) 0 1.1px, rgba(236, 214, 163, 0.3) 2.5px, transparent 4.5px),
    radial-gradient(circle at 536px 244px, rgba(255, 255, 255, 0.95) 0 1.4px, rgba(200, 220, 255, 0.28) 2.8px, transparent 4.8px),
    radial-gradient(circle at 516px 9px, rgba(180, 205, 255, 0.9) 0 0.8px, rgba(140, 180, 255, 0.25) 2.2px, transparent 4.2px),
    radial-gradient(circle at 473px 289px, rgba(255, 255, 255, 0.95) 0 1.8px, rgba(200, 220, 255, 0.28) 3.2px, transparent 5.2px),
    radial-gradient(circle at 569px 90px, rgba(243, 228, 193, 0.95) 0 1.4px, rgba(236, 214, 163, 0.3) 2.8px, transparent 4.8px),
    radial-gradient(circle at 327px 240px, rgba(255, 255, 255, 0.95) 0 1.4px, rgba(200, 220, 255, 0.28) 2.8px, transparent 4.8px),
    radial-gradient(circle at 35px 76px, rgba(180, 205, 255, 0.9) 0 0.8px, rgba(140, 180, 255, 0.25) 2.2px, transparent 4.2px),
    radial-gradient(circle at 415px 115px, rgba(255, 255, 255, 0.95) 0 1.4px, rgba(200, 220, 255, 0.28) 2.8px, transparent 4.8px),
    radial-gradient(circle at 400px 73px, rgba(243, 228, 193, 0.95) 0 0.8px, rgba(236, 214, 163, 0.3) 2.2px, transparent 4.2px);
  background-size: 620px 540px;
  animation: ms-star-blink 3.2s ease-in-out infinite;
}
html:has(body.ms-theme)::after {
  background-image:
    radial-gradient(circle at 5px 223px, rgba(255, 255, 255, 0.95) 0 1.0px, rgba(200, 220, 255, 0.28) 2.4px, transparent 4.4px),
    radial-gradient(circle at 58px 486px, rgba(180, 205, 255, 0.9) 0 2.0px, rgba(140, 180, 255, 0.25) 3.4px, transparent 5.4px),
    radial-gradient(circle at 411px 434px, rgba(243, 228, 193, 0.95) 0 0.7px, rgba(236, 214, 163, 0.3) 2.1px, transparent 4.1px),
    radial-gradient(circle at 208px 281px, rgba(255, 255, 255, 0.95) 0 1.3px, rgba(200, 220, 255, 0.28) 2.7px, transparent 4.7px),
    radial-gradient(circle at 94px 323px, rgba(255, 255, 255, 0.95) 0 1.3px, rgba(200, 220, 255, 0.28) 2.7px, transparent 4.7px),
    radial-gradient(circle at 20px 424px, rgba(180, 205, 255, 0.9) 0 0.7px, rgba(140, 180, 255, 0.25) 2.1px, transparent 4.1px),
    radial-gradient(circle at 142px 257px, rgba(243, 228, 193, 0.95) 0 0.7px, rgba(236, 214, 163, 0.3) 2.1px, transparent 4.1px),
    radial-gradient(circle at 16px 66px, rgba(255, 255, 255, 0.95) 0 2.0px, rgba(200, 220, 255, 0.28) 3.4px, transparent 5.4px),
    radial-gradient(circle at 503px 186px, rgba(255, 255, 255, 0.95) 0 1.0px, rgba(200, 220, 255, 0.28) 2.4px, transparent 4.4px),
    radial-gradient(circle at 463px 526px, rgba(180, 205, 255, 0.9) 0 1.0px, rgba(140, 180, 255, 0.25) 2.4px, transparent 4.4px),
    radial-gradient(circle at 139px 434px, rgba(243, 228, 193, 0.95) 0 2.0px, rgba(236, 214, 163, 0.3) 3.4px, transparent 5.4px),
    radial-gradient(circle at 124px 409px, rgba(255, 255, 255, 0.95) 0 2.0px, rgba(200, 220, 255, 0.28) 3.4px, transparent 5.4px),
    radial-gradient(circle at 222px 5px, rgba(255, 255, 255, 0.95) 0 1.3px, rgba(200, 220, 255, 0.28) 2.7px, transparent 4.7px),
    radial-gradient(circle at 316px 25px, rgba(180, 205, 255, 0.9) 0 1.0px, rgba(140, 180, 255, 0.25) 2.4px, transparent 4.4px),
    radial-gradient(circle at 196px 408px, rgba(243, 228, 193, 0.95) 0 0.7px, rgba(236, 214, 163, 0.3) 2.1px, transparent 4.1px),
    radial-gradient(circle at 48px 154px, rgba(255, 255, 255, 0.95) 0 1.0px, rgba(200, 220, 255, 0.28) 2.4px, transparent 4.4px),
    radial-gradient(circle at 457px 269px, rgba(255, 255, 255, 0.95) 0 0.7px, rgba(200, 220, 255, 0.28) 2.1px, transparent 4.1px),
    radial-gradient(circle at 341px 308px, rgba(180, 205, 255, 0.9) 0 2.0px, rgba(140, 180, 255, 0.25) 3.4px, transparent 5.4px);
  background-size: 540px 600px;
  background-position: 170px 110px;
  animation: ms-star-blink 4.4s ease-in-out -1.9s infinite;
}

/* ==========================================================================
   2) SUB-TITLE (title ke neeche wali line) — globe ke upar bhi saaf padhne layak
   ========================================================================== */
body.ms-theme .msl .msl-sub,
body.ms-theme .msi .msi-sub,
body.ms-theme .mst .mst-sub,
body.ms-theme .msu .msu-sub,
body.ms-theme .msv .msv-sub {
  width: fit-content;
  max-width: min(720px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: 8px 22px;
  border-radius: 14px;
  font-weight: 500;
  color: #eef2fb;
  background: linear-gradient(180deg, rgba(6, 14, 34, 0.78), rgba(6, 14, 34, 0.6));
  border: 1px solid rgba(236, 214, 163, 0.16);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
body.ms-theme .msf .msf-sub { color: #e3e9f6; }

/* ==========================================================================
   3) EYEBROW PILL (dot + chhota title) — navy + champagne, chamak + pulse
   ========================================================================== */
body.ms-theme .ms-hero-pill,
body.ms-theme .ms-about .ms-about-eyebrow,
body.ms-theme .msl .msl-eyebrow,
body.ms-theme .msi .msi-eyebrow,
body.ms-theme .mst .mst-eyebrow,
body.ms-theme .msu .msu-eyebrow,
body.ms-theme .msf .msf-eyebrow,
body.ms-theme .msv .msv-eyebrow {
  position: relative;
  overflow: hidden;
  color: #f3e4c1;
  background-color: #12275a;
  background-image:
    linear-gradient(110deg, transparent 30%, rgba(255, 240, 205, 0.38) 50%, transparent 70%),
    linear-gradient(135deg, #0d1d45 0%, #1c3a80 50%, #0d1d45 100%);
  background-size: 260% 100%, 100% 100%;
  background-repeat: no-repeat;
  border: 1px solid rgba(236, 214, 163, 0.55);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: ms-pill-shine 4s ease-in-out infinite, ms-pill-glow 4s ease-in-out infinite;
}
@keyframes ms-pill-shine {
  0%, 35% { background-position: 140% 0, 0 0; }
  75%, 100% { background-position: -40% 0, 0 0; }
}
@keyframes ms-pill-glow {
  0%, 100% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(236, 214, 163, 0), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
  50% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 18px 2px rgba(236, 214, 163, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
}
body.ms-theme .ms-hero-dot,
body.ms-theme .msl .msl-eyebrow-dot,
body.ms-theme .msi .msi-eyebrow-dot,
body.ms-theme .mst .mst-eyebrow-dot,
body.ms-theme .msu .msu-eyebrow-dot,
body.ms-theme .msf .msf-eyebrow-dot,
body.ms-theme .msv .msv-eyebrow-dot {
  background: radial-gradient(circle, #fff6df 0 30%, #e0b968 60%);
  animation: ms-dot-ring 1.8s ease-out infinite;
}
@keyframes ms-dot-ring {
  0% { box-shadow: 0 0 0 0 rgba(236, 214, 163, 0.75); }
  80%, 100% { box-shadow: 0 0 0 9px rgba(236, 214, 163, 0); }
}

@media (prefers-reduced-motion: reduce) {
  body.ms-theme::after,
  html:has(body.ms-theme)::after,
  body.ms-theme .ms-hero-pill,
  body.ms-theme .ms-about .ms-about-eyebrow,
  body.ms-theme .msl .msl-eyebrow,
  body.ms-theme .msi .msi-eyebrow,
  body.ms-theme .mst .mst-eyebrow,
  body.ms-theme .msu .msu-eyebrow,
  body.ms-theme .msf .msf-eyebrow,
  body.ms-theme .msv .msv-eyebrow,
  body.ms-theme .ms-hero-dot,
  body.ms-theme .msl .msl-eyebrow-dot,
  body.ms-theme .msi .msi-eyebrow-dot,
  body.ms-theme .mst .mst-eyebrow-dot,
  body.ms-theme .msu .msu-eyebrow-dot,
  body.ms-theme .msf .msf-eyebrow-dot,
  body.ms-theme .msv .msv-eyebrow-dot { animation: none; }
  body.ms-theme::after, html:has(body.ms-theme)::after { opacity: 0.7; }
}
/* ==========================================================================
   TESTIMONIALS — "They Say It Best" marquee  (sirf .mstm ke andar)
   • Safed pearl cards: upar italic quote, neeche photo + naam + designation.
   • Cards left → right lagatar chalte hain; hover par ruk jaate hain.
   • Purane slider ke arrows/dots chhupaye hain (JS wahi chalta hai, error nahi).
   ========================================================================== */
body.ms-theme .testimonials-section.mstm {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
  background: transparent;
}
body.ms-theme .mstm .mstm-head { text-align: center; margin: 0 auto 46px; padding: 0 16px; }
body.ms-theme .mstm .mstm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  color: #f3e4c1;
  background-color: #12275a;
  background-image:
    linear-gradient(110deg, transparent 30%, rgba(255, 240, 205, 0.38) 50%, transparent 70%),
    linear-gradient(135deg, #0d1d45 0%, #1c3a80 50%, #0d1d45 100%);
  background-size: 260% 100%, 100% 100%;
  background-repeat: no-repeat;
  border: 1px solid rgba(236, 214, 163, 0.55);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  animation: ms-pill-shine 4s ease-in-out infinite, ms-pill-glow 4s ease-in-out infinite;
}
body.ms-theme .mstm .mstm-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6df 0 30%, #e0b968 60%);
  animation: ms-dot-ring 1.8s ease-out infinite;
}
body.ms-theme .mstm .mstm-title {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
body.ms-theme .mstm .mstm-title-grad {
  background-image: linear-gradient(100deg, #fff6df 0%, #ecd6a3 40%, #c9a35a 70%, #f5e3b5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
body.ms-theme .mstm .mstm-sub {
  width: fit-content;
  max-width: min(720px, 100%);
  margin: 0 auto;
  padding: 8px 22px;
  border-radius: 14px;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  color: #eef2fb;
  background: linear-gradient(180deg, rgba(6, 14, 34, 0.78), rgba(6, 14, 34, 0.6));
  border: 1px solid rgba(236, 214, 163, 0.16);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* purana slider look hatao */
body.ms-theme .mstm .testimonial-bg.mstm-bg { background: none; padding: 0; }
body.ms-theme .mstm .testim.mstm-testim,
body.ms-theme .mstm .testim .wrap { position: relative; width: 100%; max-width: none; margin: 0; padding: 0; background: none; }
body.ms-theme .mstm .testim .arrow,
body.ms-theme .mstm .testim .dots { display: none !important; }

/* marquee */
body.ms-theme .mstm .mstm-viewport {
  --mstm-gap: 30px;
  overflow: hidden;
  padding: 18px 0 34px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
body.ms-theme .mstm .mstm-track {
  display: flex;
  width: max-content;
  animation: mstm-ltr 60s linear infinite;
  will-change: transform;
}
body.ms-theme .mstm .mstm-viewport:hover .mstm-track,
body.ms-theme .mstm .mstm-viewport:focus-within .mstm-track { animation-play-state: paused; }
@keyframes mstm-ltr {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
body.ms-theme .mstm .mstm-set {
  display: flex;
  gap: var(--mstm-gap);
  padding-right: var(--mstm-gap);   /* set ke end me bhi gap → loop seamless */
  margin: 0;
  position: static;
  overflow: visible;
}

/* card */
body.ms-theme .mstm .mstm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  flex: 0 0 330px;
  width: 330px;
  min-height: 300px;
  margin: 0;
  padding: 30px 30px 26px;
  border-radius: 20px;
  text-align: left;
  opacity: 1;
  background: linear-gradient(165deg, #ffffff 0%, #fffcf4 60%, #f8f0de 100%);
  border: 1px solid rgba(236, 214, 163, 0.7);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38), inset 0 1px 0 #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
body.ms-theme .mstm .mstm-card::before {           /* bada halka quote mark */
  content: "”";
  position: absolute;
  top: 2px; right: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 96px;
  line-height: 1;
  color: rgba(201, 163, 90, 0.22);
  pointer-events: none;
}
body.ms-theme .mstm .mstm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 163, 90, 0.6);
}
body.ms-theme .mstm .mstm-quote {
  position: relative;
  margin: 0;
  width: auto;
  font-size: 1.06rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: #1a2240;
  text-align: left;
  hyphens: none;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.ms-theme .mstm .mstm-person { display: flex; align-items: center; gap: 14px; }
body.ms-theme .mstm .mstm-avatar {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #e9e4d6;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #c9a35a, 0 6px 14px rgba(19, 32, 63, 0.25);
}
body.ms-theme .mstm .mstm-who { display: flex; flex-direction: column; min-width: 0; }
body.ms-theme .mstm .mstm-name {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.2;
  color: #13203f;
}
body.ms-theme .mstm .mstm-role {
  margin-top: 3px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: #9c7a35;
}

@media (max-width: 575.98px) {
  body.ms-theme .testimonials-section.mstm { padding: 64px 0 70px; }
  body.ms-theme .mstm .mstm-viewport { --mstm-gap: 18px; }
  body.ms-theme .mstm .mstm-card { flex-basis: 270px; width: 270px; min-height: 270px; padding: 24px 22px 22px; }
  body.ms-theme .mstm .mstm-quote { font-size: 0.98rem; }
}
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .mstm .mstm-track { animation: none; }
  body.ms-theme .mstm .mstm-viewport { overflow-x: auto; }
  body.ms-theme .mstm .mstm-eyebrow,
  body.ms-theme .mstm .mstm-eyebrow-dot { animation: none; }
}
/* ==========================================================================
   NAVBAR — menu text safed + scroll karne par dark background
   • Upar (page top) par navbar pehle jaisa halka see-through rehta hai.
   • Neeche scroll karte hi background dheere-dheere gehra navy ho jaata hai
     (CSS scroll-timeline, koi JS nahi). Jo browser ise support nahi karte,
     unme navbar hamesha dark rehta hai — text kabhi gayab nahi hota.
   • Sirf design. Markup / JS / dropdown logic kuch nahi chheda.
   ========================================================================== */
@property --msh-a { syntax: "<number>"; inherits: true; initial-value: 0.38; }

/* menu links: saaf safed */
body.ms-theme .msh.msh.msh-nav .navbar-nav .nav-link {
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
body.ms-theme .msh.msh.msh-nav .navbar-nav .nav-link:hover,
body.ms-theme .msh.msh.msh-nav .navbar-nav .nav-link:focus-visible,
body.ms-theme .msh.msh.msh-nav .navbar-nav .nav-link.show {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}
body.ms-theme .msh.msh.msh-nav .navbar-nav .nav-link.dropdown-toggle::after { border-top-color: #ffffff; opacity: 0.9; }

/* scroll par dark */
body.ms-theme .msh.msh.msh-nav .header-rounded.bg-white {
  background: linear-gradient(160deg,
      rgba(14, 32, 72, var(--msh-a)) 0%,
      rgba(6, 14, 34, calc(var(--msh-a) + 0.04)) 100%) !important;
}
@supports (animation-timeline: scroll()) {
  body.ms-theme .msh.msh.msh-nav .header-rounded.bg-white {
    animation: msh-solid linear both;
    animation-timeline: scroll(root block);
    animation-range: 0px 160px;
  }
}
@keyframes msh-solid {
  from {
    --msh-a: 0.38;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  to {
    --msh-a: 0.95;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}
@supports not (animation-timeline: scroll()) {
  body.ms-theme .msh.msh.msh-nav .header-rounded.bg-white { --msh-a: 0.92; }
}
/* mobile me khula menu bhi dark (text hamesha padhne layak) */
@media (max-width: 991.98px) {
  body.ms-theme .msh.msh.msh-nav .header-rounded.bg-white { --msh-a: 0.95; animation: none; }
}

/* ==========================================================================
   NAVBAR — hover par dropdown / submenu khule (sirf desktop, sirf CSS)
   • Click se khulna pehle jaisa chalta hai (Bootstrap JS same).
   • Menu aur link ke beech ka khaali gap "pul" (::before) se bhara hai,
     taaki mouse neeche le jaate waqt menu band na ho.
   • Mobile (< 992px) par pehle jaisa tap se hi khulta hai.
   ========================================================================== */
@media (min-width: 992px) and (hover: hover) {
  body.ms-theme .msh.msh.msh-nav .navbar-nav > .dropdown:hover > .dropdown-menu,
  body.ms-theme .msh.msh.msh-nav .navbar-nav > .dropdown:focus-within > .dropdown-menu {
    display: block;
    top: 100%;
    left: 0;
    margin-top: 6px;
    animation: msh-dd-in 0.22s ease-out;
  }
  body.ms-theme .msh.msh.msh-nav .navbar-nav > .dropdown > .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: -12px;
    height: 12px;
  }
  body.ms-theme .msh.msh.msh-nav .navbar-nav > .dropdown:hover > .nav-link {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
  }
  body.ms-theme .msh.msh.msh-nav .navbar-nav > .dropdown:hover > .nav-link::before { transform: scaleX(1); }
  body.ms-theme .msh.msh.msh-nav .navbar-nav > .dropdown:hover > .nav-link.dropdown-toggle::after { transform: rotate(180deg); }

  /* andar ke submenu: hover par side me khule, gap ka pul */
  body.ms-theme .msh.msh.msh-nav .dropdown-submenu:hover > .dropdown-menu,
  body.ms-theme .msh.msh.msh-nav .dropdown-submenu:focus-within > .dropdown-menu {
    display: block;
    animation: msh-dd-in 0.2s ease-out;
  }
  body.ms-theme .msh.msh.msh-nav .dropdown-submenu > .dropdown-menu::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: -12px;
    width: 12px;
  }
}
@keyframes msh-dd-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .msh.msh.msh-nav .dropdown-menu { animation: none !important; }
}


/* ==========================================================================
   THE COUNCIL page (council.php) — andar ke pages jaisa light design
   • Ye block sirf  .mscn  (council.php ka <main>) par lagta hai — home page par
     ye class hai hi nahi. Aur upar ka poora midnight theme  body.ms-theme  ke
     andar band hai, council page ki body par ye class nahi → wahan inert.
   • Classes / keyframes / variables sab "mscn-" prefix me.
   ========================================================================== */
.mscn {
  --mscn-navy: #141a3a;
  --mscn-purple: #2a1770;
  --mscn-purple-2: #493d87;
  --mscn-violet: #725ce0;
  --mscn-orange: #e9812c;
  --mscn-ink: #1e1b4b;
  --mscn-text: #4b5563;
  --mscn-soft: #f5f3ff;
  --mscn-line: #e5e1f5;
  display: block;
  padding-bottom: 80px;
  color: var(--mscn-text);
  background: #fff;
}

/* ---------- banner ---------- */
.mscn .mscn-banner {
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  min-height: 150px;
  margin: 24px 0 0;
  padding: 40px 20px;
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(100deg, #141a3a 0%, #1f2458 55%, #2b2a78 100%);
  box-shadow: 0 18px 40px rgba(30, 27, 75, 0.18);
}
.mscn .mscn-banner::before,
.mscn .mscn-banner::after {                     /* halke chalte gole */
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(114, 92, 224, 0.45), transparent 70%);
}
.mscn .mscn-banner::before { width: 320px; height: 320px; left: -80px; top: -160px; animation: mscn-float 9s ease-in-out infinite; }
.mscn .mscn-banner::after { width: 260px; height: 260px; right: -60px; bottom: -150px; background: radial-gradient(circle, rgba(233, 129, 44, 0.3), transparent 70%); animation: mscn-float 11s ease-in-out -3s infinite; }
@keyframes mscn-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 20px); } }
.mscn .mscn-banner-title {
  position: relative; z-index: 1;
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 700;
  color: #fff;
}

/* ---------- intro + stats ---------- */
.mscn .mscn-intro { padding: 56px 0 20px; text-align: center; }
.mscn .mscn-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 14px; padding: 6px 15px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mscn-purple);
  background: var(--mscn-soft);
  border: 1px solid #ddd6fe;
}
.mscn .mscn-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mscn-orange);
  animation: mscn-ping 1.8s ease-out infinite;
}
@keyframes mscn-ping { 0% { box-shadow: 0 0 0 0 rgba(233, 129, 44, 0.6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(233, 129, 44, 0); } }
.mscn .mscn-intro-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15;
  color: var(--mscn-ink);
}
.mscn .mscn-grad {
  background: linear-gradient(to right, #725ce0, #ac6af9, #291770);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.mscn .mscn-sub {
  max-width: 680px; margin: 0 auto;
  font-size: 1.05rem; line-height: 1.7; text-align: center;
  color: var(--mscn-text);
}
.mscn .mscn-stats {
  display: inline-flex; flex-wrap: wrap; justify-content: center;
  margin: 30px auto 0; padding: 0; list-style: none;
  border-radius: 18px; overflow: hidden;
  background: #fff;
  border: 1px solid var(--mscn-line);
  box-shadow: 0 14px 36px rgba(42, 23, 112, 0.08);
}
.mscn .mscn-stats li { display: flex; flex-direction: column; align-items: center; min-width: 120px; padding: 16px 26px; }
.mscn .mscn-stats li + li { border-left: 1px solid var(--mscn-line); }
.mscn .mscn-stats strong { font-size: 1.9rem; font-weight: 800; line-height: 1; color: var(--mscn-purple); }
.mscn .mscn-stats span { margin-top: 6px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #6b7280; }

.mscn .mscn-h2 { margin: 0 0 26px; font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; color: var(--mscn-ink); }
.mscn .mscn-bearers .mscn-h2 { text-align: center; }

/* ---------- office bearers ---------- */
.mscn .mscn-bearers {
  margin-top: 40px; padding: 50px 0 40px;
  background: linear-gradient(180deg, #fff 0%, var(--mscn-soft) 100%);
}
.mscn .mscn-ob-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: end;
  max-width: 1040px; margin: 0 auto;
}
.mscn .mscn-ob {
  position: relative; text-align: center;
  padding: 32px 24px 28px; border-radius: 24px;
  background: #fff;
  border: 1px solid var(--mscn-line);
  box-shadow: 0 18px 44px rgba(42, 23, 112, 0.1);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease;
}
.mscn .mscn-ob:hover { transform: translateY(-8px); box-shadow: 0 26px 56px rgba(42, 23, 112, 0.16); }
.mscn .mscn-ob--president {
  padding-top: 42px; padding-bottom: 36px; transform: translateY(-16px);
  background: linear-gradient(165deg, #2a1770 0%, #3b2c86 60%, #493d87 100%);
  border-color: transparent;
  box-shadow: 0 26px 60px rgba(42, 23, 112, 0.35);
}
.mscn .mscn-ob--president:hover { transform: translateY(-24px); }
.mscn .mscn-ob-photo { position: relative; width: 160px; height: 160px; margin: 0 auto 20px; }
.mscn .mscn-ob--president .mscn-ob-photo { width: 190px; height: 190px; }
.mscn .mscn-ob-photo img {
  position: relative; z-index: 1; display: block;
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  border-radius: 50%; border: 5px solid #fff; background: #ece9f6;
  box-shadow: 0 12px 26px rgba(30, 27, 75, 0.2);
}
@property --mscn-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.mscn .mscn-ring {
  position: absolute; inset: -8px; border-radius: 50%;
  background: conic-gradient(from var(--mscn-ang), #725ce0, #e9812c, #ac6af9, #725ce0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: mscn-spin 6s linear infinite;
}
@keyframes mscn-spin { to { --mscn-ang: 360deg; } }
.mscn .mscn-ob-badge {
  display: inline-block; margin-bottom: 10px; padding: 6px 16px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: linear-gradient(90deg, #291670 0%, #493d87 100%);
}
.mscn .mscn-ob--president .mscn-ob-badge { color: #fff; background: linear-gradient(90deg, #ed5b0e, #ff8c4f); }
.mscn .mscn-ob-name { margin: 0 0 6px; font-size: 1.28rem; font-weight: 800; color: var(--mscn-ink); }
.mscn .mscn-ob--president .mscn-ob-name { font-size: 1.5rem; color: #fff; }
.mscn .mscn-ob-region { margin: 0; text-align: center; font-size: 0.88rem; font-weight: 600; color: var(--mscn-orange); }
.mscn .mscn-ob--president .mscn-ob-region { color: #fcd2a8; }
.mscn .mscn-ob-region i { margin-right: 4px; }

/* ---------- members: bar + region tabs ---------- */
.mscn .mscn-members { padding: 56px 0 0; }
.mscn .mscn-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.mscn .mscn-bar .mscn-h2 { margin: 0; }
.mscn .mscn-search { position: relative; display: flex; align-items: center; margin: 0; width: min(320px, 100%); }
.mscn .mscn-search i { position: absolute; left: 16px; color: var(--mscn-violet); font-size: 0.9rem; pointer-events: none; }
.mscn .mscn-search input {
  width: 100%; height: 46px; padding: 0 18px 0 42px; border-radius: 999px;
  font: inherit; font-size: 0.95rem; color: var(--mscn-ink);
  background: #fff; border: 1px solid #d9d4ee;
  outline: none; transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.mscn .mscn-search input::placeholder { color: #9ca3af; }
.mscn .mscn-search input:focus { border-color: var(--mscn-violet); box-shadow: 0 0 0 4px rgba(114, 92, 224, 0.15); }

.mscn .mscn-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.mscn .mscn-tab {
  -webkit-appearance: none; appearance: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 0.88rem; font-weight: 700; color: var(--mscn-purple);
  background: #fff; border: 1px solid #d9d4ee;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.mscn .mscn-tab span { min-width: 24px; padding: 1px 7px; border-radius: 999px; text-align: center; font-size: 0.74rem; background: var(--mscn-soft); }
.mscn .mscn-tab:hover { border-color: var(--mscn-violet); transform: translateY(-2px); }
.mscn .mscn-tab.is-active {
  color: #fff; border-color: transparent;
  background: linear-gradient(90deg, #291670 0%, #493d87 100%);
  box-shadow: 0 10px 22px rgba(42, 23, 112, 0.25);
}
.mscn .mscn-tab.is-active span { background: rgba(255, 255, 255, 0.2); }
.mscn .mscn-tab:focus-visible { outline: 2px solid var(--mscn-violet); outline-offset: 2px; }

/* ---------- member cards ---------- */
.mscn .mscn-grid,
.msac .mscn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.mscn .mscn-card,
.msac .mscn-card {
  --mscn-acc: #725ce0;
  position: relative; overflow: hidden; text-align: center;
  padding: 28px 20px 24px; border-radius: 20px;
  background: #fff;
  border: 1px solid var(--mscn-line);
  box-shadow: 0 12px 30px rgba(42, 23, 112, 0.07);
  opacity: 0; transform: translateY(24px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.mscn .mscn-card[hidden],
.msac .mscn-card[hidden] { display: none; }
.mscn .mscn-card.is-in,
.msac .mscn-card.is-in { animation: mscn-in 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes mscn-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.mscn .mscn-card::before,
.msac .mscn-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--mscn-acc), transparent);
}
.mscn .mscn-card:hover,
.msac .mscn-card:hover { transform: translateY(-8px); border-color: var(--mscn-acc); box-shadow: 0 22px 46px rgba(42, 23, 112, 0.14); }
.mscn .mscn-r-western,
.msac .mscn-r-western { --mscn-acc: #2563eb; }
.mscn .mscn-r-southern,
.msac .mscn-r-southern { --mscn-acc: #ed5b0e; }
.mscn .mscn-r-eastern,
.msac .mscn-r-eastern { --mscn-acc: #0d9488; }
.mscn .mscn-r-central,
.msac .mscn-r-central { --mscn-acc: #7c3aed; }
.mscn .mscn-r-northern,
.msac .mscn-r-northern { --mscn-acc: #c08a1e; }
.mscn .mscn-r-nominated,
.msac .mscn-r-nominated { --mscn-acc: #2a1770; }

.mscn .mscn-photo,

.msac .mscn-photo { position: relative; width: 120px; height: 120px; margin: 0 auto 16px; }
.mscn .mscn-photo::before,
.msac .mscn-photo::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px dashed color-mix(in srgb, var(--mscn-acc) 55%, transparent);
  transition: transform 0.8s ease;
}
.mscn .mscn-card:hover .mscn-photo::before,
.msac .mscn-card:hover .mscn-photo::before { transform: rotate(120deg); }
.mscn .mscn-photo img,
.msac .mscn-photo img {
  position: relative; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  border-radius: 50%; border: 4px solid #fff; background: #ece9f6;
  box-shadow: 0 8px 20px rgba(30, 27, 75, 0.16);
  transition: transform 0.4s ease;
}
.mscn .mscn-card:hover .mscn-photo img,
.msac .mscn-card:hover .mscn-photo img { transform: scale(1.05); }
.mscn .mscn-name,
.msac .mscn-name { margin: 0 0 6px; font-size: 1.04rem; font-weight: 800; line-height: 1.3; color: var(--mscn-ink); }
.mscn .mscn-desig,
.msac .mscn-desig { margin: 0 0 14px; min-height: 1.3em; text-align: center; hyphens: none; font-size: 0.84rem; font-weight: 600; line-height: 1.4; color: #6b7280; }
.mscn .mscn-chip,
.msac .mscn-chip {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
  color: var(--mscn-acc);
  background: color-mix(in srgb, var(--mscn-acc) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--mscn-acc) 30%, transparent);
}
.mscn .mscn-empty { margin: 30px 0 0; text-align: center; color: #6b7280; }
.mscn .mscn-source { margin: 44px 0 0; text-align: center; font-size: 0.82rem; color: #9ca3af; }
.mscn .mscn-source a { color: var(--mscn-violet); }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .mscn .mscn-ob-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
  .mscn .mscn-ob--president { order: -1; transform: none; }
  .mscn .mscn-ob--president:hover { transform: translateY(-8px); }
}
@media (max-width: 575.98px) {
  .mscn .mscn-banner { min-height: 110px; padding: 28px 16px; border-radius: 16px; }
  .mscn .mscn-intro { padding-top: 40px; }
  .mscn .mscn-stats li { min-width: 50%; padding: 14px 10px; }
  .mscn .mscn-stats li:nth-child(3) { border-left: 0; }
  .mscn .mscn-stats li:nth-child(n+3) { border-top: 1px solid var(--mscn-line); }
  .mscn .mscn-grid,
  .msac .mscn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .mscn .mscn-card,
  .msac .mscn-card { padding: 20px 12px 18px; }
  .mscn .mscn-photo,
  .msac .mscn-photo { width: 88px; height: 88px; }
  .mscn .mscn-name,
  .msac .mscn-name { font-size: 0.92rem; }
  .mscn .mscn-desig,
  .msac .mscn-desig { font-size: 0.76rem; }
  .mscn .mscn-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .mscn .mscn-tab { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .mscn .mscn-banner::before, .mscn .mscn-banner::after,
  .mscn .mscn-eyebrow-dot, .mscn .mscn-ring { animation: none; }
  .mscn .mscn-card, .mscn .mscn-card.is-in,
  .msac .mscn-card,
  .msac .mscn-card.is-in { opacity: 1; transform: none; animation: none; }
}

/* ==========================================================================
   COMPOSITION OF ACAFC page (acafc-composition.php) — "Committee Dossier" design
   • Sirf  .msac  (is page ka <main>) ke andar; classes / keyframes / variables
     "msac-" prefix. Home page aur Council page par ye class nahi → koi takraav nahi.
   ========================================================================== */
.msac {
  --mscn-ink: #1e1b4b; --mscn-line: #e5e1f5; --mscn-violet: #725ce0; --mscn-soft: #f5f3ff;
  --msac-ink: #1e1b4b;
  --msac-text: #4b5563;
  --msac-purple: #2a1770;
  --msac-violet: #725ce0;
  --msac-orange: #e9812c;
  --msac-line: #e7e3f4;
  --msac-soft: #f7f5ff;
  display: block;
  padding-bottom: 70px;
  color: var(--msac-text);
  background: #fff;
}

/* ---------- hero (split) ---------- */
.msac .msac-hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center;
  margin: 24px 0 0; padding: 56px 56px;
  border-radius: 24px;
  background: linear-gradient(120deg, #141a3a 0%, #1f2458 50%, #2b2a78 100%);
  box-shadow: 0 22px 50px rgba(30, 27, 75, 0.2);
  color: #fff;
}
.msac .msac-hero-grid {                       /* halka chalta grid pattern */
  position: absolute; inset: 0; pointer-events: none; opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 50%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at 80% 50%, #000 0%, transparent 70%);
  animation: msac-grid 18s linear infinite;
}
@keyframes msac-grid { to { background-position: 44px 44px, 44px 44px; } }
.msac .msac-hero-copy, .msac .msac-lead-stack { position: relative; z-index: 1; }
.msac .msac-kicker {
  display: inline-block; margin-bottom: 14px; padding-left: 34px; position: relative;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fcd2a8;
}
.msac .msac-kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 2px; background: var(--msac-orange); }
.msac .msac-title { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; color: #fff; }
.msac .msac-title span {
  background: linear-gradient(90deg, #ffb27a, #e9812c);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.msac .msac-lead { max-width: 520px; margin: 0 0 28px; font-size: 1.05rem; line-height: 1.7; text-align: left; color: #d5d8f0; }
.msac .msac-figs { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.msac .msac-figs li {
  display: flex; flex-direction: column; min-width: 96px; padding: 12px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
}
.msac .msac-figs strong { font-size: 1.7rem; font-weight: 800; line-height: 1; color: #fff; }
.msac .msac-figs span { margin-top: 5px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #b9bde0; }

/* leaders: do horizontal cards, ek ke upar ek (thoda khiska hua) */
.msac .msac-lead-stack { display: flex; flex-direction: column; gap: 18px; }
.msac .msac-leader {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 22px 16px 16px; border-radius: 20px;
  background: #fff; color: var(--msac-ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s ease;
  animation: msac-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.msac .msac-leader:nth-child(2) { animation-delay: 0.15s; }
.msac .msac-leader:hover { transform: translateX(-6px); }
.msac .msac-leader--chair { border-left: 5px solid var(--msac-orange); }
@keyframes msac-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.msac .msac-leader-photo {
  flex: 0 0 auto; width: 104px; height: 120px; border-radius: 16px; overflow: hidden;
  background: #ece9f6; box-shadow: 0 8px 18px rgba(30, 27, 75, 0.2);
}
.msac .msac-leader--chair .msac-leader-photo { width: 120px; height: 140px; }
.msac .msac-leader-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.msac .msac-leader-info { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.msac .msac-leader-role {
  margin-bottom: 8px; padding: 4px 12px; border-radius: 6px;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: var(--msac-purple);
}
.msac .msac-leader--chair .msac-leader-role { background: linear-gradient(90deg, #ed5b0e, #ff8c4f); }
.msac .msac-leader-name { margin: 0 0 4px; font-size: 1.3rem; font-weight: 800; line-height: 1.25; color: var(--msac-ink); }
.msac .msac-leader--chair .msac-leader-name { font-size: 1.45rem; }
.msac .msac-leader-org { font-size: 0.85rem; font-weight: 600; color: #6b7280; }

/* ---------- jump nav (sticky) ---------- */
.msac .msac-jump {
  position: sticky; top: 76px; z-index: 5;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
  width: fit-content; max-width: calc(100% - 32px); margin: 34px auto 0; padding: 6px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--msac-line); box-shadow: 0 12px 30px rgba(42, 23, 112, 0.1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.msac .msac-jump a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 700; color: var(--msac-purple); text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.msac .msac-jump a b { padding: 1px 8px; border-radius: 999px; font-size: 0.74rem; background: var(--msac-soft); }
.msac .msac-jump a:hover, .msac .msac-jump a:focus-visible { color: #fff; background: linear-gradient(90deg, #291670, #493d87); }
.msac .msac-jump a:hover b, .msac .msac-jump a:focus-visible b { background: rgba(255, 255, 255, 0.2); }

/* ---------- section heading (bada number) ---------- */
.msac .msac-sec { padding: 64px 0 0; scroll-margin-top: 140px; }
.msac .msac-sec-head { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.msac .msac-sec-no {
  flex: 0 0 auto; white-space: nowrap;
  font-size: 3.4rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px #c9bff3;
}
.msac .msac-sec-title { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; color: var(--msac-ink); }
.msac .msac-sec-sub { margin: 2px 0 0; font-size: 0.95rem; text-align: left; color: #6b7280; }

/* ---------- members: portrait cards (photo upar, naam neeche) ---------- */
.msac .msac-portraits { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.msac .msac-pc {
  position: relative; overflow: hidden; border-radius: 18px;
  background: #fff; border: 1px solid var(--msac-line);
  box-shadow: 0 10px 26px rgba(42, 23, 112, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.msac .msac-pc:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(42, 23, 112, 0.16); }
.msac .msac-pc-photo { position: relative; aspect-ratio: 5 / 5.6; overflow: hidden; background: #ece9f6; }
.msac .msac-pc-photo::after {                  /* neeche halka purple fade */
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(180deg, transparent, rgba(42, 23, 112, 0.35));
  opacity: 0; transition: opacity 0.35s ease;
}
.msac .msac-pc:hover .msac-pc-photo::after { opacity: 1; }
.msac .msac-pc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s ease; }
.msac .msac-pc:hover .msac-pc-photo img { transform: scale(1.06); }
.msac .msac-pc-body { position: relative; padding: 16px 16px 18px; text-align: left; }
.msac .msac-pc-body::before {                  /* orange patti jo hover par lambi hoti hai */
  content: ""; position: absolute; left: 16px; top: 0; width: 28px; height: 3px; border-radius: 3px;
  background: var(--msac-orange); transition: width 0.35s ease;
}
.msac .msac-pc:hover .msac-pc-body::before { width: calc(100% - 32px); }
.msac .msac-pc-name { margin: 8px 0 4px; font-size: 1rem; font-weight: 800; line-height: 1.3; color: var(--msac-ink); }
.msac .msac-pc-role { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--msac-violet); }

/* ---------- co-opted / invitees: numbered roll ---------- */
.msac .msac-sec--coopted .container,
.msac .msac-sec--invitees .container { position: relative; }
.msac .msac-roll {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px;
  margin: 0; padding: 26px 30px; list-style: none;
  border-radius: 22px; background: var(--msac-soft); border: 1px solid var(--msac-line);
}
.msac .msac-roll-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 4px;
  border-bottom: 1px dashed #d8d1f0;
  transition: padding-left 0.3s ease;
}
.msac .msac-roll-item:hover { padding-left: 12px; }
.msac .msac-roll-ini {
  flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  font-size: 0.88rem; font-weight: 800; color: var(--msac-purple);
  background: #fff; border: 1px solid #d9d1f5;
  transition: background 0.3s ease, color 0.3s ease;
}
.msac .msac-roll-item:hover .msac-roll-ini { color: #fff; background: linear-gradient(135deg, #725ce0, #2a1770); }
.msac .msac-roll-name { flex: 1 1 auto; min-width: 0; font-size: 1rem; font-weight: 700; color: var(--msac-ink); }
.msac .msac-roll-role { flex: 0 0 auto; font-size: 0.78rem; font-weight: 700; color: var(--msac-orange); }
.msac .msac-sec--invitees .msac-roll { background: #fff8f2; border-color: #fbe0c8; }
.msac .msac-sec--invitees .msac-roll-item { border-bottom-color: #f6d3b4; }
.msac .msac-sec--invitees .msac-roll-ini { color: #c2410c; border-color: #fbd3b0; }
.msac .msac-sec--invitees .msac-roll-item:hover .msac-roll-ini { color: #fff; background: linear-gradient(135deg, #ff8c4f, #ed5b0e); }

.msac .msac-source { margin: 48px 0 0; text-align: center; font-size: 0.82rem; color: #9ca3af; }
.msac .msac-source a { color: var(--msac-violet); }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .msac .msac-hero { grid-template-columns: minmax(0, 1fr); padding: 40px 28px; }
  .msac .msac-leader:nth-child(2) { margin-left: 0; }
  .msac .msac-roll { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  .msac .msac-hero { padding: 32px 18px; border-radius: 18px; }
  .msac .msac-leader { gap: 14px; padding: 12px; }
  .msac .msac-leader-photo, .msac .msac-leader--chair .msac-leader-photo { width: 84px; height: 98px; }
  .msac .msac-leader-name, .msac .msac-leader--chair .msac-leader-name { font-size: 1.08rem; }
  .msac .msac-jump { top: 64px; border-radius: 18px; }
  .msac .msac-jump a { padding: 8px 12px; font-size: 0.82rem; }
  .msac .msac-sec-no { font-size: 2.4rem; }
  .msac .msac-portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .msac .msac-pc-name { font-size: 0.9rem; }
  .msac .msac-roll { padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .msac .msac-hero-grid, .msac .msac-leader { animation: none; }
}

/* ==========================================================================
   LEADERSHIP — client feedback
   1) Cards par 01 / 02 numbering hatayi.
   2) "ICAI Office Bearers / ACAFC, ICAI" toggle hataya (slider arrows + autoplay
      se dono group pehle jaise chalte rehte hain — JS / markup nahi chheda).
   3) P, VP, C, VC — sab photos ek hi size aur alignment me: har photo ring ke
      andar ek barabar gol frame me, chehra upar se crop (object-fit: cover).
   ========================================================================== */
body.ms-theme .msl .msl-index { display: none; }
body.ms-theme .msl .msl-tabs { display: none; }
body.ms-theme .msl .msl-head { margin-bottom: 38px; }

body.ms-theme .msl .msl-photo { align-items: center; }
body.ms-theme .msl .msl-photo img {
  position: absolute;
  top: 52%; left: 50%;
  width: 66%;
  max-width: none;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #ffffff 0%, #f1e7d1 100%);
  border: 4px solid #ffffff;
  box-shadow: 0 16px 34px rgba(19, 32, 63, 0.28);
  filter: none;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}
body.ms-theme .msl .msl-card:hover .msl-photo img { transform: translate(-50%, -50%) scale(1.04); }
body.ms-theme .msl .msl-photo::after { height: 18%; }   /* fade sirf kinare par, photo par nahi */
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .msl .msl-card:hover .msl-photo img { transform: translate(-50%, -50%); }
}

/* ==========================================================================
   DO YOU KNOW? page (do-you-know.php) — topic tabs + featured creative slider
   • Sirf  .msdk  (is page ka <main>) ke andar; classes / keyframes "msdk-" prefix.
     Home, Council, ACAFC pages par ye class nahi → koi takraav nahi.
   ========================================================================== */
.msdk {
  --msdk-ink: #1e1b4b;
  --msdk-text: #4b5563;
  --msdk-purple: #2a1770;
  --msdk-violet: #725ce0;
  --msdk-orange: #e9812c;
  --msdk-line: #e7e3f4;
  --msdk-soft: #f7f5ff;
  display: block;
  padding-bottom: 80px;
  color: var(--msdk-text);
  background: #fff;
}

/* ---------- banner ---------- */
.msdk .msdk-banner {
  position: relative; overflow: hidden; text-align: center;
  margin: 24px 0 0; padding: 46px 20px 42px; border-radius: 22px;
  background: linear-gradient(110deg, #141a3a 0%, #1f2458 55%, #2b2a78 100%);
  box-shadow: 0 18px 40px rgba(30, 27, 75, 0.18);
}
.msdk .msdk-banner::before {
  content: ""; position: absolute; width: 380px; height: 380px; left: 50%; top: -230px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(233, 129, 44, 0.35), transparent 65%);
  pointer-events: none; animation: msdk-glow 5s ease-in-out infinite;
}
@keyframes msdk-glow { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.msdk .msdk-banner-bulb {
  position: relative; display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 12px;
  border-radius: 50%; font-size: 1.35rem; color: #fff;
  background: linear-gradient(135deg, #ff9f5a, #e9812c);
  box-shadow: 0 0 0 8px rgba(233, 129, 44, 0.15), 0 12px 26px rgba(233, 129, 44, 0.4);
}
.msdk .msdk-banner-title { position: relative; margin: 0 0 8px; font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; color: #fff; }
.msdk .msdk-banner-sub { position: relative; max-width: 640px; margin: 0 auto; font-size: 1rem; line-height: 1.6; text-align: center; color: #c9cdea; }

/* ---------- topic tabs ---------- */
.msdk .msdk-tabs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px;
  margin: 36px 0 30px;
}
.msdk .msdk-tab {
  -webkit-appearance: none; appearance: none;
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px 18px; border-radius: 18px; cursor: pointer; text-align: left;
  font: inherit; color: var(--msdk-ink);
  background: #fff; border: 1px solid var(--msdk-line);
  box-shadow: 0 8px 22px rgba(42, 23, 112, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.msdk .msdk-tab::after {                          /* neeche chalti patti */
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, #e9812c, #ff9f5a); transition: width 0.4s ease;
}
.msdk .msdk-tab:hover { transform: translateY(-3px); border-color: #cfc5f5; box-shadow: 0 14px 30px rgba(42, 23, 112, 0.12); }
.msdk .msdk-tab.is-active {
  color: #fff; border-color: transparent;
  background: linear-gradient(120deg, #291670 0%, #493d87 100%);
  box-shadow: 0 16px 34px rgba(42, 23, 112, 0.3);
}
.msdk .msdk-tab.is-active::after { width: 100%; }
.msdk .msdk-tab:focus-visible { outline: 3px solid var(--msdk-violet); outline-offset: 2px; }
.msdk .msdk-tab-ico {
  flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  font-size: 1.1rem; color: var(--msdk-purple); background: var(--msdk-soft);
  transition: background 0.3s ease, color 0.3s ease;
}
.msdk .msdk-tab.is-active .msdk-tab-ico { color: #fff; background: rgba(255, 255, 255, 0.14); }
.msdk .msdk-tab-text { display: flex; flex-direction: column; min-width: 0; }
.msdk .msdk-tab-title { font-size: 0.98rem; font-weight: 700; line-height: 1.3; }
.msdk .msdk-tab-count { margin-top: 3px; font-size: 0.78rem; font-weight: 600; color: #8b8fa3; }
.msdk .msdk-tab.is-active .msdk-tab-count { color: #fcd2a8; }

/* ---------- pane ---------- */
.msdk .msdk-pane.is-active { animation: msdk-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes msdk-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.msdk .msdk-pane-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.msdk .msdk-pane-title { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; color: var(--msdk-ink); }
.msdk .msdk-intro { margin-bottom: 18px; color: var(--msdk-text); line-height: 1.7; }
.msdk .msdk-intro p:last-child { margin-bottom: 0; }

/* ---------- featured stage: portrait creatives ka "coverflow" ----------
   Beech me badi creative, dono taraf pichli / agli creative jhaankti hui,
   peeche current creative ka blur rang → khaali jagah nahi dikhti. */
.msdk .msdk-stage {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(380px, 44vw, 520px); width: 100%;
  border-radius: 24px;
  background: #1c1f4a;
  box-shadow: 0 26px 60px rgba(42, 23, 112, 0.2);
  perspective: 1400px;
}
.msdk .msdk-ambient {                            /* current creative ka blur backdrop */
  position: absolute; inset: -40px; z-index: -1;
  background-size: cover; background-position: center;
  filter: blur(38px) saturate(1.3) brightness(0.75);
  transform: scale(1.1);
  transition: background-image 0.6s ease;
}
.msdk .msdk-stage::after {                       /* halka vignette */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(20, 22, 60, 0) 40%, rgba(20, 22, 60, 0.55) 100%);
}
.msdk .msdk-slide {
  --x: 0%; --s: 1; --r: 0deg; --o: 1;
  position: absolute; top: 50%; left: 50%; z-index: 1; margin: 0;
  height: 88%; aspect-ratio: 4 / 5;
  border-radius: 18px; overflow: hidden; cursor: zoom-in;
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  transform: translate(calc(-50% + var(--x)), -50%) scale(var(--s)) rotateY(var(--r));
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform 0.7s cubic-bezier(0.22, 0.8, 0.25, 1), opacity 0.6s ease, filter 0.6s ease, visibility 0.7s;
}
.msdk .msdk-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.msdk .msdk-slide.is-current { z-index: 3; opacity: 1; visibility: visible; pointer-events: auto; }
.msdk .msdk-slide.is-prev,
.msdk .msdk-slide.is-next {
  z-index: 2; opacity: 0.55; visibility: visible; pointer-events: auto; cursor: pointer;
  filter: saturate(0.8);
}
.msdk .msdk-slide.is-prev { --x: -78%; --s: 0.8; --r: 18deg; }
.msdk .msdk-slide.is-next { --x: 78%;  --s: 0.8; --r: -18deg; }
.msdk .msdk-slide.is-prev:hover,
.msdk .msdk-slide.is-next:hover { opacity: 0.8; }
.msdk .msdk-slide.is-far-prev { --x: -130%; --s: 0.6; --r: 25deg; }
.msdk .msdk-slide.is-far-next { --x: 130%;  --s: 0.6; --r: -25deg; }

.msdk .msdk-arrow {
  -webkit-appearance: none; appearance: none;
  position: absolute; top: 50%; z-index: 4; transform: translateY(-50%);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  font-size: 1rem; color: var(--msdk-purple);
  background: rgba(255, 255, 255, 0.92); border: 1px solid var(--msdk-line);
  box-shadow: 0 10px 24px rgba(30, 27, 75, 0.18);
  opacity: 0.85; transition: opacity 0.3s ease, background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.msdk .msdk-arrow--prev { left: 18px; }
.msdk .msdk-arrow--next { right: 16px; }
.msdk .msdk-stage:hover .msdk-arrow { opacity: 1; }
.msdk .msdk-arrow:hover { color: #fff; background: linear-gradient(135deg, #291670, #493d87); }
.msdk .msdk-arrow--prev:hover { transform: translateY(-50%) translateX(-3px); }
.msdk .msdk-arrow--next:hover { transform: translateY(-50%) translateX(3px); }
.msdk .msdk-zoom {
  -webkit-appearance: none; appearance: none;
  position: absolute; top: 14px; right: 14px; z-index: 4;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; cursor: pointer;
  font-size: 0.9rem; color: #fff; background: rgba(30, 27, 75, 0.7); border: 0;
  transition: background 0.3s ease;
}
.msdk .msdk-zoom:hover { background: var(--msdk-orange); }
/* autoplay ki progress line */
.msdk .msdk-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 4px; background: rgba(255, 255, 255, 0.15); }
.msdk .msdk-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #725ce0, #e9812c); }
.msdk .msdk-stage.is-ticking .msdk-progress span { animation: msdk-tick 6s linear forwards; }
@keyframes msdk-tick { to { width: 100%; } }

/* ---------- viewer: badi creative + right side thumbnail rail ---------- */
.msdk .msdk-viewer { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 20px; align-items: stretch; }
.msdk .msdk-viewer--single { grid-template-columns: minmax(0, 1fr); }
.msdk .msdk-viewer .msdk-stage { max-height: none; }

.msdk .msdk-rail {
  position: relative; overflow: hidden; min-height: 0;
  padding: 0 10px; border-radius: 22px;
  background: linear-gradient(180deg, #f7f5ff 0%, #efeafd 100%);
  border: 1px solid var(--msdk-line);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.msdk .msdk-rail-track {
  position: absolute; left: 10px; right: 10px; top: 0;
  display: flex; flex-direction: column;
  animation: msdk-up var(--msdk-dur, 18s) linear infinite;
  will-change: transform;
}
.msdk .msdk-rail:hover .msdk-rail-track,
.msdk .msdk-rail:focus-within .msdk-rail-track { animation-play-state: paused; }
@keyframes msdk-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes msdk-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.msdk .msdk-rail-set { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; }

.msdk .msdk-thumb {
  -webkit-appearance: none; appearance: none;
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; cursor: pointer;
  border-radius: 14px; background: #fff; border: 2px solid transparent;
  box-shadow: 0 6px 16px rgba(42, 23, 112, 0.1);
  opacity: 0.7; filter: grayscale(0.2);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}
.msdk .msdk-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.msdk .msdk-thumb:hover { opacity: 1; filter: none; transform: scale(1.03); }
.msdk .msdk-thumb.is-current { opacity: 1; filter: none; border-color: var(--msdk-orange); box-shadow: 0 10px 24px rgba(233, 129, 44, 0.3); }
.msdk .msdk-thumb:focus-visible { outline: 3px solid var(--msdk-violet); outline-offset: 2px; }
.msdk .msdk-thumb-no {
  position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 800; color: #fff; background: rgba(30, 27, 75, 0.75);
}
.msdk .msdk-thumb.is-current .msdk-thumb-no { background: var(--msdk-orange); }

/* ---------- empty ---------- */
.msdk .msdk-empty { padding: 60px 20px; text-align: center; color: #9ca3af; }
.msdk .msdk-empty i { display: block; margin-bottom: 14px; font-size: 2.6rem; color: #d6cdf6; }
.msdk .msdk-empty p { margin: 0; text-align: center; }
.msdk .msdk-empty--sm { padding: 40px 20px; border-radius: 18px; background: var(--msdk-soft); }

/* ---------- full-size view ---------- */
.msdk .msdk-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 30px;
  background: rgba(10, 12, 32, 0.9);
  animation: msdk-fade 0.25s ease;
}
.msdk .msdk-lightbox[hidden] { display: none; }
@keyframes msdk-fade { from { opacity: 0; } to { opacity: 1; } }
.msdk .msdk-lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.msdk .msdk-lb-close {
  -webkit-appearance: none; appearance: none;
  position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; border: 0; cursor: pointer; font-size: 1.1rem; color: #fff; background: rgba(255, 255, 255, 0.14);
}
.msdk .msdk-lb-close:hover { background: var(--msdk-orange); }

/* ---------- responsive ---------- */
@media (max-width: 767.98px) {
  .msdk .msdk-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .msdk .msdk-tab { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .msdk .msdk-tab-title { font-size: 0.88rem; }
  .msdk .msdk-stage { height: 105vw; max-height: 440px; border-radius: 16px; }
  .msdk .msdk-slide { height: 84%; }
  .msdk .msdk-slide.is-prev { --x: -88%; --s: 0.72; }
  .msdk .msdk-slide.is-next { --x: 88%; --s: 0.72; }
  .msdk .msdk-arrow { width: 38px; height: 38px; }
  .msdk .msdk-arrow--prev { left: 8px; }
  .msdk .msdk-arrow--next { right: 8px; }
  .msdk .msdk-viewer { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .msdk .msdk-rail {
    height: 150px; padding: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  }
  .msdk .msdk-rail-track { left: 0; right: auto; top: 10px; bottom: 10px; flex-direction: row; animation-name: msdk-left; }
  .msdk .msdk-rail-set { flex-direction: row; gap: 10px; padding: 0 10px 0 0; }
  .msdk .msdk-thumb { width: 104px; height: 130px; aspect-ratio: auto; flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .msdk .msdk-banner::before, .msdk .msdk-pane.is-active,
  .msdk .msdk-stage.is-ticking .msdk-progress span { animation: none; }
  .msdk .msdk-slide { transition: none; }
  .msdk .msdk-rail-track { animation: none; }
  .msdk .msdk-rail { overflow-y: auto; }
}

/* ==========================================================================
   FAQ + ACTIVITY REPORT — do barabar panel (index-re-design.php, #ms-faqs)
   • Left: FAQ title, sub-title, 2 images, "Read More FAQs" (pehle jaisa button).
   • Right: Activity Report — wahi design, 2 report images (PDF khulte hain).
   • Sirf  .msf .msf-wrap--duo  par lagta hai → baaki theme se takraav nahi.
   ========================================================================== */
body.ms-theme .msf .msf-wrap--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.ms-theme .msf .msf-wrap--duo::before { display: none; }   /* bahar wala box / glow hataya */
body.ms-theme .msf .msf-wrap--duo .msf-panel {
  display: flex; flex-direction: column; align-items: flex-start;
  overflow: hidden;
  padding: 36px 34px 34px;
  border-radius: 26px;
  position: relative;
  background: linear-gradient(160deg, rgba(22, 50, 108, 0.62) 0%, rgba(7, 17, 40, 0.9) 75%);
  border: 1px solid rgba(236, 214, 163, 0.22);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
body.ms-theme .msf .msf-wrap--duo .msf-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 214, 163, 0.45);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
body.ms-theme .msf .msf-wrap--duo .msf-glyph { top: -40px; right: 10px; font-size: 12rem; }
body.ms-theme .msf .msf-wrap--duo .msf-panel--report .msf-glyph { top: 10px; right: 20px; font-size: 8rem; -webkit-text-stroke: 0; color: rgba(236, 214, 163, 0.07); }
body.ms-theme .msf .msf-wrap--duo .msf-title { font-size: clamp(1.8rem, 3vw, 2.5rem); }
body.ms-theme .msf .msf-wrap--duo .msf-sub { max-width: none; margin-bottom: 24px; }

/* 2 images */
body.ms-theme .msf .msf-shots {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  width: 100%; max-width: 380px; margin: 0 0 28px;   /* images chhoti */
}
body.ms-theme .msf .msf-shot {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: 14px;
  background: linear-gradient(150deg, #1c3a80, #0d1d45);
  border: 1px solid rgba(236, 214, 163, 0.25);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

body.ms-theme .msf .msf-shot img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
body.ms-theme .msf .msf-shot::after {                    /* hover par chamak */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 246, 223, 0.35) 50%, transparent 65%);
  background-size: 250% 100%; background-position: 150% 0;
  transition: background-position 0.8s ease;
}
body.ms-theme .msf .msf-shot:hover { transform: translateY(-6px); border-color: rgba(236, 214, 163, 0.7); box-shadow: 0 22px 40px rgba(0, 0, 0, 0.45); }
body.ms-theme .msf .msf-shot:nth-child(2):hover { transform: translateY(8px); }
body.ms-theme .msf .msf-shot:hover img { transform: scale(1.07); }
body.ms-theme .msf .msf-shot:hover::after { background-position: -60% 0; }
body.ms-theme .msf .msf-shot:focus-visible { outline: 3px solid #ecd6a3; outline-offset: 3px; }
body.ms-theme .msf .msf-shot-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em;
  color: #13203f; background: linear-gradient(135deg, #f7e7c0, #c9a35a);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}
body.ms-theme .msf .msf-wrap--duo .msf-btn { margin-top: auto; }

@media (max-width: 991.98px) {
  body.ms-theme .msf .msf-wrap--duo { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 0; }
}
@media (max-width: 575.98px) {
  body.ms-theme .msf .msf-wrap--duo { padding: 0; background: none; }
  body.ms-theme .msf .msf-wrap--duo .msf-panel { padding: 26px 18px 22px; border-radius: 20px; }
  body.ms-theme .msf .msf-shots { gap: 10px; }
  body.ms-theme .msf .msf-shot:nth-child(2), body.ms-theme .msf .msf-shot:nth-child(2):hover { transform: none; }
}
/* ==========================================================================
   ABOUT ICAI page (about-ICAI.php)
   • Sirf  .msai  (is page ka <main>) ke andar; classes / keyframes "msai-" prefix.
   ========================================================================== */
.msai {
  --msai-ink: #1e1b4b;
  --msai-text: #4b5563;
  --msai-purple: #2a1770;
  --msai-violet: #725ce0;
  --msai-orange: #e9812c;
  --msai-line: #e7e3f4;
  --msai-soft: #f7f5ff;
  display: block; padding-bottom: 60px; color: var(--msai-text); background: #fff;
}

/* ---------- hero ---------- */
.msai .msai-hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  margin: 24px 0 0; padding: 64px 64px 92px; border-radius: 26px;
  background: linear-gradient(120deg, #141a3a 0%, #1f2458 50%, #2b2a78 100%);
  box-shadow: 0 22px 50px rgba(30, 27, 75, 0.2);
}
.msai .msai-hero-ring {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.msai .msai-hero-ring--1 { width: 520px; height: 520px; right: -120px; top: -170px; animation: msai-pulse 7s ease-in-out infinite; }
.msai .msai-hero-ring--2 { width: 760px; height: 760px; right: -240px; top: -290px; border-style: dashed; animation: msai-spin 60s linear infinite; }
@keyframes msai-pulse { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.05); opacity: 0.4; } }
@keyframes msai-spin { to { transform: rotate(360deg); } }
.msai .msai-hero-copy { position: relative; z-index: 1; max-width: 720px; }
.msai .msai-kicker {
  display: inline-block; margin-bottom: 14px; padding-left: 34px; position: relative;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #fcd2a8;
}
.msai .msai-kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 2px; background: var(--msai-orange); }
.msai .msai-hero-title { margin: 0 0 16px; font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; line-height: 1.12; color: #fff; }
.msai .msai-hero-title span { background: linear-gradient(90deg, #ffb27a, #e9812c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.msai .msai-hero-sub { margin: 0; font-size: 1.08rem; line-height: 1.7; text-align: left; color: #d5d8f0; }
.msai .msai-hero-seal {
  position: relative; z-index: 1; flex: 0 0 auto;
  display: grid; place-items: center; width: 210px; height: 210px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.08), 0 0 0 22px rgba(255, 255, 255, 0.04), 0 24px 50px rgba(0, 0, 0, 0.4);
  animation: msai-float 6s ease-in-out infinite;
}
.msai .msai-hero-seal img { width: 140px; height: 140px; object-fit: contain; }
.msai .msai-seal-year {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 6px 16px; border-radius: 999px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em;
  color: #fff; background: linear-gradient(90deg, #ed5b0e, #ff8c4f); box-shadow: 0 8px 18px rgba(237, 91, 14, 0.4);
}
@keyframes msai-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- facts strip ---------- */
.msai .msai-facts { position: relative; z-index: 2; margin-top: -48px; }
.msai .msai-facts-list {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none; overflow: hidden;
  border-radius: 22px; background: #fff; border: 1px solid var(--msai-line);
  box-shadow: 0 20px 46px rgba(42, 23, 112, 0.12);
}
.msai .msai-facts-list li { display: flex; flex-direction: column; align-items: center; padding: 22px 12px; text-align: center; transition: background 0.3s ease; }
.msai .msai-facts-list li + li { border-left: 1px solid var(--msai-line); }
.msai .msai-facts-list li:hover { background: var(--msai-soft); }
.msai .msai-facts-list strong { font-size: 2.2rem; font-weight: 800; line-height: 1; background: linear-gradient(180deg, #725ce0, #2a1770); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.msai .msai-facts-list span { margin-top: 8px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6b7280; }

/* ---------- common heads ---------- */
.msai .msai-sec { padding: 72px 0 0; }
.msai .msai-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.msai .msai-eyebrow {
  display: inline-block; margin-bottom: 12px; padding: 6px 15px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--msai-purple); background: var(--msai-soft); border: 1px solid #ddd6fe;
}
.msai .msai-title { margin: 0 0 10px; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.2; color: var(--msai-ink); }
.msai .msai-title span { background: linear-gradient(to right, #725ce0, #ac6af9, #291770); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.msai .msai-sub { margin: 0; font-size: 1.02rem; line-height: 1.7; text-align: center; }

/* ---------- overview ---------- */
.msai .msai-ov-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 44px; align-items: start; }
.msai .msai-ov-text p { margin: 0 0 16px; font-size: 1rem; line-height: 1.8; text-align: justify; color: var(--msai-text); }
.msai .msai-ov-text .msai-lead {
  position: relative; padding-left: 20px; font-size: 1.12rem; font-weight: 500; color: var(--msai-ink);
}
.msai .msai-ov-text .msai-lead::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, #725ce0, #e9812c); }

.msai .msai-council-card {
  position: relative; overflow: hidden;
  padding: 32px 30px; border-radius: 24px; color: #fff;
  background: linear-gradient(155deg, #291670 0%, #493d87 100%);
  box-shadow: 0 24px 50px rgba(42, 23, 112, 0.3);
}
.msai .msai-council-card::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 129, 44, 0.4), transparent 70%); pointer-events: none;
}
.msai .msai-cc-ico {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: 16px;
  font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, #ff9f5a, #e9812c);
}
.msai .msai-cc-title { position: relative; margin: 0 0 10px; font-size: 1.45rem; font-weight: 800; color: #fff; }
.msai .msai-cc-text, .msai .msai-cc-note { position: relative; margin: 0 0 18px; font-size: 0.92rem; line-height: 1.65; text-align: left; color: #d5d8f0; }
.msai .msai-cc-note { margin: 16px 0 20px; font-size: 0.85rem; color: #b9bde0; }
.msai .msai-cc-bar { display: flex; height: 14px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.12); }
.msai .msai-cc-elected { flex: 0 0 80%; background: linear-gradient(90deg, #ffb27a, #e9812c); animation: msai-grow 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; transform-origin: left; }
.msai .msai-cc-nominated { flex: 1 1 auto; background: #c9bff3; }
@keyframes msai-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.msai .msai-cc-legend { margin: 14px 0 0; padding: 0; list-style: none; }
.msai .msai-cc-legend li { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 0.9rem; color: #fff; }
.msai .msai-cc-legend b { font-size: 1.1rem; }
.msai .msai-dot { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 4px; }
.msai .msai-dot--e { background: #e9812c; }
.msai .msai-dot--n { background: #c9bff3; }
.msai .msai-cc-link {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 800; color: var(--msai-ink); background: #fff; text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.msai .msai-cc-link:hover { color: var(--msai-ink); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25); }
.msai .msai-cc-link i { transition: transform 0.25s ease; }
.msai .msai-cc-link:hover i { transform: translateX(4px); }

/* ---------- functions ---------- */
.msai .msai-fn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.msai .msai-fn {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px; min-height: 160px;
  padding: 22px 20px; border-radius: 18px;
  background: #fff; border: 1px solid var(--msai-line);
  box-shadow: 0 8px 22px rgba(42, 23, 112, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.msai .msai-fn::before {                                  /* hover par neeche se purple bharta hai */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(155deg, #291670, #493d87);
  transform: translateY(101%); transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.msai .msai-fn > * { position: relative; z-index: 1; }
.msai .msai-fn:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(42, 23, 112, 0.2); }
.msai .msai-fn:hover::before { transform: translateY(0); }
.msai .msai-fn-ico {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  font-size: 1.15rem; color: var(--msai-purple); background: var(--msai-soft);
  transition: background 0.35s ease, color 0.35s ease;
}
.msai .msai-fn:hover .msai-fn-ico { color: #fff; background: linear-gradient(135deg, #ff9f5a, #e9812c); }
.msai .msai-fn-text { font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--msai-ink); transition: color 0.35s ease; }
.msai .msai-fn:hover .msai-fn-text { color: #fff; }

/* ---------- network ---------- */
.msai .msai-network { position: relative; }
.msai .msai-net-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.msai .msai-net {
  --msai-acc: #725ce0;
  position: relative; overflow: hidden; text-align: center;
  padding: 30px 18px 26px; border-radius: 20px;
  background: #fff; border: 1px solid var(--msai-line);
  box-shadow: 0 10px 26px rgba(42, 23, 112, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.msai .msai-net::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--msai-acc); }
.msai .msai-net:hover { transform: translateY(-8px); border-color: var(--msai-acc); box-shadow: 0 22px 44px rgba(42, 23, 112, 0.14); }
.msai .msai-net--wirc { --msai-acc: #2563eb; }
.msai .msai-net--sirc { --msai-acc: #ed5b0e; }
.msai .msai-net--eirc { --msai-acc: #0d9488; }
.msai .msai-net--circ { --msai-acc: #7c3aed; }
.msai .msai-net--nirc { --msai-acc: #c08a1e; }
.msai .msai-net-code {
  display: inline-grid; place-items: center; width: 74px; height: 74px; margin-bottom: 16px; border-radius: 50%;
  font-size: 1rem; font-weight: 900; letter-spacing: 0.04em; color: #fff;
  background: var(--msai-acc);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--msai-acc) 15%, transparent), 0 10px 22px color-mix(in srgb, var(--msai-acc) 35%, transparent);
  transition: transform 0.4s ease;
}
.msai .msai-net:hover .msai-net-code { transform: rotate(-8deg) scale(1.06); }
.msai .msai-net-name { margin: 0 0 8px; font-size: 1rem; font-weight: 800; line-height: 1.35; color: var(--msai-ink); }
.msai .msai-net-city { margin: 0 0 12px; font-size: 0.92rem; font-weight: 700; text-align: center; color: var(--msai-acc); }
.msai .msai-net-city i { margin-right: 4px; }
.msai .msai-net-office { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; color: #6b7280; background: var(--msai-soft); }

.msai .msai-source { margin: 48px auto 0; text-align: center; font-size: 0.82rem; color: #9ca3af; }
.msai .msai-source a { color: var(--msai-violet); }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .msai .msai-fn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .msai .msai-net-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .msai .msai-hero { flex-direction: column-reverse; align-items: flex-start; padding: 44px 30px 84px; }
  .msai .msai-hero-seal { width: 150px; height: 150px; }
  .msai .msai-hero-seal img { width: 100px; height: 100px; }
  .msai .msai-ov-grid { grid-template-columns: minmax(0, 1fr); }
  .msai .msai-facts-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .msai .msai-facts-list li:nth-child(4) { border-left: 0; }
  .msai .msai-facts-list li:nth-child(n+4) { border-top: 1px solid var(--msai-line); }
}
@media (max-width: 575.98px) {
  .msai .msai-hero { padding: 36px 20px 76px; }
  .msai .msai-facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .msai .msai-facts-list li { border-left: 0 !important; border-top: 1px solid var(--msai-line); }
  .msai .msai-facts-list li:nth-child(even) { border-left: 1px solid var(--msai-line) !important; }
  .msai .msai-facts-list li:nth-child(-n+2) { border-top: 0; }
  .msai .msai-facts-list li:last-child { grid-column: span 2; }
  .msai .msai-fn-grid, .msai .msai-net-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .msai .msai-fn { min-height: 0; padding: 18px 14px; }
  .msai .msai-fn-text { font-size: 0.88rem; }
  .msai .msai-ov-text p { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .msai .msai-hero-ring, .msai .msai-hero-seal, .msai .msai-cc-elected { animation: none; }
}
/* ==========================================================================
   NAVBAR — lambe dropdown (jaise "Guidelines and Policies") me scroller
   • Sirf un dropdowns par jinke andar side-submenu nahi hai (warna submenu kat jaata).
   • Height screen ke hisaab se; patla scrollbar theme ke rang me.
   ========================================================================== */
.msh.msh.msh-nav .navbar-nav > .dropdown > .dropdown-menu:not(:has(.dropdown-submenu)) {
  max-height: min(420px, calc(100vh - 160px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(140, 185, 255, 0.55) transparent;
}
.msh.msh.msh-nav .navbar-nav > .dropdown > .dropdown-menu:not(:has(.dropdown-submenu))::-webkit-scrollbar { width: 6px; }
.msh.msh.msh-nav .navbar-nav > .dropdown > .dropdown-menu:not(:has(.dropdown-submenu))::-webkit-scrollbar-thumb { border-radius: 6px; background: rgba(140, 185, 255, 0.55); }
.msh.msh.msh-nav .navbar-nav > .dropdown > .dropdown-menu:not(:has(.dropdown-submenu))::-webkit-scrollbar-track { background: transparent; }
@media (min-width: 992px) and (hover: hover) {
  /* scroll wale menu me hover-bridge (::before) kat jaata hai, isliye gap hi hata do */
  .msh.msh.msh-nav .navbar-nav > .dropdown:hover > .dropdown-menu:not(:has(.dropdown-submenu)) { margin-top: 0; }
}
/* ---------- Do You Know: tab icons — har topic ka apna rang ---------- */
.msdk .msdk-tab-ico { font-size: 1.2rem; box-shadow: inset 0 0 0 1px rgba(42, 23, 112, 0.06); }
.msdk .msdk-tab:nth-child(1) .msdk-tab-ico { color: #e9812c; background: #fff3e8; }
.msdk .msdk-tab:nth-child(2) .msdk-tab-ico { color: #2563eb; background: #eaf1ff; }
.msdk .msdk-tab:nth-child(3) .msdk-tab-ico { color: #0d9488; background: #e6f7f5; }
.msdk .msdk-tab:nth-child(4) .msdk-tab-ico { color: #7c3aed; background: #f3edff; }
.msdk .msdk-tab:hover .msdk-tab-ico { transform: rotate(-8deg) scale(1.08); }
.msdk .msdk-tab-ico { transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease; }
.msdk .msdk-tab.is-active .msdk-tab-ico { color: #fff; background: linear-gradient(135deg, #ff9f5a, #e9812c); box-shadow: 0 8px 18px rgba(233, 129, 44, 0.35); }

/* ==========================================================================
   TERMS OF REFERENCE page (terms-of-reference.php) — banner + document sheet
   • Sirf  .mstr  ke andar; classes / keyframes "mstr-" prefix.
   ========================================================================== */
.mstr { --mstr-ink: #1e1b4b; --mstr-violet: #725ce0; --mstr-orange: #e9812c; --mstr-line: #ece9f6;
  display: block; padding-bottom: 90px; background: #fff; }
.mstr .mstr-hero {
  position: relative; overflow: hidden; margin-top: 24px; padding: 60px 20px 130px; border-radius: 26px; text-align: center;
  background: radial-gradient(circle at 15% 0%, rgba(172, 106, 249, 0.45), transparent 45%),
              radial-gradient(circle at 90% 100%, rgba(233, 129, 44, 0.35), transparent 40%),
              linear-gradient(120deg, #141a3a 0%, #1f2458 55%, #2b2a78 100%);
}
.mstr .mstr-hero::before { content: ""; position: absolute; inset: 0; opacity: 0.3; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 40%, #000, transparent 70%); }
.mstr .mstr-title { position: relative; margin: 0 0 12px; font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 800; color: #fff; text-align: center; }
.mstr .mstr-title span { background: linear-gradient(90deg, #ffb27a, #e9812c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.mstr .mstr-sub { position: relative; display: inline-flex; align-items: center; gap: 14px; margin: 0; font-size: 1.1rem; font-weight: 600; color: #d5d8f0; }
.mstr .mstr-sub::before, .mstr .mstr-sub::after { content: ""; width: 36px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #e9812c); }
.mstr .mstr-sub::after { transform: scaleX(-1); }

/* document sheet — banner ke upar chadhi hui */
.mstr .mstr-sheet {
  position: relative; z-index: 1; max-width: 1120px; margin: -90px auto 0; padding: 46px 48px 40px;
  background: #fff; border-radius: 26px; border: 1px solid var(--mstr-line);
  box-shadow: 0 30px 70px rgba(30, 27, 75, 0.14);
}
.mstr .mstr-sheet::before {                                 /* upar gradient patti */
  content: ""; position: absolute; left: 48px; right: 48px; top: 0; height: 4px; border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, #291770, #725ce0, #ac6af9, #e9812c);
}
.mstr .mstr-list { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 56px; column-rule: 1px solid var(--mstr-line); }
.mstr .mstr-item {
  position: relative; break-inside: avoid; margin: 0 0 4px; padding: 14px 14px 14px 34px; border-radius: 12px;
  font-size: 1rem; font-weight: 500; line-height: 1.6; color: #374151; text-align: left;
  transition: background 0.3s ease, color 0.3s ease;
}
.mstr .mstr-item::before {
  content: ""; position: absolute; left: 10px; top: 23px; width: 9px; height: 9px; border-radius: 2px;
  background: linear-gradient(135deg, #725ce0, #ac6af9); transform: rotate(45deg); transition: background 0.3s ease, transform 0.3s ease;
}
.mstr .mstr-item:hover {                                            /* hover: dark blue (theme jaisa) */
  color: #fff; background: linear-gradient(120deg, #141a3a 0%, #1f2458 55%, #2b2a78 100%);
  box-shadow: 0 10px 24px rgba(20, 26, 58, 0.25);
}
.mstr .mstr-item:hover::before { background: var(--mstr-orange); transform: rotate(225deg) scale(1.2); }

@media (max-width: 991.98px) {
  .mstr .mstr-list { columns: 1; }
  .mstr .mstr-sheet { padding: 36px 28px 28px; }
  .mstr .mstr-sheet::before { left: 28px; right: 28px; }
}
@media (max-width: 575.98px) {
  .mstr .mstr-hero { padding: 44px 18px 110px; }
  .mstr .mstr-sub { display: block; text-align: center; font-size: 1rem; }
  .mstr .mstr-sub::before, .mstr .mstr-sub::after { display: none; }
  .mstr .mstr-sheet { margin-top: -76px; padding: 28px 14px 18px; border-radius: 20px; }
  .mstr .mstr-item { padding: 12px 10px 12px 30px; font-size: 0.95rem; }
  .mstr .mstr-item::before { left: 8px; top: 21px; }
}

/* ==========================================================================
   ICAI COMMITTEES page (ICAI-committees.php) — banner + floating tabs + cards
   • Sirf  .msic  ke andar; classes / keyframes "msic-" prefix.
   • Tabs Bootstrap 5 pills se chalte hain (data-bs-toggle="pill").
   ========================================================================== */
.msic {
  --msic-ink: #1e1b4b; --msic-purple: #2a1770; --msic-violet: #725ce0;
  --msic-orange: #e9812c; --msic-line: #e7e3f4; --msic-soft: #f7f5ff;
  display: block; padding-bottom: 90px; background: #fff;
}

/* ---------- banner ---------- */
.msic .msic-hero {
  position: relative; overflow: hidden; margin-top: 24px; padding: 70px 20px 110px; border-radius: 26px; text-align: center;
  background: radial-gradient(circle at 12% 0%, rgba(172, 106, 249, 0.45), transparent 42%),
              radial-gradient(circle at 92% 100%, rgba(233, 129, 44, 0.32), transparent 40%),
              linear-gradient(120deg, #141a3a 0%, #1f2458 55%, #2b2a78 100%);
}
.msic .msic-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.3;
  background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 40%, #000, transparent 70%);
}
.msic .msic-hero-orbit {                                   /* ghoomte ring + dot (sajavat) */
  position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -300px 0 0 -260px;
  border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.14); animation: msic-spin 40s linear infinite; pointer-events: none;
}
.msic .msic-hero-orbit i { position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: var(--msic-orange); box-shadow: 0 0 16px rgba(233, 129, 44, 0.9); }
.msic .msic-hero-orbit--2 { width: 340px; height: 340px; margin: -210px 0 0 -170px; border-style: solid; border-color: rgba(255, 255, 255, 0.1); animation-duration: 26s; animation-direction: reverse; }
.msic .msic-hero-orbit--2 i { background: #ac6af9; box-shadow: 0 0 16px rgba(172, 106, 249, 0.9); width: 9px; height: 9px; }
@keyframes msic-spin { to { transform: rotate(360deg); } }
.msic .msic-title { position: relative; margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; color: #fff; text-align: center; }
.msic .msic-title span { background: linear-gradient(90deg, #ffb27a, #e9812c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---------- tabs (banner ke upar tairte hue) ---------- */
.msic .msic-tabs {
  position: relative; z-index: 2; display: flex; flex-wrap: nowrap; gap: 8px;
  margin: -46px auto 0; padding: 10px; max-width: 1080px;
  background: #fff; border: 1px solid var(--msic-line); border-radius: 20px;
  box-shadow: 0 22px 50px rgba(30, 27, 75, 0.14);
}
.msic .msic-tab {
  position: relative; flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 0; padding: 12px 14px; border: 0; border-radius: 14px; background: transparent;
  font-size: 0.98rem; font-weight: 700; line-height: 1.25; color: #4b5563; cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.msic .msic-tab-ico {
  flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
  font-size: 0.9rem; color: var(--msic-violet); background: var(--msic-soft);
  transition: background 0.3s ease, color 0.3s ease, transform 0.4s ease;
}
.msic .msic-tab-label { text-align: left; }
.msic .msic-tab:hover { color: var(--msic-purple); background: var(--msic-soft); }
.msic .msic-tab:hover .msic-tab-ico { transform: rotate(-10deg) scale(1.06); }
.msic .msic-tab:focus-visible { outline: 2px solid var(--msic-violet); outline-offset: 2px; }
.msic .msic-tab.active {
  color: #fff; background: linear-gradient(120deg, #291670, #493d87 55%, #725ce0);
  box-shadow: 0 12px 26px rgba(42, 23, 112, 0.3);
}
.msic .msic-tab.active .msic-tab-ico { color: #fff; background: linear-gradient(135deg, #ff9f5a, #e9812c); box-shadow: 0 6px 14px rgba(233, 129, 44, 0.45); }
.msic .msic-tab.active::after {                             /* neeche chhota teer */
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px;
  background: #725ce0; transform: rotate(45deg); border-radius: 2px;
}

/* ---------- panes ---------- */
.msic .msic-panes { padding-top: 48px; }
.msic .msic-pane.active { animation: msic-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes msic-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* committee cards */
.msic .msic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.msic .msic-grid > li { display: flex; }
.msic .msic-card {
  position: relative; overflow: hidden; flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 84px; padding: 18px 18px 18px 26px; border-radius: 16px; text-decoration: none;
  background: #fff; border: 1px solid var(--msic-line); box-shadow: 0 6px 18px rgba(42, 23, 112, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  isolation: isolate;
}
.msic .msic-card::before {                                  /* left gradient patti — hover par poora card bhar deti hai */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; z-index: -1;
  background: linear-gradient(160deg, #291670, #493d87 60%, #725ce0);
  transition: width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.msic .msic-card::after {                                   /* kone ka soft glow */
  content: ""; position: absolute; right: -40px; top: -40px; width: 110px; height: 110px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(233, 129, 44, 0.35), transparent 70%); opacity: 0; transition: opacity 0.4s ease;
}
.msic .msic-card-name { font-size: 1rem; font-weight: 700; line-height: 1.45; color: var(--msic-ink); transition: color 0.3s ease; }
.msic .msic-card-go {
  flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font-size: 0.8rem; color: var(--msic-violet); background: var(--msic-soft);
  transition: background 0.3s ease, color 0.3s ease, transform 0.4s ease;
}
.msic .msic-card:hover, .msic .msic-card:focus-visible {
  transform: translateY(-4px); border-color: transparent; box-shadow: 0 18px 36px rgba(42, 23, 112, 0.2); outline: none;
}
.msic .msic-card:hover::before, .msic .msic-card:focus-visible::before { width: 100%; }
.msic .msic-card:hover::after, .msic .msic-card:focus-visible::after { opacity: 1; }
.msic .msic-card:hover .msic-card-name, .msic .msic-card:focus-visible .msic-card-name { color: #fff; }
.msic .msic-card:hover .msic-card-go, .msic .msic-card:focus-visible .msic-card-go { color: #fff; background: var(--msic-orange); transform: rotate(-45deg); }

/* Standing / Others jaise chhote tab — bade cards */
.msic .msic-grid--few { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1080px; margin: 0 auto; }
.msic .msic-grid--few .msic-card { min-height: 130px; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 24px; }
.msic .msic-grid--few .msic-card-name { font-size: 1.15rem; }
.msic .msic-grid--few:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }

/* ---------- Secretary to the Committee ---------- */
.msic .msic-sec-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.msic .msic-sec-jump a {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--msic-line); background: var(--msic-soft);
  font-size: 0.9rem; font-weight: 700; color: var(--msic-purple); text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.msic .msic-sec-jump a:hover { color: #fff; background: var(--msic-violet); border-color: var(--msic-violet); }
.msic .msic-sec-group { margin-bottom: 36px; scroll-margin-top: 120px; }
.msic .msic-sec-title {
  display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: 1.3rem; font-weight: 800; color: var(--msic-ink); text-align: left;
}
.msic .msic-sec-title::before { content: ""; width: 6px; height: 26px; border-radius: 4px; background: linear-gradient(180deg, #725ce0, #e9812c); }
.msic .msic-sec-title::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--msic-line); }
.msic .msic-table { overflow: hidden; border: 1px solid var(--msic-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(42, 23, 112, 0.06); }
.msic .msic-tr {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: center;
  padding: 14px 24px; border-top: 1px solid var(--msic-line); transition: background 0.25s ease;
}
.msic .msic-tr:nth-child(odd):not(.msic-tr--head) { background: #fcfbff; }
.msic .msic-tr:not(.msic-tr--head):hover { background: var(--msic-soft); }
.msic .msic-tr--head {
  border-top: 0; padding: 14px 24px; color: #fff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: linear-gradient(120deg, #141a3a, #2b2a78);
}
.msic .msic-td-name { font-size: 0.98rem; font-weight: 600; line-height: 1.5; color: var(--msic-ink); text-align: left; }
.msic .msic-td-sec { position: relative; padding-left: 20px; font-size: 0.96rem; font-weight: 500; line-height: 1.5; color: #4b5563; text-align: left; }
.msic .msic-td-sec:not(:empty)::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, #ff9f5a, #e9812c); box-shadow: 0 0 0 3px #fff3e8;
}

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .msic .msic-tab { flex-direction: column; gap: 6px; padding: 12px 8px; font-size: 0.88rem; }
  .msic .msic-tab-label { text-align: center; }
}
@media (max-width: 991.98px) {
  .msic .msic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .msic .msic-grid--few { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .msic .msic-hero { padding: 54px 18px 96px; }
  .msic .msic-hero-orbit { width: 360px; height: 360px; margin: -200px 0 0 -180px; }
  .msic .msic-hero-orbit--2 { width: 230px; height: 230px; margin: -135px 0 0 -115px; }
  /* tabs: side-scroll */
  .msic .msic-tabs { margin-top: -40px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scroll-padding-inline: 10px; }
  .msic .msic-tabs::-webkit-scrollbar { display: none; }
  .msic .msic-tab { flex: 0 0 auto; flex-direction: row; padding: 10px 14px; scroll-snap-align: start; white-space: nowrap; }
  .msic .msic-tab-ico { width: 30px; height: 30px; font-size: 0.8rem; }
  .msic .msic-tab.active::after { display: none; }
  .msic .msic-panes { padding-top: 30px; }
  .msic .msic-grid, .msic .msic-grid--few, .msic .msic-grid--few:has(> li:nth-child(2):last-child) { grid-template-columns: 1fr; gap: 12px; }
  .msic .msic-grid--few .msic-card { min-height: 0; flex-direction: row; align-items: center; padding: 18px 18px 18px 24px; }
  .msic .msic-grid--few .msic-card-name { font-size: 1rem; }
  .msic .msic-tr { grid-template-columns: 1fr; gap: 6px; padding: 14px 18px; }
  .msic .msic-tr--head { display: none; }
  .msic .msic-sec-title { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .msic .msic-hero-orbit, .msic .msic-pane.active { animation: none; }
}

/* ==========================================================================
   HERO — "Welcome to CA Setu" typing line (index-re-design.php)
   • Sirf  body.ms-theme .ms-hero-welcome  ke andar; classes "ms-welcome-" prefix.
   • Typing JS index-re-design.php ke end me (inline) hai.
   ========================================================================== */
body.ms-theme .ms-hero-welcome { display: flex; justify-content: center; margin-bottom: 2px; }
body.ms-theme .ms-hero-welcome .ms-welcome-pill {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 10px 24px 10px 18px; border-radius: 999px;
  font-size: clamp(1.05rem, 2vw, 1.4rem); font-weight: 700; letter-spacing: 0.01em; line-height: 1.2;
  color: #fff;
  background: linear-gradient(120deg, rgba(10, 24, 52, 0.75), rgba(18, 40, 84, 0.55));
  border: 1px solid rgba(140, 185, 255, 0.34);
  box-shadow: 0 0 0 6px rgba(110, 168, 255, 0.06), 0 14px 40px rgba(4, 12, 34, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%);
  animation: ms-welcome-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
/* chalti hui gradient border (ghoomti roshni) */
body.ms-theme .ms-hero-welcome .ms-welcome-pill::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ms-welcome-a, 0deg), transparent 0 70%, #5ee1f5 80%, #ffa45c 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: ms-welcome-spin 4s linear infinite;
}
@property --ms-welcome-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ms-welcome-spin { to { --ms-welcome-a: 360deg; } }
/* text pura type hone par ek chamak guzarti hai */
body.ms-theme .ms-hero-welcome .ms-welcome-pill::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg); opacity: 0;
}
body.ms-theme .ms-hero-welcome .ms-welcome-pill.is-done::after { animation: ms-welcome-shine 1.1s ease 0.15s both; }
@keyframes ms-welcome-shine { 0% { left: -40%; opacity: 1; } 100% { left: 120%; opacity: 1; } }
@keyframes ms-welcome-in { from { opacity: 0; transform: translateY(-10px) scale(0.96); } to { opacity: 1; transform: none; } }

body.ms-theme .ms-hero-welcome .ms-welcome-dot {
  flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%;
  background: #5ee1f5; animation: ms-hero-pulse 2s infinite;
}
body.ms-theme .ms-hero-welcome .ms-welcome-type { white-space: pre; }
body.ms-theme .ms-hero-welcome .ms-welcome-a { color: #e8eefb; }
body.ms-theme .ms-hero-welcome .ms-welcome-b {
  background: linear-gradient(90deg, #ffb26b, #ff8a4c 50%, #ffcf8a); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: ms-welcome-flow 3s linear infinite;
}
@keyframes ms-welcome-flow { to { background-position: -200% 0; } }

/* blink karta cursor */
body.ms-theme .ms-hero-welcome .ms-welcome-caret {
  flex: 0 0 auto; width: 3px; height: 1.15em; margin-left: -9px; border-radius: 2px;
  background: linear-gradient(180deg, #5ee1f5, #6ea8ff);
  box-shadow: 0 0 10px rgba(94, 225, 245, 0.8);
  animation: ms-welcome-blink 0.9s steps(1) infinite;
}
body.ms-theme .ms-hero-welcome .ms-welcome-pill:not(.is-typing) .ms-welcome-caret { display: none; }  /* JS na chale to cursor nahi */
@keyframes ms-welcome-blink { 50% { opacity: 0; } }

@media (max-width: 575.98px) {
  body.ms-theme .ms-hero-welcome .ms-welcome-pill { min-height: 44px; padding: 8px 18px 8px 14px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .ms-hero-welcome .ms-welcome-pill,
  body.ms-theme .ms-hero-welcome .ms-welcome-pill::before,
  body.ms-theme .ms-hero-welcome .ms-welcome-b,
  body.ms-theme .ms-hero-welcome .ms-welcome-dot { animation: none; }
}

/* ==========================================================================
   DO YOU KNOW? — home section (index-re-design.php, "Let's Talk" ki jagah)
   • Left: eyebrow + title + Read More.  Right: 4 creatives ka pankha (fan)
     — hover par card seedha ho kar aage aata hai.
   • Sirf  body.ms-theme .msdh  ke andar; classes / keyframes "msdh-" prefix.
   ========================================================================== */
body.ms-theme .msdh { position: relative; padding: 90px 0 110px; background: transparent; }
body.ms-theme .msdh::before {                                  /* upar gold foil line */
  content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 214, 163, 0.6), transparent);
}
body.ms-theme .msdh .msdh-wrap {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center;
  padding: 56px 56px; border-radius: 30px;
  background: linear-gradient(150deg, rgba(14, 32, 72, 0.78), rgba(6, 17, 38, 0.86));
  border: 1px solid rgba(236, 214, 163, 0.28);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%);
}
body.ms-theme .msdh .msdh-wrap::after {                       /* bada "?" watermark */
  content: "?"; position: absolute; left: 30px; bottom: -40px; pointer-events: none;
  font-size: 15rem; font-weight: 800; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(236, 214, 163, 0.12);
}

/* ---------- copy ---------- */
body.ms-theme .msdh .msdh-copy { position: relative; z-index: 1; }
body.ms-theme .msdh .msdh-eyebrow {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; padding: 6px 15px;
  border-radius: 999px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #f3e4c1;
  background-color: #12275a;
  background-image: linear-gradient(110deg, transparent 30%, rgba(255, 240, 205, 0.38) 50%, transparent 70%),
                    linear-gradient(135deg, #0d1d45 0%, #1c3a80 50%, #0d1d45 100%);
  background-size: 260% 100%, 100% 100%; background-repeat: no-repeat;
  border: 1px solid rgba(236, 214, 163, 0.55);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  animation: msdh-pill-shine 4s ease-in-out infinite;
}
@keyframes msdh-pill-shine { 0%, 35% { background-position: 140% 0, 0 0; } 75%, 100% { background-position: -40% 0, 0 0; } }
body.ms-theme .msdh .msdh-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle, #fff6df 0 30%, #e0b968 60%);
  animation: msdh-dot 1.8s ease-out infinite;
}
@keyframes msdh-dot { 0% { box-shadow: 0 0 0 0 rgba(236, 214, 163, 0.75); } 80%, 100% { box-shadow: 0 0 0 9px rgba(236, 214, 163, 0); } }
body.ms-theme .msdh .msdh-title {
  margin: 0 0 16px; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em;
  text-align: left; color: #fff;
}
body.ms-theme .msdh .msdh-title-grad {
  background-image: linear-gradient(100deg, #fff6df 0%, #ecd6a3 40%, #c9a35a 70%, #f5e3b5 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
body.ms-theme .msdh .msdh-sub { max-width: 400px; margin: 0 0 30px; font-size: 1.02rem; line-height: 1.7; text-align: left; color: #b4c2e0; }
body.ms-theme .msdh .msdh-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 999px;
  font-size: 0.98rem; font-weight: 700; text-decoration: none; color: #13203f;
  background-image: linear-gradient(135deg, #f3e2b8, #c9a35a); box-shadow: 0 14px 32px rgba(201, 163, 90, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
body.ms-theme .msdh .msdh-btn i { font-size: 0.8em; transition: transform 0.3s ease; }
body.ms-theme .msdh .msdh-btn:hover, body.ms-theme .msdh .msdh-btn:focus-visible {
  color: #13203f; transform: translateY(-3px); filter: brightness(1.05); box-shadow: 0 18px 40px rgba(201, 163, 90, 0.5);
}
body.ms-theme .msdh .msdh-btn:hover i { transform: translateX(4px); }

/* ---------- 4 creatives ka pankha ---------- */
body.ms-theme .msdh .msdh-deck {
  position: relative; display: flex; justify-content: center; align-items: center;
  min-height: 380px; padding: 20px 0 10px 8%;
}
body.ms-theme .msdh .msdh-glow {
  position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(236, 214, 163, 0.28), rgba(110, 168, 255, 0.08) 45%, transparent 70%);
  animation: msdh-breathe 5s ease-in-out infinite;
}
@keyframes msdh-breathe { 0%, 100% { transform: scale(0.92); opacity: 0.8; } 50% { transform: scale(1.06); opacity: 1; } }
body.ms-theme .msdh .msdh-bulb {
  position: absolute; right: 2%; top: -6px; z-index: 6; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  font-size: 1.3rem; color: #13203f; background: linear-gradient(135deg, #fff2c9, #e0b968);
  box-shadow: 0 0 0 8px rgba(236, 214, 163, 0.12), 0 0 30px rgba(236, 214, 163, 0.6);
  animation: msdh-bob 3.6s ease-in-out infinite;
}
@keyframes msdh-bob { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-8px) rotate(8deg); } }

body.ms-theme .msdh .msdh-card {
  --r: 0deg; --y: 0px;
  position: relative; display: block; flex: 0 0 30%; margin-left: -8%;
  padding: 7px; border-radius: 18px; text-decoration: none;
  background: linear-gradient(160deg, #fffdf7 0%, #faf3e3 55%, #f2e6cc 100%);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(236, 214, 163, 0.45);
  transform: translateY(var(--y)) rotate(var(--r));
  transform-origin: 50% 100%;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease, z-index 0s 0.1s;
  animation: msdh-deal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
body.ms-theme .msdh .msdh-card img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
  border-radius: 12px; background: #f3e9d4;
}
body.ms-theme .msdh .msdh-card--1 { --r: -12deg; --y: 26px; z-index: 1; animation-delay: 0.05s; }
body.ms-theme .msdh .msdh-card--2 { --r: -4deg;  --y: 0px;  z-index: 2; animation-delay: 0.15s; }
body.ms-theme .msdh .msdh-card--3 { --r: 4deg;   --y: 0px;  z-index: 3; animation-delay: 0.25s; }
body.ms-theme .msdh .msdh-card--4 { --r: 12deg;  --y: 26px; z-index: 4; animation-delay: 0.35s; }
@keyframes msdh-deal { from { opacity: 0; transform: translateY(60px) rotate(0deg) scale(0.9); } }

/* hover: baaki cards thoda peeche, hover wala seedha aur aage */
body.ms-theme .msdh .msdh-deck:hover .msdh-card { filter: saturate(0.85) brightness(0.85); }
body.ms-theme .msdh .msdh-card:hover,
body.ms-theme .msdh .msdh-card:focus-visible {
  z-index: 10; filter: none !important; outline: none;
  transform: translateY(-22px) rotate(0deg) scale(1.12);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.6), 0 0 0 2px #ecd6a3, 0 0 40px rgba(236, 214, 163, 0.45);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease, z-index 0s;
}
body.ms-theme .msdh .msdh-card { transition-property: transform, box-shadow, filter, z-index; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  body.ms-theme .msdh .msdh-wrap { grid-template-columns: 1fr; gap: 30px; padding: 44px 32px; text-align: center; }
  body.ms-theme .msdh .msdh-title, body.ms-theme .msdh .msdh-sub { text-align: center; }
  body.ms-theme .msdh .msdh-sub { margin-left: auto; margin-right: auto; }
  body.ms-theme .msdh .msdh-copy { order: 2; }
  body.ms-theme .msdh .msdh-deck { order: 1; min-height: 0; padding: 30px 0 20px 8%; }
}
@media (max-width: 575.98px) {
  body.ms-theme .msdh { padding: 60px 0 80px; }
  body.ms-theme .msdh .msdh-wrap { padding: 32px 18px 36px; border-radius: 24px; }
  body.ms-theme .msdh .msdh-wrap::after { font-size: 9rem; }
  body.ms-theme .msdh .msdh-deck { padding: 26px 0 10px 10%; }
  body.ms-theme .msdh .msdh-card { flex-basis: 33%; margin-left: -10%; padding: 4px; border-radius: 12px; }
  body.ms-theme .msdh .msdh-card img { border-radius: 9px; }
  body.ms-theme .msdh .msdh-card--1, body.ms-theme .msdh .msdh-card--4 { --y: 16px; }
  body.ms-theme .msdh .msdh-bulb { width: 42px; height: 42px; font-size: 1rem; top: -4px; }
  body.ms-theme .msdh .msdh-glow { width: 280px; height: 280px; margin: -140px 0 0 -140px; }
  body.ms-theme .msdh .msdh-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  body.ms-theme .msdh .msdh-eyebrow, body.ms-theme .msdh .msdh-eyebrow-dot, body.ms-theme .msdh .msdh-glow,
  body.ms-theme .msdh .msdh-bulb, body.ms-theme .msdh .msdh-card { animation: none; }
}

/* ==========================================================================
   GET STARTED page (get-starrted.php) — banner + flip boxes + access picker
   + login path + closing line.
   • Sirf  .msgs  ke andar (progress bar / top button bhi "msgs-" classes).
   • Andar ke pages jaisa light design (purana header/footer).
   ========================================================================== */
.msgs-progress {
  position: fixed; top: 0; left: 0; z-index: 9999; width: 0; height: 4px;
  background: linear-gradient(90deg, #725ce0, #e9812c); transition: width 0.1s ease;
}
.msgs-top {
  position: fixed; right: 30px; bottom: 100px; z-index: 9998; width: 48px; height: 48px; border: 0; border-radius: 50%;
  color: #fff; background: linear-gradient(135deg, #291670, #725ce0); box-shadow: 0 10px 24px rgba(42, 23, 112, 0.35);
  opacity: 0; visibility: hidden; cursor: pointer; transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.msgs-top.show { opacity: 1; visibility: visible; }
.msgs-top:hover { transform: translateY(-4px); }

.msgs {
  --msgs-ink: #1e1b4b; --msgs-text: #4b5563; --msgs-purple: #2a1770; --msgs-violet: #725ce0;
  --msgs-orange: #e9812c; --msgs-line: #e7e3f4; --msgs-soft: #f7f5ff;
  display: block; padding-bottom: 80px; color: var(--msgs-text); background: #fff; overflow-x: hidden;
}

/* ---------- banner ---------- */
.msgs .msgs-hero {
  position: relative; overflow: hidden; margin-top: 24px; padding: 76px 20px; border-radius: 26px; text-align: center;
  background: radial-gradient(circle at 12% 0%, rgba(172, 106, 249, 0.45), transparent 42%),
              radial-gradient(circle at 92% 100%, rgba(233, 129, 44, 0.32), transparent 40%),
              linear-gradient(120deg, #141a3a 0%, #1f2458 55%, #2b2a78 100%);
}
.msgs .msgs-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.3; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
}
/* chalta hua raasta (dashed line + dot) — "journey" feel */
.msgs .msgs-hero-path { position: absolute; left: 6%; right: 6%; bottom: 34px; height: 2px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.28) 0 10px, transparent 10px 20px); }
.msgs .msgs-hero-path i { position: absolute; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: #2b2a78; border: 2px solid rgba(255,255,255,0.5); }
.msgs .msgs-hero-path i:nth-child(1) { left: 0; } .msgs .msgs-hero-path i:nth-child(2) { left: 33%; }
.msgs .msgs-hero-path i:nth-child(3) { left: 66%; } .msgs .msgs-hero-path i:nth-child(4) { right: 0; }
.msgs .msgs-hero-path::after {
  content: ""; position: absolute; top: -6px; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: #e9812c; box-shadow: 0 0 16px rgba(233, 129, 44, 0.9); animation: msgs-walk 7s ease-in-out infinite;
}
@keyframes msgs-walk { 0% { left: 0; } 50% { left: calc(100% - 14px); } 100% { left: 0; } }
.msgs .msgs-hero-title { position: relative; margin: 0; font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; color: #fff; text-align: center; }
.msgs .msgs-hero-title span { background: linear-gradient(90deg, #ffb27a, #e9812c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---------- section heads ---------- */
.msgs .msgs-sec { padding-top: 76px; }
.msgs .msgs-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.msgs .msgs-title { margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.2; color: var(--msgs-ink); text-align: center; }
.msgs .msgs-title span { background: linear-gradient(to right, #725ce0, #ac6af9, #291770); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.msgs .msgs-title::after { content: ""; display: block; width: 64px; height: 4px; margin: 16px auto 0; border-radius: 4px; background: linear-gradient(90deg, #725ce0, #e9812c); }
.msgs .msgs-sub { margin: 16px 0 0; font-size: 1.05rem; line-height: 1.7; text-align: center; color: var(--msgs-text); }

/* ---------- flip boxes ---------- */
.msgs .msgs-flips { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.msgs .msgs-flip {
  flex: 0 0 calc((100% - 66px) / 4); height: 300px; perspective: 1200px; cursor: pointer; outline: none; border-radius: 22px;
}
.msgs .msgs-flip:focus-visible { box-shadow: 0 0 0 3px #725ce0; }
.msgs .msgs-flip-inner {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.3, 0.8, 0.25, 1);
}
@media (hover: hover) {
  .msgs .msgs-flip:hover .msgs-flip-inner { transform: rotateY(180deg); }
}
.msgs .msgs-flip:focus-visible .msgs-flip-inner,
.msgs .msgs-flip.is-flipped .msgs-flip-inner { transform: rotateY(180deg); }
.msgs .msgs-flip-front, .msgs .msgs-flip-back {
  position: absolute; inset: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 22px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 16px 36px rgba(30, 27, 75, 0.16);
}
/* front: image + gradient + title */
.msgs .msgs-flip-front {
  justify-content: flex-end; padding: 24px;
  background: linear-gradient(135deg, #2b2a78, #725ce0);          /* image na mile to ye dikhega */
}
.msgs .msgs-flip-img {                                           /* background image */
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s ease;
}
.msgs .msgs-flip-front::after {                                 /* image ke upar navy parda — text saaf padhe */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 26, 58, 0.1) 0%, rgba(20, 26, 58, 0.55) 45%, rgba(20, 26, 58, 0.95) 100%);
}
.msgs .msgs-flip-front > :not(.msgs-flip-img) { z-index: 1; }
.msgs .msgs-flip:hover .msgs-flip-img { transform: scale(1.08); }
.msgs .msgs-flip-front::before {                               /* chamak jo hover se pehle guzarti hai */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  z-index: 2; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent); transform: skewX(-18deg);
  animation: msgs-sheen 6s ease-in-out infinite;
}
.msgs .msgs-flip:nth-child(2n) .msgs-flip-front::before { animation-delay: 1.5s; }
.msgs .msgs-flip:nth-child(3n) .msgs-flip-front::before { animation-delay: 3s; }
@keyframes msgs-sheen { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.msgs .msgs-flip-ico {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px;
  font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, #ff9f5a, #e9812c); box-shadow: 0 10px 22px rgba(233, 129, 44, 0.4);
}
.msgs .msgs-flip-title { position: relative; margin: 0; font-size: 1.2rem; font-weight: 800; line-height: 1.35; color: #fff; text-align: left; }
.msgs .msgs-flip-hint {
  position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font-size: 0.8rem; color: #fff; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: msgs-spin 6s linear infinite;
}
@keyframes msgs-spin { to { transform: rotate(360deg); } }
/* back: description */
.msgs .msgs-flip-back {
  justify-content: center; padding: 28px 26px; transform: rotateY(180deg);
  background: radial-gradient(circle at 100% 0%, rgba(233, 129, 44, 0.35), transparent 45%),
              linear-gradient(150deg, #291670 0%, #493d87 60%, #725ce0 100%);
}
.msgs .msgs-flip-back::after {                                 /* kone ki rings */
  content: ""; position: absolute; right: -50px; bottom: -50px; width: 150px; height: 150px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.04);
}
.msgs .msgs-flip-back .msgs-flip-ico { width: 40px; height: 40px; font-size: 0.95rem; margin-bottom: 12px; }
.msgs .msgs-flip-back-title { position: relative; margin: 0 0 10px; font-size: 1rem; font-weight: 800; line-height: 1.35; color: #ffcf9e; text-align: left; }
.msgs .msgs-flip-text { position: relative; margin: 0; font-size: 0.98rem; line-height: 1.65; color: #eef0ff; text-align: left; }

/* ---------- access picker ---------- */
.msgs .msgs-access { position: relative; }
.msgs .msgs-access::before {                                    /* halka lavender patta peeche */
  content: ""; position: absolute; left: 0; right: 0; top: 40px; bottom: -40px; z-index: -1;
  background: linear-gradient(180deg, transparent, #f7f5ff 18%, #f7f5ff 82%, transparent);
}
.msgs .msgs-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.msgs .msgs-pick {
  position: relative; overflow: hidden; display: flex; flex-direction: row; align-items: center; gap: 14px;
  padding: 20px 18px; border: 1px solid var(--msgs-line); border-radius: 20px; background: #fff; text-align: left; cursor: pointer;
  box-shadow: 0 8px 20px rgba(42, 23, 112, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.msgs .msgs-pick-ico {
  flex: 0 0 auto; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; font-size: 1.15rem;
  color: var(--msgs-violet); background: var(--msgs-soft); transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.msgs .msgs-pick-name { position: relative; font-size: 1.08rem; font-weight: 800; line-height: 1.3; color: var(--msgs-ink); text-align: left; transition: color 0.35s ease; }
.msgs .msgs-pick:hover { transform: translateY(-4px); border-color: #cfc5f5; box-shadow: 0 16px 32px rgba(42, 23, 112, 0.12); }
.msgs .msgs-pick:hover .msgs-pick-ico { transform: rotate(-8deg); }
.msgs .msgs-pick:focus-visible { outline: 2px solid var(--msgs-violet); outline-offset: 3px; }
.msgs .msgs-pick.active {
  border-color: transparent; background: linear-gradient(140deg, #291670, #493d87 60%, #725ce0);
  box-shadow: 0 18px 36px rgba(42, 23, 112, 0.3); transform: translateY(-4px);
}
.msgs .msgs-pick.active .msgs-pick-name { color: #fff; }
.msgs .msgs-pick.active .msgs-pick-ico { color: #fff; background: linear-gradient(135deg, #ff9f5a, #e9812c); }
.msgs .msgs-pick.active::after {                                /* neeche teer */
  content: ""; position: absolute; left: 50%; bottom: 0; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px 4px 0 0; background: #e9812c;
}

.msgs .msgs-pane.active { animation: msgs-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes msgs-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.msgs .msgs-panel {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden;
  border-radius: 26px; background: #fff; border: 1px solid var(--msgs-line); box-shadow: 0 22px 50px rgba(42, 23, 112, 0.1);
}
.msgs .msgs-panel-side {
  position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 40px 36px; color: #fff;
  background: radial-gradient(circle at 100% 0%, rgba(172, 106, 249, 0.45), transparent 50%),
              linear-gradient(160deg, #141a3a 0%, #1f2458 55%, #2b2a78 100%);
}
.msgs .msgs-panel-side::before {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.15); animation: msgs-spin 40s linear infinite;
}
.msgs .msgs-panel-tag {
  align-self: flex-start; margin-bottom: 16px; padding: 6px 14px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #ffcf9e;
  background: rgba(233, 129, 44, 0.14); border: 1px solid rgba(233, 129, 44, 0.45);
}
.msgs .msgs-panel-title { margin: 0 0 14px; font-size: 1.55rem; font-weight: 800; line-height: 1.3; color: #fff; text-align: left; }
.msgs .msgs-panel-for { margin: 0 0 26px; font-size: 1rem; line-height: 1.7; color: #d5d8f0; text-align: left; }
.msgs .msgs-after {
  position: relative; margin-top: auto; padding: 18px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
}
.msgs .msgs-after-head { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #ffb27a; }
.msgs .msgs-after p { margin: 0; font-size: 0.96rem; line-height: 1.65; color: #eef0ff; text-align: left; }

.msgs .msgs-panel-steps { padding: 36px 36px 30px; }
.msgs .msgs-steps-head { margin: 0 0 18px; font-size: 1.15rem; font-weight: 800; color: var(--msgs-ink); text-align: left; }
.msgs .msgs-steps { position: relative; margin: 0; padding: 0; list-style: none; }
.msgs .msgs-steps::before {                                      /* timeline line */
  content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, #725ce0, #e9812c);
}
.msgs .msgs-step { position: relative; padding: 0 0 16px 34px; }
.msgs .msgs-step:last-child { padding-bottom: 0; }
.msgs .msgs-step::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid #725ce0; box-shadow: 0 0 0 4px #fff; transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.msgs .msgs-step:hover::before { background: #e9812c; border-color: #e9812c; transform: scale(1.2); }
.msgs .msgs-step-no { display: inline-block; margin-bottom: 4px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--msgs-violet); }
.msgs .msgs-step-text { margin: 0; font-size: 0.98rem; line-height: 1.6; color: #374151; text-align: left; }

/* ---------- login path ---------- */
.msgs .msgs-login { padding-top: 110px; }
.msgs .msgs-path { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.msgs .msgs-path::before {                                     /* icons ko jodne wali line */
  content: ""; position: absolute; left: 10%; right: 10%; top: 32px; height: 2px;
  background: repeating-linear-gradient(90deg, #cfc5f5 0 8px, transparent 8px 16px);
}
.msgs .msgs-path-item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.msgs .msgs-path-ico {
  position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%;
  font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, #291670, #725ce0);
  box-shadow: 0 0 0 8px #fff, 0 12px 26px rgba(42, 23, 112, 0.3); transition: transform 0.35s ease, background 0.35s ease;
}
.msgs .msgs-path-item:last-child .msgs-path-ico { background: linear-gradient(135deg, #ff9f5a, #e9812c); }
.msgs .msgs-path-item:hover .msgs-path-ico { transform: translateY(-6px) scale(1.06); }
.msgs .msgs-path-no { margin-bottom: 8px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--msgs-orange); }
.msgs .msgs-path-text {
  flex: 1 1 auto; width: 100%; margin: 0; padding: 16px 14px; border-radius: 16px; font-size: 0.94rem; line-height: 1.55; color: #374151; text-align: center;
  background: #fff; border: 1px solid var(--msgs-line); box-shadow: 0 8px 20px rgba(42, 23, 112, 0.06);
}

/* ---------- closing line ---------- */
.msgs .msgs-cta {
  position: relative; overflow: hidden; margin-top: 90px; padding: 64px 24px; border-radius: 26px; text-align: center;
  background: radial-gradient(circle at 50% 120%, rgba(233, 129, 44, 0.35), transparent 50%),
              linear-gradient(120deg, #141a3a 0%, #1f2458 55%, #2b2a78 100%);
}
.msgs .msgs-cta-nodes i {                                      /* tairte "connection" dots */
  position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #ac6af9; box-shadow: 0 0 14px rgba(172, 106, 249, 0.9);
  animation: msgs-float 6s ease-in-out infinite;
}
.msgs .msgs-cta-nodes i:nth-child(1) { left: 8%; top: 30%; }
.msgs .msgs-cta-nodes i:nth-child(2) { left: 18%; top: 72%; animation-delay: -2s; background: #e9812c; box-shadow: 0 0 14px rgba(233, 129, 44, 0.9); }
.msgs .msgs-cta-nodes i:nth-child(3) { right: 10%; top: 26%; animation-delay: -4s; }
.msgs .msgs-cta-nodes i:nth-child(4) { right: 22%; top: 76%; animation-delay: -1s; background: #5ee1f5; box-shadow: 0 0 14px rgba(94, 225, 245, 0.9); }
.msgs .msgs-cta-nodes i:nth-child(5) { left: 48%; top: 12%; animation-delay: -3s; width: 7px; height: 7px; }
@keyframes msgs-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(14px, -14px); } }
.msgs .msgs-cta-title { position: relative; margin: 0 0 14px; font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 800; color: #fff; text-align: center; }
.msgs .msgs-cta-title span { background: linear-gradient(90deg, #ffb27a, #e9812c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.msgs .msgs-cta-sub { position: relative; margin: 0 0 22px; font-size: 1.08rem; color: #d5d8f0; text-align: center; }
.msgs .msgs-cta-end {                                          /* button nahi — sirf sajaya hua text */
  position: relative; display: inline-flex; align-items: center; gap: 14px; margin: 0;
  font-size: 1.15rem; font-weight: 800; letter-spacing: 0.02em; color: #ffcf9e; text-align: center;
}
.msgs .msgs-cta-end::before, .msgs .msgs-cta-end::after { content: ""; width: 40px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #e9812c); }
.msgs .msgs-cta-end::after { transform: scaleX(-1); }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .msgs .msgs-flip { flex-basis: calc((100% - 44px) / 3); }
}
@media (max-width: 991.98px) {
  .msgs .msgs-flip { flex-basis: calc((100% - 22px) / 2); }
  .msgs .msgs-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .msgs .msgs-panel { grid-template-columns: 1fr; }
  .msgs .msgs-path { grid-template-columns: 1fr; gap: 14px; max-width: 560px; margin: 0 auto; }
  .msgs .msgs-path::before { left: 31px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, #cfc5f5 0 8px, transparent 8px 16px); }
  .msgs .msgs-path-item { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-items: center; text-align: left; }
  .msgs .msgs-path-ico { grid-row: span 2; margin-bottom: 0; }
  .msgs .msgs-path-no { margin-bottom: 4px; }
  .msgs .msgs-path-text { text-align: left; }
}
@media (max-width: 575.98px) {
  .msgs .msgs-hero { padding: 56px 18px 64px; }
  .msgs .msgs-sec { padding-top: 56px; }
  .msgs .msgs-flip { flex-basis: 100%; height: 260px; }
  .msgs .msgs-picker { gap: 10px; }
  .msgs .msgs-pick { padding: 12px 10px; gap: 8px; border-radius: 16px; }
  .msgs .msgs-pick-ico { width: 34px; height: 34px; border-radius: 11px; font-size: 0.85rem; }
  .msgs .msgs-pick-name { font-size: 0.86rem; overflow-wrap: normal; word-break: normal; hyphens: none; }
  .msgs .msgs-panel-side, .msgs .msgs-panel-steps { padding: 28px 20px; }
  .msgs .msgs-panel-title { font-size: 1.3rem; }
  .msgs .msgs-login { padding-top: 80px; }
  .msgs .msgs-cta { margin-top: 60px; padding: 48px 18px; }
  .msgs .msgs-cta-end::before, .msgs .msgs-cta-end::after { display: none; }
  .msgs-top { right: 18px; bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .msgs .msgs-hero-path::after, .msgs .msgs-flip-front::before, .msgs .msgs-flip-hint, .msgs .msgs-panel-side::before,
  .msgs .msgs-cta-nodes i, .msgs .msgs-pane.active { animation: none; }
  .msgs .msgs-flip-inner { transition: none; }
}

/* ==========================================================================
   WHAT CA FIRMS WILL GET page (about-ca.php) — hero + opportunities + key features
   • Sirf  .msca  (is page ka <main>) ke andar; classes / keyframes "msca-" prefix.
   • Andar ke pages jaisa light design (purana header/footer).
   ========================================================================== */
.msca {
  --msca-ink: #1e1b4b; --msca-text: #4b5563; --msca-purple: #2a1770; --msca-violet: #725ce0;
  --msca-orange: #e9812c; --msca-line: #e7e3f4; --msca-soft: #f7f5ff;
  display: block; padding-bottom: 90px; color: var(--msca-text); background: #fff; overflow-x: hidden;
}

/* ---------- hero ---------- */
.msca .msca-hero {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px;
  margin-top: 24px; padding: 64px clamp(24px, 6vw, 84px); border-radius: 28px;
  background: radial-gradient(circle at 80% 40%, rgba(114, 92, 224, 0.5), transparent 45%),
              radial-gradient(circle at 0% 100%, rgba(233, 129, 44, 0.28), transparent 40%),
              linear-gradient(120deg, #141a3a 0%, #1f2458 55%, #2b2a78 100%);
  box-shadow: 0 24px 54px rgba(30, 27, 75, 0.22);
}
.msca .msca-hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.3;
  background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 65%); mask-image: linear-gradient(90deg, #000, transparent 65%);
}
.msca .msca-hero-copy { position: relative; z-index: 1; max-width: 640px; }
.msca .msca-hero-title { margin: 0 0 18px; font-size: 48px; font-weight: 700; line-height: 1.08; color: #fff; text-align: left; }
.msca .msca-hero-title span { background: linear-gradient(90deg, #ffb27a, #e9812c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.msca .msca-tagline { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; text-align: left; }
.msca .msca-tagline span {
  padding: 8px 16px; border-radius: 999px; font-size: 1.02rem; font-weight: 700; color: #fff;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
  animation: msca-pop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.3) var(--msca-d, 0ms) both;
}
.msca .msca-tagline span:nth-child(2) { color: #d9d1ff; }
.msca .msca-tagline span:nth-child(3) { color: #ffcf9e; }
.msca .msca-tagline span:nth-child(4) { color: #13203f; background: linear-gradient(135deg, #ffb27a, #e9812c); border-color: transparent; box-shadow: 0 10px 24px rgba(233, 129, 44, 0.4); }
@keyframes msca-pop { from { opacity: 0; transform: translateY(14px) scale(0.85); } to { opacity: 1; transform: none; } }
.msca .msca-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.msca .msca-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-radius: 999px;
  font-size: 1rem; font-weight: 700; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.msca .msca-btn--solid { color: #fff; background: linear-gradient(135deg, #725ce0, #ac6af9); box-shadow: 0 14px 30px rgba(114, 92, 224, 0.45); }
.msca .msca-btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); }
.msca .msca-btn:hover { transform: translateY(-3px); color: #fff; }
.msca .msca-btn--ghost:hover { background: #fff; color: var(--msca-purple); }

/* ghoomta network (sajavat) */
.msca .msca-orbit { position: relative; flex: 0 0 auto; width: 300px; height: 300px; }
.msca .msca-orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.25); }
.msca .msca-orbit-ring--2 { inset: 55px; border-style: solid; border-color: rgba(255, 255, 255, 0.12); }
.msca .msca-orbit-core {
  position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.08), 0 0 50px rgba(172, 106, 249, 0.6);
}
.msca .msca-orbit-core img { width: 76px; height: 76px; object-fit: contain; }
.msca .msca-orbit-spin { position: absolute; inset: 0; animation: msca-spin 24s linear infinite; }
.msca .msca-orbit-spin i {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 16px;
  font-size: 1.1rem; color: #fff; background: linear-gradient(135deg, #291670, #725ce0); border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); animation: msca-spin 24s linear infinite reverse;   /* icon seedha rahe */
}
.msca .msca-orbit-spin i:nth-child(1) { left: 50%; top: 0; }
.msca .msca-orbit-spin i:nth-child(2) { left: 100%; top: 50%; background: linear-gradient(135deg, #ff9f5a, #e9812c); }
.msca .msca-orbit-spin i:nth-child(3) { left: 50%; top: 100%; }
.msca .msca-orbit-spin i:nth-child(4) { left: 0; top: 50%; background: linear-gradient(135deg, #0d9488, #2dd4bf); }
@keyframes msca-spin { to { transform: rotate(360deg); } }

/* ---------- section heads ---------- */
.msca .msca-sec { padding-top: 80px; }
.msca .msca-head { margin: 0 auto 40px; text-align: center; }
.msca .msca-title { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.2; color: var(--msca-ink); text-align: center; }
.msca .msca-title span { background: linear-gradient(to right, #725ce0, #ac6af9, #291770); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.msca .msca-title::after { content: ""; display: block; width: 64px; height: 4px; margin: 16px auto 0; border-radius: 4px; background: linear-gradient(90deg, #725ce0, #e9812c); }

/* ---------- opportunities ---------- */
.msca .msca-opps-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.msca .msca-opp {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  min-height: 150px; padding: 22px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--msca-line);
  box-shadow: 0 8px 20px rgba(42, 23, 112, 0.05); isolation: isolate;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.msca .msca-opp::before {                                     /* neeche se bharne wala gradient */
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%);
  background: linear-gradient(150deg, #291670, #493d87 60%, #725ce0); transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.msca .msca-opp-ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 1.1rem;
  color: var(--msca-violet); background: var(--msca-soft); transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.msca .msca-opp:nth-child(3n+2) .msca-opp-ico { color: #c2410c; background: #fff3e8; }
.msca .msca-opp:nth-child(3n) .msca-opp-ico { color: #0d9488; background: #e6f7f5; }
.msca .msca-opp-text { font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--msca-ink); text-align: left; transition: color 0.35s ease; }
.msca .msca-opp:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 20px 40px rgba(42, 23, 112, 0.2); }
.msca .msca-opp:hover::before { transform: none; }
.msca .msca-opp:hover .msca-opp-text { color: #fff; }
.msca .msca-opp:hover .msca-opp-ico { color: #fff !important; background: linear-gradient(135deg, #ff9f5a, #e9812c) !important; transform: rotate(-8deg); }

/* ---------- key features ---------- */
.msca .msca-feat { position: relative; }
.msca .msca-feat::before {
  content: ""; position: absolute; left: 0; right: 0; top: 40px; bottom: -40px; z-index: -1;
  background: linear-gradient(180deg, transparent, #f7f5ff 15%, #f7f5ff 85%, transparent);
}
.msca .msca-feat-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px; align-items: start; }
.msca .msca-feat-nav { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; }
.msca .msca-feat-tab {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px;
  border: 1px solid var(--msca-line); border-radius: 16px; background: #fff; text-align: left; cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.msca .msca-feat-tab-ico {
  flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-size: 1rem;
  color: var(--msca-violet); background: var(--msca-soft); transition: background 0.3s ease, color 0.3s ease;
}
.msca .msca-feat-tab-text { flex: 1 1 auto; font-size: 0.96rem; font-weight: 700; line-height: 1.35; color: var(--msca-ink); transition: color 0.3s ease; }
.msca .msca-feat-tab-go { flex: 0 0 auto; font-size: 0.75rem; color: #b8b0dc; transition: transform 0.3s ease, color 0.3s ease; }
.msca .msca-feat-tab:hover { transform: translateX(4px); border-color: #cfc5f5; box-shadow: 0 10px 24px rgba(42, 23, 112, 0.1); }
.msca .msca-feat-tab:focus-visible { outline: 2px solid var(--msca-violet); outline-offset: 2px; }
.msca .msca-feat-tab.active {
  border-color: transparent; background: linear-gradient(120deg, #291670, #493d87 60%, #725ce0);
  box-shadow: 0 14px 30px rgba(42, 23, 112, 0.28); transform: translateX(8px);
}
.msca .msca-feat-tab.active .msca-feat-tab-text { color: #fff; }
.msca .msca-feat-tab.active .msca-feat-tab-ico { color: #fff; background: linear-gradient(135deg, #ff9f5a, #e9812c); }
.msca .msca-feat-tab.active .msca-feat-tab-go { color: #fff; transform: translateX(3px); }

.msca .msca-feat-panes { position: sticky; top: 120px; }
.msca .msca-feat-pane {
  overflow: hidden; border-radius: 26px; background: #fff; border: 1px solid var(--msca-line);
  box-shadow: 0 24px 54px rgba(42, 23, 112, 0.12);
}
.msca .msca-feat-pane.active { animation: msca-in 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes msca-in { from { opacity: 0; transform: translateY(16px) scale(0.99); } to { opacity: 1; transform: none; } }
.msca .msca-feat-media { position: relative; aspect-ratio: 16 / 7; background: linear-gradient(135deg, #2b2a78, #725ce0); }
.msca .msca-feat-img { position: absolute; inset: 0; overflow: hidden; }
.msca .msca-feat-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.msca .msca-feat-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 26, 58, 0) 40%, rgba(20, 26, 58, 0.55)); }
.msca .msca-feat-pane.active .msca-feat-img img { animation: msca-zoom 6s ease-out both; }
@keyframes msca-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.msca .msca-feat-badge {
  position: absolute; left: 32px; bottom: -28px; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px;
  font-size: 1.35rem; color: #fff; background: linear-gradient(135deg, #ff9f5a, #e9812c); box-shadow: 0 0 0 6px #fff, 0 14px 28px rgba(233, 129, 44, 0.4);
}
.msca .msca-feat-body { padding: 46px 34px 32px; }
.msca .msca-feat-title { margin: 0 0 10px; font-size: 1.5rem; font-weight: 800; line-height: 1.3; color: var(--msca-ink); text-align: left; }
.msca .msca-feat-lead {
  margin: 0 0 22px; padding-left: 14px; border-left: 3px solid var(--msca-orange);
  font-size: 1.05rem; font-weight: 600; line-height: 1.6; color: #374151; text-align: left;
}
.msca .msca-feat-sub { margin: 0 0 12px; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--msca-violet); text-align: left; }
.msca .msca-feat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.msca .msca-feat-list li {
  position: relative; padding: 14px 14px 14px 46px; border-radius: 14px; background: var(--msca-soft); border: 1px solid var(--msca-line);
  font-size: 0.95rem; line-height: 1.55; color: #374151; text-align: left; transition: background 0.3s ease, border-color 0.3s ease;
}
.msca .msca-feat-list li::before {                             /* tick */
  content: ""; position: absolute; left: 14px; top: 15px; width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, #725ce0, #ac6af9);
}
.msca .msca-feat-list li::after {
  content: ""; position: absolute; left: 21px; top: 19px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.msca .msca-feat-list li:hover { background: #fff; border-color: #cfc5f5; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .msca .msca-opps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .msca .msca-orbit { width: 240px; height: 240px; }
}
@media (max-width: 991.98px) {
  .msca .msca-hero { flex-direction: column; align-items: flex-start; }
  .msca .msca-orbit { display: none; }
  .msca .msca-opps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .msca .msca-feat-wrap { grid-template-columns: 1fr; gap: 20px; }
  /* features nav: side-scroll chips */
  .msca .msca-feat-nav { flex-direction: row; overflow-x: auto; padding: 6px 2px 12px; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .msca .msca-feat-nav::-webkit-scrollbar { display: none; }
  .msca .msca-feat-tab { flex: 0 0 260px; scroll-snap-align: start; }
  .msca .msca-feat-tab:hover, .msca .msca-feat-tab.active { transform: none; }
  .msca .msca-feat-tab-go { display: none; }
  .msca .msca-feat-panes { position: static; }
}
@media (max-width: 575.98px) {
  .msca .msca-hero { padding: 44px 22px 48px; }
  .msca .msca-tagline span { font-size: 0.9rem; padding: 6px 12px; }
  .msca .msca-btn { flex: 1 1 100%; }
  .msca .msca-sec { padding-top: 60px; }
  .msca .msca-opps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .msca .msca-opp { min-height: 0; padding: 16px 14px; gap: 10px; }
  .msca .msca-opp-ico { width: 40px; height: 40px; font-size: 0.95rem; }
  .msca .msca-opp-text { font-size: 0.9rem; }
  .msca .msca-feat-tab { flex-basis: 230px; padding: 12px; }
  .msca .msca-feat-media { aspect-ratio: 16 / 9; }
  .msca .msca-feat-badge { left: 20px; width: 52px; height: 52px; font-size: 1.15rem; }
  .msca .msca-feat-body { padding: 40px 18px 22px; }
  .msca .msca-feat-title { font-size: 1.25rem; }
  .msca .msca-feat-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .msca .msca-tagline span, .msca .msca-orbit-spin, .msca .msca-orbit-spin i,
  .msca .msca-feat-pane.active, .msca .msca-feat-pane.active .msca-feat-img img { animation: none; }
}

/* ==========================================================================
   WHAT ENTERPRISES WILL GET page (about-enterprises.php)
   • Hero: title + buttons, right me radar jo verified CA dhoondhta hai (sajavat).
   • Features: aamne-saamne do "darwaze" (navy | sunset) — hover wala chauda hota hai,
     beech me handshake "bridge".
   • Sirf  .msen  ke andar; classes / keyframes "msen-" prefix.
   ========================================================================== */
.msen {
  --msen-ink: #1e1b4b; --msen-violet: #725ce0; --msen-orange: #e9812c;
  display: block; padding-bottom: 90px; background: #fff; overflow-x: hidden;
}

/* ---------- hero ---------- */
.msen .msen-hero {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: clamp(40px, 6vw, 90px);
  margin-top: 24px; padding: 56px clamp(24px, 6vw, 84px); border-radius: 30px;
  background: radial-gradient(circle at 78% 50%, rgba(114, 92, 224, 0.45), transparent 40%),
              radial-gradient(circle at 0% 100%, rgba(233, 129, 44, 0.3), transparent 38%),
              linear-gradient(120deg, #0f1430 0%, #1f2458 55%, #2b2a78 100%);
  box-shadow: 0 26px 60px rgba(30, 27, 75, 0.25);
}
.msen .msen-hero-dots {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); mask-image: linear-gradient(90deg, #000, transparent 55%);
}
.msen .msen-hero-copy { position: relative; z-index: 1; }
.msen .msen-hero-title { margin: 0 0 32px; font-size: 48px; font-weight: 700; line-height: 1.12; color: #fff; text-align: left; }
.msen .msen-hl {
  background: linear-gradient(90deg, #ffb27a, #e9812c, #ffcf8a, #ffb27a); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: msen-flow 6s linear infinite;
}
@keyframes msen-flow { to { background-position: -300% 0; } }
.msen .msen-outline { display: inline-block; font-size: 1.25em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85); letter-spacing: 0.01em; }
.msen .msen-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.msen .msen-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-radius: 999px;
  font-size: 1rem; font-weight: 700; text-decoration: none; transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.msen .msen-btn--solid { color: #fff; background: linear-gradient(135deg, #e9812c, #ff9f5a); box-shadow: 0 14px 30px rgba(233, 129, 44, 0.4); }
.msen .msen-btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); }
.msen .msen-btn:hover { transform: translateY(-3px); color: #fff; }
.msen .msen-btn--ghost:hover { background: #fff; color: #2a1770; }

/* radar */
.msen .msen-radar { position: relative; flex: 0 0 auto; width: 340px; height: 340px; border-radius: 50%; }
.msen .msen-radar-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); }
.msen .msen-radar-ring:nth-child(1) { inset: 0; border-style: dashed; }
.msen .msen-radar-ring:nth-child(2) { inset: 60px; }
.msen .msen-radar-ring:nth-child(3) { inset: 120px; }
.msen .msen-radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 178, 122, 0.55), rgba(255, 178, 122, 0) 70deg, transparent 360deg);
  -webkit-mask-image: radial-gradient(circle, #000 0 69%, transparent 70%); mask-image: radial-gradient(circle, #000 0 69%, transparent 70%);
  animation: msen-sweep 6s linear infinite;
}
@keyframes msen-sweep { to { transform: rotate(360deg); } }
.msen .msen-radar-core {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 24px;
  display: grid; place-items: center; font-size: 1.9rem; color: #fff; background: linear-gradient(135deg, #ff9f5a, #e9812c);
  box-shadow: 0 0 0 10px rgba(233, 129, 44, 0.16), 0 18px 40px rgba(233, 129, 44, 0.5);
}
.msen .msen-pin {
  position: absolute; display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  font-size: 0.85rem; color: #fff; background: linear-gradient(135deg, #291670, #725ce0); border: 2px solid rgba(255, 255, 255, 0.5);
  opacity: 0.35; transform: scale(0.8); animation: msen-ping 6s linear infinite;
}
.msen .msen-pin::after {                                       /* verified tick */
  content: "✓"; position: absolute; right: -6px; top: -6px; width: 18px; height: 18px; border-radius: 50%;
  font-size: 0.6rem; font-weight: 800; line-height: 18px; text-align: center; color: #fff; background: #10b981;
}
/* sweep 0deg = upar (12 baje) se ghoomta hai; pin ka delay uske kon ke hisaab se */
.msen .msen-pin--1 { left: 72%; top: 14%; animation-delay: 0.6s; }
.msen .msen-pin--2 { left: 90%; top: 58%; animation-delay: 1.9s; }
.msen .msen-pin--3 { left: 58%; top: 86%; animation-delay: 2.7s; }
.msen .msen-pin--4 { left: 16%; top: 70%; animation-delay: 3.9s; }
.msen .msen-pin--5 { left: 22%; top: 24%; animation-delay: 5.1s; }
@keyframes msen-ping {
  0% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 0 0 rgba(255, 178, 122, 0.7); }
  25% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 14px rgba(255, 178, 122, 0); }
  60%, 100% { opacity: 0.35; transform: scale(0.8); box-shadow: 0 0 0 0 rgba(255, 178, 122, 0); }
}

/* ---------- doors ---------- */
.msen .msen-sec { padding-top: 70px; }
.msen .msen-duo { --msen-door-h: 700px; position: relative; display: flex; gap: 22px; align-items: stretch; }
@media (min-width: 992px) and (max-width: 1199.98px) { .msen .msen-duo { --msen-door-h: 730px; } }   /* hover par bhi height same rahe */
.msen .msen-door {
  position: relative; overflow: hidden; flex: 1 1 0; min-height: var(--msen-door-h, 600px);
  display: flex; flex-direction: column; justify-content: flex-start; padding: 44px 40px; border-radius: 32px; color: #fff;
  transition: flex-grow 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s ease;
  isolation: isolate;
}
.msen .msen-door--1 {
  background: radial-gradient(circle at 100% 0%, rgba(172, 106, 249, 0.55), transparent 50%),
              linear-gradient(160deg, #141a3a 0%, #1f2458 55%, #2b2a78 100%);
  box-shadow: 0 26px 60px rgba(30, 27, 75, 0.3);
}
.msen .msen-door--2 {
  background: radial-gradient(circle at 0% 0%, rgba(255, 207, 138, 0.55), transparent 45%),
              linear-gradient(150deg, #e9812c 0%, #c45a8a 55%, #725ce0 100%);
  box-shadow: 0 26px 60px rgba(196, 90, 138, 0.3);
}
@media (hover: hover) and (min-width: 992px) {
  .msen .msen-duo:hover .msen-door { flex-grow: 0.9; }
  .msen .msen-duo .msen-door:hover { flex-grow: 1.15; }
}
.msen .msen-door::before {                                        /* dots texture */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.3;
  background-image: radial-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1.4px); background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%);
}
.msen .msen-door-ghost {                                          /* bada fade icon */
  position: absolute; right: -30px; top: -20px; z-index: -1; font-size: 16rem; line-height: 1; color: rgba(255, 255, 255, 0.07);
  transform: rotate(-12deg); transition: transform 0.8s ease, color 0.5s ease;
}
.msen .msen-door:hover .msen-door-ghost { transform: rotate(0deg) scale(1.06); color: rgba(255, 255, 255, 0.11); }
.msen .msen-door-ico {
  display: grid; place-items: center; width: 66px; height: 66px; border-radius: 20px;
  font-size: 1.6rem; color: #2a1770; background: #fff; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s ease;
}
.msen .msen-door--2 .msen-door-ico { color: #c2410c; }
.msen .msen-door:hover .msen-door-ico { transform: rotate(-10deg) scale(1.06); }
.msen .msen-door-title { margin: 28px 0 12px; font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.25; color: #fff; text-align: left; }
.msen .msen-door-lead { margin: 0 0 24px; font-size: 1.05rem; font-weight: 600; line-height: 1.6; color: rgba(255, 255, 255, 0.85); text-align: left; }
.msen .msen-door--1 .msen-door-lead { color: #ffcf9e; }
.msen .msen-door-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.msen .msen-door-list li {
  position: relative; padding: 13px 16px 13px 48px; border-radius: 14px;
  font-size: 0.97rem; line-height: 1.55; color: #fff; text-align: left;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background 0.3s ease, transform 0.3s ease;
}
.msen .msen-door-list li::before {
  content: "✓"; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%;
  font-size: 0.72rem; font-weight: 800; line-height: 22px; text-align: center; color: #2a1770; background: #fff;
}
.msen .msen-door--1 .msen-door-list li::before { color: #fff; background: linear-gradient(135deg, #ff9f5a, #e9812c); }
.msen .msen-door-list li:hover { background: rgba(255, 255, 255, 0.18); transform: translateX(6px); }
.msen .msen-door:hover .msen-door-list li { animation: msen-nudge 0.5s ease var(--msen-d, 0ms) both; }
@keyframes msen-nudge { 0% { transform: none; } 50% { transform: translateX(6px); } 100% { transform: none; } }

/* beech ka handshake bridge */
.msen .msen-bridge {                                             /* flex item — hamesha dono darwazon ke beech (gap me) */
  position: relative; z-index: 3; flex: 0 0 86px; align-self: center; width: 86px; height: 86px; margin: 0 -54px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.9rem; color: #e9812c; background: #fff;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.6), 0 20px 44px rgba(30, 27, 75, 0.3);
  pointer-events: none;
}
.msen .msen-bridge::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 2px dashed rgba(114, 92, 224, 0.6); animation: msen-sweep 12s linear infinite;
}

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .msen .msen-radar { width: 280px; height: 280px; }
  .msen .msen-radar-ring:nth-child(2) { inset: 50px; }
  .msen .msen-radar-ring:nth-child(3) { inset: 100px; }
}
@media (max-width: 991.98px) {
  .msen .msen-hero { flex-direction: column; align-items: flex-start; }
  .msen .msen-radar { align-self: center; }
  .msen .msen-duo { flex-direction: column; gap: 60px; }
  .msen .msen-door { flex: 0 0 auto; min-height: 0; }
  .msen .msen-door-title { margin-top: 24px; }
  .msen .msen-bridge { flex-basis: 70px; width: 70px; height: 70px; margin: -65px 0; font-size: 1.5rem; }
}
@media (max-width: 575.98px) {
  .msen .msen-hero { padding: 40px 22px 44px; }
  .msen .msen-hero-title { font-size: 34px; }
  .msen .msen-btn { flex: 1 1 100%; }
  .msen .msen-radar { width: 240px; height: 240px; }
  .msen .msen-radar-ring:nth-child(2) { inset: 42px; }
  .msen .msen-radar-ring:nth-child(3) { inset: 84px; }
  .msen .msen-radar-core { width: 64px; height: 64px; margin: -32px 0 0 -32px; font-size: 1.4rem; border-radius: 18px; }
  .msen .msen-pin { width: 32px; height: 32px; margin: -16px 0 0 -16px; font-size: 0.72rem; }
  .msen .msen-sec { padding-top: 50px; }
  .msen .msen-door { padding: 32px 20px 24px; border-radius: 24px; }
  .msen .msen-door-ghost { font-size: 11rem; }
  .msen .msen-door-list li { font-size: 0.92rem; }
}
@media (prefers-reduced-motion: reduce) {
  .msen .msen-hl, .msen .msen-radar-sweep, .msen .msen-pin, .msen .msen-bridge::before,
  .msen .msen-door:hover .msen-door-list li { animation: none; }
  .msen .msen-pin { opacity: 1; transform: none; }
}

/* ==========================================================================
   EVENTS page (events.php) — banner + Upcoming/Past tabs + "ticket" cards + modal
   • Sirf  .msev  ke andar; classes / keyframes "msev-" prefix.
   • Card: image, title (1 line), description (2 line), Read More → modal.
   ========================================================================== */
.msev {
  --msev-ink: #1e1b4b; --msev-text: #4b5563; --msev-purple: #2a1770; --msev-violet: #725ce0;
  --msev-orange: #e9812c; --msev-line: #e7e3f4; --msev-soft: #f7f5ff; --msev-page: #f5f3fc;
  display: block; padding-bottom: 90px; color: var(--msev-text);
  background: linear-gradient(180deg, #fff 0, #fff 260px, var(--msev-page) 520px);   /* halka lavender — ticket ke notch dikhte hain */
}

/* ---------- banner ---------- */
.msev .msev-hero {
  position: relative; overflow: hidden; margin-top: 24px; padding: 64px 20px 104px; border-radius: 28px; text-align: center;
  background: radial-gradient(circle at 15% 0%, rgba(172, 106, 249, 0.45), transparent 42%),
              radial-gradient(circle at 90% 100%, rgba(233, 129, 44, 0.32), transparent 40%),
              linear-gradient(120deg, #141a3a 0%, #1f2458 55%, #2b2a78 100%);
}
.msev .msev-hero::before {                                      /* calendar jaisa grid */
  content: ""; position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 56px 48px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 45%, #000, transparent 70%);
}
.msev .msev-hero-cal { position: relative; display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 16px; }
.msev .msev-hero-cal b {
  position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px;
  font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, #ff9f5a, #e9812c); box-shadow: 0 14px 30px rgba(233, 129, 44, 0.45);
}
.msev .msev-hero-ring { position: absolute; inset: 0; border-radius: 26px; border: 2px solid rgba(255, 178, 122, 0.5); animation: msev-ripple 2.6s ease-out infinite; }
.msev .msev-hero-ring + .msev-hero-ring { animation-delay: 1.3s; }
@keyframes msev-ripple { from { transform: scale(0.8); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.msev .msev-hero-title { position: relative; margin: 0; font-size: 48px; font-weight: 700; color: #fff; text-align: center; }
.msev .msev-hero-title span { background: linear-gradient(90deg, #fff 0%, #ffcf9e 50%, #e9812c 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---------- tabs (banner ke upar tairte) ---------- */
.msev .msev-tabs {
  position: relative; z-index: 2; display: flex; flex-wrap: nowrap; justify-content: center; gap: 8px;
  width: max-content; max-width: 100%; margin: -36px auto 46px; padding: 8px;
  background: #fff; border: 1px solid var(--msev-line); border-radius: 999px; box-shadow: 0 20px 44px rgba(30, 27, 75, 0.14);
}
.msev .msev-tab {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 0; border-radius: 999px; background: transparent;
  font-size: 0.98rem; font-weight: 700; color: #4b5563; white-space: nowrap; cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.msev .msev-tab > i { color: var(--msev-violet); transition: color 0.3s ease; }
.msev .msev-tab:hover { color: var(--msev-purple); background: var(--msev-soft); }
.msev .msev-tab:focus-visible { outline: 2px solid var(--msev-violet); outline-offset: 2px; }
.msev .msev-tab.active { color: #fff; background: linear-gradient(120deg, #291670, #493d87 55%, #725ce0); box-shadow: 0 10px 24px rgba(42, 23, 112, 0.3); }
.msev .msev-tab.active > i { color: #ffb27a; }

/* ---------- CALENDAR-TILE cards: upar calendar ka panna (rings + bada din), neeche details ---------- */
.msev .msev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; padding-top: 14px; }
.msev .msev-card {
  position: relative; display: flex; flex-direction: column; border-radius: 24px; background: #fff;
  box-shadow: 0 16px 40px rgba(42, 23, 112, 0.1); perspective: 900px;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s ease;
  animation: msev-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--msev-d, 0ms) both;
}
@keyframes msev-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.msev .msev-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(42, 23, 112, 0.2); }

/* calendar page */
.msev .msev-cal {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center;
  padding: 34px 20px 22px; border-radius: 24px 24px 0 0; color: #fff; text-align: center;
  background: radial-gradient(circle at 100% 0%, rgba(233, 129, 44, 0.55), transparent 50%),
              radial-gradient(circle at 0% 100%, rgba(94, 225, 245, 0.25), transparent 45%),
              linear-gradient(150deg, #1f1a5c 0%, #3b2f8f 50%, #725ce0 100%);
  transform-origin: 50% 0; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.msev .msev-cal::before {                                          /* chamak jo guzarti hai */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent); transform: skewX(-18deg);
  transition: left 0.9s ease;
}
.msev .msev-card:hover .msev-cal::before { left: 130%; }
.msev .msev-card:hover .msev-cal { transform: rotateX(8deg); }       /* panna palatne jaisa */
.msev .msev-cal::after {                                           /* kata hua kinara (neeche) */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 10px;
  background: radial-gradient(circle at 8px 10px, #fff 6px, transparent 6.5px) 0 0 / 16px 10px repeat-x;
}

/* spiral rings (calendar ki binding) */
.msev .msev-rings { position: absolute; left: 0; right: 0; top: -8px; z-index: 2; display: flex; justify-content: center; gap: 22px; }
.msev .msev-rings i {
  display: block; width: 10px; height: 26px; border-radius: 6px;
  background: linear-gradient(180deg, #f3f4f8, #b9bccb); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}
.msev .msev-cal-week { position: relative; margin-bottom: 2px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: #ffcf9e; }
.msev .msev-cal-day {
  position: relative; font-size: 4.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 30%, #d9d1ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: none; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1.4);
}
.msev .msev-card:hover .msev-cal-day { transform: scale(1.08); }
.msev .msev-cal-mon { position: relative; margin-top: 4px; font-size: 1rem; font-weight: 700; color: rgba(255, 255, 255, 0.85); }
.msev .msev-chip {
  position: absolute; right: 14px; top: 26px; padding: 4px 11px; border-radius: 999px;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* details */
.msev .msev-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 22px 22px; }
.msev .msev-title {
  margin: 0 0 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 1.15rem; font-weight: 800; line-height: 1.35; color: var(--msev-ink); text-align: left;
}
.msev .msev-meta { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.msev .msev-meta li { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 0.9rem; font-weight: 600; color: #4b5563; }
.msev .msev-meta li span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.msev .msev-meta i {
  flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px;
  font-size: 0.8rem; color: #c2410c; background: #fff3e8;
}
.msev .msev-meta li + li i { color: var(--msev-violet); background: var(--msev-soft); }
.msev .msev-more {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 12px 8px 12px 20px; border: 1px solid var(--msev-line); border-radius: 999px;
  font-size: 0.92rem; font-weight: 700; color: var(--msev-purple); text-decoration: none; cursor: pointer; background: #faf9ff;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.msev .msev-more i {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: 0.8rem; color: #fff;
  background: linear-gradient(135deg, #ff9f5a, #e9812c); transition: transform 0.35s ease;
}
.msev .msev-more:hover, .msev .msev-card:hover .msev-more {
  color: #fff; border-color: transparent; background: linear-gradient(120deg, #291670, #493d87 55%, #725ce0); box-shadow: 0 12px 26px rgba(42, 23, 112, 0.28);
}
.msev .msev-more:hover i { transform: rotate(-45deg); }
.msev .msev-more:focus-visible { outline: 2px solid var(--msev-violet); outline-offset: 3px; }

/* past events: slate calendar */
.msev .msev-card--past .msev-cal {
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.12), transparent 50%), linear-gradient(150deg, #2b2f45 0%, #4b4f6a 55%, #6b6f8a 100%);
}
.msev .msev-card--past .msev-cal-week { color: #d1d5db; }

.msev .msev-empty {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 70px 20px; border-radius: 24px;
  border: 2px dashed #d9d2f3; background: #fff; text-align: center;
}
.msev .msev-empty i { font-size: 2.6rem; color: #b8b0dc; }
.msev .msev-empty p { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--msev-ink); }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .msev .msev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .msev .msev-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 575.98px) {
  .msev .msev-hero { padding: 48px 18px 88px; }
  .msev .msev-hero-title { font-size: 36px; }
  .msev .msev-tabs { width: 100%; margin-bottom: 30px; }
  .msev .msev-tab { flex: 1 1 0; justify-content: center; padding: 11px 10px; font-size: 0.86rem; gap: 7px; }
  .msev .msev-tab > i { display: none; }
  .msev .msev-cal-day { font-size: 4rem; }
  .msev .msev-body { padding: 18px 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .msev .msev-hero-ring, .msev .msev-card { animation: none; }
  .msev .msev-card:hover .msev-cal { transform: none; }
}

/* ---------- Events: pagination (12 per page) ---------- */
.msev .msev-anchor { display: block; position: relative; top: -130px; visibility: hidden; }
.msev .msev-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 44px; }
.msev .msev-pg {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 14px;
  font-size: 0.98rem; font-weight: 700; color: var(--msev-ink); text-decoration: none;
  background: #fff; border: 1px solid var(--msev-line); box-shadow: 0 6px 16px rgba(42, 23, 112, 0.06);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.msev a.msev-pg:hover { transform: translateY(-3px); color: var(--msev-purple); border-color: #cfc5f5; box-shadow: 0 12px 24px rgba(42, 23, 112, 0.14); }
.msev a.msev-pg:focus-visible { outline: 2px solid var(--msev-violet); outline-offset: 2px; }
.msev .msev-pg.is-on {
  color: #fff; border-color: transparent; background: linear-gradient(120deg, #291670, #493d87 55%, #725ce0);
  box-shadow: 0 10px 24px rgba(42, 23, 112, 0.3);
}
.msev .msev-pg--arrow { color: var(--msev-violet); }
.msev .msev-pg--arrow.is-off { opacity: 0.4; box-shadow: none; }
.msev .msev-pg--dots { min-width: 24px; padding: 0; border: 0; background: none; box-shadow: none; color: #9ca3af; }
.msev .msev-pager-info { margin: 14px 0 0; font-size: 0.88rem; font-weight: 600; color: #6b7280; text-align: center; }
@media (max-width: 575.98px) {
  .msev .msev-pager { gap: 6px; margin-top: 30px; }
  .msev .msev-pg { min-width: 38px; height: 38px; padding: 0 8px; border-radius: 12px; font-size: 0.9rem; }
}


/* ==========================================================================
   EVENT DESCRIPTION page (event-description.php) — photo slider + details + link
   • Sirf  .msed  ke andar; classes "msed-" prefix.
   ========================================================================== */
.msed {
  --msed-ink: #1e1b4b; --msed-violet: #725ce0; --msed-orange: #e9812c; --msed-line: #e7e3f4; --msed-soft: #f7f5ff;
  display: block; padding: 34px 0 90px; background: linear-gradient(180deg, #fff 0, #f5f3fc 420px);
}
.msed .msed-back {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 9px 18px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 700; color: #2a1770; text-decoration: none; background: #fff; border: 1px solid var(--msed-line);
  box-shadow: 0 6px 16px rgba(42, 23, 112, 0.06); transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.msed .msed-back i { transition: transform 0.3s ease; }
.msed .msed-back:hover { color: #fff; background: linear-gradient(120deg, #291670, #725ce0); transform: translateY(-2px); }
.msed .msed-back:hover i { transform: translateX(-4px); }

.msed .msed-card {
  overflow: hidden; border-radius: 28px; background: #fff; border: 1px solid var(--msed-line);
  box-shadow: 0 26px 60px rgba(42, 23, 112, 0.12); animation: msed-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes msed-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* slider */
.msed .msed-media { position: relative; background: #141a3a; }
.msed .msed-car { position: relative; }
.msed .msed-car .carousel-item img { display: block; width: 100%; height: clamp(260px, 46vw, 520px); object-fit: cover; }
.msed .msed-car::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(20, 26, 58, 0.6));
}
.msed .msed-car-btn {
  position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 50px; height: 50px; margin-top: -25px;
  border: 0; border-radius: 50%; font-size: 1rem; color: #2a1770; background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); cursor: pointer; transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.msed .msed-car-btn--prev { left: 20px; }
.msed .msed-car-btn--next { right: 20px; }
.msed .msed-car-btn:hover { color: #fff; background: var(--msed-orange); transform: scale(1.08); }
.msed .msed-car-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.msed .msed-car-count {
  position: absolute; left: 20px; bottom: 18px; z-index: 3; padding: 6px 14px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 700; color: #fff; background: rgba(20, 26, 58, 0.6); border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.msed .msed-car-count b { color: #ffb27a; }
.msed .msed-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px 16px; background: #141a3a; scrollbar-width: thin; scrollbar-color: #493d87 transparent; }
.msed .msed-thumb {
  flex: 0 0 auto; width: 96px; height: 62px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 12px;
  background: #1f2458; opacity: 0.55; cursor: pointer; transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.msed .msed-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.msed .msed-thumb:hover { opacity: 0.85; }
.msed .msed-thumb.active { opacity: 1; border-color: var(--msed-orange); transform: translateY(-2px); }

/* details */
.msed .msed-body { display: flex; align-items: flex-start; gap: 26px; padding: 32px 36px 36px; }
.msed .msed-cal {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; width: 96px; overflow: hidden; border-radius: 20px;
  background: #fff; border: 1px solid var(--msed-line); box-shadow: 0 14px 30px rgba(42, 23, 112, 0.14); text-align: center;
}
.msed .msed-cal-mon { width: 100%; padding: 6px 0; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: linear-gradient(120deg, #e9812c, #ff9f5a); }
.msed .msed-cal-day { padding: 6px 0 0; font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--msed-ink); }
.msed .msed-cal-year { padding: 2px 0 10px; font-size: 0.82rem; font-weight: 700; color: var(--msed-violet); }
.msed .msed-info { flex: 1 1 auto; min-width: 0; }
.msed .msed-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.msed .msed-tags span {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 700; color: #4b5563; background: var(--msed-soft); border: 1px solid var(--msed-line);
}
.msed .msed-tags i { color: var(--msed-orange); }
.msed .msed-tags .msed-type { color: #fff; background: linear-gradient(120deg, #291670, #725ce0); border-color: transparent; text-transform: uppercase; letter-spacing: 0.05em; }
.msed .msed-title { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.25; color: var(--msed-ink); text-align: left; }
.msed .msed-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 13px 28px; border-radius: 999px;
  font-weight: 700; color: #fff; text-decoration: none; background: linear-gradient(135deg, #e9812c, #ff9f5a);
  box-shadow: 0 12px 26px rgba(233, 129, 44, 0.35); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.msed .msed-link:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(233, 129, 44, 0.45); }
.msed .msed-link i:last-child { font-size: 0.8em; }

.msed .msed-empty {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 80px 20px; border-radius: 28px;
  background: #fff; border: 2px dashed #d9d2f3; text-align: center;
}
.msed .msed-empty i { font-size: 3rem; color: #b8b0dc; }
.msed .msed-empty h1 { margin: 0; font-size: 1.5rem; font-weight: 800; color: var(--msed-ink); }

@media (max-width: 575.98px) {
  .msed { padding-top: 22px; }
  .msed .msed-card { border-radius: 22px; }
  .msed .msed-body { flex-direction: column; gap: 18px; padding: 22px 18px 26px; }
  .msed .msed-cal { flex-direction: row; width: auto; gap: 8px; padding-right: 14px; }
  .msed .msed-cal-mon { width: auto; padding: 10px 12px; }
  .msed .msed-cal-day { padding: 0; font-size: 1.6rem; }
  .msed .msed-cal-year { padding: 0; }
  .msed .msed-car-btn { width: 40px; height: 40px; margin-top: -20px; }
  .msed .msed-thumb { width: 70px; height: 46px; }
  .msed .msed-link { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .msed .msed-card { animation: none; } }

/* ==========================================================================
   GROW BOOKS — "Coming Soon" modal (header-test.php, #msGrowSoonModal)
   • Sirf  #msGrowSoonModal  par lagta hai → kisi aur modal / page se takraav nahi.
   ========================================================================== */
#msGrowSoonModal .modal-dialog { max-width: 420px; }
#msGrowSoonModal .modal-content {
  position: relative; overflow: hidden; border: 1px solid rgba(169, 155, 255, 0.3); border-radius: 26px; color: #e8eefb;
  background: radial-gradient(ellipse 80% 55% at 0% 0%, rgba(122, 92, 255, 0.35), transparent 70%),
              radial-gradient(ellipse 70% 50% at 100% 100%, rgba(233, 129, 44, 0.25), transparent 70%),
              #0d1636;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}
#msGrowSoonModal .modal-content::before {                      /* halke taare */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
}
#msGrowSoonModal .ms-soon-close {
  position: absolute; right: 14px; top: 14px; z-index: 2; width: 34px; height: 34px; padding: 0; border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92); background-size: 11px; opacity: 1;
}
#msGrowSoonModal .ms-soon-body { position: relative; display: flex; flex-direction: column; align-items: center; padding: 44px 30px 34px; text-align: center; }
#msGrowSoonModal .ms-soon-icon { position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 18px; }
#msGrowSoonModal .ms-soon-icon b {
  position: relative; z-index: 1; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px;
  font-size: 1.9rem; color: #fff; background: linear-gradient(135deg, #ff9f5a, #e9812c);
  box-shadow: 0 16px 34px rgba(233, 129, 44, 0.45); animation: ms-soon-bob 3s ease-in-out infinite;
}
#msGrowSoonModal .ms-soon-ring { position: absolute; inset: 0; border-radius: 28px; border: 2px solid rgba(255, 178, 122, 0.55); animation: ms-soon-ripple 2.6s ease-out infinite; }
#msGrowSoonModal .ms-soon-ring + .ms-soon-ring { animation-delay: 1.3s; }
@keyframes ms-soon-ripple { from { transform: scale(0.75); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
@keyframes ms-soon-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(4deg); } }
#msGrowSoonModal .ms-soon-kicker {
  margin-bottom: 10px; padding: 5px 14px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #f3e4c1; background: rgba(236, 214, 163, 0.08); border: 1px solid rgba(236, 214, 163, 0.45);
}
#msGrowSoonModal .ms-soon-title { margin: 0 0 10px; font-size: 2.1rem; font-weight: 800; line-height: 1.15; color: #fff; }
#msGrowSoonModal .ms-soon-title span {
  background: linear-gradient(90deg, #ffb27a, #e9812c, #ffcf8a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
#msGrowSoonModal .ms-soon-text { margin: 0 0 16px; font-size: 1rem; line-height: 1.6; color: #b4c2e0; text-align: center; }
#msGrowSoonModal .ms-soon-dots { display: flex; gap: 8px; margin-bottom: 24px; }
#msGrowSoonModal .ms-soon-dots i { width: 9px; height: 9px; border-radius: 50%; background: #a99bff; animation: ms-soon-dot 1.2s ease-in-out infinite; }
#msGrowSoonModal .ms-soon-dots i:nth-child(2) { animation-delay: 0.2s; background: #ffb27a; }
#msGrowSoonModal .ms-soon-dots i:nth-child(3) { animation-delay: 0.4s; background: #5ee1f5; }
@keyframes ms-soon-dot { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-7px); opacity: 1; } }
#msGrowSoonModal .ms-soon-btn {
  padding: 12px 30px; border: 0; border-radius: 999px; font-size: 0.98rem; font-weight: 700; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #2f6bff, #7a5cff); box-shadow: 0 14px 30px rgba(47, 107, 255, 0.4);
  transition: transform 0.3s ease, filter 0.3s ease;
}
#msGrowSoonModal .ms-soon-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
#msGrowSoonModal .ms-soon-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  #msGrowSoonModal .ms-soon-icon b, #msGrowSoonModal .ms-soon-ring, #msGrowSoonModal .ms-soon-dots i { animation: none; }
}

/* ==========================================================================
   NAVBAR — "Guidelines and Policies" (ul.ms-dd-scroll): scroll + andar ka submenu
   • Menu lamba hai → max-height + scroll.
   • Scroll wale menu me side-submenu kat jaata, isliye "Other Links" ka submenu
     yahan side me nahi, usi menu ke andar neeche khulta hai (hover / click / focus).
   ========================================================================== */
.msh.msh.msh-nav .navbar-nav > .dropdown > .dropdown-menu.ms-dd-scroll {
  max-height: min(440px, calc(100vh - 170px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(140, 185, 255, 0.55) transparent;
}
.msh.msh.msh-nav .navbar-nav > .dropdown > .dropdown-menu.ms-dd-scroll::-webkit-scrollbar { width: 6px; }
.msh.msh.msh-nav .navbar-nav > .dropdown > .dropdown-menu.ms-dd-scroll::-webkit-scrollbar-thumb { border-radius: 6px; background: rgba(140, 185, 255, 0.55); }
.msh.msh.msh-nav .navbar-nav > .dropdown > .dropdown-menu.ms-dd-scroll::-webkit-scrollbar-track { background: transparent; }
@media (min-width: 992px) and (hover: hover) {
  .msh.msh.msh-nav .navbar-nav > .dropdown:hover > .dropdown-menu.ms-dd-scroll { margin-top: 0; }
}

/* "Other Links" ka submenu:
   • Desktop (>=992px): right side me khulta hai. Scroll wale menu ke andar wo kat jaata, isliye
     JS (header-test.php ke end me) uski copy  ul.ms-dd-fly  header me bana kar menu ke right me dikhata hai.
   • Mobile: usi menu ke andar neeche khulta hai (accordion jaisa). */
@media (min-width: 992px) {
  .msh.msh.msh-nav .ms-dd-scroll .dropdown-submenu > .dropdown-menu.ms-dd-src { display: none !important; }
  .msh.msh.msh-nav .navbar-nav > .dropdown.ms-keep-open > .dropdown-menu { display: block; }
  .msh.msh.msh-nav .ms-dd-fly {
    position: absolute; z-index: 1100; display: none; margin: 0 !important; inset: auto;
    width: 440px; max-height: min(360px, calc(100vh - 140px)); overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: rgba(140, 185, 255, 0.55) transparent;
  }
  .msh.msh.msh-nav .ms-dd-fly.is-open { display: block; animation: ms-dd-fly-in 0.18s ease-out; }
  .msh.msh.msh-nav .ms-dd-fly .dropdown-item { white-space: normal; }
  .msh.msh.msh-nav .ms-dd-scroll .dropdown-submenu.is-open > .dropdown-item { color: #fff; background: rgba(255, 255, 255, 0.08); }
}
@keyframes ms-dd-fly-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 991.98px) {
  .msh.msh.msh-nav .ms-dd-fly { display: none !important; }
  .msh.msh.msh-nav .ms-dd-scroll .dropdown-submenu > .dropdown-menu {
    position: static !important; float: none; display: none;
    width: auto !important; height: auto !important; max-height: none; overflow: visible !important;
    margin: 2px 0 6px 14px !important; padding: 4px 0 4px 6px; transform: none !important; inset: auto !important;
    border: 0; border-left: 2px solid rgba(255, 164, 92, 0.6); border-radius: 0; box-shadow: none; background: transparent;
  }
  .msh.msh.msh-nav .ms-dd-scroll .dropdown-submenu:hover > .dropdown-menu,
  .msh.msh.msh-nav .ms-dd-scroll .dropdown-submenu:focus-within > .dropdown-menu,
  .msh.msh.msh-nav .ms-dd-scroll .dropdown-submenu > .dropdown-menu.show { display: block; }
  .msh.msh.msh-nav .ms-dd-scroll .dropdown-submenu > .dropdown-menu .dropdown-item { white-space: normal; }
}


