/* ==========================================================================
   The Mowanchery Co-operative Rural Bank Ltd. – website theme (2026 redesign)
   Primary font: Poppins. Built on Bootstrap 4 grid/utilities already in /css.
   ========================================================================== */
:root {
  --navy-900: #071d40;
  --navy-800: #0b2a5b;
  --navy-700: #123a7a;
  --blue: #17a6dd;
  --blue-50: #e8f6fc;
  --red: #e82c30;
  --red-600: #c9201f;
  --gold: #f2b33d;
  --ink: #18233a;
  --body: #3d4a5f;
  --muted: #6b778b;
  --line: #e2e8f1;
  --soft: #f3f6fb;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 91, .06), 0 2px 8px rgba(11, 42, 91, .06);
  --shadow: 0 10px 30px rgba(11, 42, 91, .10);
  --shadow-lg: 0 24px 50px rgba(11, 42, 91, .16);
  --font: 'Poppins', 'Noto Sans Malayalam', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-ml: 'Noto Sans Malayalam', 'Poppins', 'Conv_AnjaliOldLipi', sans-serif;
  --hdr-hide: 128px; /* topbar + brandbar, scrolled away when sticky */
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--body); font-size: 16px; line-height: 1.65; background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lang-ml { font-family: var(--font-ml); font-size: 15.5px; line-height: 1.8; }
h1, h2, h3, h4, h5, h6 { font-family: inherit; color: var(--ink); font-weight: 700; line-height: 1.25; }
a { color: var(--navy-700); transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform .2s; }
a:hover { color: var(--red); text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1240px; padding-left: 20px; padding-right: 20px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--navy-800); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid rgba(23, 166, 221, .6); outline-offset: 2px; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--soft); }
.bg-navy { background: var(--navy-800); color: #c9d5ea; }
.text-red { color: var(--red) !important; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.lang-ml .eyebrow { letter-spacing: .02em; text-transform: none; font-size: 14px; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2, .h-section { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section-head.text-left { margin-left: 0; text-align: left; }
.section-head.text-left .eyebrow::after { display: none; }
.bg-navy .section-head h2, .bg-navy h3 { color: #fff; }
.bg-navy .section-head p { color: #b8c6de; }

/* ---------- Buttons ---------- */
.btn-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-pill i::before { margin: 0; font-size: 15px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 18px rgba(232, 44, 48, .25); }
.btn-red:hover { background: var(--red-600); color: #fff; transform: translateY(-1px); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-white { background: #fff; color: var(--navy-800); }
.btn-white:hover { color: var(--red); transform: translateY(-1px); }
.btn-outline-white { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--navy-800); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy-700); }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: calc(-1 * var(--hdr-hide)); z-index: 1000; background: #fff; }
.site-header.is-scrolled .mainnav { box-shadow: 0 8px 24px rgba(7, 29, 64, .25); }
.topbar { background: var(--navy-900); color: #b9c7df; font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 12px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: nowrap; white-space: nowrap; }
.topbar li { display: inline-flex; align-items: center; }
.topbar-info li + li::before, .topbar-actions li + li::before { content: ""; width: 1px; height: 14px; background: rgba(255, 255, 255, .18); margin: 0 14px; }
.topbar a, .topbar span { color: #d6e0f0; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar b { color: #fff; font-weight: 500; }
.topbar i::before { font-size: 13px; margin: 0; color: var(--blue); }
.lang-switch { gap: 2px; }
.lang-switch a, .lang-switch .is-current { padding: 3px 10px; border-radius: 999px; font-size: 13px; }
.lang-switch .is-current { background: var(--red); color: #fff; }
.lang-switch a:hover { background: rgba(255, 255, 255, .12); }

.brandbar { background: #fff; border-bottom: 1px solid var(--line); }
.brandbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 56px; width: auto; }
.brand-meta { display: flex; align-items: center; gap: 28px; }
.brand-meta-item { display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.brand-meta-item small { display: block; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.lang-ml .brand-meta-item small { text-transform: none; letter-spacing: 0; }
.brand-meta-item a, .brand-meta-item b { color: var(--ink); font-weight: 700; font-size: 15px; }
.bm-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--navy-700); }
.bm-ic i::before { margin: 0; font-size: 18px; }

.mainnav { background: var(--navy-800); position: relative; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; justify-content: center; }
.menu-item { position: relative; display: flex; align-items: center; }
.menu-link { display: flex; align-items: center; height: 54px; padding: 0 14px; color: #fff; font-weight: 500; font-size: 15px; white-space: nowrap; position: relative; }
.lang-ml .menu-link { font-size: 14.5px; padding: 0 10px; }
.menu-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--red); border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform .25s; }
.menu-item:hover > .menu-link, .menu-item.is-active > .menu-link, .menu-item.is-open > .menu-link { color: #fff; background: rgba(255, 255, 255, .06); }
.menu-item:hover > .menu-link::after, .menu-item.is-active > .menu-link::after { transform: scaleX(1); }
.menu-item:last-child > .menu-link { background: var(--red); padding: 0 22px; }
.menu-item:last-child > .menu-link::after { display: none; }
.menu-item:last-child > .menu-link:hover { background: var(--red-600); }
.has-sub > .menu-link { padding-right: 4px; }
.sub-toggle { background: none; border: 0; color: rgba(255, 255, 255, .8); padding: 0 12px 0 2px; height: 54px; cursor: pointer; display: flex; align-items: center; }
.chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; display: inline-block; }
.submenu { list-style: none; margin: 0; padding: 10px; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: var(--shadow-lg); border-top: 3px solid var(--red); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 30; }
.menu-item:nth-last-child(-n+3) .submenu { left: auto; right: 0; }
.menu-item.has-sub:hover > .submenu, .menu-item.has-sub:focus-within > .submenu, .menu-item.is-open > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--ink); font-size: 14.5px; font-weight: 500; }
.submenu a:hover { background: var(--soft); color: var(--red); padding-left: 18px; }
.mainnav-head, .mainnav-foot { display: none; }
.nav-toggle { display: none; align-items: center; gap: 10px; background: var(--navy-800); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 14px; cursor: pointer; }
.bars { display: inline-flex; flex-direction: column; gap: 4px; }
.bars span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.nav-overlay { position: fixed; inset: 0; background: rgba(7, 29, 64, .55); z-index: 1001; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

@media (max-width: 1299.98px) {
  .menu-link { padding: 0 10px; font-size: 14.5px; }
  .menu-link::after { left: 10px; right: 10px; }
  .lang-ml .menu-link { font-size: 13.5px; padding: 0 7px; }
  .sub-toggle { padding: 0 8px 0 0; }
}
@media (max-width: 1199.98px) {
  :root { --hdr-hide: 36px; }
  .topbar-inner { min-height: 36px; }
  .brandbar-inner { min-height: 70px; }
  .brand-logo { height: 46px; }
  .brand-meta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mainnav { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; z-index: 1002; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; overflow-y: auto; box-shadow: var(--shadow-lg); }
  .mainnav.is-open { transform: none; }
  .mainnav .container { padding: 0; }
  .mainnav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .mainnav-head .brand-logo { height: 40px; }
  .nav-close { background: var(--soft); border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 26px; line-height: 1; color: var(--ink); cursor: pointer; }
  .menu { flex-direction: column; padding: 8px 0; }
  .menu-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .menu-link, .lang-ml .menu-link { flex: 1; height: auto; padding: 14px 20px; color: var(--ink); font-size: 16px; }
  .menu-link::after { display: none; }
  .menu-item:hover > .menu-link, .menu-item.is-open > .menu-link { background: transparent; color: var(--red); }
  .menu-item.is-active > .menu-link { color: var(--red); background: transparent; }
  .menu-item:last-child { border: 0; padding: 16px 20px; }
  .menu-item:last-child > .menu-link { color: #fff; justify-content: center; border-radius: 999px; padding: 13px; }
  .sub-toggle { height: auto; align-self: stretch; padding: 0 20px; color: var(--muted); border-left: 1px solid var(--line); }
  .menu-item.is-open .chev { transform: rotate(-135deg) translateY(-2px); }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; width: 100%; padding: 0 0 10px 12px; display: none; min-width: 0; background: #fff; }
  .menu-item.is-open > .submenu { display: block; }
  .menu-item.has-sub:hover > .submenu { display: none; }
  .menu-item.is-open.has-sub:hover > .submenu { display: block; }
  .submenu a { padding: 9px 20px; color: var(--body); }
  .mainnav-foot { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 28px; margin-top: auto; background: var(--soft); font-size: 14px; }
  .mainnav-foot a { color: var(--ink); display: flex; align-items: center; gap: 8px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 575.98px) {
  .topbar { font-size: 12.5px; }
  .brand-logo { height: 40px; }
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 12px; }
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { position: relative; background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-800) 55%, #14468f 100%); color: #fff; padding: 54px 0 58px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(23, 166, 221, .12); }
.page-hero::after { content: ""; position: absolute; right: 180px; bottom: -150px; width: 260px; height: 260px; border-radius: 50%; background: rgba(232, 44, 48, .14); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 10px 0 0; letter-spacing: -.01em; }
.page-lead { color: #c9d6ec; max-width: 720px; margin: 12px 0 0; font-size: 17px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: #9fb2d2; }
.crumbs a { color: #d6e0f0; }
.crumbs a:hover { color: #fff; }
.crumbs strong { color: #fff; font-weight: 500; }

/* ==========================================================================
   Inner page content (shared by scheme / facility pages)
   ========================================================================== */
#inner-page, .inner-page { padding: 64px 0 80px; }
#inner-page > .container > .row { row-gap: 32px; }
.title-style-1 { font-size: 24px; font-weight: 700; color: var(--ink); margin: 34px 0 14px; padding-left: 16px; border-left: 4px solid var(--red); line-height: 1.3; }
#inner-page .title-style-1:first-child, .content-card > .title-style-1:first-child { margin-top: 0; }
.title-style-2 { font-size: 22px; font-weight: 700; }
#inner-page p { margin-bottom: 14px; }
.text-justify { text-align: left !important; }
.list-contents, #inner-page ul:not([class]), .cms-content ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.list-contents li, #inner-page ul:not([class]) li, .cms-content ul li { position: relative; padding: 12px 16px 12px 46px; background: var(--soft); border-radius: var(--radius-sm); }
.list-contents li::before, #inner-page ul:not([class]) li::before, .cms-content ul li::before { content: ""; position: absolute; left: 16px; top: 15px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat; }
.lang-ml .list-contents li::before { top: 17px; }
.content-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }

/* Sidebar (scheme navigation) */
.side-panel { position: sticky; top: 74px; display: grid; gap: 20px; }
.side-links { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.side-links li:first-child { background: var(--navy-800); color: #fff; font-weight: 700; padding: 16px 20px; font-size: 16px; }
.side-links li a { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; color: var(--ink); border-top: 1px solid var(--line); font-weight: 500; font-size: 15px; }
.side-links li a::after { content: "›"; color: var(--muted); font-size: 20px; line-height: 1; }
.side-links li a:hover, .side-links li a.is-current { background: var(--soft); color: var(--red); }
.side-links + .side-links { margin-top: 20px; }
.download-pdf-box, .emi-box, .help-box { border-radius: var(--radius); padding: 26px; color: #fff; position: relative; overflow: hidden; }
.download-pdf-box { background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); }
.emi-box { background: linear-gradient(135deg, var(--red), #b8191d); }
.help-box { background: var(--blue-50); color: var(--ink); }
.download-pdf-box h3, .emi-box h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.download-pdf-box p, .emi-box p { color: rgba(255, 255, 255, .85); font-size: 14.5px; }
.download-pdf-box a, .emi-box a { display: inline-flex; padding: 10px 20px; border-radius: 999px; background: #fff; color: var(--navy-800); font-weight: 600; font-size: 14px; }
.download-pdf-box a:hover, .emi-box a:hover { color: var(--red); }
.help-box h3 { font-size: 18px; margin-bottom: 6px; }
.help-box p { font-size: 14.5px; color: var(--body); margin-bottom: 12px; }
.help-box a:not(.btn-pill) { font-weight: 700; font-size: 18px; color: var(--navy-800); }

/* Tables (rates, branches, admin-entered HTML) */
.table { color: var(--body); margin-bottom: 0; }
.table-wrap, .rate-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.rate-table .table-responsive, .table-wrap .table-responsive { margin: 0; }
.rate-table table, .table-wrap table, .demo-table, .clr-tbl-1, .cms-content table { width: 100%; border-collapse: collapse; margin: 0; }
.rate-table th, .table-wrap th, .demo-table th, .clr-tbl-1 th, .cms-content th { background: var(--navy-800); color: #fff; font-weight: 600; font-size: 14.5px; padding: 14px 16px; border: 0 !important; text-align: left; vertical-align: middle; }
.rate-table td, .table-wrap td, .demo-table td, .clr-tbl-1 td, .cms-content td { padding: 13px 16px; border: 0 !important; border-top: 1px solid var(--line) !important; vertical-align: middle; text-align: left; }
.rate-table td[align=center], .rate-table th[align=center], .cms-content td[align=center], .cms-content th[align=center] { text-align: left; }
.rate-table tbody tr:nth-child(even), .demo-table tbody tr:nth-child(even), .cms-content tbody tr:nth-child(even) { background: #f8fafd; }
.rate-table tbody tr:hover, .demo-table tbody tr:hover { background: var(--blue-50); }
.rate-table td:last-child, .demo-table td:nth-child(n+3) { font-weight: 700; color: var(--navy-800); }
.cms-content h2, .cms-content h3 { font-size: 22px; margin: 36px 0 16px; }
.cms-content h2:first-child, .cms-content h3:first-child { margin-top: 0; }
.cms-content .table-responsive { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 8px; }
.title-style-1 + .demo-table, .cms-content .demo-table { border-radius: var(--radius); }
.rate-note { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* Pagination / tabs / accordion used by legacy pages */
.page-link { color: var(--navy-800); border-color: var(--line); }
.page-item.active .page-link { background: var(--navy-800); border-color: var(--navy-800); }
.nav-tabs { border: 0; gap: 8px; margin-bottom: 24px; }
.nav-tabs .nav-link { border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; padding: 10px 22px; }
.nav-tabs .nav-link.active, .nav-tabs .nav-link:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.accordion-style-1 .card { border: 1px solid var(--line); border-radius: var(--radius-sm) !important; margin-bottom: 12px; overflow: hidden; }
.accordion-style-1 .card-header { background: #fff; border: 0; padding: 0; }
.accordion-style-1 .btn-link { display: block; width: 100%; text-align: left; padding: 16px 20px; color: var(--ink); font-weight: 700; text-decoration: none; }
.accordion-style-1 .card-body { border-top: 1px solid var(--line); }

/* ==========================================================================
   Home
   ========================================================================== */
.hero { position: relative; background: var(--navy-900); line-height: 0; }
.hero-slider .item { position: relative; }
.hero-slider img { display: block; width: 100%; height: auto; }
.hero .owl-nav { position: absolute; inset: 0; pointer-events: none; margin: 0; }
.hero .owl-dots { pointer-events: auto; }
.hero .owl-prev, .hero .owl-next { pointer-events: auto; position: absolute; bottom: 16px; width: 40px; height: 40px; border-radius: 50% !important; background: rgba(255, 255, 255, .92) !important; color: var(--navy-800) !important; font-size: 30px !important; line-height: 36px !important; box-shadow: var(--shadow); border: 0; display: grid; place-items: center; padding: 0 !important; font-size: 26px !important; }
.hero .owl-prev:hover, .hero .owl-next:hover { background: #fff !important; color: var(--red) !important; }
.hero .owl-prev { right: 70px; }
.hero .owl-next { right: 20px; }
.hero .owl-dots { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; line-height: 0; }
.owl-dots .owl-dot { display: inline-block; background: none; border: 0; padding: 0; }
.owl-nav.disabled, .owl-dots.disabled { display: none; }
.hero .owl-nav button { border: 0; }
.owl-dots .owl-dot span { width: 10px; height: 10px; margin: 4px; display: block; border-radius: 99px; background: rgba(255, 255, 255, .5); transition: width .3s; }
.owl-dots .owl-dot.active span { width: 28px; background: #fff; }
.promo-slider .owl-dots, .section .owl-dots { text-align: center; margin-top: 18px; }
.section .owl-dots .owl-dot span { background: #c9d3e3; }
.section .owl-dots .owl-dot.active span { background: var(--red); }

.ticker { background: var(--red); color: #fff; }
.ticker-inner { display: flex; align-items: center; min-height: 48px; gap: 16px; }
.ticker-label { flex-shrink: 0; background: var(--navy-900); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.lang-ml .ticker-label { letter-spacing: 0; text-transform: none; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: inline-flex; gap: 48px; white-space: nowrap; animation: ticker 40s linear infinite; padding-left: 100%; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { color: #fff; font-weight: 500; font-size: 15px; }
.ticker-move a::before { content: "●"; font-size: 9px; vertical-align: middle; margin-right: 10px; opacity: .7; }
.ticker-move a:hover { text-decoration: underline; color: #fff; }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; padding-left: 0; } html { scroll-behavior: auto; } }

.quick-links { position: relative; z-index: 5; margin-top: -1px; padding: 34px 0 0; }
.ql-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ql { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.35; }
.ql:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); color: var(--red); }
.ql-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--navy-700); }
.ql:nth-child(2n) .ql-ic { background: #fdecec; color: var(--red); }
.ql-ic svg { width: 24px; height: 24px; }
.ql-ic i::before { margin: 0; font-size: 22px; }

.about-home .about-media { position: relative; padding: 0 40px 40px 0; }
.about-media .img-main { border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 10 / 7; object-fit: cover; object-position: center; }
.about-badge { position: absolute; right: 0; bottom: 0; background: var(--red); color: #fff; border-radius: 18px; padding: 22px 26px; box-shadow: var(--shadow-lg); text-align: center; min-width: 170px; }
.about-badge strong { display: block; font-size: 44px; font-weight: 900; line-height: 1; }
.about-badge span { font-size: 14px; opacity: .92; }
.about-dots { position: absolute; left: -20px; top: -20px; width: 120px; height: 120px; background-image: radial-gradient(var(--blue) 2px, transparent 2px); background-size: 16px 16px; opacity: .35; z-index: -1; }
.about-home p { font-size: 16.5px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 500; color: var(--ink); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--navy-800); border-radius: 20px; overflow: hidden; margin-top: 64px; box-shadow: var(--shadow); }
.stat { padding: 28px 26px; color: #c9d5ea; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; color: #fff; font-size: 34px; font-weight: 800; line-height: 1.1; margin-bottom: 4px; }
.stat strong small { font-size: 18px; font-weight: 600; color: var(--blue); }

/* Scheme cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.s-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); color: var(--body); height: 100%; }
.s-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); color: var(--body); border-color: transparent; }
.s-card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.s-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.s-card:hover .s-card-img img { transform: scale(1.05); }
.s-card-tag { position: absolute; left: 14px; top: 14px; background: rgba(7, 29, 64, .85); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.s-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.s-card-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--navy-700); margin-bottom: 16px; }
.s-card-ic i::before { margin: 0; font-size: 26px; }
.s-card-ic svg { width: 26px; height: 26px; }
.s-card h3 { font-size: 19px; margin-bottom: 8px; }
.s-card p { font-size: 15px; color: var(--muted); margin-bottom: 16px; flex: 1; }
.s-card .link-arrow { margin-top: auto; }
.s-card:hover h3 { color: var(--red); }

.rates-panel { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; }
.rates-panel-head { background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: #fff; padding: 24px 26px; }
.rates-panel-head h3 { color: #fff; font-size: 21px; margin: 0; }
.rates-panel-head p { color: #b9c9e4; margin: 4px 0 0; font-size: 14px; }
.rates-panel .rate-table { border: 0; border-radius: 0; box-shadow: none; flex: 1; }
.rates-panel .rate-table td { padding: 12px 26px; }
.rates-panel-foot { padding: 16px 26px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.rates-panel-foot small { color: var(--muted); }

.mini-cards { display: grid; gap: 16px; margin-top: 24px; }
.mini-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--body); box-shadow: var(--shadow-sm); }
.mini-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--body); }
.mini-ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #fdecec; color: var(--red); }
.mini-ic i::before { margin: 0; font-size: 22px; }
.mini-card h3 { font-size: 17px; margin-bottom: 4px; }
.mini-card:hover h3 { color: var(--red); }
.mini-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* Loans band */
.loan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.loan-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); color: #c9d5ea; }
.loan-card:hover { background: #fff; color: var(--body); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.loan-card .lc-ic { flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(23, 166, 221, .16); color: #7fd3f3; }
.loan-card:hover .lc-ic { background: #fdecec; color: var(--red); }
.loan-card .lc-ic i::before { margin: 0; font-size: 28px; }
.loan-card h3 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.loan-card:hover h3 { color: var(--ink); }
.loan-card p { font-size: 14.5px; margin: 0 0 10px; }
.loan-card .link-arrow { color: #7fd3f3; font-size: 14px; }
.loan-card:hover .link-arrow { color: var(--red); }
.emi-cta { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(90deg, var(--red), #c51d22); border-radius: 18px; padding: 26px 32px; color: #fff; }
.emi-cta h3 { color: #fff; margin: 0 0 4px; font-size: 22px; }
.emi-cta p { margin: 0; color: rgba(255, 255, 255, .88); }

/* Facilities tiles */
.fac-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fac { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); color: var(--body); position: relative; overflow: hidden; }
.fac::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.fac:hover { box-shadow: var(--shadow); color: var(--body); transform: translateY(-3px); }
.fac:hover::after { transform: scaleX(1); }
.fac-ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--navy-700); }
.fac-ic svg { width: 26px; height: 26px; }
.fac h3 { font-size: 18px; margin: 6px 0 0; }
.fac p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* Branches */
.branch-tools { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 28px; }
.search-box { position: relative; flex: 1; max-width: 420px; min-width: 240px; }
.search-box input { width: 100%; height: 52px; border-radius: 999px; border: 1px solid var(--line); padding: 0 20px 0 48px; font-size: 15px; background: #fff; box-shadow: var(--shadow-sm); }
.search-box input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 166, 221, .15); }
.search-box svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.branch-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); position: relative; }
.branch-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.branch-card.is-ho { border: 2px solid var(--navy-800); }
.branch-card .bc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.branch-card h3 { font-size: 18.5px; margin: 0; }
.bc-num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--soft); color: var(--navy-800); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.branch-card.is-ho .bc-num { background: var(--navy-800); color: #fff; }
.bc-badge { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.bc-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14.5px; }
.bc-rows li { display: flex; gap: 10px; align-items: flex-start; }
.bc-rows i { color: var(--blue); flex-shrink: 0; width: 18px; text-align: center; }
.bc-rows i::before { margin: 0; font-size: 14px; }
.bc-rows a { color: var(--ink); font-weight: 600; }
.bc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bc-tags span { font-size: 12.5px; background: var(--blue-50); color: var(--navy-700); padding: 4px 10px; border-radius: 999px; font-weight: 500; }
.bc-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.bc-actions a, .bc-actions button { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; border: 1px solid var(--line); background: #fff; color: var(--navy-800); cursor: pointer; }
.bc-actions a:hover, .bc-actions button:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.bc-actions .bc-call { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.bc-actions .bc-call:hover { background: var(--red); border-color: var(--red); }
.branch-empty { display: none; text-align: center; padding: 40px; color: var(--muted); }
.mapmodal .modal-content { border: 0; border-radius: var(--radius); overflow: hidden; }
.mapmodal .modal-header { border-bottom: 1px solid var(--line); }
.mapmodal iframe { display: block; border: 0; }

.branch-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.chip { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
.chip:hover { border-color: var(--navy-800); color: var(--red); box-shadow: var(--shadow-sm); }
.chip-ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: var(--soft); display: grid; place-items: center; color: var(--red); }
.chip-ic i::before { margin: 0; font-size: 16px; }
.chip b { display: block; font-size: 15px; line-height: 1.3; }
.chip small { color: var(--muted); font-size: 13px; }
.hours-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.hours-item { background: var(--navy-800); color: #c9d5ea; border-radius: 14px; padding: 18px 20px; }
.hours-item b { display: block; color: #fff; font-size: 17px; }
.hours-item span { font-size: 14px; }

/* News & downloads */
.news-list { display: grid; gap: 14px; }
.news-item { display: flex; gap: 18px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--body); }
.news-item:hover { box-shadow: var(--shadow); border-color: transparent; color: var(--body); }
.news-date { flex-shrink: 0; width: 66px; text-align: center; border-radius: 12px; background: var(--navy-800); color: #fff; padding: 10px 4px; line-height: 1.1; }
.news-date b { display: block; font-size: 24px; font-weight: 800; }
.news-date small { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #b9c9e4; }
.news-item h3 { font-size: 17px; margin: 2px 0 6px; line-height: 1.4; }
.news-item p { font-size: 14.5px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item:hover h3 { color: var(--red); }
.dl-list { display: grid; gap: 12px; }
.dl-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); }
.dl-item:hover { border-color: var(--navy-800); color: var(--red); }
.dl-ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; background: #fdecec; color: var(--red); display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.dl-item b { display: block; font-size: 15px; line-height: 1.35; }
.dl-item small { color: var(--muted); }
.dl-item .dl-go { margin-left: auto; color: var(--navy-700); }
.dl-item .dl-go i::before { margin: 0; }
.empty-state { text-align: center; padding: 48px 24px; background: var(--soft); border-radius: var(--radius); color: var(--muted); }
.empty-state h3 { font-size: 19px; margin-bottom: 6px; }

/* Other services */
.svc-card { display: grid; grid-template-columns: 1fr; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 100%; color: var(--body); }
.svc-card:hover { box-shadow: var(--shadow); color: var(--body); }
.svc-card img { width: 100%; aspect-ratio: 5 / 1; object-fit: cover; }
.svc-card .svc-body { padding: 24px 26px 28px; }
.svc-card h3 { font-size: 21px; margin-bottom: 8px; }
.svc-card p { color: var(--muted); margin-bottom: 14px; }

/* Promotions */
.promo-slider img { border-radius: 16px; box-shadow: var(--shadow-sm); }

/* Contact band on home */
.contact-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.contact-band-info { background: var(--navy-800); color: #c9d5ea; padding: 44px; }
.contact-band-info h2 { color: #fff; font-size: 30px; margin-bottom: 12px; }
.contact-band-info .f-contact-list a { color: #fff; }
.contact-band-map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ==========================================================================
   About page
   ========================================================================== */
.timeline { position: relative; display: grid; gap: 22px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue), var(--red)); }
.tl-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 24px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--red); }
.tl-item h3 { font-size: 18px; margin-bottom: 6px; }
.tl-item p { margin: 0; font-size: 15px; }
.value-card { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; }
.value-card .s-card-ic { margin-bottom: 14px; }
.value-card h3 { font-size: 19px; margin-bottom: 8px; }
.value-card p { color: var(--muted); margin: 0; font-size: 15px; }
.quote-card { background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: #dbe5f5; border-radius: 20px; padding: 40px; position: relative; }
.quote-card::before { content: "“"; position: absolute; right: 30px; top: -10px; font-size: 160px; line-height: 1; color: rgba(255, 255, 255, .08); font-family: Georgia, serif; }
.quote-card h3 { color: #fff; }

/* Board of directors */
.member-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; box-shadow: var(--shadow-sm); }
.member-card .m-photo { aspect-ratio: 1 / 1; background: var(--soft); overflow: hidden; }
.member-card .m-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.member-card .m-body { padding: 16px 14px 20px; }
.member-card h3 { font-size: 16.5px; margin: 0 0 4px; }
.member-card .m-role { display: inline-block; font-size: 13px; font-weight: 600; color: var(--red); }
.member-card .m-meta { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.member-card.is-lead { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.2fr; text-align: left; align-items: center; }
.member-card.is-lead .m-photo { height: 100%; aspect-ratio: auto; }
.member-card.is-lead .m-body { padding: 26px; }
.member-card.is-lead h3 { font-size: 22px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.album-card { display: block; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); }
.album-card .a-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.album-card:hover img { transform: scale(1.06); }
.album-card .a-body { padding: 16px 18px; }
.album-card h3 { font-size: 17px; margin: 0; }
.album-card:hover h3 { color: var(--red); }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo-grid a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-grid a:hover img { transform: scale(1.06); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.info-card { background: var(--navy-800); color: #c9d5ea; border-radius: 20px; padding: 36px; }
.info-card h2 { color: #fff; font-size: 26px; margin-bottom: 20px; }
.f-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.f-contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.f-contact-list i { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: var(--blue); }
.f-contact-list i::before { margin: 0; font-size: 16px; }
.f-contact-list b { color: #fff; }
.info-card a { color: #fff; }
.form-card { background: #fff; border-radius: 20px; padding: 36px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card .form-control { height: 52px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); font-size: 15px; padding: 10px 16px; }
.form-card textarea.form-control { height: auto; min-height: 140px; }
.form-card .form-control:focus { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 166, 221, .15); }
.form-card label { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.captcha-row { display: flex; gap: 12px; align-items: center; }
.captcha-row img { height: 52px; width: auto; border-radius: 10px; image-rendering: pixelated; min-width: 110px; }
.map-full iframe { display: block; width: 100%; height: 420px; border: 0; }

/* EMI calculator */
.emi-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.range-field { margin-bottom: 26px; }
.range-field .rf-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.range-field label { font-weight: 600; color: var(--ink); margin: 0; }
.range-field output, .range-field .rf-val { font-weight: 700; color: var(--navy-800); background: var(--blue-50); padding: 6px 14px; border-radius: 999px; font-size: 15px; }
.range-field input[type=range] { width: 100%; accent-color: var(--red); height: 6px; }
.emi-result { background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: #c9d5ea; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.emi-result .big { color: #fff; font-size: 40px; font-weight: 800; line-height: 1.1; }
.emi-result .row-kv { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 14px; }
.emi-result .row-kv b { color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: #a9b8d2; font-size: 15px; margin-top: 0; }
.footer-cta { background: linear-gradient(90deg, var(--navy-800), var(--navy-700)); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 34px; padding-bottom: 34px; flex-wrap: wrap; }
.footer-cta h2 { color: #fff; font-size: 24px; margin: 0 0 4px; }
.footer-cta p { margin: 0; color: #b9c9e4; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-main { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.05fr 1.45fr; gap: 32px; }
.f-logo { height: 54px; width: auto; margin-bottom: 18px; }
.f-about p { font-size: 14.5px; line-height: 1.7; }
.site-footer h3 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 2px; background: var(--red); }
.f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-links a { color: #a9b8d2; font-size: 14.5px; display: inline-flex; gap: 8px; }
.f-links a::before { content: "›"; color: var(--blue); }
.f-links a:hover { color: #fff; transform: translateX(3px); }
.f-links-inline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; }
.f-contact .f-contact-list { gap: 14px; font-size: 14.5px; }
.f-contact .f-contact-list i { width: 34px; height: 34px; }
.f-contact .f-contact-list i::before { font-size: 14px; }
.site-footer a { color: #d6e0f0; }
.site-footer a:hover { color: #fff; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.footer-base-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.footer-base-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.powered b { color: #fff; }

/* ==========================================================================
   Floating action buttons
   ========================================================================== */
.float-actions { position: fixed; right: 20px; bottom: 22px; z-index: 990; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 0; cursor: pointer; box-shadow: 0 10px 24px rgba(7, 29, 64, .28); }
.fab svg { width: 26px; height: 26px; }
.fab:hover { color: #fff; transform: translateY(-2px) scale(1.04); }
.fab-whatsapp { background: #25d366; }
.fab-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: pulse 2.4s infinite; z-index: -1; }
.fab-call { background: var(--navy-800); }
.fab-top { background: var(--red); width: 46px; height: 46px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s; margin-right: 4px; }
.fab-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab-label { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.fab:hover .fab-label, .fab:focus-visible .fab-label { opacity: 1; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 575.98px) {
  .float-actions { right: 14px; bottom: 16px; gap: 10px; }
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 22px; height: 22px; }
  .fab-top { width: 42px; height: 42px; }
}

/* Intro popup (home) */
.intro-popup .modal-content { background: transparent; border: 0; }
.intro-popup img { border-radius: 14px; width: 100%; height: auto; max-height: 86vh; object-fit: contain; }
.intro-popup .close { position: absolute; right: -10px; top: -12px; width: 40px; height: 40px; border-radius: 50%; background: #fff; opacity: 1; z-index: 2; box-shadow: var(--shadow); font-size: 26px; }
.intro-popup .modal-dialog { max-width: 520px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
  .ql-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .f-about { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 0 28px; align-items: start; }
  .f-about .f-logo { grid-row: span 2; }
  .f-contact { grid-column: span 2; }
  .fac-grid { grid-template-columns: repeat(3, 1fr); }
  .branch-chips { grid-template-columns: repeat(3, 1fr); }
  .member-grid { grid-template-columns: repeat(3, 1fr); }
  .side-panel { top: 90px; }
}
@media (max-width: 991.98px) {
  .section { padding: 64px 0; }
  .card-grid, .card-grid.cols-4, .loan-grid, .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .about-home .about-media { margin-bottom: 40px; padding: 0 24px 24px 0; }
  .contact-band, .contact-grid, .emi-wrap { grid-template-columns: 1fr; }
  .hours-row { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .f-contact { grid-column: span 3; }
  .side-panel { position: static; }
  .hero .owl-nav { display: none; }
}
@media (max-width: 767.98px) {
  .ql-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ql { flex-direction: row; align-items: center; padding: 14px; font-size: 14px; }
  .ql-ic { width: 40px; height: 40px; flex-shrink: 0; }
  .fac-grid, .branch-chips { grid-template-columns: repeat(2, 1fr); }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
  .member-card.is-lead { grid-column: 1 / -1; grid-template-columns: 1fr; text-align: center; }
  .member-card.is-lead .m-photo { aspect-ratio: 1 / 1; }
  .check-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .f-about { display: block; }
  .f-contact { grid-column: 1 / -1; }
  .page-hero { padding: 38px 0 42px; }
  .content-card, .form-card, .info-card, .contact-band-info { padding: 24px; }
  .emi-cta { padding: 22px; }
  .ticker-label { display: none; }
}
@media (max-width: 575.98px) {
  body { font-size: 15.5px; }
  .section { padding: 52px 0; }
  .card-grid, .card-grid.cols-4, .card-grid.cols-2, .loan-grid, .branch-grid, .hours-row { grid-template-columns: 1fr; }
  .fac-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fac { padding: 18px 16px; }
  .fac h3 { font-size: 16px; }
  .fac p { display: none; }
  .branch-chips { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 18px; }
  .stat strong { font-size: 26px; }
  .gallery-grid, .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .about-badge { min-width: 0; padding: 16px 18px; }
  .about-badge strong { font-size: 32px; }
  .footer-cta-actions, .footer-cta-actions .btn-pill { width: 100%; }
  .footer-base-inner { flex-direction: column; align-items: flex-start; }
  .news-item { padding: 14px; gap: 14px; }
  .news-date { width: 56px; }
}

/* Fixes */
.btn-pill svg { width: 18px; height: 18px; flex-shrink: 0; }
.site-footer .btn-white, .site-footer .btn-white:hover { color: var(--navy-800); }
.site-footer .btn-white:hover { color: var(--red); }
.site-footer .btn-outline-white:hover { color: var(--navy-800); }
.fac-matrix th { font-size: 13px !important; white-space: nowrap; }
.fac-matrix td { font-size: 14.5px; }
.fac-matrix .tick { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e3f6ec; color: #17864d; font-weight: 700; }
.fac-matrix .dash { color: #b6c0cf; }
.fac-matrix tbody tr:nth-child(even) { background: #f8fafd; }

/* ---------- Main menu: red bar, icons, capital letters ---------- */
.mainnav { background: #b5272b; }
.mainnav .container { max-width: 1400px; }
.menu-link { gap: 6px; font-weight: 500; font-size: 13.5px; letter-spacing: .03em; text-transform: uppercase; padding: 0 9px; }
.lang-ml .menu-link { text-transform: none; letter-spacing: 0; font-size: 14px; padding: 0 8px; }
.menu-ic { display: inline-flex; flex-shrink: 0; }
.menu-ic svg { width: 17px; height: 17px; stroke-width: 2; }
.menu-link::after { background: #fff; left: 9px; right: 9px; }
.has-sub > .menu-link { padding-right: 2px; }
.sub-toggle { padding: 0 8px 0 2px; }
.menu-item:hover > .menu-link, .menu-item.is-active > .menu-link, .menu-item.is-open > .menu-link { background: rgba(0, 0, 0, .14); }
.menu-item:last-child > .menu-link { background: var(--navy-800); padding: 0 16px; }
.menu-item:last-child > .menu-link:hover { background: var(--navy-900); }
.submenu { border-top-color: var(--navy-800); }
.lang-ml .menu-ic { display: none; }
@media (min-width: 1500px) { .lang-ml .menu-ic { display: inline-flex; } }
@media (max-width: 1399.98px) {
  .menu-link { font-size: 12.5px; letter-spacing: .02em; padding: 0 7px; gap: 5px; }
  .menu-link::after { left: 7px; right: 7px; }
  .menu-ic svg { width: 15px; height: 15px; }
  .sub-toggle { padding: 0 6px 0 0; }
  .lang-ml .menu-link { font-size: 13.5px; padding: 0 6px; }
  .menu-item:last-child > .menu-link { padding: 0 12px; }
}
@media (max-width: 1299.98px) and (min-width: 1200px) {
  .menu-link { padding: 0 6px; }
  .menu-link { font-size: 12.5px; }
  .lang-ml .menu-link { font-size: 13px; padding: 0 5px; }
}
@media (max-width: 1199.98px) {
  .mainnav { background: #fff; }
  .mainnav .container { max-width: none; }
  .menu-link, .lang-ml .menu-link { font-size: 15px; gap: 12px; padding: 14px 20px; letter-spacing: .03em; }
  .lang-ml .menu-link { letter-spacing: 0; }
  .menu-ic, .lang-ml .menu-ic { display: inline-flex; color: #b5272b; }
  .menu-ic svg { width: 20px; height: 20px; }
  .menu-item:hover > .menu-link, .menu-item.is-active > .menu-link, .menu-item.is-open > .menu-link { background: transparent; }
  .menu-item:last-child > .menu-link { background: #b5272b; padding: 13px; }
  .menu-item:last-child .menu-ic { color: #fff; }
  .sub-toggle { padding: 0 20px; }
}

/* ---------- Compact menu spacing ---------- */
.mainnav .container { max-width: 1240px; }
@media (min-width: 1200px) {
  .menu { justify-content: center; gap: 2px; }
  .menu-link { padding: 0 11px; }
  .menu-link::after { left: 11px; right: 11px; }
  .has-sub > .menu-link { padding-right: 3px; }
  .sub-toggle { padding: 0 9px 0 0; }
  .menu-item:last-child { margin-left: 8px; }
  .menu-item:last-child > .menu-link { padding: 0 18px; }
}
@media (min-width: 1200px) and (max-width: 1299.98px) {
  .menu-link { padding: 0 8px; }
  .menu-link::after { left: 8px; right: 8px; }
  .sub-toggle { padding: 0 6px 0 0; }
  .menu-item:last-child > .menu-link { padding: 0 14px; }
}

/* ---------- Fixed deposit rates box on the home slider (from the previous design) ---------- */
.hero-fd-wrap { line-height: 1.6; }
.hero-fd { position: relative; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.hero-fd-tag { position: absolute; left: 0; top: 0; width: 74px; height: auto; z-index: 2; }
.hero-fd-head { padding: 20px 22px 14px 86px; text-align: right; border-bottom: 3px solid var(--red); }
.hero-fd-head h2 { margin: 0; font-size: 21px; font-weight: 700; color: var(--navy-800); text-transform: uppercase; letter-spacing: .02em; }
.lang-ml .hero-fd-head h2 { text-transform: none; }
.hero-fd-head span { font-size: 13px; color: var(--muted); }
.hero-fd-table { border: 0; border-radius: 0; box-shadow: none; }
.hero-fd-table td { padding: 8px 22px; font-size: 14px; }
.hero-fd-table td:last-child { text-align: right; color: var(--red); }
.hero-fd-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 22px 14px; border-top: 1px solid var(--line); font-size: 14px; }
.hero-fd-foot small { color: var(--muted); }
@media (min-width: 1200px) {
  .hero-fd-wrap { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; z-index: 3; }
  .hero-fd-wrap .container { display: flex; justify-content: flex-end; }
  .hero-fd { width: 340px; pointer-events: auto; background: rgba(255, 255, 255, .96); }
  .hero .owl-nav { right: 0; }
  .hero .owl-prev { right: auto; left: 20px; }
  .hero .owl-next { right: auto; left: 70px; }
}
@media (max-width: 1199.98px) {
  .hero-fd-wrap { background: var(--soft); padding: 20px 0 4px; }
  .hero-fd { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 575.98px) {
  .hero-fd-tag { width: 60px; }
  .hero-fd-head { padding-left: 70px; }
  .hero-fd-head h2 { font-size: 18px; }
  .hero-fd-table td { padding: 8px 16px; font-size: 13.5px; }
  .hero-fd-foot { padding: 10px 16px 12px; }
}
