/* ===========================
   NARAYANAGURU URBAN CO-OP BANK
   Main Stylesheet
   =========================== */

:root {
  --primary:    #0a1f5c;   /* deep navy, from logo circle/name pill */
  --secondary:  #f0c419;   /* golden yellow, from logo figure */
  --accent:     #0275c8;   /* sky blue, from logo outer ring (sparing use) */
  --cream:      #eef2f8;   /* cool neutral tint (was temple cream) */
  --light-bg:   #f5f7fa;
  --white:      #ffffff;
  --text-dark:  #1c2230;
  --text-muted: #656e7d;
  --card-shadow: 0 3px 0 var(--secondary), 0 6px 20px rgba(10,31,92,0.08);
}

* { box-sizing: border-box; }

body {
  font-family: 'Roboto', 'Poppins', sans-serif;
  color: var(--text-dark);
  margin: 0;
}

/* ===== TOP HEADER ===== */
.top-header {
  background: linear-gradient(135deg, #e8f0f7 0%, #f0f6fb 60%, #fdf6e3 100%);
  padding: 14px 0;
  border-bottom: 4px solid var(--secondary);
}

.bank-logo {
  width: 110px;
  height: 128px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  margin-right: 16px;
  padding: 0;
  border: none;
  box-shadow: none;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.bank-logo:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(240,196,25,0.7);
}

.founder-photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--secondary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.founder-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #0a1f5c;
  margin-top: 5px;
  letter-spacing: 0.3px;
  text-align: center;
}

.bank-name {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.25;
  color: var(--primary);
  text-transform: uppercase;
  position: relative;
}

.bank-tagline {
  color: #0a1f5c;
  font-size: 0.85rem;
  margin: 4px 0 0;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ===== NAVBAR ===== */
#navbar {
  background: linear-gradient(135deg, #e8f0f7 0%, #f0f6fb 60%, #fdf6e3 100%);
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  border-bottom: 2px solid var(--secondary);
  z-index: 1000;
}

#navbar .navbar-nav .nav-link {
  color: var(--primary) !important;
  padding: 14px 16px;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
  border-bottom: 3px solid transparent;
}

#navbar .navbar-nav .nav-link:hover,
#navbar .navbar-nav .nav-link.active {
  background: rgba(10,31,92,0.1);
  border-bottom-color: var(--secondary);
  color: #0a1f5c !important;
}

#navbar .dropdown-menu {
  background: #f0f6fb;
  border: 1px solid rgba(10,31,92,0.2);
  border-radius: 0 0 6px 6px;
  padding: 4px 0;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#navbar .dropdown-item {
  color: var(--primary);
  padding: 10px 20px;
  font-size: 0.82rem;
  transition: background 0.2s;
}

#navbar .dropdown-item:hover {
  background: rgba(10,31,92,0.1);
  color: #0a1f5c;
}

/* ===== ACCESSIBILITY BAR ===== */
.a11y-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border-left: 2px solid rgba(10,31,92,0.2);
  margin-left: 8px;
}

.a11y-btn {
  background: transparent;
  border: 1px solid rgba(10,31,92,0.35);
  color: var(--primary);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.4;
  transition: background 0.2s, color 0.2s;
}

.a11y-btn:hover,
.a11y-btn.active {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}

.a11y-btn-default {
  font-size: 0.85rem;
}

.a11y-btn-contrast {
  font-size: 0.9rem;
  padding: 3px 9px;
}

/* High contrast mode */
body.high-contrast {
  filter: contrast(1.5) grayscale(0.2);
}

/* ===== DARK MODE ===== */
body.dark-mode {
  --primary:    #5b7fd4;
  --secondary:  #f5d454;
  --light-bg:   #1e1e1e;
  --white:      #2a2a2a;
  --text-dark:  #e8e8e8;
  --text-muted: #aaaaaa;
  --card-shadow: 0 4px 18px rgba(0,0,0,0.4);
  background: #121212;
  color: #e8e8e8;
}

body.dark-mode .top-header {
  background: linear-gradient(135deg, #141b33 0%, #161c30 60%, #2a2410 100%);
}

body.dark-mode #navbar {
  background: linear-gradient(135deg, #141b33 0%, #161c30 60%, #2a2410 100%);
}

body.dark-mode #navbar .navbar-nav .nav-link { color: #a9b8e0 !important; }
body.dark-mode #navbar .navbar-nav .nav-link:hover,
body.dark-mode #navbar .navbar-nav .nav-link.active {
  background: rgba(91,127,212,0.15);
  color: var(--secondary) !important;
}

body.dark-mode #navbar .dropdown-menu {
  background: #161c30;
  border-color: rgba(91,127,212,0.25);
}

body.dark-mode #navbar .dropdown-item { color: #a9b8e0; }
body.dark-mode #navbar .dropdown-item:hover { background: rgba(91,127,212,0.15); color: var(--secondary); }

body.dark-mode .a11y-btn {
  border-color: rgba(91,127,212,0.4);
  color: #a9b8e0;
}
body.dark-mode .a11y-btn:hover,
body.dark-mode .a11y-btn.active {
  background: #5b7fd4;
  color: #121212;
}

body.dark-mode section,
body.dark-mode .section-message,
body.dark-mode .section-message-alt,
body.dark-mode .section-awareness,
body.dark-mode .section-faq,
body.dark-mode .section-stats { background: #121212; }

body.dark-mode .bg-light,
body.dark-mode .bank-tagline { color: #f5d454; }
body.dark-mode .founder-label { color: #f5d454; }
body.dark-mode .section-news { background: #161c30 !important; }
body.dark-mode .section-news .section-heading h2 { color: #e8e8e8; }
body.dark-mode .news-ticker-wrapper { background: rgba(255,255,255,0.04); border-color: rgba(240,196,25,0.3); }
body.dark-mode .news-list li { color: #e8e8e8; border-bottom-color: rgba(255,255,255,0.08); }
body.dark-mode .news-list li i { color: var(--secondary); }
body.dark-mode .news-link { color: var(--secondary); }

body.dark-mode .card,
body.dark-mode .message-card,
body.dark-mode .mgmt-card,
body.dark-mode .awareness-slide-box,
body.dark-mode .loan-card,
body.dark-mode .deposit-card,
body.dark-mode .branch-card,
body.dark-mode .faq-item { background: #2a2a2a; color: #e8e8e8; }
body.dark-mode .section-faq { background: #121212 !important; }
body.dark-mode .accordion-item { border-color: rgba(91,127,212,0.2); background: #2a2a2a; }
body.dark-mode .accordion-button { background: #2a2a2a !important; color: #5b7fd4 !important; }
body.dark-mode .accordion-button:not(.collapsed) { background: #1c2a5c !important; color: var(--secondary) !important; }
body.dark-mode .accordion-button::after { filter: invert(1) brightness(0.8); }
body.dark-mode .accordion-body { background: #222; color: #e8e8e8; border-top: 1px solid rgba(91,127,212,0.15); }

body.dark-mode .text-muted { color: #aaaaaa !important; }
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 { color: #e8e8e8; }

body.dark-mode .mgmt-card h5,
body.dark-mode .mgmt-card h6 { color: var(--primary); }

body.dark-mode .page-banner-overlay h2 { color: #fff; }

body.dark-mode .site-footer {
  background: #0d0d0d;
  color: #aaaaaa;
}

body.dark-mode .bank-name {
  color: #e8e8e8;
}
body.dark-mode #hero .carousel-caption h1 { color: #ffffff; }
body.dark-mode #hero .carousel-caption p { color: rgba(255,255,255,0.9); }


body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
  background: #333;
  color: #e8e8e8;
  border-color: #555;
}

/* ===== HERO SLIDER ===== */
#hero .carousel-item {
  height: 480px;
  overflow: hidden;
  position: relative;
}

.slider-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
}

#hero .carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  text-align: center;
  padding: 0 20px;
}

#hero .carousel-caption h2 {
  font-size: 1.1rem;
  color: var(--secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

#hero .carousel-caption h1 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
  margin-bottom: 16px;
  line-height: 1.3;
}

#hero .carousel-caption p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin-bottom: 24px;
}

.btn-hero {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  padding: 10px 28px;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s;
}

.btn-hero:hover {
  background: #f5d454;
  transform: translateY(-2px);
  color: var(--primary);
}

/* ===== SPLIT HERO (unique layout) ===== */
#split-hero {
  display: flex;
  flex-wrap: wrap;
  background: var(--primary);
  min-height: 460px;
}

.split-hero-brand {
  flex: 1 1 380px;
  background: var(--primary);
  color: var(--cream);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border-right: 6px solid var(--secondary);
}

.split-hero-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/divider-motif.svg");
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: 120px 24px;
  opacity: 0.12;
}

.split-hero-eyebrow {
  color: var(--secondary);
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.split-hero-brand h1 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1.3;
  margin-bottom: 16px;
}

.split-hero-brand p {
  color: rgba(244,233,216,0.85);
  font-size: 1rem;
  margin-bottom: 26px;
  max-width: 420px;
}

.split-hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.split-hero-stat {
  border-left: 3px solid var(--secondary);
  padding-left: 12px;
}

.split-hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--white);
}

.split-hero-stat span {
  font-size: 0.72rem;
  color: rgba(244,233,216,0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.split-hero-media {
  flex: 1 1 380px;
  position: relative;
  min-height: 460px;
  overflow: hidden;
}

.split-hero-media .carousel,
.split-hero-media .carousel-inner,
.split-hero-media .carousel-item {
  height: 100%;
}

.split-hero-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.split-hero-media .carousel-caption {
  left: 24px;
  right: 24px;
  bottom: 28px;
  text-align: left;
}

.split-hero-media .carousel-caption span {
  background: var(--secondary);
  color: var(--white);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
}

@media (max-width: 767px) {
  .split-hero-brand { padding: 40px 26px; border-right: none; border-bottom: 6px solid var(--secondary); }
  .split-hero-media, .split-hero-media img { height: 320px; }
}

/* ===== SECTION COMMONS ===== */
.section-heading h2 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-divider {
  width: 90px;
  height: 18px;
  margin: 0 auto 14px;
  background-image: url("../img/divider-motif.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ===== SERVICES (icon-tab interface) ===== */
.section-services { background: var(--light-bg); }

.services-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.services-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 108px;
  padding: 14px 8px 12px;
  background: var(--white);
  border: 1px solid rgba(10,31,92,0.12);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.3px;
}

.services-tab-btn i {
  font-size: 1.3rem;
  color: var(--primary);
}

.services-tab-btn.active,
.services-tab-btn:hover {
  border-bottom-color: var(--secondary);
  background: var(--cream);
  color: var(--primary);
}

.services-tab-btn.active i,
.services-tab-btn:hover i { color: var(--secondary); }

.service-detail-panel {
  display: none;
  background: var(--white);
  border-left: 5px solid var(--secondary);
  padding: 30px 34px;
  max-width: 760px;
  margin: 0 auto;
}

.service-detail-panel.active { display: block; }

.service-detail-panel h5 {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-detail-panel p {
  color: var(--text-muted);
  margin: 0;
}

/* legacy card fallback (used on inner pages) */
.service-card {
  background: var(--white);
  border-radius: 0;
  padding: 28px 22px;
  text-align: center;
  box-shadow: none;
  border-left: 4px solid var(--secondary);
  border-top: 1px solid rgba(10,31,92,0.08);
  border-right: 1px solid rgba(10,31,92,0.08);
  border-bottom: 1px solid rgba(10,31,92,0.08);
  transition: border-left-width 0.2s;
}

.service-card:hover {
  border-left-width: 8px;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transform: rotate(45deg);
}

.service-icon i {
  color: var(--secondary);
  font-size: 1.4rem;
  transform: rotate(-45deg);
}

.service-card h5 {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

/* ===== NEWS ===== */
.section-news { background: var(--primary); }
.section-news .section-heading h2 { color: var(--white); }

.news-ticker-wrapper {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(240,196,25,0.4);
  border-radius: 0;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.news-scroll {
  overflow-y: auto;
  height: 100%;
  padding: 10px 0;
}

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

.news-list li {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.88rem;
  line-height: 1.5;
}

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

.news-link {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
}

.news-link:hover {
  text-decoration: underline;
  color: #e0c060;
}

/* ===== MESSAGES ===== */
.section-message { background: var(--white); }
.section-message-alt { background: var(--light-bg); }

.message-card {
  background: var(--white);
  border-radius: 0;
  padding: 36px 40px;
  box-shadow: var(--card-shadow);
  border-left: 5px solid var(--primary);
}

.section-message-alt .message-card { border-left-color: var(--secondary); }

.message-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.message-layout-reverse {
  flex-direction: row-reverse;
}

.message-photo-wrap {
  flex: 0 0 160px;
  text-align: center;
}

.message-photo-wrap img {
  width: 160px;
  height: 190px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  border: 3px solid var(--secondary);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  display: block;
}

.message-photo-name {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.82rem;
  color: var(--primary);
  line-height: 1.4;
}

.message-photo-name em {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.message-content {
  flex: 1;
}

.message-body p {
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.message-signature {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e0e0e0;
  color: var(--primary);
  font-size: 0.95rem;
  text-align: right;
}

@media (max-width: 576px) {
  .message-layout, .message-layout-reverse {
    flex-direction: column;
    align-items: center;
  }
  .message-photo-wrap { flex: unset; }
  .message-signature { text-align: center; }
}

/* ===== STATS STRIP ===== */
.section-stats { background: var(--secondary); }

.stat-item { padding: 8px; }

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  margin: 4px 0 0;
}

/* ===== DICGC ===== */
.section-dicgc { background: var(--light-bg); }

.dicgc-card {
  background: var(--white);
  border-radius: 0;
  padding: 36px;
  box-shadow: var(--card-shadow);
  border: 2px solid var(--secondary);
}

.dicgc-card a { color: var(--primary); font-weight: 700; text-decoration: none; }
.dicgc-card a:hover { text-decoration: underline; }

/* ===== AWARDS ===== */
.section-awards { background: var(--primary); }
.section-awards .section-heading h2 { color: var(--white); }

.award-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(240,196,25,0.4);
  border-radius: 8px;
  padding: 36px 24px;
  transition: background 0.25s;
}

.award-card:hover { background: rgba(255,255,255,0.14); }

.award-icon { font-size: 2.8rem; color: var(--secondary); margin-bottom: 16px; }

.award-card h5 { color: var(--white); font-size: 1rem; }

/* ===== CONSUMER AWARENESS ===== */
.section-awareness { background: var(--white); }

.awareness-carousel-wrap {
  max-width: 560px;
  margin: 0 auto;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border: 3px solid var(--secondary);
}

.awareness-slide-box {
  background: #ffffff;
  min-height: 820px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.awareness-slide-img {
  width: 100%;
  height: auto;
  display: block;
}

/* pause on hover */
.awareness-carousel-wrap:hover .carousel-inner {
  animation-play-state: paused;
}
#awarenessCarousel:hover {
  --bs-carousel-interval: 999999ms;
}

.awareness-ctrl {
  width: 42px;
  background: rgba(10,31,92,0.55);
  border-radius: 0;
  transition: background 0.2s;
}
.awareness-ctrl:hover { background: rgba(10,31,92,0.85); }

.awareness-dots {
  bottom: 10px;
}
.awareness-dots [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--secondary);
  border: none;
  opacity: 0.5;
}

/* ===== FAQ ===== */
.section-faq { background: var(--light-bg); }

.accordion-button {
  font-weight: 500;
  color: var(--primary);
  background: var(--white);
}

.accordion-button:not(.collapsed) {
  background: var(--primary);
  color: var(--white);
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  filter: invert(1);
}

.accordion-item { border: 1px solid #dee2e6; margin-bottom: 8px; border-radius: 6px !important; overflow: hidden; }

/* ===== FOOTER ===== */
.site-footer {
  background: #0d1f0f;
  color: rgba(255,255,255,0.8);
}

.footer-heading {
  color: var(--secondary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-about {
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--secondary); }
.footer-links i { font-size: 0.7rem; margin-right: 4px; }

.footer-contact p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-contact a { color: var(--secondary); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

.footer-hr {
  border-color: rgba(255,255,255,0.12);
}

.footer-copy {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  margin: 0;
}

/* ===========================
   PAGE BANNER
   =========================== */
.page-banner {
  background: linear-gradient(135deg, #0d1e35 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}

.page-banner--history {
  background: none;
  height: 480px;
  display: flex;
  align-items: center;
}

.page-banner--history .banner-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .page-banner--history { height: 340px; }
}

@media (max-width: 576px) {
  .page-banner--history { height: 280px; }
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner-overlay {
  padding: 48px 0 36px;
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.page-banner h2 {
  color: var(--white);
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-banner .breadcrumb {
  background: none;
  margin: 0;
  padding: 0;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

.page-banner .breadcrumb-item.active { color: var(--secondary); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ===========================
   NAV TABS BANK STYLE
   =========================== */
.nav-tabs-bank {
  border-bottom: 2px solid #dee2e6;
  gap: 4px;
}

.nav-tabs-bank .nav-link {
  color: var(--primary);
  font-weight: 500;
  border-radius: 6px 6px 0 0;
  border: 1px solid transparent;
  padding: 10px 22px;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.nav-tabs-bank .nav-link:hover {
  background: rgba(26,58,107,0.08);
  color: var(--primary);
}

.nav-tabs-bank .nav-link.active {
  background: var(--primary);
  color: var(--white) !important;
  border-color: var(--primary);
}

/* ===========================
   ABOUT / HISTORY PAGE
   =========================== */
.about-img-wrap {
  position: relative;
  display: inline-block;
}

.about-img-badge {
  position: absolute;
  bottom: -14px;
  right: -14px;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.about-section-title {
  color: var(--primary);
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.4rem;
  font-weight: 700;
  border-left: 4px solid var(--secondary);
  padding-left: 12px;
  margin-bottom: 16px;
}

.founder-highlight {
  background: var(--light-bg);
  border-left: 5px solid var(--primary);
  border-radius: 0 6px 6px 0;
  padding: 20px 24px;
}

.milestone-card {
  background: var(--primary);
  color: var(--white);
  border-radius: 0;
  padding: 16px 10px;
}

.milestone-card h4 {
  color: var(--secondary);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.milestone-card p {
  font-size: 0.8rem;
  margin: 4px 0 0;
  color: rgba(255,255,255,0.8);
}

/* Mission */
.mission-card {
  background: var(--white);
  border-radius: 0;
  padding: 48px 40px;
  box-shadow: var(--card-shadow);
  border: 2px solid var(--primary);
}

.mission-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.mission-icon i { color: var(--secondary); font-size: 2rem; }

.mission-quotes { margin-top: 24px; }

.mission-quote-item {
  padding: 12px 20px;
  border-bottom: 1px solid #e9ecef;
  font-size: 1rem;
  text-align: left;
  color: var(--text-dark);
}

.mission-quote-item i { color: var(--primary); }
.mission-quote-item:last-child { border-bottom: none; }

/* Vision */
.vision-card {
  background: var(--white);
  border-radius: 0;
  padding: 24px 20px;
  box-shadow: var(--card-shadow);
  border-top: 3px solid var(--secondary);
}

.vision-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.vision-icon i { color: var(--secondary); font-size: 1.1rem; }

.vision-card h5 {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.vision-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ===========================
   FINANCIAL PAGE
   =========================== */
.fin-table-card {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.fin-table-header {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 1px;
  padding: 14px 20px;
  font-size: 0.9rem;
}

.fin-table thead th {
  background: #f0f4ff;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 16px;
  border-bottom: 2px solid var(--primary);
}

.fin-table tbody td { padding: 10px 16px; font-size: 0.88rem; }
.fin-table tbody tr:hover { background: #f8f9ff; }

.fin-total td {
  background: #e8eefd !important;
  font-weight: 700;
  border-top: 2px solid var(--primary);
}

/* ===========================
   DOWNLOADS PAGE
   =========================== */
.download-card {
  background: var(--white);
  border-radius: 0;
  padding: 36px 28px;
  box-shadow: var(--card-shadow);
  border-top: 4px solid var(--primary);
}

.download-icon {
  width: 72px;
  height: 72px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.download-icon i { color: var(--secondary); font-size: 1.8rem; }

.download-card h4 { color: var(--primary); font-weight: 700; margin: 16px 0 10px; }

.btn-download {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
  text-decoration: none;
}

.btn-download:hover { background: #0d2137; color: var(--white); transform: translateY(-2px); }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 5px 0; font-size: 0.88rem; color: var(--text-dark); }

.doc-list { display: flex; flex-direction: column; gap: 12px; }

.doc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: 0;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid var(--secondary);
}

.doc-icon { font-size: 1.8rem; color: var(--accent); min-width: 36px; text-align: center; }

.doc-info { flex: 1; }
.doc-info h6 { color: var(--primary); margin: 0 0 2px; font-size: 0.9rem; font-weight: 600; }
.doc-info p { color: var(--text-muted); font-size: 0.8rem; margin: 0; }

.btn-doc {
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 4px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-doc:hover { background: #0d2137; color: var(--white); }

/* ===========================
   MANAGEMENT PAGE
   =========================== */
.mgmt-card {
  background: var(--white);
  border-radius: 0;
  padding: 24px 16px 20px;
  box-shadow: none;
  border-left: 4px solid var(--secondary);
  border-top: 1px solid rgba(10,31,92,0.08);
  border-right: 1px solid rgba(10,31,92,0.08);
  border-bottom: 1px solid rgba(10,31,92,0.08);
  transition: border-left-width 0.25s ease;
  height: 100%;
}

.mgmt-card:hover {
  border-left-width: 8px;
}

.mgmt-card-featured {
  border-top: none;
  background: linear-gradient(160deg, #ffffff 60%, rgba(240,196,25,0.08) 100%);
  border: 1px solid rgba(240,196,25,0.35);
  box-shadow: 0 6px 28px rgba(0,0,0,0.11);
  position: relative;
  overflow: hidden;
}

.mgmt-card-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
}

.mgmt-card-featured::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,196,25,0.12), transparent 70%);
  pointer-events: none;
}

.mgmt-photo-wrap {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 4px solid var(--secondary);
  box-shadow: 0 0 0 4px rgba(10,31,92,0.15), 0 6px 20px rgba(0,0,0,0.18);
  transition: box-shadow 0.3s;
}

.mgmt-card:hover .mgmt-photo-wrap {
  box-shadow: 0 0 0 5px rgba(240,196,25,0.5), 0 8px 24px rgba(0,0,0,0.22);
}

.mgmt-photo-wrap.sm {
  width: 150px;
  height: 150px;
  border-width: 3px;
}

.mgmt-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.mgmt-card h5 { color: var(--primary); font-weight: 700; margin-bottom: 3px; font-size: 1.05rem; }
.mgmt-card h6 { color: var(--primary); font-weight: 600; margin-bottom: 3px; font-size: 0.88rem; }

.mgmt-qual { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 12px; }
.mgmt-qual-sm { color: var(--text-muted); font-size: 0.74rem; margin-bottom: 8px; }

.mgmt-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #2e7d4f);
  color: var(--secondary);
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(10,31,92,0.3);
}

.mgmt-badge-sm {
  display: inline-block;
  background: linear-gradient(135deg, rgba(10,31,92,0.1), rgba(240,196,25,0.15));
  color: var(--primary);
  border: 1px solid rgba(240,196,25,0.5);
  padding: 4px 14px;
  border-radius: 30px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ===========================
   DIGITAL BANKING PAGES
   =========================== */
.digital-feature-list { display: flex; flex-direction: column; gap: 16px; }

.digital-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.df-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.df-icon i { color: var(--secondary); font-size: 1.1rem; }

.digital-feature-item h6 { color: var(--primary); font-weight: 600; margin: 0 0 4px; font-size: 0.9rem; }
.digital-feature-item p { color: var(--text-muted); margin: 0; font-size: 0.84rem; }

/* RTGS/NEFT Info Cards */
.digital-info-card {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.dic-header {
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
  font-weight: 600;
  font-size: 0.95rem;
}

.dic-body { padding: 20px; }
.dic-body p { font-size: 0.88rem; color: var(--text-dark); line-height: 1.7; }

.info-strip-card {
  background: var(--white);
  border-radius: 0;
  padding: 20px 10px;
  box-shadow: var(--card-shadow);
}

.info-strip-card h6 { color: var(--primary); font-weight: 600; font-size: 0.85rem; margin: 8px 0 4px; }
.info-strip-card p { color: var(--text-muted); font-size: 0.8rem; margin: 0; }

/* Mobile Banking Feature Cards */
.mob-feature-card {
  background: var(--white);
  border-radius: 0;
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--card-shadow);
  border-bottom: 3px solid var(--secondary);
}

.mob-feature-card i { font-size: 1.6rem; color: var(--primary); }
.mob-feature-card h6 { color: var(--primary); font-weight: 600; margin: 10px 0 6px; font-size: 0.9rem; }
.mob-feature-card p { color: var(--text-muted); font-size: 0.82rem; margin: 0; }

/* Registration Steps */
.step-card {
  background: var(--white);
  border-radius: 0;
  padding: 20px 12px;
  box-shadow: var(--card-shadow);
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 12px;
}

.step-card h6 { color: var(--primary); font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }
.step-card p { color: var(--text-muted); font-size: 0.8rem; margin: 0; }

/* ===========================
   LOAN / DEPOSIT TABLES
   =========================== */
.rate-table thead th {
  background: var(--primary);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 12px 14px;
  white-space: nowrap;
}

.rate-table tbody td { padding: 10px 14px; font-size: 0.87rem; vertical-align: middle; }
.rate-table tbody tr:hover { background: #f0f4ff; }

.rate-cell {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
}

/* ===========================
   BRANCHES PAGE
   =========================== */
.branch-card {
  background: var(--white);
  border-radius: 0;
  padding: 24px 16px;
  box-shadow: var(--card-shadow);
}

.branch-icon { font-size: 1.6rem; color: var(--primary); margin-bottom: 10px; }
.branch-card h6 { color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.branch-card p { color: var(--text-muted); font-size: 0.84rem; margin: 0; }

.branch-detail-card {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.featured-branch { border: 2px solid var(--secondary); }

.bdc-header {
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.bdc-branch { background: #1a5276; }

.bdc-code {
  background: rgba(255,255,255,0.15);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 400;
}

.bdc-body { padding: 20px 24px; }
.bdc-body p { font-size: 0.87rem; color: var(--text-dark); margin-bottom: 8px; }
.bdc-body a { color: var(--primary); }

.bdc-name { color: var(--primary); font-weight: 700; margin-bottom: 12px; font-size: 1rem; }
.bdc-subhead { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }

.bdc-hours {
  background: var(--light-bg);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.84rem;
  margin-top: 10px;
  border-left: 3px solid var(--secondary);
}

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.ci-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ci-icon i { color: var(--secondary); font-size: 1.1rem; }

.contact-info-item h6 { color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; margin: 0; }
.contact-info-item a { color: var(--primary); font-weight: 500; font-size: 0.95rem; text-decoration: none; }
.contact-info-item a:hover { text-decoration: underline; }

.contact-section-label {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--secondary);
  margin-bottom: 12px;
}

.contact-branch-card {
  background: var(--light-bg);
  border-radius: 0;
  padding: 14px 18px;
  margin-bottom: 10px;
  border-left: 3px solid var(--primary);
  font-size: 0.85rem;
}

.contact-branch-card p { margin-bottom: 4px; }
.contact-branch-card a { color: var(--primary); text-decoration: none; }

.map-wrapper { border: 2px solid #dee2e6; }
.map-address-note { font-size: 0.85rem; color: var(--text-muted); }

.quick-contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: var(--white);
  border-radius: 0;
  padding: 14px 18px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.quick-contact-card:hover { background: #0d2137; color: var(--white); transform: translateY(-2px); }

.quick-contact-card i { font-size: 1.4rem; color: var(--secondary); }
.quick-contact-card small { display: block; color: rgba(255,255,255,0.7); font-size: 0.72rem; }
.quick-contact-card strong { font-size: 0.88rem; }

/* ===========================
   RESPONSIVE (cont'd)
   =========================== */
@media (max-width: 768px) {
  .bank-name { font-size: 1.25rem; letter-spacing: 0.5px; }
  .bank-tagline { font-size: 0.75rem; }
  #hero .carousel-item { height: 340px; }
  #hero .carousel-caption h1 { font-size: 1.2rem; }
  #hero .carousel-caption h2 { font-size: 0.9rem; }
  .section-heading h2 { font-size: 1.4rem; }
  .message-card { padding: 24px 20px; }
  .stat-number { font-size: 1.6rem; }
}

@media (max-width: 576px) {
  .bank-logo { width: 55px; height: 55px; }
  #hero .carousel-item { height: 280px; }
  #hero .carousel-caption h1 { font-size: 1rem; }
}

/* ===== GALLERY ===== */
.gallery-item {
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(10,31,92,0.85), transparent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.gallery-lightbox {
  position: fixed;
  width: max-content;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  padding: 48px 12px 12px;
  border: 0;
  background: #111;
  overflow: hidden;
}

.gallery-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
}

.gallery-lightbox img {
  display: block;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 84px);
  object-fit: contain;
}

.gallery-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

body.dark-mode .gallery-item { box-shadow: 0 4px 18px rgba(0,0,0,0.5); }
