/* ══════════════════════════════════════════════════════════════
   KTCCB — The Kalna Town Credit Co-operative Bank Ltd.
   style.css | Bootstrap 5.3 Custom Theme
   ══════════════════════════════════════════════════════════════ */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* ── CSS CUSTOM PROPERTIES ── */
:root {
    --primary:        #0a2342;
    --primary-md:     #0e2f5a;
    --primary-light:  #133872;
    --gold:           #c9a14a;
    --gold-light:     #e8c97a;
    --gold-pale:      #fdf5e6;
    --accent:         #1a6eb5;
    --accent-light:   #e8f4ff;
    --success:        #198754;
    --body-bg:        #f4f6fa;
    --white:          #ffffff;
    --text-dark:      #1c2340;
    --text-muted:     #64748b;
    --border:         #e2e8f0;
    --border-light:   #f1f5f9;

    /* icon colour palette for dropdowns */
    --dd-blue:   #1a6eb5;
    --dd-green:  #198754;
    --dd-gold:   #c9a14a;
    --dd-purple: #6f42c1;
    --dd-red:    #dc3545;

    /* shadows */
    --shadow-xs:  0 1px 4px rgba(10,35,66,.06);
    --shadow-sm:  0 2px 12px rgba(10,35,66,.08);
    --shadow-md:  0 6px 28px rgba(10,35,66,.12);
    --shadow-lg:  0 14px 48px rgba(10,35,66,.18);
    --shadow-xl:  0 24px 64px rgba(10,35,66,.22);

    /* misc */
    --radius:      10px;
    --radius-lg:   18px;
    --radius-xl:   24px;
    --transition:  all .28s cubic-bezier(.25,.8,.25,1);
    --nav-height:  58px;   /* height of the nav bar only */
    --logo-height: 76px;   /* height of the logo strip */
}

/* ══════════════════════════════════════════════════════════════
   RESET / BASE
   ══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .9375rem;
    color: var(--text-dark);
    background: var(--body-bg);
    line-height: 1.75;
    overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
}
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

/* ── Utility ── */
.section-padding    { padding: 80px 0; }
.section-padding-sm { padding: 50px 0; }
.text-gold  { color: var(--gold) !important; }
.bg-primary { background-color: var(--primary) !important; }

/* Section title */
.section-title { margin-bottom: 48px; }
.section-title .subtitle {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 10px;
}
.section-title h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.section-title .divider {
    width: 52px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin: 14px auto 0;
}
.section-title.text-start .divider { margin-left: 0; }

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--primary);
    font-weight: 700;
    font-size: .875rem;
    border: none;
    border-radius: 50px;
    padding: .58rem 1.8rem;
    letter-spacing: .4px;
    box-shadow: 0 4px 16px rgba(201,161,74,.35);
    transition: var(--transition);
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,161,74,.5);
}
.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
    font-size: .875rem;
    border-radius: 50px;
    padding: .5rem 1.6rem;
    transition: var(--transition);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--primary); }

/* ══════════════════════════════════════════════════════════════
   PRELOADER
   ══════════════════════════════════════════════════════════════ */
#preloader {
    position: fixed; inset: 0;
    background: var(--primary);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo-wrap {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin-bottom: 20px;
}
.preloader-logo-wrap i  { font-size: 2.4rem; color: var(--gold); }
.preloader-logo-wrap span {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}
.preloader-bar {
    width: 180px; height: 3px;
    background: rgba(255,255,255,.15);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}
.preloader-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    animation: preloaderFill 1.8s ease-in-out infinite;
}
@keyframes preloaderFill {
    0%   { width: 0%;   margin-left: 0; }
    50%  { width: 70%;  margin-left: 0; }
    100% { width: 0%;   margin-left: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   TOP INFO BAR
   ══════════════════════════════════════════════════════════════ */
#topbar {
    background: var(--primary);
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: 12px;
    position: relative;
    z-index: 1050;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    padding: 7px 0;
}
.topbar-left  { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.topbar-item {
    display: flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,.72);
    transition: color .2s;
    text-decoration: none;
}
.topbar-item:hover { color: var(--gold); }
.topbar-item i { color: var(--gold); font-size: 11px; }
.topbar-item--plain { cursor: default; }
.topbar-item--plain:hover { color: rgba(255,255,255,.72); }

.topbar-date {
    display: flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,.45);
    font-size: 11px;
}
.topbar-date i { color: rgba(255,255,255,.35); }

.topbar-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(201,161,74,.18);
    border: 1px solid rgba(201,161,74,.3);
    color: var(--gold-light);
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 50px;
    letter-spacing: .5px;
}
.topbar-badge i { font-size: 10px; }

.topbar-social { display: flex; align-items: center; gap: 4px; }
.topbar-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.6);
    font-size: 11px;
    transition: var(--transition);
}
.topbar-social a:hover { background: var(--gold); color: var(--primary); transform: translateY(-1px); }

/* ══════════════════════════════════════════════════════════════
   MAIN HEADER WRAPPER — sticky
   ══════════════════════════════════════════════════════════════ */
#mainHeader {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s ease;
}
#mainHeader.scrolled {
    box-shadow: var(--shadow-md);
}

/* ── LOGO STRIP (desktop) ── */
.header-logo-strip {
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    background: var(--white);
}
.header-logo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand-link {
    display: flex; align-items: center; gap: 16px;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-logo-box {
    position: relative;
    width: 72px; height: 72px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(10,35,66,.2);
}
.brand-logo-img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.brand-logo-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--gold);
}
.brand-text-block {
    display: flex; flex-direction: column;
    gap: 1px;
}
.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem; font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    display: block;
}
.brand-sub {
    font-family: 'Playfair Display', serif;
    font-size: .95rem; font-weight: 600;
    color: var(--gold);
    display: block;
}
.brand-tagline {
    font-size: .7rem; font-weight: 500;
    color: var(--text-muted);
    letter-spacing: .8px;
    text-transform: uppercase;
    display: block;
    margin-top: 3px;
}
.brand-link:hover .brand-name { color: var(--primary-light); }
.brand-link:hover .brand-sub  { color: var(--gold-light); }

/* Quick action cards */
.header-quick-actions {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.quick-action-card {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-dark);
    font-size: 12px;
    text-decoration: none;
    transition: var(--transition);
    background: var(--white);
}
.quick-action-card-success {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-dark);
    font-size: 12px;
    text-decoration: none;
    transition: var(--transition);
    background: #f0fff4;
    border-color: #c6f6d5;
}


.quick-action-card i {
    font-size: 1.25rem;
    color: var(--primary);
    transition: var(--transition);
}
.quick-action-card span { line-height: 1.3; }
.quick-action-card span strong { display: block; font-size: 12.5px; color: var(--primary); }
.quick-action-card:hover {
    border-color: var(--gold);
    background: var(--gold-pale);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.quick-action-card:hover i { color: var(--gold); }

.quick-action-cta {
    display: inline-flex; align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--gold) !important;
    font-size: 13px; font-weight: 700;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(10,35,66,.25);
    white-space: nowrap;
}
.quick-action-cta:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,161,74,.4);
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════ */
#mainNav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 0;
    min-height: var(--nav-height);
}

/* ── Mobile brand ── */
.mobile-brand-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(201,161,74,.2);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}
.mobile-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem; font-weight: 700;
    color: var(--white); line-height: 1;
}
.mobile-brand-sub {
    font-size: 10px; color: rgba(255,255,255,.55);
    line-height: 1; margin-top: 2px;
}

/* ── Custom Hamburger ── */
.ktccb-toggler {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex; flex-direction: column; gap: 5px;
    border-radius: 8px;
    transition: background .2s;
}
.ktccb-toggler:hover { background: rgba(255,255,255,.1); }
.toggler-bar {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease, width .3s ease;
    transform-origin: center;
}
/* Animated X on open */
.ktccb-toggler.is-open .toggler-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ktccb-toggler.is-open .toggler-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ktccb-toggler.is-open .toggler-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Nav items (desktop) ── */
#mainNavList {
    gap: 0;
    align-items: stretch;
}
#mainNavList > .nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

#mainNavList > .nav-item > .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    padding: 0 13px;
    height: var(--nav-height);
    position: relative;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
#mainNavList > .nav-item > .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 13px; right: 13px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

/* Active + hover states */
#mainNavList > .nav-item:hover > .nav-link,
#mainNavList > .nav-item.active > .nav-link,
#mainNavList > .nav-item.show > .nav-link {
    color: var(--gold) !important;
    background: rgba(255,255,255,.07);
}
#mainNavList > .nav-item:hover > .nav-link::after,
#mainNavList > .nav-item.active > .nav-link::after,
#mainNavList > .nav-item.show > .nav-link::after {
    transform: scaleX(1);
}

/* Remove BS5 default dropdown caret and use our own */
#mainNavList .dropdown-toggle::after {
    border: none;
    content: '\F282'; /* bi-chevron-down */
    font-family: 'bootstrap-icons';
    font-size: 10px;
    color: rgba(255,255,255,.45);
    vertical-align: middle;
    margin-left: 3px;
    transition: transform .25s, color .2s;
}
#mainNavList .dropdown.show .dropdown-toggle::after,
#mainNavList .nav-item:hover .dropdown-toggle::after {
    transform: rotate(180deg);
    color: var(--gold);
}

/* ── Mobile icon ── */
.nav-mob-icon { display: none; }

/* ── CTA Button in nav ── */
.nav-cta-item { align-items: center; padding: 0 8px; }
.nav-cta-btn {
    display: inline-flex; align-items: center; gap: 7px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--primary) !important;
    font-size: 12.5px; font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 3px 12px rgba(201,161,74,.35);
    white-space: nowrap;
}
.nav-cta-btn:hover, .nav-cta-btn.active {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201,161,74,.5);
    color: var(--primary) !important;
}

/* ══════════════════════════════════════════════════════════════
   DROPDOWN MENUS
   ─────────────────────────────────────────────────────────────
   FIX: Do NOT set display:none anywhere here.
   Let Bootstrap's .show class control visibility.
   We only add visual polish.
   ══════════════════════════════════════════════════════════════ */
.dd-menu {
    border: none !important;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
    box-shadow: var(--shadow-xl) !important;
    padding: 6px 0 10px !important;
    min-width: 280px !important;
    margin-top: 0 !important;  /* attach flush to nav bottom */
    background: var(--white) !important;

    /* Slide-down animation via Bootstrap .show toggle */
    transform-origin: top center;
    animation: ddSlideIn .22s ease forwards;
}
@keyframes ddSlideIn {
    from { opacity: 0; transform: translateY(-8px) scaleY(.96); }
    to   { opacity: 1; transform: translateY(0)    scaleY(1); }
}

/* Decorative gold top accent */
.dd-menu::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin-bottom: 8px;
}

/* Dropdown section header */
.dd-header {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 6px 16px 8px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 4px;
}
.dd-header i { color: var(--gold); }

/* Dropdown items */
.dd-menu .dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 8px 16px !important;
    border-radius: 0 !important;
    transition: background .18s, padding-left .18s !important;
    border-left: 3px solid transparent;
    color: var(--text-dark) !important;
    background: transparent !important;
}
.dd-menu .dropdown-item:hover,
.dd-menu .dropdown-item:focus {
    background: var(--body-bg) !important;
    border-left-color: var(--gold) !important;
    padding-left: 20px !important;
    color: var(--primary) !important;
}
.dd-menu .dropdown-item:hover .dd-text strong { color: var(--gold); }

/* Icon in dropdown item */
.dd-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    transition: transform .2s;
}
.dd-menu .dropdown-item:hover .dd-icon { transform: scale(1.1); }

/* Colour variants */
.dd-blue   { background: #e8f4ff; color: var(--dd-blue)   !important; }
.dd-green  { background: #f0fdf4; color: var(--dd-green)  !important; }
.dd-gold   { background: #fff8e6; color: var(--dd-gold)   !important; }
.dd-purple { background: #fdf0ff; color: var(--dd-purple) !important; }
.dd-red    { background: #fff1f0; color: var(--dd-red)    !important; }

.dd-icon i { font-size: inherit; color: inherit; }

/* Text block */
.dd-text {
    display: flex; flex-direction: column; gap: 1px;
    min-width: 0;
}
.dd-text strong {
    font-size: 13px; font-weight: 600;
    color: var(--primary);
    transition: color .2s;
    display: block;
}
.dd-text small {
    font-size: 11px; color: var(--text-muted);
    display: block; line-height: 1.3;
}

/* ── DESKTOP hover opens dropdown via JS (initDesktopHoverDropdown)
   We add .show class positioning support here                     ── */
@media (min-width: 992px) {
    /* Ensure dropdown is positioned relative to the nav item */
    #mainNavList > .nav-item.dropdown { position: relative; }

    .dd-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        z-index: 1030 !important;
    }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE NAVBAR (collapsed)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    #mainNav { padding: 10px 0; }

    #navbarMain {
        background: var(--primary-md);
        border-top: 1px solid rgba(255,255,255,.1);
        max-height: 78vh;
        overflow-y: auto;
        padding-bottom: 16px;
        /* Scrollbar styling */
        scrollbar-width: thin;
        scrollbar-color: rgba(201,161,74,.4) transparent;
    }
    #navbarMain::-webkit-scrollbar { width: 4px; }
    #navbarMain::-webkit-scrollbar-thumb { background: rgba(201,161,74,.4); border-radius: 2px; }

    #mainNavList { gap: 0; }

    /* Nav items */
    #mainNavList > .nav-item > .nav-link {
        height: auto;
        padding: 12px 20px;
        font-size: 14px;
        border-bottom: 1px solid rgba(255,255,255,.07);
        border-left: 3px solid transparent;
        display: flex; align-items: center; gap: 10px;
    }
    #mainNavList > .nav-item > .nav-link::after { display: none; }
    #mainNavList > .nav-item.active > .nav-link { border-left-color: var(--gold); }
    #mainNavList > .nav-item.show   > .nav-link { color: var(--gold) !important; background: rgba(255,255,255,.06); }

    .nav-mob-icon { display: inline-block; font-size: 16px; }

    /* Dropdown toggle caret rotation on mobile */
    #mainNavList .dropdown-toggle::after { float: right; margin-left: auto; }

    /* Mobile dropdown menu — accordion style, no absolute positioning */
    .dd-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        background: rgba(255,255,255,.05) !important;
        border-left: 3px solid var(--gold) !important;
        margin: 0 20px 0 20px !important;
        padding: 4px 0 8px !important;
        min-width: 0 !important;
        animation: none !important;
    }
    .dd-menu::before { display: none; }

    .dd-header {
        font-size: 9.5px;
        color: rgba(255,255,255,.35);
        padding: 8px 14px 6px;
        border-bottom-color: rgba(255,255,255,.1);
    }

    .dd-menu .dropdown-item {
        padding: 8px 14px !important;
        border-left: none !important;
        border-radius: 0 !important;
        background: transparent !important;
    }
    .dd-menu .dropdown-item:hover {
        background: rgba(255,255,255,.08) !important;
        padding-left: 20px !important;
    }
    .dd-text strong { color: rgba(255,255,255,.88); font-size: 13px; }
    .dd-text small  { color: rgba(255,255,255,.45); }

    .nav-cta-item { padding: 12px 20px; }
    .nav-cta-btn  { width: 100%; justify-content: center; border-radius: var(--radius); padding: 12px; }
}

/* ══════════════════════════════════════════════════════════════
   NEWS TICKER
   ══════════════════════════════════════════════════════════════ */
#newsTicker {
    background: linear-gradient(135deg, var(--primary-md), var(--primary-light));
    padding: 10px 0;
    border-bottom: 2px solid rgba(201,161,74,.3);
}
.topbar-inner, .ticker-inner {
    display: flex; align-items: center;
}
.ticker-inner { overflow: hidden; }
.ticker-label {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--primary);
    font-size: 10.5px; font-weight: 800;
    letter-spacing: 1.5px; text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 16px;
    display: flex; align-items: center; gap: 5px;
}
.ticker-wrap { overflow: hidden; flex: 1; position: relative; }
.ticker-content {
    display: flex; white-space: nowrap;
    animation: tickerRoll 40s linear infinite;
}
.ticker-content:hover { animation-play-state: paused; }
.ticker-content a {
    color: rgba(255,255,255,.78);
    font-size: 12.5px;
    margin-right: 60px;
    transition: color .2s;
    display: inline-flex; align-items: center; gap: 6px;
    text-decoration: none;
}
.ticker-content a::before { content: '▸'; color: var(--gold); }
.ticker-content a:hover   { color: var(--gold); }
@keyframes tickerRoll {
    0%   { transform: translateX(50vw); }
    100% { transform: translateX(-100%); }
}

/* ══════════════════════════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════════════════════════ */
#statsBar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 32px 0;
    position: relative; overflow: hidden;
}
#statsBar::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.stat-item { text-align: center; padding: 10px 0; position: relative; }
.stat-item::after {
    content: '';
    position: absolute; top: 50%; right: 0;
    width: 1px; height: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.1);
}
.col-md-3:last-child .stat-item::after { display: none; }
.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 2.6rem; font-weight: 800;
    color: var(--gold);
    display: block; line-height: 1;
}
.stat-label {
    font-size: 11px; font-weight: 600;
    color: rgba(255,255,255,.6);
    letter-spacing: 1.2px; text-transform: uppercase;
    margin-top: 6px; display: block;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════════ */
#aboutSection { background: var(--white); }
.about-img-wrap { position: relative; }
.about-img-main {
    border-radius: var(--radius-xl);
    width: 100%; height: 430px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}
.about-img-badge {
    position: absolute; bottom: -18px; right: -18px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--primary);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    min-width: 126px;
}
.about-img-badge .badge-number {
    font-family: 'Inter'; font-size: 2.4rem; font-weight: 800;
    display: block; line-height: 1;
}
.about-img-badge .badge-text { font-size: 11.5px; font-weight: 700; }
.about-feature-item {
    display: flex; align-items: flex-start; gap: 14px;
    margin-bottom: 16px; padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    background: var(--white);
}
.about-feature-item:hover {
    border-color: var(--gold);
    transform: translateX(4px);
    box-shadow: var(--shadow-xs);
}
.about-feature-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.about-feature-item h6 {
    font-family: 'Inter'; font-size: 13.5px; font-weight: 700;
    color: var(--primary); margin-bottom: 2px;
}
.about-feature-item p { font-size: 12.5px; color: var(--text-muted); margin: 0; }

/* ══════════════════════════════════════════════════════════════
   SERVICE CARDS
   ══════════════════════════════════════════════════════════════ */
#servicesSection { background: var(--body-bg); }
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    height: 100%;
    position: relative; overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-icon {
    width: 68px; height: 68px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(10,35,66,.07), rgba(10,35,66,.03));
    color: var(--primary);
    font-size: 26px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--gold);
    transform: scale(1.1) rotate(-5deg);
}
.service-card h5 {
    font-family: 'Inter'; font-size: 15px; font-weight: 700;
    color: var(--primary); margin-bottom: 9px;
}
.service-card p { font-size: 13px; color: var(--text-muted); margin: 0; }
.service-link {
    display: inline-flex; align-items: center; gap: 5px;
    margin-top: 14px; font-size: 13px; font-weight: 600;
    color: var(--accent); transition: var(--transition);
}
.service-link:hover { color: var(--gold); gap: 9px; }

/* ══════════════════════════════════════════════════════════════
   SCHEME CARDS
   ══════════════════════════════════════════════════════════════ */
#schemesSection { background: var(--white); }
.scheme-card {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border-light);
    transition: var(--transition); height: 100%; background: var(--white);
}
.scheme-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.scheme-img-wrap { position: relative; overflow: hidden; height: 190px; }
.scheme-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.scheme-card:hover .scheme-img-wrap img { transform: scale(1.06); }
.scheme-badge {
    position: absolute; top: 10px; left: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--primary);
    font-size: 9.5px; font-weight: 800; letter-spacing: 1.2px;
    text-transform: uppercase; padding: 3px 10px; border-radius: 50px;
}
.scheme-body { padding: 18px 20px; }
.scheme-body h5 {
    font-family: 'Inter'; font-size: 15px; font-weight: 700;
    color: var(--primary); margin-bottom: 7px;
}
.scheme-body p { font-size: 12.5px; color: var(--text-muted); margin-bottom: 14px; }
.read-more {
    font-size: 12.5px; font-weight: 600; color: var(--accent);
    display: inline-flex; align-items: center; gap: 5px;
}
.read-more:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════════
   WHY SECTION
   ══════════════════════════════════════════════════════════════ */
#whySection {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative; overflow: hidden;
}
#whySection::after {
    content: '';
    position: absolute; bottom: -80px; right: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: rgba(201,161,74,.07);
    pointer-events: none;
}
.why-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    transition: var(--transition); height: 100%;
}
.why-item:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.why-icon {
    width: 50px; height: 50px; flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--primary);
    font-size: 20px;
    display: flex; align-items: center; justify-content: center;
}
.why-item h6 { font-family: 'Inter'; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.why-item p  { font-size: 12.5px; color: rgba(255,255,255,.6); margin: 0; }

/* ══════════════════════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════════════════════ */
#ctaBanner {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    padding: 48px 0;
}
#ctaBanner h3 { font-size: clamp(1.35rem, 2.5vw, 1.9rem); color: var(--primary); }
#ctaBanner p  { color: rgba(10,35,66,.7); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
#mainFooter { background: var(--primary); padding-top: 60px; }
.footer-widget h5 {
    font-family: 'Inter'; font-size: 14.5px; font-weight: 700;
    color: var(--white);
    margin-bottom: 20px; padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}
.footer-widget p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.8; }
.footer-contact-item {
    display: flex; align-items: flex-start; gap: 10px;
    margin-bottom: 12px; font-size: 13px; color: rgba(255,255,255,.65);
}
.footer-contact-item i { color: var(--gold); margin-top: 2px; min-width: 15px; }
.footer-links li { margin-bottom: 7px; }
.footer-links a {
    color: rgba(255,255,255,.6); font-size: 13px;
    transition: var(--transition); display: inline-flex; align-items: center; gap: 5px;
    text-decoration: none;
}
.footer-links a::before { content: '›'; color: var(--gold); font-size: 15px; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 16px 0; margin-top: 40px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.45); margin: 0; }
.footer-bottom a { color: var(--gold); }
.footer-form .form-control,
.footer-form .form-select {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    color: var(--white); font-size: 13px;
    border-radius: 8px; padding: .45rem .85rem; margin-bottom: 9px;
}
.footer-form .form-control::placeholder { color: rgba(255,255,255,.35); }
.footer-form .form-control:focus {
    background: rgba(255,255,255,.12);
    border-color: var(--gold);
    box-shadow: 0 0 0 .2rem rgba(201,161,74,.2);
    color: var(--white);
}

/* ══════════════════════════════════════════════════════════════
   BREADCRUMB / PAGE HERO
   ══════════════════════════════════════════════════════════════ */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 48px 0 42px;
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; top: -40%; left: -8%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.025);
    pointer-events: none;
}
.page-hero::after {
    content: '';
    position: absolute; bottom: -50%; right: -5%;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: rgba(201,161,74,.06);
    pointer-events: none;
}
.page-hero h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; }
.page-hero .breadcrumb { background: transparent; padding: 0; margin: 0; justify-content: center; }
.page-hero .breadcrumb-item { font-size: 13px; }
.page-hero .breadcrumb-item a { color: var(--gold-light); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.55); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════════ */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg); padding: 28px 24px;
    box-shadow: var(--shadow-xs); border: 1px solid var(--border-light);
    height: 100%; text-align: center; transition: var(--transition);
}
.contact-info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-info-icon {
    width: 62px; height: 62px; border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--gold); font-size: 24px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.contact-info-card h6 { font-family: 'Inter'; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.contact-info-card p, .contact-info-card a { font-size: 13px; color: var(--text-muted); margin: 0; }
.contact-info-card a:hover { color: var(--gold); }
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg); padding: 38px;
    box-shadow: var(--shadow-md);
}
.contact-form-wrap .form-label { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 5px; }
.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
    border: 1.5px solid var(--border); border-radius: 8px;
    font-size: 14px; padding: .55rem .85rem;
    transition: border-color .2s, box-shadow .2s;
}
.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 .2rem rgba(201,161,74,.18);
}
.contact-form-wrap textarea.form-control { resize: vertical; min-height: 115px; }
.captcha-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha-box {
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--gold);
    font-family: 'Courier New', monospace;
    font-size: 20px; font-weight: 800; letter-spacing: 5px;
    padding: 8px 18px; border-radius: 8px;
    user-select: none; min-width: 140px;
}
.captcha-refresh {
    background: none; border: 1.5px solid var(--border); border-radius: 8px;
    padding: 8px 12px; color: var(--text-muted); cursor: pointer; transition: var(--transition);
}
.captcha-refresh:hover { border-color: var(--gold); color: var(--gold); }
.map-embed-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-embed-wrap iframe { display: block; }

/* ══════════════════════════════════════════════════════════════
   NOTICE MODAL
   ══════════════════════════════════════════════════════════════ */
.notice-modal .modal-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
}
.notice-modal .modal-title { color: var(--white); font-size: 15px; }
.notice-modal .modal-body  { max-height: 62vh; overflow-y: auto; }
.notice-item {
    padding: 11px 0; border-bottom: 1px dashed var(--border);
    font-size: 13px;
}
.notice-item a { color: var(--accent); }
.notice-item a:hover { color: var(--gold); }
.notice-item .new-badge {
    background: #dc3545; color: var(--white);
    font-size: 9.5px; padding: 1px 7px;
    border-radius: 50px; margin-left: 6px; font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════
   HERO SLIDER
   ══════════════════════════════════════════════════════════════ */
#heroSlider { position: relative; overflow: hidden; }
.hero-swiper { height: 600px; }
@media (max-width: 768px)  { .hero-swiper { height: 420px; } }
@media (max-width: 480px)  { .hero-swiper { height: 320px; } }
.hero-swiper .swiper-slide { position: relative; overflow: hidden; }
.hero-slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.05); transition: transform 6s ease;
}
.swiper-slide-active .hero-slide-bg { transform: scale(1); }
.hero-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,35,66,.8) 0%, rgba(10,35,66,.45) 60%, rgba(10,35,66,.15) 100%);
}
.hero-slide-content {
    position: relative; z-index: 2;
    height: 100%;
    display: flex; flex-direction: column; justify-content: center;
    padding: 0 60px; max-width: 700px;
}
@media (max-width: 768px) { .hero-slide-content { padding: 0 24px; } }
.slide-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--primary);
    font-size: 10.5px; font-weight: 800; letter-spacing: 2px;
    text-transform: uppercase; padding: 4px 14px;
    border-radius: 50px; margin-bottom: 16px;
    width: fit-content;
}
.hero-slide-content h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero-slide-content p {
    color: rgba(255,255,255,.82); font-size: 15.5px;
    margin-bottom: 28px; max-width: 520px;
}
/* Swiper controls */
.swiper-button-next, .swiper-button-prev {
    width: 44px !important; height: 44px !important;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 50%;
    color: var(--white) !important;
    transition: var(--transition);
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--gold); border-color: var(--gold); color: var(--primary) !important;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 13px !important; }
.swiper-pagination-bullet {
    background: rgba(255,255,255,.45) !important;
    width: 10px !important; height: 10px !important;
}
.swiper-pagination-bullet-active {
    background: var(--gold) !important;
    width: 26px !important; border-radius: 5px !important;
}

/* ══════════════════════════════════════════════════════════════
   SCROLL TO TOP
   ══════════════════════════════════════════════════════════════ */
#scrollTop {
    position: fixed; bottom: 24px; right: 24px;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--gold);
    border: none; border-radius: 12px; font-size: 16px;
    cursor: pointer;
    opacity: 0; transform: translateY(20px);
    transition: var(--transition);
    z-index: 1050;
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; justify-content: center;
}
#scrollTop.visible { opacity: 1; transform: translateY(0); }
#scrollTop:hover { background: var(--gold); color: var(--primary); }

/* ══════════════════════════════════════════════════════════════
   FORM FEEDBACK
   ══════════════════════════════════════════════════════════════ */
.form-success {
    background: rgba(25,135,84,.1); border: 1px solid rgba(25,135,84,.3);
    border-radius: var(--radius); padding: 14px 18px;
    color: var(--success); font-size: 14px; display: none;
}
.form-error {
    background: rgba(220,53,69,.1); border: 1px solid rgba(220,53,69,.3);
    border-radius: var(--radius); padding: 14px 18px;
    color: #dc3545; font-size: 14px; display: none;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
    #mainNavList > .nav-item > .nav-link { padding: 0 9px; font-size: 12.5px; }
}
@media (max-width: 767px) {
    .section-padding { padding: 50px 0; }
    .about-img-main  { height: 300px; }
    .about-img-badge { right: 0; bottom: -10px; }
    .contact-form-wrap { padding: 22px 16px; }
    .brand-logo-box  { width: 56px; height: 56px; }
    .brand-name      { font-size: 1rem; }
}



/* Add to check footer new------*/

/* ══════════════════════════════════════════════════════════════
   FOOTER QUICK ENQUIRY — Additions for style.css
   Append this block to the end of style.css.
   Covers: Option A (Math CAPTCHA form) + Option B (Grievance Panel)
   ══════════════════════════════════════════════════════════════ */

/* ── Honeypot — completely hidden from humans ── */
.fq-hp {
    position: absolute;
    left: -9999px;
    visibility: hidden;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

/* ─────────────────────────────────────────────────────────────
   OPTION A — Math CAPTCHA row
   ───────────────────────────────────────────────────────────── */
.fq-captcha-row {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(201,161,74,.35);
    border-radius: 8px;
    padding: 10px 12px 6px;
    margin-bottom: 9px;
}

.fq-captcha-label {
    display: block;
    font-size: 12.5px;
    color: var(--gold-light); /* --rgba(255,255,255,.8); --*/
    margin-bottom: 8px;
    line-height: 1.5;
}

.fq-captcha-label strong {
    color: var(--gold-light);
    font-size: 14px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.fq-captcha-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Override footer-form base for captcha input */
.fq-cap-input {
    width: 100px !important;
    text-align: center;
    font-weight: 700;
    font-size: 15px !important;
    letter-spacing: 2px;
    margin-bottom: 0 !important;
}

.fq-cap-input::-webkit-inner-spin-button,
.fq-cap-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.fq-cap-input[type=number] { -moz-appearance: textfield; }

.fq-cap-refresh {
    background: rgba(201,161,74,.15);
    border: 1px solid rgba(201,161,74,.4);
    color: var(--gold-light); 
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    line-height: 1;
}
.fq-cap-refresh:hover {
    background: rgba(201,161,74,.3);
    color: var(--gold);
}
.fq-cap-refresh i { margin-right: 3px; }

/* Validation feedback inside captcha row */
.fq-captcha-row .invalid-feedback,
.fq-captcha-row .fq-err {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: #f8a0a0;
}

/* ── Response messages ── */
.fq-response-msg {
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 6px;
}
.fq-msg-success {
    background: rgba(52,211,153,.12);
    border: 1px solid rgba(52,211,153,.3);
    color: #6ee7b7;
}
.fq-msg-error {
    background: rgba(239,68,68,.1);
    border: 1px solid rgba(239,68,68,.3);
    color: #fca5a5;
}

/* ── Global invalid-feedback colour inside footer form ── */
.footer-form .invalid-feedback,
.footer-form .fq-err {
    color: #f8a0a0;
    font-size: 11px;
    display: none;
}
.footer-form.was-validated .form-control:invalid ~ .invalid-feedback,
.footer-form.was-validated .form-control:invalid ~ .fq-err { display: block; }

/* ── Privacy note ── */
.fq-privacy-note {
    font-size: 11px;
    color: rgba(255,255,255,.4);
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.5;
}
.fq-privacy-note a {
    color: var(--gold);
    text-decoration: underline dotted;
}
.fq-privacy-note a:hover { color: var(--gold-light); }

/* ─────────────────────────────────────────────────────────────
   OPTION B — RBI Grievance Redressal Panel
   ───────────────────────────────────────────────────────────── */
.fq-grievance-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fq-griev-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 10px 12px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}
.fq-griev-card:hover {
    background: rgba(201,161,74,.12);
    border-color: rgba(201,161,74,.35);
    transform: translateX(3px);
}

.fq-griev-step {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--primary);
    font-weight: 800;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
}

.fq-griev-body {
    flex: 1;
    min-width: 0;
}
.fq-griev-body strong {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
}
.fq-griev-body span {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,.55);
    margin-top: 1px;
    line-height: 1.4;
}
.fq-griev-body em { font-style: normal; color: var(--gold-light); }

.fq-griev-arrow {
    color: rgba(255,255,255,.3);
    font-size: 12px;
    flex-shrink: 0;
    transition: var(--transition);
}
.fq-griev-card:hover .fq-griev-arrow { color: var(--gold); }

/* Toll-free special card */
.fq-griev-toll {
    border-color: rgba(201,161,74,.25);
    background: rgba(201,161,74,.07);
}
.fq-griev-toll:hover {
    background: rgba(201,161,74,.18);
}

/* ── Responsive: slightly compact on small screens ── */
@media (max-width: 576px) {
    .fq-captcha-label { font-size: 12px; }
    .fq-griev-card { padding: 9px 10px; }
    .fq-griev-body strong { font-size: 12px; }
}


/* ══════════════════════════════════════════════════════════════
   FOOTER QUICK ENQUIRY — Additions for style.css
   Append this block to the end of style.css.
   Covers: Option A (Math CAPTCHA form) + Option B (Grievance Panel)
   ══════════════════════════════════════════════════════════════ */

/* ── Honeypot — completely hidden from humans ── */
.fq-hp {
    position: absolute;
    left: -9999px;
    visibility: hidden;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

/* ─────────────────────────────────────────────────────────────
   OPTION A — Math CAPTCHA row
   ───────────────────────────────────────────────────────────── */
.fq-captcha-row {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(201,161,74,.35);
    border-radius: 8px;
    padding: 10px 12px 6px;
    margin-bottom: 9px;
}

.fq-captcha-label {
    display: block;
    font-size: 12.5px;
    color: rgba(255,255,255,.8);
    margin-bottom: 8px;
    line-height: 1.5;
}

.fq-captcha-label strong {
    color: var(--gold-light);
    font-size: 14px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.fq-captcha-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Override footer-form base for captcha input */
.fq-cap-input {
    width: 100px !important;
    text-align: center;
    font-weight: 700;
    font-size: 15px !important;
    letter-spacing: 2px;
    margin-bottom: 0 !important;
}

.fq-cap-input::-webkit-inner-spin-button,
.fq-cap-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.fq-cap-input[type=number] { -moz-appearance: textfield; }

.fq-cap-refresh {
    background: rgba(201,161,74,.15);
    border: 1px solid rgba(201,161,74,.4);
    color: var(--gold-light);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    line-height: 1;
}
.fq-cap-refresh:hover {
    background: rgba(201,161,74,.3);
    color: var(--gold);
}
.fq-cap-refresh i { margin-right: 3px; }

/* Validation feedback inside captcha row */
.fq-captcha-row .invalid-feedback,
.fq-captcha-row .fq-err {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: #f8a0a0;
}

/* ── Response messages ── */
.fq-response-msg {
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 6px;
}
.fq-msg-success {
    background: rgba(52,211,153,.12);
    border: 1px solid rgba(52,211,153,.3);
    color: #6ee7b7;
}
.fq-msg-error {
    background: rgba(239,68,68,.1);
    border: 1px solid rgba(239,68,68,.3);
    color: #fca5a5;
}

/* ── Global invalid-feedback colour inside footer form ── */
.footer-form .invalid-feedback,
.footer-form .fq-err {
    color: #f8a0a0;
    font-size: 11px;
    display: none;
}
.footer-form.was-validated .form-control:invalid ~ .invalid-feedback,
.footer-form.was-validated .form-control:invalid ~ .fq-err { display: block; }

/* ── Privacy note ── */
.fq-privacy-note {
    font-size: 11px;
    color: rgba(255,255,255,.4);
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.5;
}
.fq-privacy-note a {
    color: var(--gold);
    text-decoration: underline dotted;
}
.fq-privacy-note a:hover { color: var(--gold-light); }

/* ─────────────────────────────────────────────────────────────
   OPTION B — RBI Grievance Redressal Panel
   ───────────────────────────────────────────────────────────── */
.fq-grievance-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fq-griev-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 10px 12px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}
.fq-griev-card:hover {
    background: rgba(201,161,74,.12);
    border-color: rgba(201,161,74,.35);
    transform: translateX(3px);
}

.fq-griev-step {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--primary);
    font-weight: 800;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
}

.fq-griev-body {
    flex: 1;
    min-width: 0;
}
.fq-griev-body strong {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
}
.fq-griev-body span {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,.55);
    margin-top: 1px;
    line-height: 1.4;
}
.fq-griev-body em { font-style: normal; color: var(--gold-light); }

.fq-griev-arrow {
    color: rgba(255,255,255,.3);
    font-size: 12px;
    flex-shrink: 0;
    transition: var(--transition);
}
.fq-griev-card:hover .fq-griev-arrow { color: var(--gold); }

/* Toll-free special card */
.fq-griev-toll {
    border-color: rgba(201,161,74,.25);
    background: rgba(201,161,74,.07);
}
.fq-griev-toll:hover {
    background: rgba(201,161,74,.18);
}

/* ── Responsive: slightly compact on small screens ── */
@media (max-width: 576px) {
    .fq-captcha-label { font-size: 12px; }
    .fq-griev-card { padding: 9px 10px; }
    .fq-griev-body strong { font-size: 12px; }
}

/* ═════════════════════════════════════════════════════════════
   WIDGET 1 — Footer Bank Logo
   ════════════════════════════════════════════════════════════ */
.footer-bank-logo {
    margin-bottom: 18px;
    line-height: 1;
}

.footer-logo-img {
    display: block;
    max-width: 170px;
    width: 100%;
    height: auto;
    /* Gentle brightness boost so colour logo reads on dark footer */
    filter: brightness(1.08) drop-shadow(0 1px 6px rgba(0,0,0,.35));
    transition: filter 0.25s ease, transform 0.25s ease;
    border-radius: 4px;
}

.footer-bank-logo a:hover .footer-logo-img {
    filter: brightness(1.18) drop-shadow(0 2px 10px rgba(201,161,74,.35));
    transform: translateY(-1px);
}

/* ── Separator line between logo and h5 ── */
.footer-widget .footer-bank-logo + h5 {
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
}

/* ═════════════════════════════════════════════════════════════
   STEP 3 — DICGC Compliance Panel (Logo + QR Code)
   As required under RBI/DICGC display guidelines for UCBs.
   ════════════════════════════════════════════════════════════ */

/* Override: DICGC card is a static panel, not a link hover block */
.fq-griev-dicgc {
    padding-bottom: 14px !important;
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(201,161,74,.25) !important;
    cursor: default !important;
    transition: none !important;
}
.fq-griev-dicgc:hover {
    transform: none !important;
    background: rgba(255,255,255,.07) !important;
}

/* ── Logo + QR row ── */
.dicgc-media-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    overflow: hidden;
}

/* Each media item (logo OR QR) */
.dicgc-media-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px 10px;
    text-decoration: none;
    transition: background 0.2s ease;
    min-width: 0;
}
.dicgc-media-item:hover {
    background: rgba(201,161,74,.1);
}

/* Image wrapper — fixed size, centers content */
.dicgc-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.9);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

/* Logo image wrapper */
.dicgc-logo-wrap {
    width: 112px;
    height: 54px;
    padding: 6px 10px;
}
.dicgc-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* QR code image wrapper */
.dicgc-qr-wrap {
    width: 100px;
    height: 76px;
    padding: 4px 10px;
}
.dicgc-qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    image-rendering: crisp-edges;      /* keep QR sharp */
    image-rendering: pixelated;
}

/* Fallback states when images are missing */
.dicgc-img-fallback {
    background: rgba(255,255,255,.08) !important;
}
.dicgc-fallback-text {
    display: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--gold);
}
.dicgc-img-fallback .dicgc-fallback-text {
    display: block;
}
.dicgc-qr-fallback-icon {
    display: none;
    font-size: 36px;
    color: var(--gold);
}
.dicgc-img-fallback .dicgc-qr-fallback-icon {
    display: block;
}

/* Label below each image */
.dicgc-media-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(255,255,255,.55);
    letter-spacing: 0.3px;
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
}
.dicgc-media-item:hover .dicgc-media-label {
    color: var(--gold-light, #e8c97a);
}

/* Vertical divider between logo and QR */
.dicgc-media-divider {
    width: 1px;
    background: rgba(255,255,255,.08);
    flex-shrink: 0;
    align-self: stretch;
}

/* ── Responsive ── */
@media (max-width: 400px) {
    .dicgc-logo-wrap { width: 96px; height: 46px; padding: 5px 8px; }
    .dicgc-qr-wrap   { width: 64px; height: 64px; }
    .footer-logo-img { max-width: 140px; }
}
