/* NSDM static-test clean stylesheet v12
   Replaces old duplicated V9/V10/V11 CSS.
   Covers header, menu, homepage, sidebar, footer and mobile.
*/

:root {
  --blue: #173f93;
  --blue-dark: #102f70;
  --blue-soft: #eaf3ff;
  --red: #c81e2b;
  --text: #10203a;
  --muted: #5f6e83;
  --border: #d8e1ee;
  --surface: #ffffff;
  --body: "Inter", "Segoe UI", Arial, sans-serif;
  --head: "Poppins", "Inter", Arial, sans-serif;
  --shadow: 0 18px 44px rgba(16, 47, 112, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  background:
    radial-gradient(circle at 6% 8%, rgba(23, 63, 147, .06), transparent 26%),
    radial-gradient(circle at 92% 14%, rgba(127, 36, 220, .07), transparent 30%),
    #f5f8ff;
  color: var(--text);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.nsdm-container {
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
}

.nsdm-skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--blue);
  color: #fff;
  padding: 10px 14px;
  z-index: 999;
}

.nsdm-skip-link:focus {
  left: 10px;
}

/* Header */

.nsdm-site-header {
  background: #fff;
}

.nsdm-ticker {
  background: linear-gradient(90deg, #a90f1b, #e3342f, #a90f1b);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.25);
  font-family: var(--head);
  font-size: 14px;
  font-weight: 900;
  padding: 7px 0;
  white-space: nowrap;
  overflow: hidden;
}

.nsdm-ticker-line {
  display: inline-block;
  min-width: 100%;
  color: #fff;
  animation: nsdmTicker 24s linear infinite;
}

@keyframes nsdmTicker {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

.nsdm-topbar {
  background: var(--blue-dark);
  color: #fff;
}

.nsdm-topbar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.nsdm-topbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.nsdm-masthead {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.nsdm-masthead__inner {
  padding: 13px 0 14px;
  display: flex;
  justify-content: center;
}

.nsdm-brand {
  width: 100%;
  display: flex;
  justify-content: center;
  text-decoration: none;
}

.nsdm-masthead__image {
  width: min(1020px, 96%);
  max-height: 124px;
  object-fit: contain;
  display: block;
}

/* Desktop menu: controlled balanced grid */
.nsdm-nav {
  background: #fff;
  border-top: 1px solid #eef2f7;
  border-bottom: 3px solid #1f2937;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nsdm-nav__inner {
  min-height: auto;
  padding: 11px 0 13px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nsdm-menu {
  list-style: none;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, max-content);
  justify-content: center;
  align-items: center;
  column-gap: 34px;
  row-gap: 15px;
}

.nsdm-menu li {
  display: flex;
  justify-content: center;
}

.nsdm-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0;
  text-decoration: none;
  font-family: var(--head);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 900;
  white-space: nowrap;
  color: #07152c;
}

.nsdm-menu a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.nsdm-menu-toggle {
  display: none;
  border: 0;
  background: var(--blue);
  color: #fff;
  border-radius: 13px;
  padding: 10px 16px;
  font-family: var(--head);
  font-weight: 900;
  cursor: pointer;
}

.nsdm-menu-toggle__bars,
.nsdm-menu-toggle__bars::before,
.nsdm-menu-toggle__bars::after {
  width: 22px;
  height: 3px;
  background: #fff;
  display: block;
  content: "";
}

.nsdm-menu-toggle__bars::before {
  transform: translateY(-7px);
}

.nsdm-menu-toggle__bars::after {
  transform: translateY(4px);
}

/* Hero slider */

.hero-v9 {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border-top: 3px solid #252a34;
  border-bottom: 3px solid #252a34;
  background: #f5d5d3;
}

.hero-slide-v9 {
  display: none;
  min-height: 330px;
  background:
    radial-gradient(circle at 82% 42%, rgba(255,255,255,.65), transparent 28%),
    linear-gradient(135deg, #f3cfcd 0%, #f8dfdb 54%, #fff4e5 100%);
}

.hero-slide-v9.is-active {
  display: block;
}

.hero-inner-v9 {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: center;
  gap: 34px;
  padding: 30px 0 46px;
}

.hero-copy-v9 {
  text-align: center;
}

.hero-copy-v9 span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: var(--blue);
  font-family: var(--head);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(16,47,112,.08);
}

.hero-copy-v9 h1 {
  max-width: 880px;
  margin: 0 auto;
  color: #303449;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.1vw, 48px);
  line-height: 1.12;
  letter-spacing: -.02em;
}

.hero-copy-v9 p {
  margin: 20px 0 0;
  color: #647083;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: .1em;
}

.hero-visual-v9 {
  min-height: 220px;
  border-radius: 28px;
  padding: 22px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: 0 24px 54px rgba(16,47,112,.14), inset 0 1px 0 rgba(255,255,255,.75);
  position: relative;
  overflow: hidden;
}

.hero-visual-v9::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -60px;
  top: -60px;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
}

.hero-visual-v9 b {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--head);
  font-size: 32px;
  margin-bottom: 16px;
  box-shadow: 0 18px 34px rgba(0,0,0,.18);
}

.hero-visual-v9 strong {
  font-family: var(--head);
  font-size: 25px;
  color: #07152c;
}

.hero-visual-v9 em {
  font-style: normal;
  margin-top: 8px;
  color: #40506a;
  font-weight: 800;
}

.hero-visual-v9.saffron {
  background: linear-gradient(135deg, #fff7dc, #ffdfbf);
}

.hero-visual-v9.saffron b {
  background: linear-gradient(135deg, #ff8a00, #c41422);
}

.hero-visual-v9.green {
  background: linear-gradient(135deg, #e9fff2, #fff7d8);
}

.hero-visual-v9.green b {
  background: linear-gradient(135deg, #0aa35d, #7bdc35);
}

.hero-visual-v9.blue {
  background: linear-gradient(135deg, #eaf3ff, #f1e8ff);
}

.hero-visual-v9.blue b {
  background: linear-gradient(135deg, #173f93, #7f24dc);
}

.hero-dots-v9 {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.hero-dots-v9 button {
  width: 42px;
  height: 8px;
  border: 0;
  background: #fff;
  cursor: pointer;
}

.hero-dots-v9 button.is-active {
  background: var(--blue);
}

/* Homepage layout */

.home-main-v9 {
  padding: 40px 0 0;
}

.nsdm-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 32px;
  align-items: start;
}

.nsdm-main-column,
.nsdm-sidebar-column {
  min-width: 0;
}

.home-card-grid-v9 {
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(239,246,255,.78));
  border: 1px solid rgba(216,225,238,.85);
  border-radius: 32px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 22px;
  box-shadow: var(--shadow);
}

.home-card-v9 {
  position: relative;
  min-height: 180px;
  border-radius: 28px;
  padding: 22px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: 0 18px 40px rgba(16,47,112,.15), inset 0 1px 0 rgba(255,255,255,.75);
  transition: transform .18s ease, box-shadow .18s ease;
}

.home-card-v9:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 46px rgba(16,47,112,.18);
}

.home-card-v9::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -38px;
  bottom: -42px;
  border-radius: 50%;
  background: rgba(255,255,255,.32);
}

.home-card-v9 i {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 30px;
  font-style: normal;
  margin-bottom: 15px;
  box-shadow: 0 14px 28px rgba(23,63,147,.24);
}

.home-card-v9 strong {
  position: relative;
  z-index: 1;
  font-family: var(--head);
  font-size: 23px;
  line-height: 1.22;
  color: #091933;
}

.home-card-v9 small {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: #40506a;
  font-weight: 700;
}

.home-card-v9.green { background: linear-gradient(135deg, #e8fff2, #fff8c8); }
.home-card-v9.green i { background: linear-gradient(135deg, #08a857, #45d97d); }

.home-card-v9.blue { background: linear-gradient(135deg, #e9f4ff, #fff 55%, #dff0ff); }
.home-card-v9.blue i { background: linear-gradient(135deg, #1177ee, #00b8ff); }

.home-card-v9.purple { background: linear-gradient(135deg, #f4e9ff, #fff7d6); }
.home-card-v9.purple i { background: linear-gradient(135deg, #7f24dc, #b34cff); }

.home-card-v9.teal { background: linear-gradient(135deg, #e8fff9, #fff 55%, #d6fff3); }
.home-card-v9.teal i { background: linear-gradient(135deg, #05a88c, #19d5b5); }

.home-card-v9.pink { background: linear-gradient(135deg, #fff1f8, #fff8d8); }
.home-card-v9.pink i { background: linear-gradient(135deg, #e7358a, #ff6eb5); }

.home-card-v9.orange { background: linear-gradient(135deg, #fff1dd, #fff7cd 55%, #ffe1b8); }
.home-card-v9.orange i { background: linear-gradient(135deg, #ff8a00, #ffc247); }

/* Content cards */

.content-v9 {
  margin-top: 30px;
  border-radius: 30px;
  padding: 20px;
  background: linear-gradient(135deg, #eaf6ff, #f7fbff);
  box-shadow: inset 0 0 0 1px rgba(216,225,238,.8);
}

.section-title-v9,
.content-card-v9,
.skill-box-v9,
.skill-grid-v9 article {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(216,225,238,.95);
  border-radius: 26px;
  box-shadow: 0 16px 36px rgba(16,47,112,.08);
}

.section-title-v9 {
  padding: clamp(24px, 4vw, 42px);
}

.section-title-v9 span {
  display: inline-flex;
  border-radius: 999px;
  background: linear-gradient(135deg, #c41422, #ef476f);
  color: #fff;
  padding: 7px 14px;
  font-family: var(--head);
  font-weight: 900;
}

.section-title-v9 h2 {
  margin: 14px 0 10px;
  color: #0058bb;
  font-family: var(--head);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
}

.section-title-v9 p,
.content-card-v9 p,
.skill-box-v9 p,
.skill-grid-v9 p,
.skill-grid-v9 li,
.feature-list-v9 div {
  color: #1c2638;
  font-size: 18px;
  line-height: 1.6;
}

.content-card-v9,
.skill-box-v9 {
  padding: 28px;
  margin-top: 18px;
}

.skill-box-v9 h3,
.skill-grid-v9 h3 {
  margin: 0 0 14px;
  color: #0058bb;
  font-family: var(--head);
  font-size: 26px;
}

.feature-list-v9 {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.feature-list-v9 div {
  display: flex;
  gap: 14px;
  background: linear-gradient(135deg, #f8fbff, #fff);
  border: 1px solid #e5edf8;
  border-radius: 16px;
  padding: 15px;
}

.feature-list-v9 span {
  background: #c41422;
  color: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 900;
  font-family: var(--head);
}

.skill-grid-v9 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.skill-grid-v9 article {
  padding: 24px;
}

.skill-grid-v9 ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 9px;
}

/* Sidebar */

.side-card {
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 22px 46px rgba(87,38,170,.14), inset 0 1px 0 rgba(255,255,255,.65);
  padding: 24px;
  margin-bottom: 24px;
}

.side-card h2 {
  margin: 0 0 18px;
  color: #07152c;
  font-family: var(--head);
  font-size: 27px;
  font-weight: 900;
  border-bottom: 4px solid #7f24dc;
  display: inline-block;
  padding-bottom: 7px;
}

.side-exam {
  background: linear-gradient(135deg, #dfffee, #efe3ff 70%);
}

.date-pill {
  display: block;
  width: max-content;
  min-width: 170px;
  text-align: center;
  margin: 16px 0 28px;
  padding: 14px 20px;
  color: #fff;
  text-decoration: none;
  font-family: var(--head);
  font-size: 22px;
  font-weight: 900;
}

.date-pill.orange { background: #e9a028; }
.date-pill.purple { background: #8425e2; }

.side-purple {
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.42), transparent 28%),
    linear-gradient(135deg, #8138ff, #b748ff 45%, #ff7ac8);
}

.side-indigo {
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.42), transparent 28%),
    linear-gradient(135deg, #4058ff, #8a42ff 48%, #d85cff);
}

.side-form h2,
.side-form label {
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.12);
}

.nsdm-form {
  display: grid;
  gap: 16px;
}

.nsdm-form label {
  font-size: 15px;
  font-weight: 900;
}

.nsdm-form input,
.nsdm-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.94);
  color: #101b35;
  padding: 13px;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 12px 24px rgba(50,20,120,.12);
}

.nsdm-form button {
  justify-self: start;
  border: 0;
  background: linear-gradient(135deg, #102f70, #173f93);
  color: #fff;
  border-radius: 16px;
  padding: 13px 26px;
  font-family: var(--head);
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(16,47,112,.30);
  cursor: pointer;
}

.nsdm-honeypot {
  display: none !important;
}

.side-docs {
  background: linear-gradient(135deg, #eef7ff, #f3e9ff 62%, #ffeaf5);
}

.doc-pill {
  display: block;
  padding: 16px;
  margin: 14px 0;
  border-radius: 20px;
  text-decoration: none;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(216,225,238,.9);
  box-shadow: 0 14px 30px rgba(74,38,150,.10);
}

.doc-pill strong {
  display: block;
  color: #07152c;
  font-size: 17px;
}

.doc-pill span {
  display: block;
  color: #0758b6;
  margin-top: 6px;
  font-weight: 900;
}

/* Footer v12 + compatibility if old markup remains */

.footer-v9,
.footer-v10,
.footer-v12 {
  margin-top: 54px;
  background:
    radial-gradient(circle at 8% 15%, rgba(255,255,255,.22), transparent 24%),
    radial-gradient(circle at 92% 10%, rgba(255,138,0,.26), transparent 28%),
    linear-gradient(135deg, #10233f 0%, #173f93 48%, #5b35d6 100%);
  padding: 46px 0 0;
  border-radius: 36px 36px 0 0;
  color: #fff;
}

.footer-v9-grid,
.footer-v10-grid,
.footer-v12-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 1.15fr;
  gap: 24px;
}

.footer-v9-card,
.footer-v10-card,
.footer-v12-card {
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.17), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 22px 52px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.18);
  padding: 24px;
  overflow: hidden;
  color: #fff;
}

.footer-v9-card h3,
.footer-v10-card h3,
.footer-v12-card h3 {
  margin: 0 0 18px;
  font-family: var(--head);
  font-size: 28px;
  color: #fff;
}

.footer-v9-card p,
.footer-v10-card p,
.footer-v12-card p {
  color: rgba(255,255,255,.94);
  font-size: 16px;
  line-height: 1.55;
}

.footer-logo-box,
.footer-img-box,
.footer-img-frame {
  min-height: 190px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #f2f6ff);
  display: grid;
  place-items: center;
  padding: 14px;
  box-shadow: 0 18px 32px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.95);
  overflow: hidden;
}

.footer-logo-box img,
.footer-img-box img,
.footer-img-frame img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
}

.footer-logo-box img,
.footer-logo-frame img {
  max-height: 155px;
}

.footer-v9-bottom,
.footer-v10-bottom,
.footer-v12-bottom {
  margin-top: 26px;
  background: rgba(0,0,0,.12);
  border-top: 1px solid rgba(255,255,255,.14);
  text-align: center;
  color: #fff;
  padding: 17px 0;
}

/* Floating buttons */

.nsdm-float-top,
.nsdm-float-whatsapp {
  position: fixed;
  right: 16px;
  z-index: 100;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(0,0,0,.24);
}

.nsdm-float-top {
  bottom: 92px;
  background: #78dc33;
  border: 2px solid #fff;
}

.nsdm-float-whatsapp {
  bottom: 26px;
  background: #20d650;
}

/* Responsive */

@media (max-width: 1080px) {
  .nsdm-home-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner-v9 {
    grid-template-columns: 1fr;
  }

  .hero-visual-v9 {
    display: none;
  }

  .home-card-grid-v9,
  .skill-grid-v9,
  .footer-v9-grid,
  .footer-v10-grid,
  .footer-v12-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nsdm-menu {
    grid-template-columns: repeat(4, max-content);
    column-gap: 24px;
  }
}

@media (max-width: 720px) {
  .nsdm-ticker {
    font-size: 12px;
    padding: 6px 0;
  }

  .nsdm-topbar__inner {
    min-height: 46px;
    justify-content: center;
    text-align: center;
    gap: 6px 12px;
    font-size: 13px;
  }

  .nsdm-masthead__inner {
    padding: 8px 0;
  }

  .nsdm-masthead__image {
    width: 96%;
    max-height: 92px;
  }

  .nsdm-nav__inner {
    justify-content: flex-end;
    min-height: 56px;
    padding: 8px 0;
  }

  .nsdm-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .nsdm-menu {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 56px;
    width: auto;
    max-width: none;
    background: #fff;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    max-height: 74vh;
    overflow: auto;
    grid-template-columns: 1fr;
    row-gap: 4px;
  }

  .nsdm-menu.is-open {
    display: grid;
  }

  .nsdm-menu li {
    display: block;
  }

  .nsdm-menu a {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding: 11px 12px;
    font-size: 14px;
    border-radius: 10px;
    white-space: normal;
  }

  .hero-v9,
  .hero-slide-v9 {
    min-height: 315px;
  }

  .hero-inner-v9 {
    min-height: 315px;
    padding: 34px 0 54px;
  }

  .hero-copy-v9 span {
    font-size: 13px;
    padding: 7px 14px;
  }

  .hero-copy-v9 h1 {
    font-size: 29px;
    line-height: 1.15;
  }

  .hero-copy-v9 p {
    font-size: 20px;
    letter-spacing: .06em;
  }

  .hero-dots-v9 {
    bottom: 16px;
  }

  .hero-dots-v9 button {
    width: 34px;
    height: 7px;
  }

  .home-card-grid-v9 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 14px;
    border-radius: 24px;
  }

  .home-card-v9 {
    min-height: 146px;
    border-radius: 24px;
    padding: 15px 10px;
  }

  .home-card-v9 i {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .home-card-v9 strong {
    font-size: 17px;
  }

  .home-card-v9 small {
    display: none;
  }

  .content-v9 {
    padding: 12px;
    border-radius: 24px;
  }

  .section-title-v9,
  .content-card-v9,
  .skill-box-v9,
  .skill-grid-v9 article {
    padding: 18px;
    border-radius: 22px;
  }

  .section-title-v9 h2 {
    font-size: 34px;
  }

  .section-title-v9 p,
  .content-card-v9 p,
  .skill-box-v9 p,
  .skill-grid-v9 p,
  .skill-grid-v9 li,
  .feature-list-v9 div {
    font-size: 16px;
  }

  .skill-grid-v9 {
    grid-template-columns: 1fr;
  }

  .side-card {
    border-radius: 28px;
    padding: 20px;
  }

  .footer-v9,
  .footer-v10,
  .footer-v12 {
    border-radius: 28px 28px 0 0;
    padding-top: 30px;
  }

  .footer-v9-grid,
  .footer-v10-grid,
  .footer-v12-grid {
    grid-template-columns: 1fr;
  }

  .footer-v9-card,
  .footer-v10-card,
  .footer-v12-card {
    border-radius: 24px;
  }

  .footer-logo-box,
  .footer-img-box,
  .footer-img-frame {
    min-height: 160px;
  }

  .nsdm-float-top,
  .nsdm-float-whatsapp {
    width: 48px;
    height: 48px;
    right: 12px;
    font-size: 22px;
  }

  .nsdm-float-top {
    bottom: 84px;
  }

  .nsdm-float-whatsapp {
    bottom: 24px;
  }
}

/* V13 final menu division + footer alignment */

/* Desktop menu: column divisions, left aligned */
@media (min-width: 901px) {
  .nsdm-nav {
    background: #fff !important;
    border-top: 1px solid #eef2f7 !important;
    border-bottom: 3px solid #1f2937 !important;
  }

  .nsdm-nav__inner {
    padding: 14px 0 16px !important;
    justify-content: center !important;
  }

  .nsdm-menu {
    display: grid !important;
    grid-template-rows: repeat(4, auto) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(205px, max-content) !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: min(1180px, 100%) !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .nsdm-menu li {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 34px !important;
    padding: 0 22px !important;
  }

  .nsdm-menu a {
    display: inline-flex !important;
    justify-content: flex-start !important;
    text-align: left !important;
    white-space: nowrap !important;
    padding: 0 !important;
    min-height: auto !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    color: #07152c !important;
  }

  .nsdm-menu a:hover {
    background: transparent !important;
    color: #173f93 !important;
    text-decoration: underline !important;
  }

  /* Mild divider lines before each division/column */
  .nsdm-menu li:nth-child(n+5):nth-child(-n+8),
  .nsdm-menu li:nth-child(n+9):nth-child(-n+12),
  .nsdm-menu li:nth-child(n+13):nth-child(-n+16),
  .nsdm-menu li:nth-child(n+17):nth-child(-n+20) {
    border-left: 1px solid rgba(23, 63, 147, 0.16) !important;
  }
}

/* Footer: top-align cards and shift NSDM heading above logo */
.footer-v10-grid,
.footer-v9-grid {
  align-items: stretch !important;
}

.footer-v10-card,
.footer-v9-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

.footer-v10-card h3,
.footer-v9-card h3 {
  width: 100% !important;
  text-align: left !important;
  margin: 0 0 16px !important;
  line-height: 1.15 !important;
}

/* Move NSDM title to top in first footer card */
.footer-v10-card.brand-card h3,
.footer-v9-card.brand-card h3 {
  order: -2 !important;
}

.footer-v10-card.brand-card .footer-img-frame,
.footer-v9-card.brand-card .footer-logo-box {
  order: -1 !important;
  width: 100% !important;
  margin-bottom: 16px !important;
}

/* Keep footer image blocks neat */
.footer-v10-card .footer-img-frame,
.footer-v9-card .footer-img-box,
.footer-v9-card .footer-logo-box {
  width: 100% !important;
}

/* Mobile: keep hamburger menu normal, no divider lines */
@media (max-width: 900px) {
  .nsdm-menu li {
    border-left: 0 !important;
    padding: 0 !important;
  }
}


/* V14 final footer first-card correction */

/* Make footer titles sit at top */
.footer-v10-grid {
  align-items: stretch !important;
}

.footer-v10-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

/* First card: move NSDM title to top */
.footer-v10-card.brand-card h3 {
  order: 0 !important;
  margin: 0 0 16px 0 !important;
  width: 100% !important;
  text-align: left !important;
  font-size: 28px !important;
  line-height: 1.1 !important;
}

/* First card: logo below heading and perfectly square */
.footer-v10-card.brand-card .footer-img-frame {
  order: 1 !important;
  width: 100% !important;
  max-width: 260px !important;
  aspect-ratio: 1 / 1 !important;
  min-height: auto !important;
  height: auto !important;
  border-radius: 24px !important;
  padding: 18px !important;
  margin: 0 0 18px 0 !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}

/* Logo fit */
.footer-v10-card.brand-card .footer-img-frame img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block !important;
}

/* Paragraph after logo */
.footer-v10-card.brand-card p {
  order: 2 !important;
  margin-top: 0 !important;
}

/* Keep mobile square too */
@media (max-width: 720px) {
  .footer-v10-card.brand-card .footer-img-frame {
    max-width: 220px !important;
    margin-bottom: 16px !important;
  }

  .footer-v10-card.brand-card h3 {
    font-size: 26px !important;
  }
}

/* V15 final footer hard replacement */

.footer-v9,
.footer-v10 {
  display: none !important;
}

.footer-final {
  margin-top: 54px !important;
  background:
    radial-gradient(circle at 8% 15%, rgba(255,255,255,.18), transparent 24%),
    radial-gradient(circle at 92% 10%, rgba(255,138,0,.20), transparent 28%),
    linear-gradient(135deg, #10233f 0%, #173f93 48%, #5b35d6 100%) !important;
  padding: 46px 0 0 !important;
  border-radius: 36px 36px 0 0 !important;
  color: #fff !important;
}

.footer-final-grid {
  display: grid !important;
  grid-template-columns: 1.05fr 1fr 1fr 1.15fr !important;
  gap: 24px !important;
  align-items: stretch !important;
}

.footer-final-card {
  min-height: 100% !important;
  border-radius: 30px !important;
  background: linear-gradient(145deg, rgba(255,255,255,.17), rgba(255,255,255,.06)) !important;
  border: 1px solid rgba(255,255,255,.24) !important;
  box-shadow: 0 22px 52px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.18) !important;
  padding: 24px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

.footer-final-card h3 {
  margin: 0 0 18px !important;
  font-family: var(--head) !important;
  font-size: 28px !important;
  line-height: 1.15 !important;
  color: #fff !important;
  text-align: left !important;
  width: 100% !important;
}

.footer-final-card p {
  color: rgba(255,255,255,.94) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  margin: 0 0 12px !important;
}

.footer-final-img {
  width: 100% !important;
  min-height: 190px !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, #ffffff, #f2f6ff) !important;
  display: grid !important;
  place-items: center !important;
  padding: 14px !important;
  box-shadow: 0 18px 32px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.95) !important;
  overflow: hidden !important;
  margin-bottom: 18px !important;
}

.footer-final-img img {
  width: 100% !important;
  max-height: 180px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Make NSDM logo box square */
.footer-final-logo {
  width: 100% !important;
  max-width: 260px !important;
  aspect-ratio: 1 / 1 !important;
  min-height: auto !important;
  height: auto !important;
}

.footer-final-logo img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
}

.footer-final-bottom {
  margin-top: 26px !important;
  background: rgba(0,0,0,.12) !important;
  border-top: 1px solid rgba(255,255,255,.14) !important;
  text-align: center !important;
  color: #fff !important;
  padding: 17px 0 !important;
}

@media (max-width: 900px) {
  .footer-final-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .footer-final {
    border-radius: 28px 28px 0 0 !important;
    padding-top: 30px !important;
  }

  .footer-final-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-final-card {
    border-radius: 24px !important;
  }

  .footer-final-img {
    min-height: 160px !important;
  }

  .footer-final-logo {
    max-width: 220px !important;
  }
}