/* =========================================================
   Mobile Bebasai Sangh Digital Service Portal
   Shared theme, layout, components, states, and responsive UI
   ========================================================= */

/* ---------- Theme variables ---------- */
:root {
  --primary: #075c89;
  --primary-bright: #0b84b7;
  --primary-soft: #e6f4fb;
  --dark: #063b5b;
  --accent: #d62828;
  --accent-warm: #f4b400;
  --light: #eef6fa;
  --surface: #ffffff;
  --page-bg: #f5f8fb;
  --hero-start: #06466e;
  --hero-end: #0a84aa;
  --footer-start: #063b5b;
  --footer-end: #032336;
  --text: #243447;
  --muted: #64748b;
  --border: #dce8ef;
  --shadow-sm: 0 0.35rem 1rem rgba(6, 59, 91, 0.08);
  --shadow-lg: 0 1rem 2.5rem rgba(6, 59, 91, 0.16);
  --radius: 1rem;
}

/* ---------- Document defaults ---------- */
html {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(
      circle at top left,
      rgba(10, 132, 170, 0.08),
      transparent 28rem
    ),
    var(--page-bg);
  color: var(--text);
  font-family: system-ui, "Noto Sans Devanagari", sans-serif;
  line-height: 1.65;
}

/* Keep every site section fluid instead of using Bootstrap's boxed
   desktop widths. The responsive gutter preserves comfortable spacing. */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  width: 100%;
  max-width: none;
  padding-inline: clamp(1rem, 3vw, 3rem);
}

::selection {
  color: #fff;
  background: var(--primary);
}

a,
button,
input,
select,
textarea {
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

input,
select,
textarea {
  max-width: 100%;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
button,
td,
th {
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid rgba(244, 180, 0, 0.55);
  outline-offset: 3px;
}

/* ---------- Utility toolbar ---------- */
.top {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid #e5e7eb;
  color: #1f2937;
  background: #fff;
  font-size: 0.8rem;
}

.utility-bar {
  min-height: 2.6rem;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
}

.utility-contact,
.utility-tools {
  display: flex;
  align-items: center;
}

.utility-contact a,
.utility-login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
}

.utility-contact a {
  min-height: 1.35rem;
  padding-inline: 0.8rem;
  border-right: 1px solid #e5e7eb;
}

.utility-contact a:first-child {
  padding-left: 0;
}

.utility-contact i,
.utility-login i {
  color: var(--primary);
}

.utility-tools > a,
.utility-tools > button {
  min-height: 2.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 0;
  border-left: 1px solid #e5e7eb;
  color: #334155;
  background: transparent;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
}

.utility-tools > a:hover,
.utility-tools > button:hover,
.utility-tools > a:focus-visible,
.utility-tools > button:focus-visible {
  color: var(--primary);
  background: var(--primary-soft);
}

/* ---------- Public website theme picker ---------- */
.theme-picker {
  min-height: 2.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-left: 1px solid #e5e7eb;
  color: #334155;
  background: transparent;
}

.theme-picker i {
  color: var(--primary);
}

.theme-picker select {
  width: 4.8rem;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Brand header ---------- */
.brand {
  position: relative;
  z-index: 1;
  min-height: 10.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.brand-silhouette {
  position: absolute;
  inset: auto 0 0;
  height: 6.5rem;
  pointer-events: none;
  opacity: 0.6;
  background:
    linear-gradient(to top, #edf1f4 0 1.45rem, transparent 1.45rem),
    linear-gradient(110deg, transparent 42%, #edf1f4 43% 49%, transparent 50%)
      7% 100% / 9rem 5rem repeat-x,
    linear-gradient(70deg, transparent 42%, #edf1f4 43% 49%, transparent 50%)
      52% 100% / 11rem 4rem repeat-x;
}

.brand-content {
  position: relative;
  z-index: 1;
  padding-block: 0.65rem 1.1rem;
}

.brand-motto {
  margin: 0 0 0.45rem;
  color: #a32020;
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 800;
  text-align: center;
}

.brand-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-emblem {
  width: 7.25rem;
  height: 7.25rem;
  display: block;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0.35rem 0.45rem rgba(6, 59, 91, 0.2));
}

.brand-kicker {
  color: #25364a;
  font-size: 1rem;
  font-weight: 800;
}

.brand-copy {
  min-width: 0;
}

.brand h1 {
  margin: 0.2rem 0;
  color: #a51e22;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.brand-copy p {
  margin: 0;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 650;
}

.brand-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.1rem;
  flex: 0 0 auto;
}

.brand-clock {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: right;
}

.brand-clock span {
  color: #0d6efd;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.brand-clock strong {
  color: #e02d36;
  font-size: 1.05rem;
}

.nepal-flag {
  width: 7rem;
  flex: 0 0 auto;
  filter: drop-shadow(0 0.35rem 0.25rem rgba(6, 59, 91, 0.18));
}

.nepal-flag img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ---------- Primary navigation ---------- */
.navbar {
  background: linear-gradient(90deg, var(--primary), #087da5) !important;
  box-shadow: 0 0.4rem 1rem rgba(6, 59, 91, 0.18);
}

.navbar .nav-link {
  position: relative;
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.92rem;
  font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
}

.navbar-collapse.show,
.navbar-collapse.collapsing {
  max-height: min(70vh, 34rem);
  overflow-y: auto;
}

/* ---------- Hero ---------- */
.portal-feature {
  padding: clamp(1.5rem, 4vw, 3rem) 0;
  background: var(--page-bg);
}

/* ---------- Featured image banner ---------- */
.feature-banner {
  position: relative;
  height: clamp(20rem, 42vw, 30rem);
  overflow: hidden;
  margin: 0 0 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--primary-soft);
  box-shadow: var(--shadow-sm);
}

.feature-banner::after {
  position: absolute;
  z-index: 2;
  inset: 45% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(3, 20, 32, 0.72));
  pointer-events: none;
}

.feature-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ---------- Featured slider structure ---------- */
.feature-banner .carousel-inner,
.feature-banner .carousel-item {
  height: 100%;
}

.feature-banner .carousel-item {
  margin: 0;
}

.feature-banner .carousel-control-prev,
.feature-banner .carousel-control-next {
  z-index: 4;
  width: 3.5rem;
  opacity: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent);
}

.feature-banner .carousel-control-next {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.35), transparent);
}

.feature-banner:hover .carousel-control-prev,
.feature-banner:hover .carousel-control-next,
.feature-banner:focus-within .carousel-control-prev,
.feature-banner:focus-within .carousel-control-next {
  opacity: 1;
}

.feature-banner .carousel-indicators {
  z-index: 4;
  right: 1rem;
  bottom: 0.8rem;
  left: auto;
  margin: 0;
}

.feature-banner .carousel-indicators button {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 50%;
}

.feature-slide-caption {
  position: absolute;
  z-index: 3;
  right: 1.25rem;
  bottom: 1.15rem;
  left: 1.25rem;
  color: #fff;
  text-align: center;
  text-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.55);
}

.feature-slide-caption span,
.feature-slide-caption small {
  display: block;
}

.feature-slide-caption span {
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 850;
}

/* ---------- Association introduction card ---------- */
.feature-introduction {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.feature-introduction::after {
  position: absolute;
  right: 2rem;
  bottom: -2.5rem;
  color: var(--primary);
  opacity: 0.045;
  content: "\F4E7";
  font-family: "bootstrap-icons";
  font-size: 11rem;
  pointer-events: none;
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-introduction h2 {
  position: relative;
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 850;
}

.feature-introduction p {
  position: relative;
  margin-bottom: 0.8rem;
}

.feature-intro-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

#featureAboutLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- Leadership sidebar ---------- */
.feature-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.leadership-box {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.leadership-box h2 {
  margin: 0;
  padding: 0.7rem 0.9rem;
  color: #fff;
  background: linear-gradient(90deg, var(--primary), var(--primary-bright));
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}
.leadership-autoscroll {
  position: relative;
}

.leader-scroll {
  height: 15.25rem;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-color: var(--primary) transparent;
  scrollbar-width: thin;
}

.leader-scroll .leader-card {
  min-height: 6.5rem;
}

.leader-scroll-hint {
  position: absolute;
  z-index: 2;
  right: 0.7rem;
  bottom: 0.4rem;
  max-width: calc(100% - 1.4rem);
  margin: 0;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  color: #fff;
  background: rgba(6, 59, 91, 0.88);
  box-shadow: var(--shadow-sm);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.leader-scroll-hint.is-hidden {
  opacity: 0;
}

.leader-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0.55rem;
  padding: 0.7rem;
  border: 1px solid var(--border);
  border-left: 0.35rem solid var(--accent);
  border-radius: 0.35rem;
  background: var(--surface);
}

.leader-photo {
  width: 4.6rem;
  height: 5.1rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--primary);
  background: linear-gradient(145deg, var(--primary-soft), #fff);
  font-size: 2.4rem;
}
.leader-photo img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0.25rem;
  object-fit: cover;
  object-position: center top;
}

.leader-card strong,
.leader-card span {
  display: block;
}

.leader-card strong {
  font-size: 0.86rem;
  line-height: 1.35;
}

.leader-card span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ---------- Featured media shortcuts ---------- */
.feature-media-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
  overflow: hidden;
  padding: 0 0 0.65rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.feature-media-links h2 {
  margin: 0 0 0.1rem;
  padding: 0.6rem 0.85rem;
  color: #fff;
  background: linear-gradient(90deg, var(--primary), var(--primary-bright));
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}

.feature-media-links a {
  min-width: 0;
  min-height: 3.45rem;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) 1.5rem;
  align-items: center;
  overflow: hidden;
  margin-inline: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}

.feature-media-links a > i:first-child {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 1.1rem;
}

.feature-media-links a:nth-of-type(1) > i:first-child {
  color: #dc3545;
  background: #ffe3e6;
}

.feature-media-links a:nth-of-type(2) > i:first-child {
  color: #6f42c1;
  background: #eee5ff;
}

.feature-media-links a:nth-of-type(3) > i:first-child {
  color: #d05a00;
  background: #fff0dc;
}

.feature-media-links a:nth-of-type(4) > i:first-child {
  color: #9a6b00;
  background: #fff4c9;
}

.feature-media-links a:nth-of-type(5) > i:first-child {
  color: #c21875;
  background: #ffe3f3;
}

.feature-media-links span {
  min-width: 0;
  padding: 0.55rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.feature-media-links .media-link-arrow {
  color: var(--muted);
  font-size: 0.8rem;
}

.feature-media-links a:hover,
.feature-media-links a:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateX(0.15rem);
}

.feature-media-links a:hover .media-link-arrow,
.feature-media-links a:focus-visible .media-link-arrow {
  color: var(--primary);
}

/* ---------- Dashboard-managed online services ---------- */
.section-heading {
  max-width: 48rem;
  margin-bottom: 1.35rem;
}

.section-heading .section-kicker {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading h3 {
  margin: 0.25rem 0 0.35rem;
}

.service-card {
  min-height: 21rem;
  border-top: 0.22rem solid var(--primary);
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.9rem 2rem rgba(10, 45, 85, 0.12);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.service-card-header {
  min-height: 7.25rem;
}

.service-card-header h4 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.service-card-body {
  min-height: 5.75rem;
  flex: 1 1 auto;
}

.service-card-body p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.service-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 94%, var(--primary-soft));
}

.service-category {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 0.68rem;
  font-weight: 800;
}

/* ---------- Service audience and availability metadata ---------- */
.service-meta {
  min-height: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.service-meta > span:first-child {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.service-status {
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
}

.service-sync-note {
  color: var(--muted);
}

/* ---------- Dashboard-managed Area / Branch Office cards ---------- */
.branch-office-card {
  border-top: 0.22rem solid var(--primary);
  min-height: 12rem;
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.branch-office-card:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.75rem 1.5rem rgba(10, 45, 85, 0.1);
}

.branch-office-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.branch-office-contact {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.branch-office-contact span {
  overflow-wrap: anywhere;
}

.branch-office-contact i {
  width: 1rem;
  margin-right: 0.3rem;
  color: var(--primary);
}

@media (max-width: 575.98px) {
  .branch-office-card {
    min-height: auto;
  }
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  color: #fff;
  background: linear-gradient(120deg, var(--hero-start), var(--hero-end));
}

/* ---------- Hero framed layout ---------- */
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.65fr);
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.04)
  );
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(0.35rem);
  backdrop-filter: blur(0.35rem);
}

.hero-shell::after {
  position: absolute;
  right: 34%;
  bottom: 0;
  width: 12rem;
  height: 7rem;
  opacity: 0.1;
  content: "";
  background: linear-gradient(
      135deg,
      transparent 48%,
      #fff 49% 54%,
      transparent 55%
    )
    0 100% / 4rem 4rem repeat-x;
  pointer-events: none;
}

/* ---------- Hero message styling ---------- */
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #322600;
  background: var(--accent-warm);
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.12);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-eyebrow {
  margin: 0 0 0.4rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  background: rgba(255, 255, 255, 0.08);
}

.hero::before {
  top: -9rem;
  right: -6rem;
  width: 24rem;
  height: 24rem;
}

.hero::after {
  bottom: -7rem;
  left: 35%;
  width: 15rem;
  height: 15rem;
}

.hero h2 {
  max-width: 54rem;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.hero .lead {
  max-width: 52rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.hero .btn {
  border-radius: 999px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.55rem;
}

/* ---------- Hero portal highlight panel ---------- */
.hero-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 1.15rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.16);
}

.hero-panel-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--primary-bright));
}

.hero-panel-heading small,
.hero-panel-heading strong {
  display: block;
}

.hero-panel-heading small {
  color: rgba(255, 255, 255, 0.78);
}

.hero-panel-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.35rem;
}

.hero-feature-list {
  padding: 0.35rem 1rem;
}

.hero-feature-list a {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}

.hero-feature-list a:hover,
.hero-feature-list a:focus-visible {
  color: var(--primary);
  transform: translateX(0.2rem);
}

.hero-feature-list a > i:first-child {
  color: var(--primary);
  font-size: 1.3rem;
}

.hero-feature-list strong,
.hero-feature-list small {
  display: block;
}

.hero-feature-list small {
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-panel-footer {
  padding: 0.7rem 1rem;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 0.8rem;
  font-weight: 750;
  text-align: center;
}

/* ---------- Main sections ---------- */
.section {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  scroll-margin-top: 5rem;
}

.section + .section {
  border-top: 1px solid rgba(7, 92, 137, 0.08);
}

.section h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  color: var(--dark);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section h3::before {
  width: 0.35rem;
  height: 2.1rem;
  flex: 0 0 auto;
  border-radius: 999px;
  content: "";
  background: linear-gradient(var(--accent), #ef4444);
}

/* ---------- Cards and reusable content ---------- */
.card {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(7, 92, 137, 0.1);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.card:hover {
  border-color: rgba(7, 92, 137, 0.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-0.3rem);
}

.quick a {
  color: inherit;
  text-decoration: none;
}

.quick .card {
  padding: 1.25rem;
}

.iconbox {
  color: var(--primary);
  font-size: 2.25rem;
}

.pill {
  display: inline-block;
  margin: 0.25rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--primary-soft);
}

.profile {
  width: 5.3rem;
  height: 5.3rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  margin: auto;
  border: 4px solid #fff;
  border-radius: 50%;
  color: var(--primary);
  background: linear-gradient(145deg, #e4f0f8, #cfeafa);
  box-shadow: 0 0.35rem 1rem rgba(7, 92, 137, 0.15);
  font-size: 2.5rem;
}
.profile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.notice {
  margin-bottom: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-left: 0.3rem solid var(--accent);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 0.25rem 0.75rem rgba(6, 59, 91, 0.06);
}

.notice-search-input {
  width: min(100%, 200px);
}

.notice-type-select {
  width: min(100%, 190px);
}

.alert,
.accordion-item,
.form-control,
.form-select {
  border-radius: 0.75rem;
}

.btn {
  font-weight: 650;
}

.nav-tabs {
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav-tabs .nav-link {
  border-radius: 0.6rem 0.6rem 0 0;
  color: var(--primary);
  font-weight: 650;
}

.table {
  margin-bottom: 0;
}

.table thead th {
  color: var(--dark);
  background: var(--primary-soft);
}

.tag {
  color: var(--muted);
  font-size: 0.75rem;
}

.mini {
  font-size: 0.85rem;
}

/* ---------- Footer and floating control ---------- */
.footer {
  position: relative;
  padding: 0;
  color: #fff;
  border-top: 4px solid var(--accent-warm);
  background:
    linear-gradient(var(--footer-start), var(--footer-end)), var(--dark);
}

.footer-main {
  padding: clamp(2.75rem, 5vw, 4rem) 0 2.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  text-decoration: none;
}

.footer-brand img {
  width: 4.5rem;
  height: 4.5rem;
  flex: 0 0 4.5rem;
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 0.55rem 1.4rem rgba(0, 0, 0, 0.2);
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.footer-brand small {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-description {
  max-width: 32rem;
  margin: 1.25rem 0 0.35rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
}

.footer-disclaimer {
  max-width: 32rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer-social {
  display: flex;
  gap: 0.65rem;
}

.footer-social a {
  display: inline-grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
}

/* ---------- Light color theme ---------- */
body[data-theme="light"] {
  color-scheme: light;
}

/* ---------- Blue color theme ---------- */
body[data-theme="blue"] {
  --primary: #1557b0;
  --primary-bright: #2878d4;
  --primary-soft: #e6f0ff;
  --dark: #103b73;
  --accent: #3b82f6;
  --accent-warm: #f4b400;
  --page-bg: #eef5ff;
  --hero-start: #123c78;
  --hero-end: #2474c8;
  --footer-start: #123b70;
  --footer-end: #071d3b;
}

/* ---------- Green color theme ---------- */
body[data-theme="green"] {
  --primary: #18794e;
  --primary-bright: #2b9a66;
  --primary-soft: #e4f7ed;
  --dark: #145c3d;
  --accent: #dc3545;
  --accent-warm: #f0b429;
  --page-bg: #f0faf4;
  --hero-start: #12563a;
  --hero-end: #299365;
  --footer-start: #124b34;
  --footer-end: #07291c;
}

/* ---------- Yellow color theme ---------- */
body[data-theme="yellow"] {
  --primary: #8a6500;
  --primary-bright: #b48600;
  --primary-soft: #fff5c7;
  --dark: #604900;
  --accent: #b42318;
  --accent-warm: #ffc107;
  --page-bg: #fffbed;
  --hero-start: #6f5200;
  --hero-end: #b18400;
  --footer-start: #604700;
  --footer-end: #302300;
}

/* ---------- Orange color theme ---------- */
body[data-theme="orange"] {
  --primary: #b54708;
  --primary-bright: #e66b18;
  --primary-soft: #fff0e6;
  --dark: #7a2e06;
  --accent: #c92727;
  --accent-warm: #ffb020;
  --page-bg: #fff7f1;
  --hero-start: #863606;
  --hero-end: #e2691a;
  --footer-start: #713006;
  --footer-end: #351502;
}

.footer h5 {
  position: relative;
  margin-bottom: 1.25rem;
  padding-bottom: 0.7rem;
  color: #fff;
  font-weight: 800;
}

.footer h5::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.5rem;
  height: 3px;
  border-radius: 999px;
  background: var(--accent-warm);
  content: "";
}

.footer a {
  color: #ccefff;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer a,
.footer p {
  overflow-wrap: anywhere;
}

.footer-links,
.footer-contact-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-links i {
  color: var(--accent-warm);
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.footer-links a:hover i {
  transform: translateX(3px);
}

.footer-contact-list li {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.footer-contact-list i {
  margin-top: 0.15rem;
  color: var(--accent-warm);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: center;
  padding: 1.1rem 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.68);
}

.footer-visitors {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.footer-visitors i {
  color: var(--accent-warm);
}

#toTop {
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1030;
  width: 3rem;
  height: 3rem;
  padding: 0;
  box-shadow: var(--shadow-lg);
}

/* ---------- Social, map and important contacts ---------- */
.connect-panel {
  height: 100%;
  min-height: 30rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.connect-panel-header {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.85rem 1rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
}

.connect-panel-header-facebook,
.connect-panel-header-map {
  background: #09589a;
}

.connect-panel-header-contacts {
  background: #a62126;
}

.connect-panel-body {
  min-height: 0;
  flex: 1 1 auto;
}

.facebook-panel-body {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.facebook-page-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
}

.facebook-page-summary img,
.facebook-post-heading img {
  width: 3.5rem;
  height: 3.5rem;
  flex: 0 0 auto;
  border-radius: 0.3rem;
  object-fit: cover;
}

.facebook-page-summary strong,
.facebook-page-summary span,
.facebook-post-heading strong,
.facebook-post-heading small {
  display: block;
}

.facebook-page-summary span,
.facebook-post-heading small {
  color: var(--muted);
  font-size: 0.78rem;
}

.facebook-follow-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.3rem;
  color: #fff;
  background: #1877f2;
  font-weight: 750;
  text-decoration: none;
}

.facebook-follow-link:hover,
.facebook-follow-link:focus-visible {
  color: #fff;
  background: #0f5fc5;
}

.facebook-feed {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.75rem;
  border: 1px solid var(--border);
  background: #f4f6f8;
  scrollbar-color: #8c9299 transparent;
  scrollbar-width: thin;
}

.facebook-post {
  margin-bottom: 0.75rem;
  padding: 0.85rem;
  border: 1px solid #dde1e6;
  border-radius: 0.35rem;
  background: #fff;
}

.facebook-post:last-child {
  margin-bottom: 0;
}

.facebook-post-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.facebook-post-heading img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
}

.facebook-post p {
  font-size: 0.88rem;
}

.facebook-post-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px solid #e5e7eb;
  color: #667085;
  font-size: 0.75rem;
}

.map-panel-body {
  position: relative;
  min-height: 26.5rem;
  background: #d9eee3;
}

.map-panel-body iframe {
  width: 100%;
  height: 100%;
  min-height: 26.5rem;
  display: block;
  border: 0;
}

.map-open-link {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.3rem;
  color: #075c89;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}

.important-contacts {
  max-height: 26.5rem;
  overflow-y: auto;
  scrollbar-color: #8c9299 transparent;
  scrollbar-width: thin;
}

.important-contact-row {
  min-height: 3.3rem;
  display: grid;
  grid-template-columns: minmax(7rem, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}

.important-contact-row:last-child {
  border-bottom: 0;
}

.important-contact-row strong,
.important-contact-row small {
  overflow-wrap: anywhere;
  text-align: right;
}

.important-contact-row strong {
  color: #0d6efd;
  font-size: 0.86rem;
}

.important-contact-row small {
  color: var(--muted);
}

.important-contact-row:hover,
.important-contact-row:focus-visible {
  background: var(--primary-soft);
}

body[data-theme="dark"] .connect-panel,
body[data-theme="dark"] .facebook-post,
body.dark .connect-panel,
body.dark .facebook-post {
  color: #e6f0f7;
  border-color: rgba(255, 255, 255, 0.1);
  background: #233744;
}

body[data-theme="dark"] .facebook-feed,
body.dark .facebook-feed {
  border-color: rgba(255, 255, 255, 0.1);
  background: #172a36;
}

@media (max-width: 991.98px) {
  .connect-panel {
    min-height: 27rem;
  }

  .map-panel-body,
  .map-panel-body iframe,
  .important-contacts {
    min-height: 23.5rem;
    max-height: 23.5rem;
  }
}

@media (max-width: 575.98px) {
  .connect-panel {
    min-height: 25rem;
  }

  .connect-panel-header {
    min-height: 3.2rem;
    font-size: 1rem;
  }

  .map-panel-body,
  .map-panel-body iframe,
  .important-contacts {
    min-height: 21.8rem;
    max-height: 21.8rem;
  }

  .important-contact-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .important-contact-row strong,
  .important-contact-row small {
    text-align: left;
  }
}
/* ---------- Accessibility display modes ---------- */
.hide-low img,
.hide-low iframe {
  display: none !important;
}

body.dark {
  color: #e6f0f7;
  background: #15222c;
}

/* ---------- Dark color theme compatibility ---------- */
body[data-theme="dark"] {
  --primary: #38bdf8;
  --primary-bright: #7dd3fc;
  --primary-soft: #18384a;
  --dark: #bae6fd;
  --accent: #fb7185;
  --accent-warm: #fbbf24;
  --surface: #233744;
  --page-bg: #15222c;
  --text: #e6f0f7;
  --border: rgba(255, 255, 255, 0.12);
  --hero-start: #0b2635;
  --hero-end: #075c79;
  --footer-start: #091e2a;
  --footer-end: #041017;
  color-scheme: dark;
  color: #e6f0f7;
}

body[data-theme="dark"] .top,
body[data-theme="dark"] .brand,
body[data-theme="dark"] .card,
body[data-theme="dark"] .notice,
body[data-theme="dark"] .accordion-item,
body[data-theme="dark"] .accordion-button,
body[data-theme="dark"] .hero-panel,
body[data-theme="dark"] .feature-introduction,
body[data-theme="dark"] .leadership-box,
body[data-theme="dark"] .leader-card,
body[data-theme="dark"] .feature-media-links a {
  color: #e6f0f7;
  border-color: rgba(255, 255, 255, 0.1);
  background: #233744;
}

body[data-theme="dark"] .feature-media-links {
  border-color: rgba(255, 255, 255, 0.1);
  background: #233744;
}

body[data-theme="dark"] .utility-contact a,
body[data-theme="dark"] .utility-tools > a,
body[data-theme="dark"] .utility-tools > button,
body[data-theme="dark"] .theme-picker {
  border-color: rgba(255, 255, 255, 0.1);
  color: #dbeafe;
}

body[data-theme="dark"] .brand-kicker,
body[data-theme="dark"] .brand-copy p,
body[data-theme="dark"] .table,
body[data-theme="dark"] .table thead th {
  color: #dbeafe;
}

body[data-theme="dark"] .brand-silhouette {
  opacity: 0.08;
}

body[data-theme="dark"] .table {
  --bs-table-bg: #233744;
  --bs-table-color: #e6f0f7;
  --bs-table-striped-bg: #1f313d;
  --bs-table-striped-color: #e6f0f7;
}

body[data-theme="dark"] .text-muted {
  color: #b7c7d2 !important;
}

body[data-theme="dark"] .hero-feature-list small {
  color: #b7c7d2;
}

body[data-theme="dark"] .leader-photo {
  background: linear-gradient(145deg, #18384a, #233744);
}

body.dark .top {
  color: #dbeafe;
  border-color: rgba(255, 255, 255, 0.1);
  background: #132631;
}

body.dark .brand,
body.dark .card,
body.dark .notice,
body.dark .accordion-item,
body.dark .accordion-button {
  color: #e6f0f7;
  border-color: rgba(255, 255, 255, 0.1);
  background: #233744;
}

body.dark .utility-contact a,
body.dark .utility-tools > a,
body.dark .utility-tools > button {
  border-color: rgba(255, 255, 255, 0.1);
  color: #dbeafe;
}

body.dark .brand-kicker,
body.dark .brand-copy p {
  color: #dbeafe;
}

body.dark .brand-silhouette {
  opacity: 0.08;
}

body.dark .section h3,
body.dark .table,
body.dark .table thead th {
  color: #bce7ff;
}

body.dark .table {
  --bs-table-bg: #233744;
  --bs-table-color: #e6f0f7;
  --bs-table-striped-bg: #1f313d;
  --bs-table-striped-color: #e6f0f7;
}

body.dark .text-muted {
  color: #b7c7d2 !important;
}

/* ---------- Responsive adjustments ---------- */
@media (max-width: 767.98px) {
  .feature-banner .carousel-control-prev,
  .feature-banner .carousel-control-next {
    width: 2.75rem;
    opacity: 0.85;
  }

  .utility-bar {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 0.35rem;
  }

  .utility-contact,
  .utility-tools {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .utility-contact a {
    padding-block: 0.3rem;
  }

  .utility-tools > a,
  .utility-tools > button {
    min-height: 2.2rem;
    border-top: 1px solid #e5e7eb;
  }

  .theme-picker {
    min-height: 2.2rem;
    border-top: 1px solid #e5e7eb;
  }

  .brand-content {
    padding-block: 0.8rem 1.25rem;
  }

  .brand-motto {
    margin-bottom: 0.9rem;
  }

  .brand-layout {
    flex-direction: column;
    gap: 1rem;
  }

  .brand-identity {
    justify-content: center;
    text-align: left;
  }

  .brand-status {
    width: 100%;
    justify-content: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }

  .brand-clock {
    text-align: left;
  }

  .hero {
    text-align: center;
  }

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

  .hero-badge {
    margin-inline: auto;
  }

  .hero-eyebrow {
    text-align: center;
  }

  .hero .lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-panel {
    text-align: left;
  }

  .section {
    padding-block: 2.75rem;
  }

  .section h3 {
    align-items: flex-start;
  }

  .feature-intro-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .feature-intro-actions > .btn {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .feature-media-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-media-links h2 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .utility-contact {
    flex-direction: column;
  }

  .utility-contact a {
    border: 0;
  }

  .tool-label {
    display: none;
  }

  .utility-tools > a,
  .utility-tools > button {
    padding-inline: 0.5rem;
    font-size: 0.76rem;
  }

  .theme-picker {
    padding-inline: 0.4rem;
    font-size: 0.76rem;
  }

  .theme-picker select {
    width: 4.3rem;
  }

  .brand-motto {
    padding-inline: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .brand-identity {
    width: 100%;
    flex-direction: column;
    text-align: center;
  }

  .brand h1 {
    font-size: 1.65rem;
  }

  .brand-emblem {
    width: 6.25rem;
    height: 6.25rem;
  }

  .brand-status {
    gap: 0.5rem;
  }

  .nepal-flag {
    width: 5.5rem;
  }

  .navbar-brand {
    max-width: calc(100% - 4.5rem);
    white-space: normal;
  }

  .navbar-collapse {
    padding-top: 0.65rem;
  }

  .navbar .nav-link {
    padding: 0.65rem 0.75rem;
  }

  .hero {
    padding-block: 1.5rem;
  }

  .hero-shell {
    gap: 1.25rem;
    padding: 1.15rem;
    border-radius: 1.1rem;
  }

  .portal-feature {
    padding-block: 1rem;
  }

  .feature-banner {
    height: 17rem;
    margin-bottom: 1rem;
  }

  .feature-introduction {
    padding: 1.15rem;
  }

  #featureAboutLinks,
  #featureAboutLinks .btn {
    width: 100%;
  }

  .feature-media-links a {
    margin-inline: 0.55rem;
  }

  .hero h2 {
    font-size: clamp(1.85rem, 10vw, 2.45rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .notice .btn,
  #docContent .btn {
    width: 100%;
  }

  .section {
    padding-block: 2.25rem;
  }

  .section h3 {
    gap: 0.55rem;
    margin-bottom: 1.25rem;
    line-height: 1.35;
  }

  .card.p-4 {
    padding: 1.25rem !important;
  }

  .notice-search-input,
  .notice-type-select {
    width: 100%;
    flex: 0 0 100% !important;
  }

  .nav-tabs {
    border-bottom: 0;
  }

  .nav-tabs .nav-item,
  .nav-tabs .nav-link {
    width: 100%;
  }

  .nav-tabs .nav-link {
    border-radius: 0.6rem;
    text-align: left;
  }

  .footer {
    text-align: left;
  }

  .footer-main {
    padding-block: 2.5rem 2rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-column {
    padding-top: 0.25rem;
  }

  #toTop {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
