/* ==========================================================================
   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", "Noto Sans Devanagari", -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);
}

/* Bank logo (images/logo.png). If the file is missing the <img> removes
   itself and the icon emblem above is shown instead. */
.brand-emblem:has(.brand-logo) {
  background: transparent;
  border: none;
  box-shadow: none;
}

.brand-emblem .brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

.brand-emblem .brand-logo ~ svg {
  display: none;
}

.brand-band .brand-emblem:has(.brand-logo) {
  width: 64px;
  height: 64px;
}

.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.92) 0%, rgba(6, 45, 74, 0.72) 45%, rgba(6, 45, 74, 0.25) 100%),
                    url("images/home_banner.jpg");
  background-size: cover;
  background-position: center 30%;
  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);
}

.history-text .history-subheading {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 28px 0 12px;
}


.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;
  object-position: center 55%;
  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-item-text {
  flex: 1;
  min-width: 0;
}

.contact-hours {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  font-size: 13px;
}

.contact-hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  line-height: 1.5;
}

.contact-hours li b {
  color: var(--navy);
  font-weight: 700;
  text-align: right;
}

.contact-hours li:last-child b {
  color: var(--red, #e63946);
}

.contact-item-text p.contact-hours-note {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(242, 184, 75, 0.14);
  color: var(--navy);
  font-weight: 600;
  font-size: 12.5px;
}

@media (max-width: 600px) {
  .contact-hours li {
    flex-direction: column;
    gap: 0;
  }

  .contact-hours li b {
    text-align: left;
  }
}

.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: 40px;
  border-top: 4px solid var(--gold);
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.1fr;
  gap: 40px;
  margin-bottom: 28px;
}

.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: 6px;
}

.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:has(.brand-logo) {
    width: 48px;
    height: 48px;
  }
  .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;
  }
  /* brand and contact span the full width, the two link lists sit side by side */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
  .footer-grid .footer-brand,
  .footer-grid .footer-dicgc {
    grid-column: 1 / -1;
  }
  .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;
  }
}

/* Deposits page intro (above the scheme cards) */
.deposits-intro {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 32px;
  margin-bottom: 36px;
}

.deposits-intro .section-heading {
  font-size: 28px;
  margin-bottom: 12px;
}

.deposits-intro p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.deposits-intro p strong {
  color: var(--navy);
}

@media (max-width: 600px) {
  .deposits-intro {
    padding: 20px;
  }

  .deposits-intro .section-heading {
    font-size: 22px;
  }
}

/* =====================================================================
   SERVICES PAGE
   ===================================================================== */
.svc-page {
  padding: 24px 0 70px;
}

.svc-intro {
  position: sticky;
  top: var(--header-h, 150px);
  z-index: 40;
  margin: 0 -16px 24px;
  padding: 12px 16px;
  background: rgba(245, 250, 251, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.svc-intro .section-heading {
  font-size: 34px;
  margin: 6px 0 10px;
}

.svc-lead {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 24px;
}

.svc-quicknav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.svc-nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.svc-nav-chip svg {
  width: 18px;
  height: 18px;
  fill: var(--teal);
  flex-shrink: 0;
}

.svc-nav-chip:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.svc-nav-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.svc-nav-chip.active svg {
  fill: var(--gold);
}

/* Section shell */
.svc-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 36px 40px;
  margin-bottom: 28px;
  scroll-margin-top: calc(var(--header-h, 150px) + 90px);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.svc-section strong {
  color: var(--navy);
}

.svc-section p {
  margin: 0 0 12px;
}

.svc-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.svc-head-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.svc-head-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.svc-head-num {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-family: var(--font-sans);
}

.svc-head h2,
.svc-cbs-body h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

.svc-section p.svc-tagline {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
}

.svc-section p.svc-intro-text {
  font-size: 15.5px;
  max-width: 900px;
  margin-bottom: 24px;
}

.svc-subhead {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin: 22px 0 12px;
}

.svc-section p.svc-note {
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  margin-top: 8px;
}

/* Icon tiles (ABB transactions) */
.svc-tile-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

/* 2 wide tiles on the first row, 3 on the second */
.svc-tile { grid-column: span 2; }
.svc-tile:nth-child(-n+2) { grid-column: span 3; }

.svc-tile {
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
}

.svc-tile:hover {
  background: var(--white);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.svc-tile-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.svc-tile-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 139, 143, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-tile-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--teal);
}

.svc-tile-num {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 800;
  color: #cfe0e6;
  line-height: 1;
}

.svc-tile h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}

.svc-section .svc-tile p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* Two-column layout (locker, ATM) */
.svc-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.svc-split--atm {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
}

.svc-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.svc-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.svc-checklist svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  padding: 3px;
  border-radius: 50%;
  background: var(--teal);
  fill: var(--white);
}

.svc-panel {
  background: linear-gradient(160deg, var(--navy) 0%, #006e72 100%);
  border-radius: var(--radius-lg);
  padding: 26px;
  color: rgba(255, 255, 255, 0.85);
}

.svc-panel-title {
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 18px;
}

.locker-sizes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.locker-size {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 16px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.locker-box {
  display: block;
  border: 2px solid var(--gold);
  border-radius: 4px;
  position: relative;
}

.locker-box::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--gold);
}

.locker-size--s .locker-box { width: 26px; height: 20px; }
.locker-size--m .locker-box { width: 34px; height: 28px; }
.locker-size--l .locker-box { width: 42px; height: 36px; }

.locker-size-name {
  font-size: 13px;
  font-weight: 600;
}

.svc-panel .locker-size strong {
  color: #ffdc73;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.svc-panel-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.svc-panel .svc-panel-foot strong {
  color: var(--white);
}

/* Core banking band */
.svc-section--dark {
  background: linear-gradient(135deg, #031b2e 0%, var(--navy) 55%, #006e72 100%);
  border: none;
  color: rgba(255, 255, 255, 0.82);
}

.svc-cbs {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.svc-cbs-stat {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
}

.svc-section--dark .svc-cbs-stat strong {
  display: block;
  font-size: 72px;
  line-height: 1;
  font-weight: 800;
  color: var(--gold);
}

.svc-cbs-stat span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.svc-section--dark .svc-head-num {
  color: #ffdc73;
}

.svc-section--dark h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.svc-section p.svc-chip-label {
  margin-bottom: 10px;
}

.svc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.svc-chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(242, 184, 75, 0.16);
  border: 1px solid rgba(242, 184, 75, 0.45);
  color: #ffdc73;
  font-size: 13.5px;
  font-weight: 700;
}

/* ATM */
.rupay-card {
  aspect-ratio: 1.586;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  border-radius: 18px;
  padding: 22px 24px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18) 0, transparent 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  box-shadow: var(--shadow-xl);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--font-sans);
}

.rupay-bank {
  font-family: var(--font-main);
  font-size: 12.5px;
  font-weight: 700;
  opacity: 0.95;
}

.rupay-chip {
  width: 44px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f7d77a 0%, #d9a63a 100%);
}

.rupay-number {
  font-size: 18px;
  letter-spacing: 0.12em;
}

.rupay-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.rupay-logo {
  font-size: 22px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0;
  color: #ffdc73;
}

.svc-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 4px;
}

.svc-fact {
  background: var(--pale);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.svc-fact-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.svc-fact strong {
  font-size: 16px;
}

.svc-fact small {
  font-size: 12px;
  line-height: 1.5;
}

.svc-fee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.svc-fee-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.svc-fee-box strong {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.svc-fee-box span {
  font-size: 12.5px;
  line-height: 1.45;
}

.svc-fee-box--free {
  background: rgba(0, 139, 143, 0.08);
  border-color: rgba(0, 139, 143, 0.35);
}

.svc-section .svc-fee-box--free strong {
  color: var(--teal);
}

/* Add-on services */
.addon-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

/* 3 cards on the first row, 2 wider ones on the second */
.addon-card { grid-column: span 2; }
.addon-card:nth-child(n+4) { grid-column: span 3; }

.addon-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
}

.addon-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.addon-card h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--navy);
  margin: 4px 0 0;
}

.svc-section .addon-card p {
  font-size: 14px;
  margin: 0;
}

.addon-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.addon-rows li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.addon-rows li:last-child {
  border-bottom: none;
}

.addon-rows strong {
  white-space: nowrap;
}

.addon-foot {
  font-size: 12px;
  font-style: italic;
}

.addon-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
}

.addon-big {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.addon-big small {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
}

.addon-big--free {
  color: var(--teal);
}

.addon-card--ifsc {
  background: linear-gradient(160deg, var(--navy) 0%, #006e72 100%);
  border: none;
  color: rgba(255, 255, 255, 0.85);
}

.addon-card--ifsc h3 {
  color: var(--white);
}

.addon-card--ifsc .svc-tile-icon {
  background: rgba(255, 255, 255, 0.14);
}

.addon-card--ifsc .svc-tile-icon svg {
  fill: var(--gold);
}

.ifsc-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffdc73;
}

.ifsc-copy {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.ifsc-copy svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.ifsc-copy:hover {
  background: var(--white);
  color: var(--navy);
}

/* Fees & charges */
.fee-groups {
  columns: 2;
  column-gap: 18px;
}

.fee-group {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  break-inside: avoid;
  margin-bottom: 18px;
}

.fee-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 18px;
  background: var(--pale);
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
}

.fee-group h3 svg {
  width: 20px;
  height: 20px;
  fill: var(--teal);
  flex-shrink: 0;
}

.fee-group ul {
  list-style: none;
  margin: 0;
  padding: 4px 18px;
}

.fee-group li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.5;
}

.fee-group li:last-child {
  border-bottom: none;
}

.fee-group li strong {
  text-align: right;
  white-space: nowrap;
}

/* Other digital facilities */
.svc-section--plain {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 10px 0 0;
}

.svc-other-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 16px;
}

.svc-other-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.svc-other-grid > .svc-other-item {
  flex: 1 1 340px;
}

.svc-other-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.svc-other-item h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 4px;
}

.svc-section .svc-other-item p {
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1024px) {
  .svc-tile-grid,
  .addon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .svc-tile,
  .svc-tile:nth-child(-n+2),
  .addon-card,
  .addon-card:nth-child(n+4) {
    grid-column: auto;
  }

  .svc-tile:last-child,
  .addon-card:last-child {
    grid-column: 1 / -1;
  }

  .svc-fee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .svc-split,
  .svc-split--atm,
  .svc-cbs {
    grid-template-columns: 1fr;
  }

  .fee-groups {
    columns: 1;
  }

  .svc-cbs {
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .svc-page {
    padding: 16px 0 50px;
  }

  /* one swipeable row instead of three wrapped rows */
  .svc-quicknav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .svc-quicknav::-webkit-scrollbar {
    display: none;
  }

  .svc-nav-chip {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 13px;
  }

  .svc-intro .section-heading {
    font-size: 26px;
  }

  .svc-section {
    padding: 24px 18px;
  }

  .svc-head {
    gap: 14px;
  }

  .svc-head-icon {
    width: 48px;
    height: 48px;
  }

  .svc-head h2,
  .svc-cbs-body h2 {
    font-size: 21px;
  }

  .svc-tile-grid,
  .addon-grid,
  .svc-facts {
    grid-template-columns: 1fr;
  }

  .locker-sizes {
    gap: 8px;
  }

  .svc-panel .locker-size strong {
    font-size: 14px;
  }

  .fee-group li {
    flex-direction: column;
    gap: 2px;
  }

  .fee-group li strong {
    text-align: left;
    white-space: normal;
  }
}

/* Footer: head office contact under the bank name */
.footer-brand .footer-contact-info {
  margin: 4px 0 16px;
}

.footer-brand .footer-contact-info p {
  margin-bottom: 8px;
}

/* DICGC banner in the footer (every page) */
.footer-dicgc-banner {
  display: block;
  max-width: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.footer-dicgc-banner:hover {
  transform: translateY(-2px);
}

.footer-dicgc-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Footer social icons */
.footer-social-links a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-social-links a.social-fb:hover { background: #1877f2; color: #fff; }
.footer-social-links a.social-yt:hover { background: #ff0000; color: #fff; }
.footer-social-links a.social-ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #fff;
}

/* footer bank name: logo centred on the name, no bottom gap */
.footer-brand h3 {
  margin-bottom: 0;
}

/* =====================================================================
   PRIVACY POLICY PAGE
   ===================================================================== */
/* only the policy text for the selected language is shown */
html[lang="en"] .policy-mr,
html:not([lang="en"]) .policy-en {
  display: none;
}

.policy-page {
  padding: 32px 0 70px;
}

.policy-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 32px;
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--teal-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.policy-hero-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.policy-hero-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--gold);
}

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

.policy-hero p {
  margin: 4px 0 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.8);
}

.policy-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: calc(var(--header-h, 150px) + 16px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.policy-toc strong {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 8px 10px;
}

.policy-toc a {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: var(--transition);
}

.policy-toc a:hover {
  background: var(--pale);
  color: var(--teal);
}

.policy-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 12px 36px 32px;
}

.policy-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h, 150px) + 20px);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.policy-section h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

.policy-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(0, 139, 143, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.policy-section p {
  margin: 0 0 12px;
}

.policy-section a,
.policy-contact a {
  color: var(--teal);
  font-weight: 700;
  word-break: break-word;
}

.policy-chips {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.policy-chips li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--pale);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}

.policy-list {
  margin: 4px 0 14px;
  padding: 0;
  list-style: none;
  counter-reset: policy;
}

.policy-list li {
  counter-increment: policy;
  position: relative;
  padding: 8px 0 8px 44px;
  border-bottom: 1px dashed var(--line);
}

.policy-list li:last-child {
  border-bottom: none;
}

.policy-list li::before {
  content: counter(policy);
  position: absolute;
  left: 0;
  top: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.policy-section p.policy-note {
  padding: 14px 18px;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  background: rgba(242, 184, 75, 0.12);
  color: var(--navy);
  font-weight: 600;
}

.policy-contact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--pale);
  border: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}

.policy-contact p {
  margin: 0 0 4px;
}

.policy-contact .policy-wish {
  font-weight: 800;
  color: var(--navy);
}

.footer-policy-link {
  color: #a4c2cc;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.footer-policy-link:hover {
  color: var(--gold-light);
}

@media (max-width: 900px) {
  .policy-body {
    grid-template-columns: 1fr;
  }

  .policy-toc {
    display: none;
  }
}

@media (max-width: 600px) {
  .policy-page {
    padding: 16px 0 50px;
  }

  .policy-hero {
    padding: 20px;
  }

  .policy-hero h1 {
    font-size: 24px;
  }

  .policy-content {
    padding: 4px 18px 20px;
  }

  .policy-section h2 {
    font-size: 17.5px;
  }
}

/* =====================================================================
   BOARD OF DIRECTORS (About page) — grouped team cards
   ===================================================================== */
.board-loading {
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

.team-group {
  margin-top: 34px;
}

.team-group:first-child {
  margin-top: 8px;
}

.team-group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
}

.team-group-title::before,
.team-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.team-group-title span {
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--teal-pale, #e9f7f7);
  color: var(--teal-dark, #006e72);
}

/* flex + fixed card width keeps any count centred: rows of 3 or 4 */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.team-card {
  width: 200px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #e3f3f6 0%, #bfe3ea 100%);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-photo.no-photo::after {
  content: attr(data-icon);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
}

.team-info {
  padding: 14px 12px 16px;
}

.team-info h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--navy);
}

.team-role {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
}

.team-tenure {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(242, 184, 75, 0.16);
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 700;
}

/* Chairman & Vice Chairman: larger, highlighted */
.team-card--office_bearer {
  width: 260px;
  border: none;
  background: linear-gradient(160deg, var(--navy) 0%, #006e72 100%);
  box-shadow: var(--shadow-lg);
}

.team-card--office_bearer .team-photo {
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.22) 0, transparent 70%);
}

/* Solid name band so photos with dark/teal bottoms don't blend into the text */
.team-card--office_bearer .team-info {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  border-top: 3px solid var(--gold);
}

.team-card--office_bearer .team-info h4 {
  color: var(--white);
  font-size: 17px;
}

.team-card--office_bearer .team-role {
  color: var(--gold);
  font-size: 14px;
}

/* Officers and former directors: compact */
.team-card--staff,
.team-card--former {
  width: 170px;
}

.team-card--former {
  opacity: 0.85;
}

.team-card--former .team-photo img {
  filter: grayscale(35%);
}

@media (max-width: 600px) {
  .team-grid {
    gap: 12px;
  }

  .team-card,
  .team-card--staff,
  .team-card--former {
    width: calc(50% - 6px);
  }

  .team-card--office_bearer {
    width: calc(50% - 6px);
  }

  .team-info h4 {
    font-size: 13.5px;
  }

  .team-role {
    font-size: 12px;
  }
}

/* Team page: full width, 6 cards per row on desktop */
.team-page {
  padding: 24px 0 70px;
}

.team-page .team-group {
  scroll-margin-top: calc(var(--header-h, 150px) + 90px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px 24px 28px;
  margin-top: 24px;
}

.team-page .team-group:first-child {
  margin-top: 0;
}

.team-page .team-grid {
  gap: 18px;
}

.team-page .team-card {
  width: 172px;
}

.team-page .team-card--office_bearer {
  width: 240px;
}

.team-page .team-info h4 {
  font-size: 14px;
}

.svc-nav-chip[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .team-page {
    padding: 16px 0 50px;
  }

  .team-page .team-group {
    padding: 18px 12px 20px;
  }

  .team-page .team-card,
  .team-page .team-card--office_bearer {
    width: calc(50% - 9px);
  }
}

/* About page: mission statement */
.mission-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--gold);
  background: linear-gradient(135deg, var(--teal-pale, #e9f7f7) 0%, #f7fbfc 100%);
}

.mission-icon {
  font-size: 34px;
  line-height: 1;
  flex-shrink: 0;
}

.mission-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 600px) {
  .mission-card {
    padding: 18px;
    gap: 12px;
  }

  .mission-card p {
    font-size: 15px;
  }
}

/* Branches: per-branch phone numbers */
.branch-phone--list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.branch-tel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
}

.branch-tel svg {
  width: 14px;
  height: 14px;
  fill: var(--teal);
  flex-shrink: 0;
}

.branch-tel span {
  color: var(--muted);
}

.branch-tel b {
  font-weight: 700;
}

.branch-tel:hover b {
  color: var(--teal);
  text-decoration: underline;
}


/* Contact page: departments directory */
.dept-section {
  margin-top: 36px;
}

.dept-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 18px;
}

.dept-head .section-heading {
  font-size: 26px;
  margin: 0;
}

.dept-email {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.dept-email a {
  color: var(--teal);
  font-weight: 700;
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dept-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.dept-card h3 {
  margin: 0 0 12px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
}

.dept-person + .dept-person {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.dept-person strong {
  display: block;
  font-size: 14.5px;
  color: var(--navy);
}

.dept-role {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
}

.dept-tels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dept-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--pale);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.dept-tel svg {
  width: 13px;
  height: 13px;
  fill: var(--teal);
}

.dept-tel:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.dept-fax {
  align-self: center;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .dept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .dept-grid {
    grid-template-columns: 1fr;
  }
}

/* Branch directory: fewer columns on smaller screens */
@media (max-width: 1024px) {
  .branch-list-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .branch-list-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Notices: documents whose PDF is not uploaded yet */
.notice-soon {
  align-self: center;
  justify-self: end;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(242, 184, 75, 0.16);
  border: 1px solid rgba(242, 184, 75, 0.5);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

/* "महाराष्ट्र" — use the standard Windows Marathi shaping for ष्ट्र (Noto stacks it oddly) */
.mr-word {
  font-family: "Nirmala UI", "Kohinoor Devanagari", "Mangal", var(--font-main);
  /* Nirmala's Devanagari is ~15% taller than Noto's; scale it to match the surrounding text */
  font-size: 0.86em;
}

/* Advertisement pop-up (admin panel → Popup Ads), shown when the website opens */
body.popup-ad-open {
  overflow: hidden;
}

.popup-ad-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(3, 27, 46, 0.78);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.popup-ad-overlay.show {
  opacity: 1;
}

.popup-ad-box {
  position: relative;
  transform: scale(0.94);
  transition: transform 0.25s ease;
}

.popup-ad-overlay.show .popup-ad-box {
  transform: scale(1);
}

.popup-ad-box a {
  display: block;
}

.popup-ad-img {
  display: block;
  max-width: min(720px, calc(100vw - 40px));
  max-height: calc(100vh - 80px);
  max-height: calc(100dvh - 80px);
  width: auto;
  height: auto;
  border-radius: var(--radius-md, 12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  background: var(--white, #fff);
}

.popup-ad-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border: 2px solid var(--white, #fff);
  border-radius: 50%;
  background: var(--navy, #062d4a);
  color: var(--white, #fff);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.popup-ad-close:hover,
.popup-ad-close:focus-visible {
  background: var(--gold, #f2b84b);
  color: var(--navy, #062d4a);
  transform: scale(1.08);
}

@media (max-width: 600px) {
  .popup-ad-close {
    top: -12px;
    right: -6px;
  }
}
