/* ==========================================================================
   AUTHENTIC NEPALESE COOPERATIVE STYLES (BAGMATI PROSCUN REFERENCE)
   ========================================================================== */

/* --- 1. Topbar --- */
header.topbar {
  background: linear-gradient(135deg, #052261 0%, #08399f 100%) !important;
  color: #ffffff !important;
  width: 100% !important;
  min-height: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 16px !important;
  box-shadow: 0 2px 8px rgba(8, 57, 159, 0.25) !important;
  border-bottom: 2.5px solid var(--brand-green, #01a755) !important;
  z-index: 999 !important;
  position: relative !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.topbar-container {
  width: 100%;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  max-width: var(--container-max);
  margin: 0 auto;
  gap: clamp(8px, 1.2vw, 16px);
  box-sizing: border-box !important;
}

.topbar ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.topbar ul.contact-info {
  gap: clamp(8px, 1.1vw, 18px) !important;
  flex-shrink: 1 !important;
  white-space: nowrap !important;
}

.topbar ul.contact-info li {
  font-size: clamp(0.72rem, 0.82vw, 0.82rem) !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
}

.topbar ul.contact-info li a {
  color: #ffffff !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: color 0.2s ease;
  white-space: nowrap !important;
}

.topbar ul.contact-info li a:hover {
  color: #ddf3e8 !important;
}

.topbar ul.social-links {
  gap: 8px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.topbar ul.social-links li a {
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.18) !important;
  text-decoration: none !important;
  font-size: 12px !important;
  transition: all 0.2s ease !important;
}

.topbar ul.social-links li a:hover {
  background-color: var(--brand-cyan, #00acf1) !important;
  transform: translateY(-2px);
}

.topbar-lang-pill {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 2px 7px;
  margin-left: 6px;
  display: inline-flex;
  gap: 3px;
  white-space: nowrap !important;
}

.topbar-lang-pill button {
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 12px;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.topbar-lang-pill button.active {
  background: #ffffff;
  color: var(--brand-blue, #08399f);
  font-weight: 800;
}

/* --- 2. Main Navbar --- */
.main-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--brand-border, #d6e4ff);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1100 !important;
  transition: all 0.25s ease;
}

.main-navbar.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

.navbar-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 1.25rem;
  gap: 1.5rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 6px 0;
  flex-shrink: 0;
}

.navbar-brand img {
  height: 76px;
  max-height: 80px;
  width: auto;
  display: block;
  transition: all 0.3s ease;
}

.main-navbar.navbar-scrolled .navbar-brand img {
  height: 62px;
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  padding: 0.6rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  white-space: nowrap !important;
  border-radius: 8px;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.nav-link .nav-arrow {
  font-size: 0.72rem;
  display: inline-block;
  transition: transform 0.2s ease;
  opacity: 0.85;
}

.nav-item:hover .nav-link .nav-arrow {
  transform: rotate(180deg);
}

.nav-link:hover {
  color: var(--brand-blue, #08399f);
  background: rgba(8, 57, 159, 0.06);
}

.nav-link.active-nav {
  color: var(--brand-blue, #08399f);
  background: rgba(8, 57, 159, 0.1);
  font-weight: 700;
}

/* Dropdown styling */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 9px 18px;
  font-size: 0.88rem;
  color: #334155;
  text-decoration: none;
  white-space: nowrap !important;
  transition: all 0.2s ease;
  font-weight: 500;
  border-left: 3px solid transparent;
}

.dropdown-link:hover {
  background: var(--brand-bg-light);
  color: var(--brand-blue, #08399f);
  border-left-color: var(--brand-blue, #08399f);
  padding-left: 22px;
}

.action-buttons-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap !important;
}

.btn-elibrary {
  background: var(--brand-green, #01a755);
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(1, 167, 85, 0.25);
  transition: all 0.2s ease;
}

.btn-elibrary:hover {
  background: var(--brand-green-hover, #008f48);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(1, 167, 85, 0.35);
}

.btn-signin {
  border: 1.5px solid var(--brand-blue, #08399f);
  color: var(--brand-blue, #08399f) !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  cursor: pointer;
  white-space: nowrap !important;
  transition: all 0.2s ease;
}

.btn-signin:hover {
  background: var(--brand-blue, #08399f);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(8, 57, 159, 0.25);
}

.btn-icon {
  display: inline-block;
  font-size: 0.92rem;
  line-height: 1;
}

/* --- 3. Carousel / Slider Section --- */
.hero-slider-section {
  position: relative;
  background: #000;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.slide-item {
  position: relative;
  display: none;
}

.slide-item.active {
  display: block;
  animation: fadeIn 0.8s ease;
}

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

.slide-item img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.slider-caption {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  padding: 10px 24px;
  border-radius: 8px;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  max-width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.slider-ctrl-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 0;
  font-size: 1.25rem;
  transition: background 0.2s;
  z-index: 10;
}

.slider-ctrl-btn:hover {
  background: var(--brand-green);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* --- 4. News Marquee Banner (Flash News Ticker) --- */
.marquee-bar,
.marquee-container {
  background: #064e3b;
  border-bottom: 2px solid var(--brand-gold, #c99732);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 800;
  width: 100%;
  overflow: hidden;
}

.marquee-inner,
.marquee-row {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  overflow: hidden;
}

.marquee-badge {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  padding: 7px 16px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 4px;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
  animation: pulseBlink 2s infinite ease-in-out;
}

@keyframes pulseBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.88; }
}

.marquee-ticker {
  flex: 1 1 0%;
  min-width: 0;
  width: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0 12px;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0 !important;
  width: max-content !important;
  min-width: max-content !important;
  white-space: nowrap !important;
  will-change: transform;
  -webkit-animation: flashTickerScroll 32s linear infinite;
  animation: flashTickerScroll 32s linear infinite;
}

@-webkit-keyframes flashTickerScroll {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes flashTickerScroll {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}

/* Pause on hover only when using mouse pointer, preserving touch scroll */
@media (hover: hover) and (pointer: fine) {
  .marquee-ticker:hover .marquee-track {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }
}

.marquee-group {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.marquee-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 4px 0;
  transition: color 0.2s ease;
  white-space: nowrap !important;
}

.marquee-link:hover {
  text-decoration: underline;
  color: #fef08a;
}

.marquee-sep {
  color: #fef08a;
  margin: 0 18px;
  display: inline-block;
  font-weight: 700;
  white-space: nowrap !important;
}

/* --- 5. About Us & Notice Board (Side-by-Side as in Bagmati PROSCUN) --- */
.about-notice-section {
  padding: var(--section-space-y) 0;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.about-notice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: var(--grid-gap);
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.about-box {
  background: #ffffff;
  border: 1px solid var(--brand-border, #ddf3e8);
  border-radius: var(--radius-xl);
  padding: var(--card-padding);
  box-shadow: var(--shadow-md);
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.about-title {
  color: var(--brand-blue, #08399f);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.title-separator {
  width: 64px;
  height: 4px;
  background: var(--brand-green, #01a755);
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.about-text {
  font-size: 1rem;
  color: #334155;
  line-height: 1.85;
  text-align: justify;
  margin-bottom: 1.25rem;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.about-action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Home Notice Card (Exact Replica of Bagmati PROSCUN) */
.home-notice-card {
  background: #ffffff !important;
  border: 1px solid var(--brand-border, #d6e4ff) !important;
  border-top: 4px solid var(--brand-blue, #08399f) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
  padding: 28px 24px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.home-notice-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--brand-border, #ddf3e8);
  padding-bottom: 12px;
}

.home-notice-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #eef4ff;
  color: var(--brand-blue, #08399f);
  border-radius: 12px;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.home-notice-card-title {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin: 0 !important;
}

.home-notice-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.home-notice-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-bottom: 1px dashed var(--brand-border, #ddf3e8);
  padding-bottom: 12px;
  text-decoration: none !important;
  transition: transform 0.2s ease;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.home-notice-list-item:hover {
  transform: translateX(4px);
}

.home-notice-mini-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 52px;
  background-color: #f1f5f9;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  box-sizing: border-box;
}

.home-notice-mini-day {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  line-height: 1 !important;
}

.home-notice-mini-month {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase;
  margin-top: 2px !important;
}

.home-notice-item-content {
  flex: 1 1 0%;
  min-width: 0;
  width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.notice-badge-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}

.notice-badge-pill.bg-green {
  background-color: #dcfce7;
  color: #15803d;
}

.notice-badge-pill.bg-gold {
  background-color: #fef3c7;
  color: #b45309;
}

.home-notice-item-title {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  margin-bottom: 4px !important;
  line-height: 1.4 !important;
  transition: color 0.2s ease;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.home-notice-list-item:hover .home-notice-item-title {
  color: var(--brand-blue, #08399f) !important;
}

.home-notice-item-time {
  font-size: 0.78rem !important;
  color: #94a3b8 !important;
}

.home-notice-footer-btn {
  margin-top: 22px;
  text-align: center;
}

.btn-view-all-notices {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--brand-blue, #08399f) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  padding: 10px 24px !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 12px rgba(8, 57, 159, 0.2) !important;
}

.btn-view-all-notices:hover {
  background-color: var(--brand-blue-hover, #062c7e) !important;
  transform: translateY(-2px);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(8, 57, 159, 0.3) !important;
}

/* --- 6. Messages / Commitment (Chairperson & CEO Side-by-Side) --- */
.messages-section {
  padding: var(--section-space-y) 0;
  background-color: #ffffff;
}

.messages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  margin-top: clamp(2rem, 3.5vw, 3rem);
}

.message-card {
  background: #f8fafc;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: var(--card-padding);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.message-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.message-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-green);
  text-align: center;
  margin-bottom: 1.25rem;
}

.message-body {
  font-size: 0.98rem;
  line-height: 1.85;
  color: #334155;
  text-align: justify;
}

.message-thumb {
  height: 140px;
  width: 140px;
  float: left;
  margin-right: 20px;
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

/* --- 7. Monthly Financial Indicators (अपरिस्कृत वित्तीय विवरण) --- */
.financial-indicators-section {
  padding: var(--section-space-y) 0;
  background-color: #f4fcf7;
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}

.section-main-title {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 800;
  color: var(--brand-blue, #08399f);
  text-align: center;
  margin-bottom: 0.5rem;
}

.stat-grid-bagmati {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
  margin-top: clamp(2rem, 3.5vw, 3rem);
}

.stat-item-card {
  background: #ffffff;
  border: 1px solid var(--brand-border, #ddf3e8);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem) 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.stat-name-label {
  font-size: 0.98rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.65rem;
}

.stat-value-amount {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: var(--brand-green, #01a755);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.stat-icon-img {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  background: #eef4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--brand-blue, #08399f);
}

/* --- 8. Our Services (हाम्रा सेवाहरू) --- */
.services-section-bagmati {
  padding: var(--section-space-y) 0;
  background-color: #ffffff;
}

.services-grid-bagmati {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
  margin-top: clamp(2rem, 3.5vw, 3rem);
}

.service-card-bagmati {
  background: #ffffff;
  border: 1px solid var(--brand-border, #ddf3e8);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.service-card-bagmati:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-blue-light, #1d5ce5);
}

.service-img-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #f8fafc;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card-bagmati:hover .service-img-wrapper img {
  transform: scale(1.08);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 57, 159, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card-bagmati:hover .service-card-overlay {
  opacity: 1;
}

.btn-view-service {
  background: #ffffff;
  color: var(--brand-blue, #08399f);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
}

.service-card-body-bagmati {
  padding: 16px;
  text-align: center;
}

.service-card-name-bagmati {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

/* --- 9. Side-by-Side EMI Calculator & Contact Section (Bagmati PROSCUN Style) --- */
.emi-contact-section {
  background-color: #f8fafc;
  border-radius: var(--radius-xl);
  padding: var(--card-padding);
  margin: var(--section-space-sm) 0;
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-sm);
}

.emi-contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--grid-gap);
}

.emi-card, .contact-card {
  background: #ffffff !important;
  border: 1px solid var(--brand-border, #ddf3e8) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md) !important;
  padding: var(--card-padding) !important;
  height: 100%;
}

.section-card-title {
  color: var(--brand-blue, #08399f) !important;
  font-weight: 800 !important;
  font-size: 1.45rem !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 12px;
  text-align: center;
  margin-bottom: 24px;
}

.section-card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--brand-green, #01a755);
  border-radius: 2px;
}

.btn-calculate {
  background-color: var(--brand-blue, #08399f) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 12px !important;
  border-radius: 8px !important;
  border: none !important;
  width: 100%;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(8, 57, 159, 0.2) !important;
}

.btn-calculate:hover {
  background-color: var(--brand-blue-hover, #062c7e) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(8, 57, 159, 0.3) !important;
}

.btn-reset {
  background-color: transparent !important;
  color: #64748b !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 600 !important;
  padding: 10px !important;
  border-radius: 8px !important;
  width: 100%;
  cursor: pointer;
}

.btn-reset:hover {
  background-color: #f1f5f9 !important;
}

.emi-result-box {
  background-color: #f0f5ff;
  border: 1.5px dashed var(--brand-blue-light, #1d5ce5);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  margin: 18px 0;
}

.result-label {
  color: var(--brand-blue, #08399f) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-transform: uppercase;
  margin-bottom: 6px !important;
  display: block;
}

.result-input {
  background-color: #ffffff !important;
  border: 1.5px solid var(--brand-border, #d6e4ff) !important;
  color: var(--brand-blue, #08399f) !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  padding: 8px !important;
  width: 100%;
  border-radius: 6px;
}

/* Contact Card Modern Layout & Quick Info Strip */
.contact-quick-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--brand-border, #e2e8f0);
}

.contact-pill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  min-width: 0;
}

.contact-pill-item:hover {
  background: #ffffff;
  border-color: #bfdbfe;
  box-shadow: 0 3px 10px rgba(8, 57, 159, 0.06);
}

.contact-pill-text {
  min-width: 0;
  flex: 1;
}

.contact-pill-text strong {
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.contact-pill-text span,
.contact-pill-text a {
  font-size: 0.84rem;
  color: #1e293b;
  font-weight: 600;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-pill-text a:hover {
  color: var(--brand-blue, #08399f);
  text-decoration: underline;
}

.contact-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-icon-wrapper.icon-loc {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.contact-icon-wrapper.icon-phone {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}

.contact-icon-wrapper.icon-mail {
  background-color: #f5f3ff;
  border: 1px solid #ddd6fe;
  color: #7c3aed;
}

.contact-icon-wrapper svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  display: block;
}

.form-field-group {
  margin-bottom: 12px;
}

.form-field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
}

.contact-form-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  .contact-form-grid-row {
    grid-template-columns: 1fr;
  }
  .contact-quick-pills {
    grid-template-columns: 1fr;
  }
}

.btn-submit-contact {
  background: linear-gradient(135deg, var(--brand-blue, #08399f) 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(8, 57, 159, 0.25) !important;
  transition: all 0.2s ease !important;
}

.btn-submit-contact:hover:not(:disabled) {
  background: linear-gradient(135deg, #062c7e 0%, #1740be 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(8, 57, 159, 0.35) !important;
}

.btn-submit-contact:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* --- 10. Affiliations Strip --- */
.affiliations-section {
  padding: var(--section-space-sm) 0;
  background-color: #ffffff;
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
  text-align: center;
}

.affiliations-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--brand-blue, #08399f);
  margin-bottom: 0.5rem;
}

.affiliations-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-top: clamp(1.5rem, 2.5vw, 2rem);
}

.affiliation-logo-box {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #1e293b;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s;
}

.affiliation-logo-box:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue, #08399f);
}

/* --- 11. Initial Popup Notice Modal (Bagmati PROSCUN Feature - Letter Style) --- */
.popup-notice-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}

.popup-notice-modal.active {
  opacity: 1;
  visibility: visible;
}

.popup-notice-dialog {
  background: #ffffff;
  width: min(94vw, 600px);
  max-height: 92vh;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.popup-notice-modal.active .popup-notice-dialog {
  transform: translateY(0) scale(1);
}

.popup-notice-header {
  background: linear-gradient(135deg, var(--brand-blue, #08399f), var(--brand-blue-hover, #062c7e));
  color: #ffffff;
  padding: 16px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 3px solid var(--brand-green, #01a755);
  flex-shrink: 0;
}

.popup-notice-header > div:first-child {
  line-height: 1.4;
  flex: 1;
}

.popup-notice-body {
  padding: 24px;
  text-align: center;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.popup-notice-body img {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 576px) {
  .popup-notice-dialog {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 94vh !important;
    border-radius: 14px 14px 0 0 !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
  }
  .popup-notice-modal {
    align-items: flex-end !important;
    padding: 0 !important;
  }
  .popup-notice-body {
    padding: 18px 16px !important;
  }
  .popup-notice-header {
    padding: 14px 16px !important;
    font-size: 0.95rem !important;
  }
}

/* --- 11b. Official A4 Paper Flash Notice (Letter Style, Full Height) --- */
.notice-a4-wrap {
  display: flex;
  flex-direction: column;
  width: min(94vw, 720px);
  max-height: 92vh;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.popup-notice-modal.active .notice-a4-wrap {
  transform: translateY(0) scale(1);
}

.notice-a4-paper {
  position: relative;
  background: #ffffff;
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.notice-a4-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full, 9999px);
  border: 1px solid var(--border-light, #e2e8f0);
  background: #ffffff;
  color: var(--text-secondary, #334155);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.notice-a4-close:hover {
  background: var(--primary-50, #eef4ff);
  color: var(--primary-700, #062c7e);
}

.notice-a4-scroll {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

/* Full-paper scanned notice image (image-only popup mode) */
.notice-a4-fullimage {
  display: block;
  width: 100%;
  min-height: 50vh;
  object-fit: contain;
  background: #ffffff;
}

/* Letterhead */
.notice-a4-letterhead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 24px 14px;
  text-align: center;
}

.notice-a4-letterhead-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.notice-a4-letterhead-titles {
  flex: 1;
  min-width: 0;
}

.notice-a4-letterhead-support {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand-green, #01a755);
  margin-bottom: 2px;
}

.notice-a4-letterhead-name-ne {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-blue, #08399f);
  line-height: 1.35;
}

.notice-a4-letterhead-name-en {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary, #334155);
  margin-top: 2px;
}

.notice-a4-letterhead-meta {
  font-size: 0.7rem;
  color: var(--text-muted, #64748b);
  margin-top: 6px;
  line-height: 1.6;
}

.notice-a4-letterhead-rule {
  margin: 0 24px;
  border-top: 3px solid var(--brand-blue, #08399f);
  border-bottom: 1px solid var(--brand-red, #dc2626);
  height: 3px;
}

/* Notice band */
.notice-a4-band {
  text-align: center;
  padding: 18px 24px 6px;
}

.notice-a4-band-label {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  color: var(--brand-red, #dc2626);
  border: 2px solid var(--brand-red, #dc2626);
  border-radius: 4px;
  padding: 2px 26px 2px 32px;
}

/* Ref & date */
.notice-a4-ref-date {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 12px 28px 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary, #0f172a);
}

/* Subject */
.notice-a4-subject {
  padding: 14px 28px 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-primary, #0f172a);
}

/* Body */
.notice-a4-body {
  padding: 16px 28px 8px;
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--text-primary, #0f172a);
  text-align: justify;
  white-space: pre-line;
}

/* Signature & seal */
.notice-a4-signature {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 28px 12px;
}

.notice-a4-seal {
  width: 92px;
  height: 92px;
  border: 2px dashed var(--brand-blue, #08399f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--brand-blue, #08399f);
  opacity: 0.55;
  transform: rotate(-12deg);
  flex-shrink: 0;
}

.notice-a4-sign-block {
  text-align: center;
}

.notice-a4-sign-line {
  width: 200px;
  max-width: 100%;
  border-bottom: 1.5px solid var(--text-primary, #0f172a);
  margin-bottom: 6px;
}

.notice-a4-sign-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary, #0f172a);
}

.notice-a4-sign-org {
  font-size: 0.72rem;
  color: var(--text-muted, #64748b);
  margin-top: 2px;
}

/* Footer */
.notice-a4-footer {
  border-top: 1px dashed var(--border-light, #e2e8f0);
  margin: 8px 24px 0;
  padding: 10px 4px 16px;
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-muted, #64748b);
}

/* Action bar */
.notice-a4-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px 2px;
}

.notice-a4-btn-download {
  width: auto;
  padding: 9px 22px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.notice-a4-btn-close {
  padding: 9px 22px;
  border-radius: var(--radius-md, 10px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notice-a4-btn-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 576px) {
  .notice-a4-wrap {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 94vh !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    transform: translateY(100%);
  }
  .popup-notice-modal.active .notice-a4-wrap {
    transform: translateY(0);
  }
  .popup-notice-modal {
    align-items: flex-end !important;
    padding: 0 !important;
  }
  .notice-a4-paper {
    border-radius: 14px 14px 0 0 !important;
  }
  .notice-a4-letterhead {
    padding: 20px 16px 10px;
    gap: 10px;
  }
  .notice-a4-letterhead-logo img {
    width: 48px;
    height: 48px;
  }
  .notice-a4-letterhead-name-ne {
    font-size: 1rem;
  }
  .notice-a4-letterhead-rule {
    margin: 0 16px;
  }
  .notice-a4-band {
    padding: 14px 16px 4px;
  }
  .notice-a4-ref-date,
  .notice-a4-subject,
  .notice-a4-body {
    padding-left: 18px;
    padding-right: 18px;
  }
  .notice-a4-signature {
    padding: 22px 18px 8px;
  }
  .notice-a4-seal {
    width: 72px;
    height: 72px;
  }
  .notice-a4-sign-line {
    width: 150px;
  }
}

/* --- 12. Footer (Bagmati PROSCUN Style) --- */
footer.site-footer {
  background: #051433;
  color: #cbd5e1;
  padding-top: 50px;
  border-top: 4px solid var(--brand-green, #01a755);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-item h3 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 8px;
}

.footer-item h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2.5px;
  background: var(--brand-green, #01a755);
}

.footer-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-item ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-item ul li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom-info {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.88rem;
  color: #64748b;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .about-notice-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .messages-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .stat-grid-bagmati {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .services-grid-bagmati {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .emi-contact-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .footer-top-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 768px) {
  .contact-layout-split {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .contact-details-col {
    border-right: none;
    border-bottom: 1px solid var(--brand-border);
    padding-bottom: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .stat-grid-bagmati {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .services-grid-bagmati {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .topbar ul.contact-info li.location-item {
    display: none !important;
  }
}

/* Mobile Nav Toggle & Offcanvas Drawer */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: rgba(13, 92, 58, 0.06);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  z-index: 1001;
  transition: all 0.2s ease;
}

.mobile-nav-toggle:active {
  transform: scale(0.94);
  background: rgba(13, 92, 58, 0.12);
}

.mobile-nav-toggle span {
  display: block;
  height: 2.5px;
  width: 22px;
  background-color: var(--brand-blue, #08399f);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 991px) {
  .nav-links-wrap {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex !important;
  }
  .action-buttons-wrap .btn-elibrary,
  .action-buttons-wrap .btn-signin {
    display: none !important;
  }
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: min(320px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--brand-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-nav-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.mobile-nav-logo {
  height: 48px;
  max-height: 52px;
  width: auto;
  max-width: 185px;
  display: block;
  object-fit: contain;
}

.mobile-drawer-lang-pill {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-full);
  padding: 2px;
  margin-right: 8px;
}

.mobile-drawer-lang-pill button {
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: #64748b;
  transition: all 0.2s ease;
}

.mobile-drawer-lang-pill button.active {
  background: var(--brand-blue, #08399f);
  color: #ffffff;
}

.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid var(--brand-border);
  font-size: 24px;
  color: #475569;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}

.mobile-nav-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.mobile-nav-body {
  padding: 12px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list > li {
  border-bottom: 1px solid #f1f5f9;
}

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 8px;
  font-weight: 600;
  font-size: 0.96rem;
  color: #1e293b;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.mobile-link:hover, .mobile-link.active-nav {
  color: var(--brand-blue, #08399f);
  background: rgba(8, 57, 159, 0.08);
}

.mobile-sub-toggle {
  padding: 13px 8px;
  font-weight: 600;
  font-size: 0.96rem;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.mobile-sub-toggle:hover {
  color: var(--brand-blue, #08399f);
  background: rgba(8, 57, 159, 0.06);
}

.mobile-sub-toggle.active {
  color: var(--brand-blue, #08399f);
  background: rgba(8, 57, 159, 0.08);
}

.mobile-sub-toggle .sub-caret {
  display: inline-block;
  font-size: 0.75rem;
  color: #94a3b8;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-sub-toggle.active .sub-caret {
  transform: rotate(180deg);
  color: var(--brand-blue, #08399f);
}

.mobile-sub-list {
  list-style: none;
  padding: 4px 0 6px 12px;
  margin: 0 0 6px 8px;
  display: none;
  border-left: 2px solid rgba(8, 57, 159, 0.25);
}

.mobile-sub-list.open {
  display: block;
}

.mobile-sub-link {
  display: block;
  padding: 9px 10px;
  font-size: 0.88rem;
  color: #475569;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.mobile-sub-link:hover, .mobile-sub-link.active-nav {
  color: var(--brand-blue, #08399f);
  background: rgba(8, 57, 159, 0.08);
  font-weight: 600;
}

.mobile-nav-actions {
  margin-top: auto;
  padding: 16px 8px 24px;
  border-top: 1px solid var(--brand-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-drawer-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-drawer-quick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--brand-border);
  transition: all 0.2s ease;
}

.btn-drawer-call {
  background: #ffffff;
  color: var(--brand-blue, #08399f);
  border-color: var(--brand-blue, #08399f);
}

.btn-drawer-wa {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.btn-drawer-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy-900);
  color: #ffffff;
  padding: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-drawer-login:hover {
  background: var(--navy-800);
}

/* ==========================================================================
   QUICK SERVICE GATEWAY (6 STAMBHA)
   ========================================================================== */
.quick-gateway-section {
  margin-top: -35px;
  position: relative;
  z-index: 50;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.quick-gateway-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.6rem, 1.2vw, 1rem);
  background: #ffffff;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--brand-border);
}

.quick-gateway-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1rem, 1.5vw, 1.25rem) 0.75rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: all 0.25s ease;
}

.quick-gateway-card:hover {
  background: #f0f5ff;
  border-color: var(--brand-blue, #08399f);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.gateway-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.gateway-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
}

.gateway-sub {
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 4px;
}

/* ==========================================================================
   NOTICE BOARD CATEGORY TABS
   ========================================================================== */
.notice-tabs-header {
  display: flex;
  gap: 6px;
  padding: 8px 16px 0 16px;
  border-bottom: 1px solid var(--brand-border);
  background: #fcfdfd;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.notice-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.notice-tab-btn:hover {
  color: var(--brand-blue, #08399f);
}

.notice-tab-btn.active {
  color: var(--brand-blue, #08399f);
  border-bottom-color: var(--brand-blue, #08399f);
  background: rgba(8, 57, 159, 0.08);
  border-radius: 4px 4px 0 0;
}

/* ==========================================================================
   PRODUCTS & SCHEMES SHOWCASE SECTION
   ========================================================================== */
.product-showcase-section {
  padding: var(--section-space-y) 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.product-tabs-nav {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 14px);
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  flex-wrap: wrap;
}

.product-tab-btn {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.product-tab-btn:hover {
  border-color: var(--brand-blue, #08399f);
  color: var(--brand-blue, #08399f);
}

.product-tab-btn.active {
  background: var(--brand-blue, #08399f);
  color: #ffffff;
  border-color: var(--brand-blue, #08399f);
  box-shadow: 0 4px 14px rgba(8, 57, 159, 0.3);
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-xl);
  padding: var(--card-padding);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-blue, #08399f);
}

.product-scheme-card {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-scheme-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue, #08399f), var(--brand-green, #01a755));
}

.product-scheme-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-blue-light, #1d5ce5);
}

.scheme-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.scheme-badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  background: #ecfdf5;
  color: var(--brand-green-dark);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid var(--brand-border);
}

.scheme-badge-pill.bg-gold {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

.scheme-badge-pill.bg-green {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

.scheme-rate-box {
  text-align: right;
}

.scheme-rate-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-blue, #08399f);
  display: block;
  line-height: 1;
}

.scheme-rate-sub {
  font-size: 0.72rem;
  color: #64748b;
}

.scheme-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.35;
}

.scheme-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #475569;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.scheme-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  flex: 1;
}

.scheme-features-list li {
  font-size: 0.86rem;
  color: #334155;
  padding: 5px 0;
  border-bottom: 1px dashed #f1f5f9;
}

.scheme-card-actions {
  display: flex;
  gap: 8px;
}

.btn-scheme-apply {
  flex: 1;
  background: var(--brand-blue, #08399f);
  color: #ffffff;
  border: none;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-scheme-apply:hover {
  background: var(--brand-blue-hover, #062c7e);
}

.btn-calc-jump {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-calc-jump:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================================
   DOWNLOADABLE RESOURCES CENTER
   ========================================================================== */
.downloads-section {
  padding: var(--section-space-y) 0;
  background: #ffffff;
}

.downloads-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.download-doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--brand-border);
  background: #fcfdfd;
  transition: all 0.2s ease;
}

.download-doc-item:hover {
  border-color: var(--brand-blue, #08399f);
  background: #f0f5ff;
  transform: translateY(-2px);
}

.doc-icon-box {
  font-size: 24px;
  flex-shrink: 0;
}

.doc-info-col {
  flex: 1;
}

.doc-title {
  font-weight: 600;
  font-size: 0.88rem;
  color: #1e293b;
  line-height: 1.3;
}

.doc-meta-sub {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 2px;
}

.btn-download-doc {
  background: rgba(8, 57, 159, 0.08);
  color: var(--brand-blue, #08399f);
  border: 1px solid var(--brand-border);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.btn-download-doc:hover {
  background: var(--brand-blue, #08399f);
  color: #ffffff;
}

/* ==========================================================================
   ENHANCED EMI CALCULATOR WITH PRESETS & SUMMARY
   ========================================================================== */
.emi-presets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.preset-amt-btn, .preset-tenure-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.preset-amt-btn:hover, .preset-tenure-btn:hover {
  border-color: var(--brand-blue, #08399f);
  color: var(--brand-blue, #08399f);
}

.preset-amt-btn.active, .preset-tenure-btn.active {
  background: var(--brand-blue, #08399f);
  color: #ffffff;
  border-color: var(--brand-blue, #08399f);
}

.emi-breakdown-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  margin-bottom: 14px;
}

.emi-breakdown-col {
  font-size: 0.8rem;
  color: #475569;
}

.emi-breakdown-val {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.9rem;
  display: block;
}

/* ==========================================================================
   ONLINE INQUIRY MODAL
   ========================================================================== */
.inquiry-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}

.inquiry-modal.active {
  opacity: 1;
  visibility: visible;
}

.inquiry-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.inquiry-dialog {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.inquiry-modal.active .inquiry-dialog {
  transform: translateY(0) scale(1);
}

.inquiry-header {
  background: linear-gradient(135deg, var(--brand-blue, #08399f), var(--brand-blue-hover, #062c7e));
  color: #ffffff;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 3px solid var(--brand-green, #01a755);
  flex-shrink: 0;
}

.inquiry-header h4 {
  margin: 0;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  flex: 1;
}

.inquiry-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.inquiry-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.inquiry-body {
  padding: 22px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

/* ==========================================================================
   MOBILE STICKY BOTTOM NAVIGATION DOCK
   ========================================================================== */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(58px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--brand-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 1500;
  justify-content: space-around;
  align-items: center;
  padding-left: 6px;
  padding-right: 6px;
}

.bottom-dock-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  gap: 3px;
  flex: 1;
  min-height: 48px;
  padding: 4px 2px;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
}

.bottom-dock-btn:active {
  transform: scale(0.94);
}

.bottom-dock-btn .dock-icon {
  font-size: 19px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.bottom-dock-btn.active, .bottom-dock-btn:hover {
  color: var(--brand-blue, #08399f);
  font-weight: 700;
}

.bottom-dock-btn.active .dock-icon {
  transform: scale(1.12);
}

.bottom-dock-btn.active::before {
  content: '';
  position: absolute;
  top: 0;
  width: 24px;
  height: 3px;
  background: var(--brand-blue, #08399f);
  border-radius: 0 0 3px 3px;
}

/* --- Topbar Official Registration Strip --- */
.topbar-official-reg {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: clamp(0.72rem, 0.8vw, 0.8rem) !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.topbar-official-reg .reg-pill {
  background: rgba(0, 0, 0, 0.15);
  padding: 2px 7px;
  border-radius: 12px;
  white-space: nowrap !important;
}

.topbar-official-reg .pan-pill {
  background: rgba(255, 255, 255, 0.18);
  padding: 2px 7px;
  border-radius: 12px;
  white-space: nowrap !important;
}

.topbar-official-reg .province-pill {
  color: #fef08a;
  font-weight: 700;
  white-space: nowrap !important;
}

.topbar-official-reg .reg-divider {
  opacity: 0.6;
}

/* --- Dual Calculator Header Tabs --- */
.calc-tabs-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.calc-tab-btn {
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  border: 0;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.calc-tab-btn:hover {
  color: var(--brand-green);
}

.calc-tab-btn.active {
  background: #ffffff;
  color: var(--brand-green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Slider Dots Indicator */
.slider-dots-bar {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 12;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot.active {
  background: var(--brand-green);
  width: 24px;
  border-radius: 6px;
  border-color: #ffffff;
}

/* --- Floating Quick Action Buttons (WhatsApp & Back-to-Top) --- */
.floating-quick-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 1400;
  pointer-events: none;
}

.floating-whatsapp-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 9999px;
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.42), 0 2px 6px rgba(0, 0, 0, 0.12);
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.floating-whatsapp-btn .whatsapp-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  flex-shrink: 0;
}

.floating-whatsapp-btn .whatsapp-svg {
  width: 17px;
  height: 17px;
  fill: #ffffff;
}

.floating-whatsapp-btn:hover {
  background: linear-gradient(135deg, #20ba59 0%, #0d6e62 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(18, 140, 126, 0.55), 0 3px 8px rgba(0, 0, 0, 0.15);
  color: #ffffff !important;
}

.floating-top-btn {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}

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

.floating-top-btn:hover {
  background: var(--brand-blue, #08399f);
  border-color: #60a5fa;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(8, 57, 159, 0.45);
}

.floating-top-btn svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
}

/* ==========================================================================
   DEDICATED SUBPAGE COMPONENTS & INNER STYLES
   ========================================================================== */

/* Standard Inner Page Wrapper */
.inner-page-section {
  padding: var(--section-space-y) 0;
  background-color: var(--bg-page);
}

.inner-card {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-xl);
  padding: var(--card-padding);
  box-shadow: var(--shadow-md);
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.inner-card:last-child {
  margin-bottom: 0;
}

/* About Us Pillars & Timeline Grid */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
  margin-top: clamp(1.5rem, 2.5vw, 2.25rem);
}

.pillar-card {
  background: #f8fafc;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  text-align: center;
  transition: all 0.25s ease;
}

.pillar-card:hover {
  background: #ffffff;
  border-color: var(--brand-blue, #08399f);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: inline-block;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue, #08399f);
  margin-bottom: 8px;
}

.pillar-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.75;
}

/* Timeline / Milestones */
.timeline-list {
  position: relative;
  padding-left: 28px;
  margin-top: 1.5rem;
  border-left: 3px solid var(--brand-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -36px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-blue, #08399f);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--brand-green, #01a755);
}

.timeline-year {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--brand-navy);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.8;
}

/* Leadership & Governance Cards */
.leadership-section-block {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
  margin-top: clamp(1.5rem, 2.5vw, 2.25rem);
}

.leader-card {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-blue, #08399f);
}

.leader-photo-wrap {
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}

.leader-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.leader-card:hover .leader-photo {
  transform: scale(1.05);
}

.leader-info {
  padding: clamp(1.2rem, 1.8vw, 1.5rem);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leader-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 4px;
}

.leader-role {
  font-size: 0.88rem;
  color: var(--brand-blue, #08399f);
  font-weight: 700;
  margin-bottom: 6px;
}

.leader-tag {
  display: inline-block;
  font-size: 0.76rem;
  background: #f1f5f9;
  color: #64748b;
  padding: 3px 10px;
  border-radius: 12px;
  align-self: center;
}

/* Scheme Comparative Table & Mobile Scroll Support */
.scheme-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1rem;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  position: relative;
  scrollbar-width: thin;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.table-scroll-hint {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--brand-blue, #08399f);
  font-weight: 700;
  background: #eef4ff;
  border: 1px solid rgba(8, 57, 159, 0.2);
  border-radius: 6px;
  padding: 6px 12px;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.scheme-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.scheme-table th {
  background: #f4fcf7;
  color: var(--navy-900);
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 2px solid var(--brand-border);
  white-space: nowrap;
}

.scheme-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

.scheme-table tr:last-child td {
  border-bottom: none;
}

.scheme-table tr:hover td {
  background-color: #fafdfb;
}

/* Gallery Filter & Grid */
.gallery-filter-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
  flex-wrap: wrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #000000;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery-card:hover img {
  transform: scale(1.08);
  opacity: 0.85;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 16px 14px 16px;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.92) 0%, rgba(13, 27, 42, 0.4) 70%, transparent 100%);
  color: #ffffff;
  transform: translateY(6px);
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-caption {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}

.gallery-tag-pill {
  display: inline-block;
  font-size: 0.72rem;
  background: var(--brand-blue, #08399f);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}

/* Grievance Redressal Card on Contact Page */
.grievance-officer-card {
  background: linear-gradient(135deg, #f0f5ff 0%, #eef4ff 100%);
  border: 1px solid #bfd4fd;
  border-radius: var(--radius-xl);
  padding: var(--card-padding);
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: var(--grid-gap);
  align-items: center;
}

.grievance-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid #93bbfb;
}

.grievance-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.grievance-officer-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-blue, #08399f);
  margin-bottom: 6px;
}

.grievance-contact-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #475569;
}


