/* =========================================================
   Mysore Zilla Mahila Sahakara Bank Niyamitha — site styles
   Theme derived from the bank logo: crimson red on white
   ========================================================= */
:root {
  --brand: #c1121f;          /* logo red */
  --brand-dark: #8a0c16;
  --brand-deep: #5c0810;
  --brand-soft: #fdecee;
  --accent: #d9a21b;         /* warm gold accent */
  --ink: #1f1f24;
  --muted: #5b5b66;
  --line: #ecdfe1;
  --bg: #ffffff;
  --bg-alt: #fff7f7;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(92, 8, 16, .08);
  --shadow-lg: 0 18px 45px rgba(92, 8, 16, .16);
  --font-body: "Noto Sans", "Noto Sans Kannada", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Poppins", "Noto Sans Kannada", system-ui, sans-serif;
  --fs-scale: 1;
  --hero-h: clamp(360px, 62vh, 620px);   /* shared by home slider and inner-page banners */
}

html { font-size: calc(100% * var(--fs-scale)); scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.65; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--brand-deep); font-weight: 600; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
.kn { font-family: "Noto Sans Kannada", var(--font-body); }

/* Visible focus for keyboard users */
:focus-visible { outline: 3px solid var(--accent) !important; outline-offset: 2px !important; box-shadow: 0 0 0 5px rgba(0,0,0,.35) !important; }

/* Skip link */
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 2000; background: var(--brand-deep); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Top utility bar ---------- */
.utility-bar { background: var(--brand-deep); color: #fbe9eb; font-size: .82rem; }
.utility-bar a, .utility-bar button { color: #fbe9eb; text-decoration: none; }
.utility-bar a:hover { color: #fff; text-decoration: underline; }
.utility-bar .util-links { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; align-items: center; }

/* ---------- Brand header ---------- */
.brand-header { background: #fff; border-bottom: 1px solid var(--line); }
.brand-header .brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.brand-header .brand img { width: 88px; height: 88px; object-fit: contain; flex-shrink: 0; }
.brand-name { font-family: var(--font-head); font-weight: 700; color: var(--brand); font-size: clamp(1rem, 2.2vw, 1.55rem); line-height: 1.2; letter-spacing: .02em; margin: 0; text-transform: uppercase; }
.brand-name-kn { font-family: "Noto Sans Kannada", sans-serif; color: var(--brand-deep); font-size: clamp(.85rem, 1.6vw, 1.05rem); margin: .2rem 0 0; font-weight: 600; }
.header-contact { display: flex; gap: 1.5rem; }
.header-contact .item { display: flex; gap: .6rem; align-items: center; }
.header-contact .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.15rem; }
.header-contact small { color: var(--muted); display: block; line-height: 1.1; }
.header-contact strong { color: var(--ink); font-size: .92rem; }

/* ---------- Navbar ---------- */
.main-nav { background: var(--brand); box-shadow: 0 4px 14px rgba(92,8,16,.2); }
.main-nav .navbar-nav .nav-link { color: #fff; font-weight: 500; padding: .95rem .9rem; font-size: .95rem; }
.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-link:focus,
.main-nav .navbar-nav .nav-link.active,
.main-nav .navbar-nav .show > .nav-link { color: #fff; background: var(--brand-dark); }
.main-nav .dropdown-menu { border: 0; border-top: 3px solid var(--accent); border-radius: 0 0 10px 10px; box-shadow: var(--shadow-lg); padding: .25rem 0; }
.main-nav .dropdown-item { padding: .35rem 1rem; font-weight: 500; }
.main-nav .dropdown-item:hover, .main-nav .dropdown-item:focus, .main-nav .dropdown-item.active { background: var(--brand-soft); color: var(--brand-dark); }
.main-nav .navbar-toggler { border-color: rgba(255,255,255,.6); color: #fff; }
.main-nav .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.main-nav .navbar-nav .nav-link { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .main-nav .navbar-nav .nav-link { padding: .95rem .5rem; font-size: .86rem; }
}
@media (max-width: 991.98px) {
  .main-nav .navbar-nav .nav-link { padding: .7rem .5rem; }
  .main-nav .dropdown-menu { background: var(--brand-dark); border-top: 0; box-shadow: none; }
  .main-nav .dropdown-item { color: #fff; }
  .main-nav .dropdown-item:hover, .main-nav .dropdown-item:focus, .main-nav .dropdown-item.active { background: rgba(255,255,255,.12); color: #fff; }
}

/* ---------- Hero slider ---------- */
.hero-slider .carousel-item { height: var(--hero-h); }
.hero-slider .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider .carousel-item::after { content: ""; position: absolute; inset: 0; background: none; }
.hero-caption { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.hero-caption .eyebrow { display: inline-block; background: var(--accent); color: #2b1a00; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.hero-caption h1, .hero-caption h2 { color: #fff; font-size: clamp(1.5rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.2; max-width: 780px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-caption p { color: #fbe9eb; font-size: clamp(.95rem, 1.4vw, 1.15rem); max-width: 620px; }
.btn-brand { background: var(--brand); color: #fff; border: 2px solid var(--brand); border-radius: 999px; padding: .6rem 1.5rem; font-weight: 600; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline-light-brand { border: 2px solid #fff; color: #fff; border-radius: 999px; padding: .6rem 1.5rem; font-weight: 600; }
.btn-outline-light-brand:hover, .btn-outline-light-brand:focus { background: #fff; color: var(--brand); }
.slider-pause { position: absolute; right: 1rem; bottom: 1rem; z-index: 5; background: rgba(0,0,0,.55); color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: .35rem .9rem; font-size: .85rem; }
.slider-pause:hover { background: rgba(0,0,0,.8); }
.hero-slider .carousel-indicators { z-index: 4; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: var(--hero-h); display: flex; align-items: flex-end; color: #fff; background: var(--brand-deep) center/cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: none; }
.page-hero.pattern { background-image: radial-gradient(circle at 85% 30%, rgba(217,162,27,.35) 0, transparent 35%), radial-gradient(circle at 10% 90%, rgba(255,255,255,.12) 0, transparent 30%), linear-gradient(120deg, var(--brand-deep), var(--brand)); }
.page-hero.pattern::before { background: none; }
.page-hero .container { position: relative; z-index: 1; padding-block: 3rem 2.2rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: .4rem; text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.page-hero .hero-icon { font-size: 3rem; color: var(--accent); margin-bottom: .6rem; display: block; }
.page-hero .breadcrumb { margin: 0; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: #fbe9eb; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.page-hero .breadcrumb-item.active { color: #fff; font-weight: 600; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: #fbe9eb; }

/* ---------- Sections ---------- */
.section { padding-block: 4.5rem; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.8rem; }
.section-head .kicker { color: var(--brand); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: .35rem 0 .6rem; }
.section-head h2::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--accent)); margin: .8rem auto 0; }
.section-head p { color: var(--muted); }

/* Service cards */
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem; height: 100%; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-card:hover, .service-card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before, .service-card:focus-within::before { transform: scaleX(1); }
.service-card .ico { width: 62px; height: 62px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 1.1rem; }
.service-card h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.service-card p { color: var(--muted); font-size: .95rem; flex-grow: 1; }
.service-card .more { font-weight: 600; text-decoration: none; }
.service-card .more i { transition: transform .2s; display: inline-block; }
.service-card .more:hover i { transform: translateX(4px); }

/* News & announcements */
.news-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); flex: 1 1 auto; display: flex; flex-direction: column; }
.news-panel .panel-head { background: var(--brand); color: #fff; padding: .9rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.news-panel .panel-head h3 { color: #fff; font-size: 1.1rem; margin: 0; }
.news-panel .panel-head button { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-size: .8rem; padding: .2rem .75rem; }
.news-viewport { flex: 1 1 340px; min-height: 340px; overflow: hidden; position: relative; }
.news-viewport:focus-within { overflow-y: auto; }
.news-track { animation: news-scroll 28s linear infinite; }
.news-viewport:hover .news-track, .news-viewport:focus-within .news-track, .news-viewport.paused .news-track { animation-play-state: paused; }
@keyframes news-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { padding: .95rem 1.2rem; border-bottom: 1px dashed var(--line); display: flex; gap: .75rem; align-items: flex-start; }
.news-list li i { color: var(--brand); margin-top: .2rem; }
.news-list .tag-new { background: var(--accent); color: #2b1a00; font-size: .68rem; font-weight: 700; border-radius: 4px; padding: .05rem .4rem; margin-left: .35rem; vertical-align: middle; }
.news-list a.dl { font-weight: 700; white-space: nowrap; }

/* President message */
.president-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; flex: 1 1 auto; }
.president-photo { position: relative; height: 100%; min-height: 360px; background: var(--brand-soft); }
.president-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; position: absolute; inset: 0; }
.president-photo .badge-name { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgba(255,255,255,.95); border-left: 5px solid var(--brand); border-radius: 8px; padding: .7rem 1rem; }
.president-body { padding: 2.2rem; }
.president-body .quote-ico { font-size: 3rem; color: var(--brand); opacity: .25; line-height: 1; }
.president-body .msg { max-height: 360px; overflow-y: auto; padding-right: .8rem; }
.president-body .msg p { text-align: justify; }
.president-sign { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
.president-sign strong { color: var(--brand-deep); display: block; }

/* Stats stripe */
.stats-stripe { background: linear-gradient(120deg, var(--brand-deep), var(--brand)); color: #fff; padding-block: 3rem; position: relative; overflow: hidden; }
.stats-stripe::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.06); }
.stat { text-align: center; }
.stat .ico { font-size: 2rem; color: var(--accent); }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; }
.stat .lbl { text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: #fbe9eb; }

/* DICGC */
.dicgc-box { background: #fff; border: 1px solid var(--brand); border-radius: var(--radius); padding: 2rem; }
.dicgc-logo { width: 130px; height: 130px; border-radius: 50%; background: linear-gradient(135deg, #0b3d91, #1565c0); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-weight: 700; box-shadow: var(--shadow); margin-inline: auto; }
.dicgc-logo span { display: block; font-size: 1.6rem; letter-spacing: .06em; }
.dicgc-logo small { font-size: .55rem; font-weight: 500; line-height: 1.2; display: block; padding: 0 .8rem; }
.dicgc-qr { width: 150px; height: 150px; background: #fff; padding: .4rem; border: 1px solid var(--line); border-radius: 10px; }

/* RBI consumer awareness banners */
.rbi-banner { border-radius: var(--radius); padding: 1.8rem 1.6rem; color: #fff; height: 100%; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.rbi-banner::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.08); }
.rbi-banner .rbi-tag { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.18); border-radius: 999px; padding: .2rem .8rem; font-size: .8rem; font-weight: 600; margin-bottom: 1rem; }
.rbi-banner .big-ico { font-size: 2.6rem; color: #ffd66b; display: block; margin-bottom: .6rem; }
.rbi-banner h3 { color: #fff; font-size: 1.3rem; }
.rbi-banner p { color: rgba(255,255,255,.92); margin-bottom: .6rem; }
.rbi-banner .en { font-size: .85rem; color: rgba(255,255,255,.75); border-top: 1px solid rgba(255,255,255,.2); padding-top: .6rem; margin: 0; }
.rbi-banner a { color: #ffd66b; font-weight: 700; }
.rbi-1 { background: linear-gradient(140deg, #5c0810, #c1121f); }
.rbi-2 { background: linear-gradient(140deg, #0b3d91, #1c6dd0); }
.rbi-3 { background: linear-gradient(140deg, #14532d, #1f8a4c); }
@media (min-width: 992px) { .rbi-posters { max-width: 75%; margin-inline: auto; } }
.rbi-poster { padding: 0; display: flex; flex-direction: column; }
.rbi-poster-img { position: relative; display: block; aspect-ratio: 5/7; overflow: hidden; background: #fff; }
.rbi-poster-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .35s; }
.rbi-poster-img:hover img, .rbi-poster-img:focus-visible img { transform: scale(1.03); }
.rbi-poster-img .zoom { position: absolute; right: .7rem; bottom: .7rem; background: rgba(0,0,0,.65); color: #fff !important; font-size: .78rem; font-weight: 600; border-radius: 999px; padding: .25rem .75rem; }
.rbi-poster-body { padding: 1rem 1.1rem 1.1rem; flex: 1; position: relative; z-index: 1; }
.rbi-poster-body h3 { font-family: "Noto Sans Kannada", var(--font-body); font-size: .85rem; font-weight: 600; line-height: 1.5; margin-bottom: .4rem; }
.rbi-poster .rbi-tag { font-family: "Noto Sans Kannada", var(--font-body); font-size: .68rem; margin-bottom: .6rem; }
.rbi-poster .en { border-top: 0; padding-top: 0; font-size: .78rem; line-height: 1.5; }

/* FAQ */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; overflow: hidden; margin-bottom: .8rem; box-shadow: 0 4px 14px rgba(92,8,16,.05); }
.faq .accordion-button { font-weight: 600; font-family: var(--font-head); color: var(--brand-deep); }
.faq .accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--brand-dark); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; }

/* Tabs (history) */
.brand-tabs { border: 0; gap: .5rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; }
.brand-tabs .nav-link { border: 2px solid var(--brand) !important; color: var(--brand); border-radius: 999px !important; font-weight: 600; padding: .55rem 1.6rem; }
.brand-tabs .nav-link.active, .brand-tabs .nav-link:hover { background: var(--brand); color: #fff; }
.content-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 2.2rem; }
.content-card p { text-align: justify; }
.mv-card { text-align: center; padding: 3rem 2rem; }
.mv-card .ico { width: 84px; height: 84px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 2.2rem; }
.mv-card .kn { font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--brand-deep); font-weight: 600; line-height: 1.7; }
.mv-card .en { font-size: 1.1rem; color: var(--muted); font-style: italic; }
.timeline { list-style: none; padding: 0; margin: 1.5rem 0 0; border-left: 3px solid var(--brand-soft); }
.timeline li { position: relative; padding: 0 0 1.2rem 1.4rem; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: .35rem; width: 15px; height: 15px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand); }
.timeline strong { color: var(--brand-deep); }

/* Tables */
.rate-table-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.rate-table-wrap .table-title { background: var(--brand); color: #fff; padding: 1rem 1.3rem; display: flex; align-items: center; gap: .6rem; }
.rate-table-wrap .table-title h2, .rate-table-wrap .table-title h3 { color: #fff; margin: 0; font-size: 1.15rem; }
.rate-table { margin: 0; }
.rate-table thead th { background: var(--brand-soft); color: var(--brand-deep); font-weight: 700; border-bottom: 2px solid var(--brand); vertical-align: middle; }
.rate-table td, .rate-table th { padding: .85rem 1.2rem; }
.rate-table tbody tr:nth-child(even) td, .rate-table tbody tr:nth-child(even) th { background: #fffafa; }
.rate-table .rate { font-weight: 700; color: var(--brand); white-space: nowrap; font-size: 1.05rem; }
.rate-table .group-row th { background: #fbe3e6 !important; color: var(--brand-deep); font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.rate-table .sub { padding-left: 2.4rem; }
.note-box { background: #fff8e6; border-left: 5px solid var(--accent); border-radius: 8px; padding: 1rem 1.2rem; }

/* Info / feature list */
.feature-list { list-style: none; padding: 0; }
.feature-list li { position: relative; padding: .55rem 0 .55rem 2.1rem; }
.feature-list li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .5rem; color: var(--brand); font-size: 1.2rem; }
.info-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; height: 100%; box-shadow: var(--shadow); }
.info-tile .ico { font-size: 1.8rem; color: var(--brand); }
.info-tile h3 { font-size: 1.1rem; margin: .6rem 0 .4rem; }
.info-tile p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Directors */
.director-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); height: 100%; transition: transform .25s, box-shadow .25s; }
.director-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.director-card .photo { aspect-ratio: 4/5; overflow: hidden; background: var(--brand-soft); }
.director-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.director-card .body { padding: 1rem; text-align: center; border-top: 4px solid var(--brand); }
.director-card h3 { font-size: 1.05rem; margin: 0 0 .25rem; }
.director-card .role { color: var(--brand); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.director-card.lead .body { background: var(--brand); border-top-color: var(--accent); }
.director-card.lead h3 { color: #fff; }
.director-card.lead .role { color: #ffe2a3; }

/* Branch */
.branch-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); height: 100%; }
.branch-card .photo { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--brand-soft), #fff); display: grid; place-items: center; color: var(--brand); font-size: 3rem; overflow: hidden; }
.branch-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.branch-card .body { padding: 1.4rem; }
.branch-card h3 { font-size: 1.15rem; }
.contact-line { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .35rem; }
.contact-line i { color: var(--brand); font-size: 1.1rem; margin-top: .1rem; }
.hours-card { background: var(--brand-deep); color: #fff; border-radius: var(--radius); padding: 1.8rem; height: 100%; }
.hours-card h3 { color: #fff; font-size: 1.15rem; }
.hours-card dt { color: #ffd66b; font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-top: .9rem; }
.hours-card dd { margin: .2rem 0 0; }
.hours-card .holiday { background: rgba(255,255,255,.12); border-radius: 8px; padding: .6rem .8rem; margin-top: 1rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 576px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { position: relative; border: 0; padding: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: var(--brand-soft); cursor: zoom-in; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.07); }
.gallery-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: .8rem 1rem; background: linear-gradient(0deg, rgba(60,4,10,.85), transparent); color: #fff; font-weight: 600; text-align: left; font-size: .92rem; }
.lightbox { position: fixed; inset: 0; background: rgba(15,2,4,.94); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 3.5rem 1rem 1rem; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: .8rem; }
.lightbox .lb-btn { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; display: grid; place-items: center; }
.lightbox .lb-btn:hover { background: var(--brand); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Contact */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); height: 100%; min-height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #1b0507; color: #e9d6d8; padding-top: 1.6rem; font-size: .83rem; line-height: 1.5; }
.site-footer > .container > .row { --bs-gutter-y: 1rem; }
.site-footer h2 { color: #fff; font-size: .92rem; margin-bottom: .55rem; position: relative; padding-bottom: .35rem; }
.site-footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--brand); border-radius: 3px; }
.site-footer .foot-brand { display: flex; gap: .65rem; align-items: center; margin-bottom: .55rem; }
.site-footer .foot-brand img { width: 48px; height: 48px; background: #fff; border-radius: 50%; padding: 3px; }
.site-footer .foot-brand strong { color: #fff; font-family: var(--font-head); line-height: 1.3; font-size: .86rem; }
.site-footer p { margin-bottom: .55rem; }
.site-footer a { color: #e9d6d8; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; row-gap: 0; }
.site-footer ul li { padding: 0; margin: 0; line-height: 1.55; }
.site-footer ul li a { display: inline-flex; align-items: center; gap: .35rem; }
.site-footer ul li a i { color: var(--brand); font-size: .7rem; }
.site-footer .contact-line i { color: #ff6b77; }
.site-footer .contact-line { margin-bottom: .2rem; }
.site-footer .grade-badge { display: inline-flex; gap: .5rem; align-items: center; background: rgba(217,162,27,.15); color: #ffd66b; border: 1px solid rgba(217,162,27,.4); border-radius: 999px; padding: .2rem .75rem; font-weight: 600; font-size: .76rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 1rem; padding-block: .5rem; font-size: .76rem; color: #bfa8ab; }

/* ---------- Back to top ("page arrow jumper") ---------- */
.back-to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 1500; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 1.4rem; box-shadow: var(--shadow-lg); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--brand-dark); }

/* ---------- Accessibility widget ---------- */
.a11y-toggle { position: fixed; right: 0; top: 45%; z-index: 1600; background: var(--brand-deep); color: #fff; border: 2px solid var(--accent); border-right: 0; border-radius: 12px 0 0 12px; width: 54px; height: 54px; font-size: 1.6rem; box-shadow: var(--shadow-lg); display: grid; place-items: center; transition: background .2s, width .2s; }
.a11y-toggle:hover, .a11y-toggle:focus-visible { background: var(--brand); width: 60px; }
.a11y-panel { position: fixed; right: 0; top: 0; bottom: 0; width: min(340px, 92vw); background: #fff; z-index: 1700; box-shadow: -8px 0 30px rgba(92,8,16,.3); transform: translateX(105%); transition: transform .3s; display: flex; flex-direction: column; }
.a11y-panel.open { transform: none; }
.a11y-panel header { background: linear-gradient(120deg, var(--brand-deep), var(--brand)); border-bottom: 3px solid var(--accent); color: #fff; padding: 1rem 1.2rem; display: flex; justify-content: space-between; align-items: center; }
.a11y-panel header h2 { color: #fff; font-size: 1.1rem; margin: 0; }
.a11y-panel header h2 i { color: #ffd66b; }
.a11y-panel header button { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; width: 36px; height: 36px; font-size: 1.4rem; line-height: 1; display: grid; place-items: center; }
.a11y-panel header button:hover { background: rgba(255,255,255,.3); }
.a11y-panel .a11y-body { padding: 1.2rem; overflow-y: auto; background: var(--bg-alt); flex: 1; }
.a11y-panel .group-label { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-deep); margin: 1rem 0 .5rem; }
.a11y-panel .group-label:first-child { margin-top: 0; }
.a11y-panel .fs-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.a11y-opt { position: relative; border: 2px solid var(--line); background: #fff; border-radius: 10px; padding: .75rem .5rem; font-size: .85rem; font-weight: 600; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; transition: border-color .2s, background .2s, color .2s; }
.a11y-opt i { font-size: 1.35rem; color: var(--brand); }
.a11y-opt:hover { border-color: var(--brand); background: var(--brand-soft); }
.a11y-opt[aria-pressed="true"] { border-color: var(--brand-dark); background: var(--brand); color: #fff; }
.a11y-opt[aria-pressed="true"] i { color: #ffd66b; }
.a11y-opt[aria-pressed="true"]::after { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; top: .3rem; right: .4rem; font-size: .9rem; color: #fff; }
.a11y-reset { width: 100%; margin-top: 1.2rem; background: #fff; color: var(--brand-dark); border: 2px solid var(--brand); border-radius: 999px; padding: .7rem; font-weight: 600; transition: background .2s, color .2s; }
.a11y-reset:hover { background: var(--brand); color: #fff; }
.a11y-panel .text-muted { color: var(--muted) !important; }
.a11y-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 1650; }

/* Accessibility modes (applied on <html>) */
/* High contrast: same layout and photos, but pure black text on white, darker reds, stronger borders */
html.a11y-contrast {
  --brand: #8a0c16; --brand-dark: #5c0810; --brand-deep: #3d050b; --brand-soft: #fff0f1;
  --accent: #b07d00; --ink: #000; --muted: #000; --line: #3d050b; --bg-alt: #fff;
}
html.a11y-contrast body { color: #000; background: #fff; }
html.a11y-contrast p, html.a11y-contrast li, html.a11y-contrast td, html.a11y-contrast th, html.a11y-contrast dd,
html.a11y-contrast .text-muted, html.a11y-contrast small { color: #000 !important; }
html.a11y-contrast a { color: var(--brand-dark); text-decoration: underline !important; text-underline-offset: 3px; }
/* Cards, tables and panels: strong outlines instead of soft shadows */
html.a11y-contrast .service-card, html.a11y-contrast .info-tile, html.a11y-contrast .content-card, html.a11y-contrast .news-panel,
html.a11y-contrast .president-card, html.a11y-contrast .rate-table-wrap, html.a11y-contrast .director-card, html.a11y-contrast .branch-card,
html.a11y-contrast .faq .accordion-item, html.a11y-contrast .dicgc-box, html.a11y-contrast .map-wrap, html.a11y-contrast .a11y-opt { border: 2px solid var(--line) !important; box-shadow: none; }
html.a11y-contrast .rate-table td, html.a11y-contrast .rate-table th { border-bottom: 1px solid #000; }
html.a11y-contrast .rate-table tbody tr:nth-child(even) td, html.a11y-contrast .rate-table tbody tr:nth-child(even) th { background: #fff; }
html.a11y-contrast .note-box { background: #fff; border: 2px solid #000; border-left-width: 6px; }
html.a11y-contrast .section-head h2::after, html.a11y-contrast .service-card::before { background: #000; }
/* Text on dark / red backgrounds stays pure white */
html.a11y-contrast .utility-bar, html.a11y-contrast .utility-bar a, html.a11y-contrast .main-nav .nav-link,
html.a11y-contrast .site-footer, html.a11y-contrast .site-footer p, html.a11y-contrast .site-footer li, html.a11y-contrast .site-footer a, html.a11y-contrast .site-footer small,
html.a11y-contrast .footer-bottom, html.a11y-contrast .stats-stripe, html.a11y-contrast .stat .lbl,
html.a11y-contrast .rbi-banner, html.a11y-contrast .rbi-banner p, html.a11y-contrast .rbi-banner .en,
html.a11y-contrast .hours-card, html.a11y-contrast .hours-card dd, html.a11y-contrast .hours-card p,
html.a11y-contrast .director-card.lead h3, html.a11y-contrast .table-title h2, html.a11y-contrast .table-title h3,
html.a11y-contrast .hero-caption p, html.a11y-contrast .page-hero .breadcrumb-item, html.a11y-contrast .page-hero .breadcrumb-item a,
html.a11y-contrast .panel-head, html.a11y-contrast .a11y-panel header, html.a11y-contrast .a11y-opt[aria-pressed="true"] { color: #fff !important; }
html.a11y-contrast .site-footer, html.a11y-contrast .footer-bottom { background: #000; }
html.a11y-contrast .rbi-banner a, html.a11y-contrast .hours-card a, html.a11y-contrast .rbi-banner .big-ico, html.a11y-contrast .hours-card dt { color: #ffe066 !important; }
html.a11y-contrast .rbi-1 { background: #5c0810; } html.a11y-contrast .rbi-2 { background: #0a2f6e; } html.a11y-contrast .rbi-3 { background: #0f3d21; }
/* Photos stay visible; overlays get a little darker so white titles stay readable */
html.a11y-contrast .page-hero::before { background: none; }
html.a11y-contrast .carousel-item::after { background: none; }
html.a11y-contrast .hero-caption .eyebrow { background: #ffe066; color: #000; }
html.a11y-contrast .btn-brand { background: #fff; color: #000 !important; border-color: #fff; }
html.a11y-contrast .btn-outline-light-brand { border-width: 3px; color: #fff !important; background: rgba(0,0,0,.6); }
html.a11y-contrast .btn-outline-light-brand:hover, html.a11y-contrast .btn-outline-light-brand:focus { background: #fff; color: #000 !important; }
html.a11y-contrast .gallery-item .cap { background: rgba(0,0,0,.85); }
html.a11y-grayscale body > *:not(.a11y-panel):not(.a11y-toggle) { filter: grayscale(100%); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed #ffb300; outline-offset: 2px; }
html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3, html.a11y-readable h4, html.a11y-readable h5, html.a11y-readable h6, html.a11y-readable .brand-name { font-family: "Atkinson Hyperlegible", "Noto Sans Kannada", Verdana, sans-serif !important; letter-spacing: .02em; }
html.a11y-spacing body { line-height: 2 !important; word-spacing: .16em; letter-spacing: .03em; }
html.a11y-spacing p, html.a11y-spacing li { margin-bottom: 1.1em; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' stroke='%23fff' stroke-width='1.2' d='M4 2l16 10-7 1.5 4 7.5-3 1.5-4-7.5L4 20z'/%3E%3C/svg%3E") 4 2, auto !important; }
html.a11y-noanim { scroll-behavior: auto !important; }
html.a11y-noanim *, html.a11y-noanim *::before, html.a11y-noanim *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-noanim .news-viewport { overflow-y: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .news-track { animation: none !important; }
  .news-viewport { overflow-y: auto; }
}

.visually-hidden-focusable:not(:focus):not(:focus-within) { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; }

@media (max-width: 767.98px) {
  .a11y-toggle, .a11y-toggle:hover, .a11y-toggle:focus-visible { top: auto; bottom: 4.8rem; right: 1.2rem; border: 2px solid var(--accent); border-radius: 50%; width: 50px; height: 50px; }
  .brand-header .brand img { width: 64px; height: 64px; }
  .section { padding-block: 3.2rem; }
}
