/* ==========================================================================
   SANGLI DISTRICT PRIMARY TEACHERS CO-OPERATIVE BANK LTD., SANGLI
   Modern State-of-the-Art Banking Portal Stylesheet (Dual Language Optimized)
   ========================================================================== */

:root {
  --navy: #062d4a;
  --navy-dark: #031b2e;
  --navy-light: #0d4269;
  --teal: #008b8f;
  --teal-dark: #006e72;
  --teal-light: #0bb7ad;
  --teal-pale: #e9f7f7;
  --gold: #f2b84b;
  --gold-dark: #d99a2a;
  --gold-light: #ffdc73;
  --ink: #173142;
  --muted: #5e7785;
  --line: #e2ecf0;
  --pale: #f5fafb;
  --pale-accent: #eef6f8;
  --white: #ffffff;
  --red: #e63946;
  --green: #2a9d8f;
  
  --font-main: "Noto Sans Devanagari", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(6, 45, 74, 0.06);
  --shadow-md: 0 8px 24px rgba(6, 45, 74, 0.08);
  --shadow-lg: 0 16px 40px rgba(6, 45, 74, 0.12);
  --shadow-xl: 0 24px 60px rgba(6, 45, 74, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--ink);
  background-color: #f8fafb;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  opacity: 1;
  transition: opacity 0.15s ease;
}

/* Avoid a flash of Marathi content before the saved language preference
   (English) is applied on load — hide the page until setLanguage() runs. */
html.lang-loading body {
  opacity: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

input, select, textarea {
  font-family: inherit;
  font-size: 14px;
}

.container {
  width: min(1380px, calc(100% - 32px));
  margin-inline: auto;
}

/* Modern Language Selector Dropdown */
.lang-dropdown-box {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-dropdown-box:hover, .lang-dropdown-box:focus-within {
  background: var(--teal-pale);
  border-color: var(--teal);
}

.lang-dropdown-box svg {
  width: 14px;
  height: 14px;
  fill: var(--teal);
  flex-shrink: 0;
}

.lang-select {
  background: transparent;
  border: none;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  padding-right: 2px;
}

.lang-select option {
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  padding: 6px;
}

/* ==========================================================================
   PRIMARY HEADER & BRANDING
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Top brand band — the bank's name, front and center */
.brand-band {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--teal-dark) 100%);
  padding: 16px 0;
  position: relative;
  overflow: hidden;
}

.brand-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 15%, rgba(11, 183, 173, 0.28), transparent 42%),
              radial-gradient(circle at 6% 95%, rgba(242, 184, 75, 0.2), transparent 38%);
  pointer-events: none;
}

.brand-band-in {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  min-width: 0;
}

.brand-band .brand-wrapper {
  flex-shrink: 1;
  min-width: 0;
}

.brand-band .brand-title {
  white-space: nowrap;
  text-align: left;
}

.brand-tagline {
  display: block;
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-top: 5px;
}

/* Language selector now lives top-right of the brand band */
.brand-band .lang-dropdown-box {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--white);
  border: 1.5px solid var(--gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.brand-band .lang-dropdown-box:hover,
.brand-band .lang-dropdown-box:focus-within {
  background: var(--gold-light);
  border-color: var(--gold);
}

.brand-band .lang-dropdown-box svg {
  fill: var(--teal);
}

.brand-band .lang-select {
  color: var(--navy);
}

/* Nav band — menu sits below the brand band */
.nav-band {
  background: linear-gradient(115deg, var(--navy-dark) 0%, var(--navy) 45%, var(--teal-dark) 100%);
  box-shadow: 0 4px 20px rgba(6, 45, 74, 0.18);
  position: relative;
}

.header-in {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-band .mobile-menu-btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
  min-width: 0;
}

.brand-emblem {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #062d4a 0%, #008b8f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 12px rgba(0, 139, 143, 0.2);
  flex-shrink: 0;
  position: relative;
}

.brand-band .brand-emblem {
  width: 46px;
  height: 46px;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.brand-emblem svg {
  width: 24px;
  height: 24px;
  fill: var(--gold-light);
}

.brand-band .brand-emblem svg {
  width: 22px;
  height: 22px;
  fill: var(--navy);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.brand-text h1, .brand-text .brand-title {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
  white-space: nowrap;
}

.brand-band .brand-text h1, .brand-band .brand-text .brand-title {
  font-size: clamp(19px, 2.4vw, 27px);
  color: var(--white);
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: var(--gold-light);
  background: rgba(242, 184, 75, 0.16);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-mb {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  color: var(--white);
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-sans);
  box-shadow: 0 4px 14px rgba(0, 139, 143, 0.25);
  white-space: nowrap;
}

.btn-mb:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 139, 143, 0.35);
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--pale);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 22px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   PAGE SECTIONS & ROUTING
   ========================================================================== */
.page-view {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Common Subpage Hero Header */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 24px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(11, 183, 173, 0.2), transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(242, 184, 75, 0.15), transparent 35%);
  pointer-events: none;
}

.page-hero-in {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.page-hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.page-hero-stat strong {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  white-space: nowrap;
}

.page-hero-stat span {
  font-size: 11px;
  color: #e2f1f7;
  font-weight: 600;
  line-height: 1.35;
  max-width: 130px;
  display: block;
}

@media (max-width: 640px) {
  .page-hero-stat {
    display: none;
  }
}

.page-hero h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0;
}

.page-hero h1 span {
  color: var(--gold);
  font-weight: 700;
}

/* Subpage Two-Column Layout */
.subpage-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
  padding: 48px 0 70px;
}

.sidebar-nav {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 110px;
}

.sidebar-title {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-menu {
  list-style: none;
  padding: 8px 0;
}

.sidebar-menu li a, .sidebar-menu li button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  border-left: 4px solid transparent;
  transition: var(--transition);
  text-align: left;
}

.sidebar-menu li a:hover, .sidebar-menu li button:hover {
  background: var(--teal-pale);
  color: var(--teal);
  border-left-color: var(--teal);
}

.sidebar-menu li.active a, .sidebar-menu li.active button {
  background: var(--teal-pale);
  color: var(--teal);
  border-left-color: var(--teal);
}

.sidebar-menu li span.badge {
  background: var(--line);
  color: var(--muted);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
}

.sidebar-menu li.active span.badge {
  background: var(--teal);
  color: var(--white);
}

/* ==========================================================================
   PAGE 1: HOME PAGE
   ========================================================================== */
/* Hero Section */
.hero-slider-section {
  position: relative;
  min-height: 540px;
  background: var(--navy-dark);
  color: var(--white);
  overflow: hidden;
}

.hero-slider-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(3, 27, 46, 0.94) 0%, rgba(6, 45, 74, 0.82) 48%, rgba(6, 45, 74, 0.4) 100%),
                    url("images/teachers_banner.jpg");
  background-size: cover;
  background-position: center right;
  transition: transform 10s ease;
}

.hero-slider-section:hover .hero-slider-bg {
  transform: scale(1.03);
}

.hero-in {
  position: relative;
  z-index: 2;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 0;
  gap: 40px;
}

.hero-content {
  max-width: 680px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: 16.5px;
  color: #e0f0f5;
  margin-bottom: 28px;
  line-height: 1.6;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-dark);
  font-size: 14px;
  font-weight: 800;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(242, 184, 75, 0.35);
  cursor: pointer;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(242, 184, 75, 0.45);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.hero-trust-list {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12.5px;
  color: #c9e4ed;
  font-weight: 600;
}

.hero-trust-list span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-trust-list span svg {
  width: 16px;
  height: 16px;
  fill: var(--teal-light);
}

.hero-side-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 240px;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  padding: 22px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-stat-card small {
  display: block;
  font-size: 11px;
  color: #bad8e3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-stat-card strong {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
  display: block;
}

.hero-stat-card span {
  font-size: 11.5px;
  color: #e2f1f7;
}

/* Breaking Ticker */
.ticker-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 20;
}

.ticker-in {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 28s linear infinite;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

.ticker-content span {
  margin-right: 40px;
}

.ticker-content span::before {
  content: "•";
  color: var(--teal);
  margin-right: 12px;
  font-weight: 900;
}

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

.ticker-link {
  color: var(--teal);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ticker-link:hover {
  color: var(--navy);
}

/* Quick Services 6-Grid */
.quick-services-section {
  position: relative;
  z-index: 10;
  margin-top: -20px;
  margin-bottom: 40px;
}

.quick-grid {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
}

.quick-card {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: var(--transition);
  cursor: pointer;
  background: var(--white);
}

.quick-card:last-child {
  border-right: none;
}

.quick-card:hover {
  background: var(--teal-pale);
  transform: translateY(-4px);
  box-shadow: inset 0 -4px 0 var(--teal);
}

.quick-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--pale);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: var(--transition);
}

.quick-card:hover .quick-icon-wrap {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: scale(1.08);
}

.quick-icon-wrap svg {
  width: 26px;
  height: 26px;
  fill: var(--navy);
  transition: var(--transition);
}

.quick-card:hover .quick-icon-wrap svg {
  fill: var(--white);
}

.quick-card h4 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 3px;
}

.quick-card small {
  font-size: 11px;
  color: var(--muted);
}

/* Section: About Bank (आमच्या बँकेबद्दल) */
.home-about-section {
  padding: 60px 0;
  background: var(--white);
}

.home-about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: flex-start;
}

.home-about-minifacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 22px;
}

.home-about-minifacts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-pale);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.home-about-trust-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.home-about-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-about-trust-item .trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pale);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.home-about-trust-item strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  font-weight: 800;
}

.home-about-trust-item small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.about-photo-wrapper {
  position: relative;
}

.about-photo-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--line);
  position: relative;
}

.about-photo-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.est-badge-circle {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--navy-dark);
  box-shadow: 0 10px 24px rgba(217, 154, 42, 0.4);
  border: 3px solid var(--white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.est-badge-circle strong {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 900;
  display: block;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin-bottom: 8px;
  display: inline-block;
}

.section-heading {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-heading span {
  color: var(--teal);
}

.home-about-copy p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 14px;
}

.home-about-copy p.lead {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.home-about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.stat-pill-card {
  background: var(--pale);
  border: 1px solid var(--line);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.stat-pill-card:hover {
  background: var(--white);
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.stat-pill-card small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.stat-pill-card strong {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  display: block;
  line-height: 1.15;
}

.stat-pill-card span {
  font-size: 11px;
  color: var(--teal);
  font-weight: 600;
}

/* Schemes Showcase (आमच्या बँकेची योजना) */
.home-features-section {
  padding: 60px 0 20px;
  background: var(--white);
}

.our-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  margin-top: 28px;
}

.our-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: var(--transition);
}

.our-feature-item:hover {
  border-color: #badce0;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.feature-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
}

.home-schemes-section {
  padding: 70px 0;
  background: var(--pale);
}

.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.schemes-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.scheme-showcase-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.scheme-showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #c7e5e8;
}

.scheme-card-img {
  height: 175px;
  overflow: hidden;
  position: relative;
}

.scheme-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.scheme-showcase-card:hover .scheme-card-img img {
  transform: scale(1.08);
}

.scheme-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(6, 45, 74, 0.85);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.scheme-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.scheme-card-body h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.scheme-feature-list {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}

.scheme-feature-list li {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scheme-feature-list li svg {
  width: 14px;
  height: 14px;
  fill: var(--teal);
  flex-shrink: 0;
}

.scheme-card-btn {
  font-size: 13px;
  font-weight: 800;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.scheme-showcase-card:hover .scheme-card-btn {
  color: var(--navy);
}

/* Mobile Banking Showcase */
.home-mobile-banner {
  background: linear-gradient(135deg, #04253d 0%, #063c5c 50%, #007074 100%);
  color: var(--white);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.home-mobile-banner::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 183, 173, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.mobile-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.mobile-banner-text h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.mobile-banner-text h2 span {
  color: var(--gold);
}

.mobile-banner-text p {
  color: #cce7ef;
  font-size: 14.5px;
  margin-bottom: 24px;
  max-width: 500px;
}

.mobile-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.mobile-feature-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #d6eff5;
  font-weight: 600;
}

.store-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.phone-mockup-wrap {
  display: flex;
  justify-content: center;
}

.phone-device {
  width: 180px;
  height: 350px;
  background: #081a26;
  border-radius: 36px;
  border: 6px solid #142f42;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.1);
  padding: 10px;
  display: flex;
  flex-direction: column;
  position: relative;
  transform: rotate(-3deg);
}

.phone-screen {
  background: linear-gradient(180deg, #eef9fa 0%, #d2edf0 100%);
  border-radius: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 10px 10px;
  color: var(--navy);
  text-align: center;
}

.phone-notch {
  width: 60px;
  height: 8px;
  background: #142f42;
  border-radius: 10px;
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
}

.phone-app-logo {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 20px;
  box-shadow: 0 6px 14px rgba(6, 45, 74, 0.2);
}

.phone-screen strong {
  font-size: 11px;
  font-weight: 800;
  display: block;
}

.phone-screen small {
  font-size: 8px;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}

.phone-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
}

.phone-tile {
  background: var(--white);
  border-radius: 6px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.qr-code-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.qr-visual {
  width: 110px;
  height: 110px;
  background: var(--white);
  border-radius: var(--radius-md);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.qr-visual svg {
  width: 100%;
  height: 100%;
}

.qr-code-box b {
  font-size: 13px;
  display: block;
  margin-bottom: 2px;
}

.qr-code-box small {
  font-size: 11px;
  color: #bad8e3;
}

/* Trust Bar */
.trust-bar {
  background: var(--white);
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-flex {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--teal);
}

.trust-text strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  display: block;
}

.trust-text small {
  font-size: 12px;
  color: var(--muted);
}

/* ==========================================================================
   PAGE 2: ABOUT US (आमच्याविषयी)
   ========================================================================== */
.about-history-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.about-history-images {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.vintage-photo-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid #e0d8c7;
  position: relative;
}

.vintage-photo-frame img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.vintage-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30, 20, 10, 0.85);
  color: #f7eedc;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
}

.history-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

.history-text p {
  margin-bottom: 16px;
}

.history-text p strong {
  color: var(--navy);
}


.vision-mission-quote-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.vision-mission-quote-banner h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.vision-mission-quote-banner p {
  font-size: 16px;
  color: #d6edf3;
  max-width: 700px;
  margin: 0 auto;
}

/* Tab Panels in About */
.contact-tab-panel {
  display: none;
}

.contact-tab-panel.active {
  display: block;
}

.grievance-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.grievance-step-card {
  display: flex;
  gap: 18px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  transition: var(--transition);
}

.grievance-step-card:hover {
  border-color: #badce0;
  box-shadow: var(--shadow-sm);
}

.grievance-step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.grievance-step-body h4 {
  color: var(--navy);
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 8px;
}

.grievance-step-body p {
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0;
}

.grievance-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.social-initiatives-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.social-initiative-card {
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: var(--transition);
}

.social-initiative-card:hover {
  border-color: #badce0;
  box-shadow: var(--shadow-sm);
}

.social-initiative-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.social-initiative-card h3 {
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.4;
}

.social-initiative-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-initiative-card li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 9px;
}

.social-initiative-card li:last-child {
  margin-bottom: 0;
}

.social-initiative-card li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 900;
  flex-shrink: 0;
}

.grievance-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-dark);
}

.about-tab-panel {
  display: block;
  margin-bottom: 48px;
  scroll-margin-top: 110px;
}

.about-tab-panel:last-child {
  margin-bottom: 0;
}

/* Board of Directors Grid */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.director-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.director-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.director-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 26px;
  color: var(--teal);
  overflow: hidden;
}

.director-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2px solid var(--teal-light);
}

.director-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.director-card span {
  font-size: 12px;
  color: var(--teal);
  font-weight: 700;
  display: block;
}

/* ==========================================================================
   PAGE 3: DEPOSITS (ठेवी योजना)
   ========================================================================== */
.deposits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.deposit-scheme-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.deposit-scheme-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #badce0;
}

.deposit-card-top {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.deposit-card-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.deposit-scheme-card:hover .deposit-card-top img {
  transform: scale(1.06);
}

.interest-rate-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.deposit-card-content {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.deposit-card-content h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.deposit-card-content p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.deposit-details-list {
  list-style: none;
  font-size: 12px;
  color: var(--ink);
  margin-bottom: 20px;
}

.deposit-details-list li {
  padding: 5px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
}

.deposit-details-list li span {
  color: var(--muted);
}

.deposit-details-list li strong {
  color: var(--navy);
}

.deposit-cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 26px 32px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-md);
}

.deposit-cta-banner h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.deposit-cta-banner p {
  font-size: 13.5px;
  color: #cde6ed;
}

/* ==========================================================================
   PAGE 4: LOANS (कर्ज योजना)
   ========================================================================== */
.loans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.loan-scheme-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.loan-scheme-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #badce0;
}

.loan-card-top {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.loan-card-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.loan-scheme-card:hover .loan-card-top img {
  transform: scale(1.06);
}

.loan-rate-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.loan-card-content {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.loan-card-content h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.loan-card-content p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.loan-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.loan-feature-tags span {
  background: var(--pale);
  border: 1px solid var(--line);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.loan-cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 26px 32px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-md);
}

.loan-cta-banner h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.loan-cta-banner p {
  font-size: 13.5px;
  color: #cde6ed;
}

/* ==========================================================================
   PAGE 5: SERVICES (आमच्या सेवा)
   ========================================================================== */
.services-main-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.service-card-modern {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
  background: linear-gradient(180deg, var(--white) 0%, var(--teal-pale) 100%);
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--pale);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--transition);
}

.service-card-modern:hover .service-icon-box {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.service-icon-box svg {
  width: 32px;
  height: 32px;
  fill: var(--navy);
  transition: var(--transition);
}

.service-card-modern:hover .service-icon-box svg {
  fill: var(--white);
}

.service-card-modern h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card-modern p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================================
   PAGE 6: BRANCHES (शाखा)
   ========================================================================== */
.branch-filter-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.branch-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: center;
}

.branch-filter-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.branch-filter-group--district {
  flex: 0 0 220px;
}

.branch-filter-row .branch-search-row {
  flex: 1;
}

.branch-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.branch-search-row svg {
  fill: var(--teal);
  flex-shrink: 0;
}

.branch-search-row input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
}

.branch-filter-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.branch-filter-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--pale);
  color: var(--ink);
  outline: none;
}

.branch-filter-group select:focus {
  border-color: var(--teal);
  background: var(--white);
}

.branch-list-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.branch-item-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.branch-item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #badce0;
}

.branch-item-top {
  background: var(--white);
  padding: 20px 20px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.branch-item-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.branch-pin-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 139, 143, 0.3);
}

.branch-item-card:hover .branch-pin-icon {
  transform: scale(1.08);
}

.branch-pin-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: var(--transition);
}

.branch-item-top h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
}

.branch-details-text {
  padding: 14px 20px 20px;
}

.branch-details-text p {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.branch-phone {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.6;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #e1edf2 10%, #d3e4ec 90%);
  color: var(--navy);
  position: relative;
}


/* ==========================================================================
   PAGE 7: NOTICES & CIRCULARS (सूचना व परिपत्रके)
   ========================================================================== */
.notice-tabs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.notice-tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.notice-tab-btn:hover {
  background: var(--teal-pale);
  color: var(--teal);
  border-color: var(--teal);
}

.notice-tab-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.notice-table-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.notice-item-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

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

.notice-item-row:hover {
  background: var(--pale);
}

.notice-date-badge {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--teal-pale);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  white-space: nowrap;
}

.notice-title-col h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-new {
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

.notice-title-col p {
  font-size: 12px;
  color: var(--muted);
}

.notice-download-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pale);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: var(--transition);
}

.notice-download-btn:hover {
  background: var(--teal);
  color: var(--white);
  transform: scale(1.1);
}

.notice-download-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.page-num-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-num-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ==========================================================================
   PAGE 8: CONTACT US (आमच्याशी संपर्क साधा)
   ========================================================================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  margin-bottom: 48px;
  align-items: start;
}

.contact-info-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.complaint-form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.complaint-form-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.complaint-form-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pale);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.complaint-form-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.complaint-form-header p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

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

.complaint-form-group {
  margin-bottom: 18px;
  position: relative;
}

.complaint-form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.complaint-form-group input,
.complaint-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--pale);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.complaint-form-group input:focus,
.complaint-form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
}

.complaint-form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.complaint-char-count {
  position: absolute;
  right: 4px;
  bottom: -18px;
  font-size: 11px;
  color: var(--muted);
}

.complaint-file-drop {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--pale);
}

.complaint-file-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.complaint-file-drop-text {
  flex: 1;
  font-size: 12px;
  color: var(--muted);
}

.btn-outline-sm {
  border: 1px solid var(--teal);
  color: var(--teal-dark);
  background: var(--white);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-outline-sm:hover {
  background: var(--teal-pale);
}

.complaint-file-name {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.complaint-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: 15px;
  margin-top: 8px;
}

.contact-info-panel h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal-pale);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-pale);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-bubble svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-item-text strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  display: block;
  margin-bottom: 2px;
}

.contact-item-text p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-form-panel h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-form-panel p.sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}

.form-field input, .form-field select, .form-field textarea {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--pale);
  color: var(--ink);
  outline: none;
  transition: var(--transition);
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 139, 143, 0.12);
}

/* ==========================================================================
   INTERACTIVE CALCULATOR MODAL & ON-PAGE WIDGET
   ========================================================================== */
.calc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-top: 36px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-slider-group label {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.calc-slider-group input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
  cursor: pointer;
}

.calc-result-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.calc-result-box small {
  font-size: 12px;
  color: #badbe3;
  display: block;
  margin-bottom: 4px;
}

.calc-result-box strong {
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 800;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.calc-breakdown {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  font-size: 11.5px;
}

.calc-breakdown span {
  color: #c9e4ed;
}

.calc-breakdown b {
  font-family: var(--font-sans);
  color: var(--white);
  font-size: 14px;
  display: block;
}

/* ==========================================================================
   MODALS (INTERNET BANKING, MOBILE APP, NOTICE PREVIEW)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 27, 46, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  color: #c5dbe3;
  font-size: 24px;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--gold);
}

.modal-body {
  padding: 24px;
}

/* ==========================================================================
   UNIVERSAL FOOTER
   ========================================================================== */
.main-footer {
  background: var(--navy-dark);
  color: #b3cdd6;
  padding-top: 60px;
  border-top: 4px solid var(--gold);
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.35;
}

.footer-brand p {
  font-size: 12.5px;
  color: #92b1bd;
  margin-bottom: 18px;
  line-height: 1.6;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social-links a:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--teal-light);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links li a {
  font-size: 12.5px;
  color: #a4c2cc;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-contact-info p {
  font-size: 12.5px;
  color: #a4c2cc;
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-contact-info strong {
  color: var(--white);
}

.copyright-bar {
  background: #021422;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11.5px;
  color: #728f9c;
}

.copyright-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: var(--white);
  border-left: 4px solid var(--gold);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1260px) {
  .nav-link {
    font-size: 11.5px;
    padding: 6px 5px;
  }
  .brand-text h1, .brand-text .brand-title {
    font-size: 17px;
  }
  .btn-mb {
    font-size: 10.5px;
    padding: 7px 8px;
  }
}

@media (max-width: 1140px) {
  .header-actions {
    display: none;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--line);
    z-index: 100;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-link {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    color: var(--ink);
  }
  .nav-link:hover {
    color: var(--teal);
    background: var(--teal-pale);
  }
  .nav-link.active {
    color: var(--teal);
    background: var(--teal-pale);
  }
  .nav-link.active::after {
    background: var(--teal);
  }
  .mobile-menu-btn {
    display: flex;
  }
  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .quick-card:nth-child(3) {
    border-right: none;
  }
  .schemes-4grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .our-features-grid {
    grid-template-columns: 1fr;
  }
  .social-initiatives-grid {
    grid-template-columns: 1fr;
  }
  .services-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .deposits-grid, .loans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .subpage-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-nav {
    position: static;
  }
  .home-about-grid {
    grid-template-columns: 1fr;
  }
  .home-about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .mobile-banner-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mobile-features-grid {
    justify-content: center;
  }
  .store-buttons {
    justify-content: center;
  }
  .branches-display-layout {
    grid-template-columns: 1fr;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .complaint-form-row {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-band-in {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .brand-band .lang-dropdown-box {
    margin-left: 0;
  }
  .brand-band .brand-emblem {
    width: 38px;
    height: 38px;
  }
  .brand-band .brand-emblem svg {
    width: 18px;
    height: 18px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-side-stats {
    display: none;
  }
  .quick-grid {
    grid-template-columns: 1fr 1fr;
  }
  .schemes-4grid, .deposits-grid, .loans-grid, .services-main-grid {
    grid-template-columns: 1fr;
  }
  .about-history-images {
    grid-template-columns: 1fr;
  }
  .board-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .branch-filter-grid {
    grid-template-columns: 1fr;
  }
  .branch-filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  .branch-filter-group--district {
    flex-basis: auto;
  }
  .form-grid-2col {
    grid-template-columns: 1fr;
  }
  .notice-item-row {
    grid-template-columns: 1fr auto;
  }
  .notice-date-badge {
    grid-column: 1 / -1;
  }
  .brand-text h1, .brand-text .brand-title {
    font-size: 14px;
  }
  .brand-band .brand-title {
    white-space: normal;
    font-size: 15px;
  }
  .lang-dropdown-box {
    padding: 4px 6px;
    gap: 3px;
  }
  .lang-dropdown-box svg {
    width: 12px;
    height: 12px;
  }
  .lang-select {
    font-size: 10.5px;
  }
}
