@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e11d48;
    --primary-dark: #be123c;
    --secondary-color: #2563eb;
    --secondary-dark: #1d4ed8;
    --text-dark: #0f172a;
    --text-light: #475569;
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --surface-border: rgba(15, 23, 42, 0.08);
    --surface-border-strong: rgba(15, 23, 42, 0.16);
    --focus-ring: rgba(37, 99, 235, 0.35);
    --accent-blue-soft: rgba(37, 99, 235, 0.12);
    --accent-red-soft: rgba(225, 29, 72, 0.12);
    --brand-gradient: linear-gradient(120deg, #e11d48 0%, #2563eb 100%);
    --shadow: 0 12px 24px -18px rgba(15, 23, 42, 0.55), 0 8px 16px -12px rgba(15, 23, 42, 0.32);
    --shadow-lg: 0 24px 40px -24px rgba(15, 23, 42, 0.6), 0 18px 32px -20px rgba(15, 23, 42, 0.35);
}

body {
    font-family: 'Space Grotesk', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: #f8fafc;
    background-image:
        radial-gradient(circle at 10% 15%, rgba(37, 99, 235, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(225, 29, 72, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 20% 85%, rgba(15, 23, 42, 0.08) 0%, transparent 45%),
        repeating-linear-gradient(120deg, rgba(15, 23, 42, 0.04) 0, rgba(15, 23, 42, 0.04) 1px, transparent 1px, transparent 28px);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fraunces', 'Space Grotesk', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-dark);
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Ambient animated backgrounds for section depth */
.section-ambient {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.section-ambient::before {
    content: '';
    position: absolute;
    inset: -25%;
    background:
        radial-gradient(circle at 12% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 10%, rgba(225, 29, 72, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(15, 23, 42, 0.08) 0%, transparent 55%);
    animation: ambientFloat 24s ease-in-out infinite;
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
}

.section-ambient::after {
    content: '';
    position: absolute;
    inset: -15%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 55%);
    opacity: 0.35;
    transform: translate3d(-12%, 0, 0);
    animation: ambientSheen 18s ease-in-out infinite;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

.section-ambient > .container {
    position: relative;
    z-index: 1;
}

@keyframes ambientFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(3%, -3%, 0) scale(1.03);
    }
}

@keyframes ambientSheen {
    0%, 100% {
        transform: translate3d(-12%, 0, 0);
    }
    50% {
        transform: translate3d(12%, 0, 0);
    }
}

/* Topbar */
.topbar {
    background: var(--text-dark);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-container {
    max-width: min(1600px, 96vw);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.bank-reg {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switcher {
    background: rgba(220, 38, 38, 0.2);
    border: 1.5px solid var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lang-switcher::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.lang-switcher:hover::before {
    left: 100%;
}

.lang-switcher:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.lang-switcher:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}

.lang-switcher i {
    font-size: 1rem;
    transition: transform 0.3s;
}

.lang-switcher:hover i {
    transform: rotate(15deg);
}

.lang-switcher span {
    position: relative;
    z-index: 1;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.location i {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.social-links-topbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-links-topbar a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.social-links-topbar a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(31, 41, 55, 0.06);
}

.nav-container {
    max-width: min(1600px, 96vw);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-logo span {
    letter-spacing: 0.02em;
    font-weight: 700;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-logo i {
    font-size: 2rem;
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: color 0.3s;
    position: relative;
}

.nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover:not(.dropdown-toggle)::after,
.nav-link.active:not(.dropdown-toggle)::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    list-style: none;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1000;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1.75rem;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Buttons */
.btn,
.btn-primary,
.btn-secondary {
    border-radius: var(--radius-md);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.18);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
    box-shadow: 0 10px 22px rgba(220, 38, 38, 0.22);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.85) 0%, rgba(239, 68, 68, 0.85) 100%),
                url('static/banner.png') center/cover no-repeat;
    color: white;
    padding: 5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Image Slider Section */
.image-slider-section {
    padding: 3rem 0;
    background: var(--bg-white);
}

.image-slider {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.slider-wrapper {
    position: relative;
    width: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    /* Use aspect-ratio for a responsive height based on container width */
    aspect-ratio: 3/1;
    height: auto;
    /* Allow vertical page scrolling while preventing default horizontal touch handling */
    touch-action: pan-y;
    min-height: 220px;
    max-height: 60vh;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform, opacity;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 1rem;
}

.slide-placeholder i {
    font-size: 3rem;
    opacity: 0.6;
}

.slide-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.8;
}

.slide.is-active {
    display: block;
}

.slide.is-enter-right {
    animation: slideInFromRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.slide.is-enter-left {
    animation: slideInFromLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.slide.is-exit-left {
    animation: slideOutToLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.slide.is-exit-right {
    animation: slideOutToRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes slideInFromRight {
    from {
        opacity: 0.6;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0.6;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutToLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0.6;
        transform: translateX(-100%);
    }
}

@keyframes slideOutToRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0.6;
        transform: translateX(100%);
    }
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(220, 38, 38, 0.7);
    color: white;
    border: none;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-button:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-button.prev {
    left: 15px;
}

.slider-button.next {
    right: 15px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.dot:hover {
    transform: scale(1.15);
}

.dot:hover {
    background: var(--primary-color);
}

.hero::before {
    content: '';
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 55%);
    animation: heroGlowShift 18s ease-in-out infinite;
    opacity: 0.85;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    top: -35%;
    right: -10%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
    border-radius: 50%;
    animation: heroOrbFloat 16s ease-in-out infinite;
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
    width: 400px;
    height: 400px;
    z-index: 1;
}

.hero-cards-orbit {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-cards-orbit .floating-card {
    pointer-events: auto;
}

.floating-card-wrap {
    position: absolute;
    width: 130px;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: auto;
}

.floating-card {
    position: relative;
    width: 100%;
    padding: 1.25rem 1rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    color: white;
    overflow: hidden;
    transition: box-shadow 0.5s ease;
    animation: cardReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) both,
               cardDrift 12s ease-in-out infinite;
    /* Glassmorphism + shimmer border */
    background: linear-gradient(rgba(255,255,255,0.15), rgba(255,255,255,0.08)) padding-box,
                linear-gradient(110deg,
                    rgba(255,255,255,0.5) 0%,
                    rgba(255,255,255,0.15) 25%,
                    rgba(255,255,255,0.45) 50%,
                    rgba(255,255,255,0.1) 75%,
                    rgba(255,255,255,0.4) 100%) border-box;
    background-size: 100% 100%, 200% 200%;
    background-position: 0 0, 0% 50%;
    animation: cardReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) both,
               cardDrift 12s ease-in-out infinite,
               borderShimmer 6s ease-in-out infinite;
    border: 2px solid transparent;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.floating-card-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 50%,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.floating-card-wrap:hover {
    transform: scale(1.08);
}

.floating-card-wrap.card-2:hover {
    transform: translateY(-50%) scale(1.08);
}

.floating-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.floating-card:hover .floating-card-glow {
    opacity: 1;
}

.floating-card i {
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 1;
}

.floating-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.floating-card-tagline {
    font-size: 0.7rem;
    font-weight: 500;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    position: relative;
    z-index: 1;
}

.floating-card:hover .floating-card-tagline {
    max-height: 2.5em;
    opacity: 0.9;
}

/* Arc layout: cards orbit around center */
.floating-card-wrap.card-1 {
    top: 12%;
    left: 8%;
}

.floating-card-wrap.card-1 .floating-card {
    animation-delay: 0.2s, 0s, 0s;
}

.floating-card-wrap.card-2 {
    top: 50%;
    right: 0;
    left: auto;
    transform: translateY(-50%);
}

.floating-card-wrap.card-2 .floating-card {
    animation-delay: 0.4s, 2s, 0s;
}

.floating-card-wrap.card-3 {
    bottom: 8%;
    left: 15%;
}

.floating-card-wrap.card-3 .floating-card {
    animation-delay: 0.6s, 4s, 0s;
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes cardDrift {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(6px, -10px); }
    50%      { transform: translate(0, -16px); }
    75%      { transform: translate(-6px, -10px); }
}

@keyframes borderShimmer {
    0%, 100% { background-position: 0 0, 0% 50%; }
    50%      { background-position: 0 0, 100% 50%; }
}

@keyframes heroGlowShift {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(4%, -2%, 0) scale(1.05);
    }
}

@keyframes heroOrbFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-6%, 6%, 0);
    }
}

/* ========== Motion & scroll animations ========== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUpScale {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes softPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Hero load animations */
.hero-content h1 {
    animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.hero-content p {
    animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}
.hero-buttons {
    animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}
.hero-image {
    animation: fadeUpScale 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

/* Section scroll-in: initial state */
.js-scroll-section .section-title,
.js-scroll-section .gallery-intro,
.js-scroll-section .section-subtitle,
.js-scroll-section .service-card,
.js-scroll-section .board-member-card,
.js-scroll-section .branch-card,
.js-scroll-section .stat-item,
.js-scroll-section .banner,
.js-scroll-section .gallery-item,
.js-scroll-section .interest-rate-item,
.js-scroll-section .contact-item,
.js-scroll-section .about-text,
.js-scroll-section .image-slider,
.js-scroll-section .deposit-subheading,
.js-scroll-section .senior-citizen-note,
.js-scroll-section .form-card,
.js-scroll-section .section-subtitle {
    opacity: 0;
    transform: translateY(28px);
}

/* Section scroll-in: animate when in view */
.js-scroll-section.in-view .section-title,
.js-scroll-section.in-view .gallery-intro,
.js-scroll-section.in-view .section-subtitle {
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.js-scroll-section.in-view .image-slider {
    animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.js-scroll-section.in-view .about-text,
.js-scroll-section.in-view .deposit-subheading,
.js-scroll-section.in-view .senior-citizen-note {
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Staggered grid children */
.js-scroll-section.in-view .service-card { animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.js-scroll-section.in-view .service-card:nth-child(1) { animation-delay: 0.05s; }
.js-scroll-section.in-view .service-card:nth-child(2) { animation-delay: 0.1s; }
.js-scroll-section.in-view .service-card:nth-child(3) { animation-delay: 0.15s; }
.js-scroll-section.in-view .service-card:nth-child(4) { animation-delay: 0.2s; }
.js-scroll-section.in-view .service-card:nth-child(5) { animation-delay: 0.25s; }
.js-scroll-section.in-view .service-card:nth-child(6) { animation-delay: 0.3s; }
.js-scroll-section.in-view .service-card:nth-child(7) { animation-delay: 0.35s; }

.js-scroll-section.in-view .board-member-card { animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.js-scroll-section.in-view .board-member-card:nth-child(1) { animation-delay: 0.05s; }
.js-scroll-section.in-view .board-member-card:nth-child(2) { animation-delay: 0.15s; }

.js-scroll-section.in-view .branch-card { animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.js-scroll-section.in-view .branch-card:nth-child(1) { animation-delay: 0.05s; }
.js-scroll-section.in-view .branch-card:nth-child(2) { animation-delay: 0.1s; }
.js-scroll-section.in-view .branch-card:nth-child(3) { animation-delay: 0.15s; }
.js-scroll-section.in-view .branch-card:nth-child(4) { animation-delay: 0.2s; }
.js-scroll-section.in-view .branch-card:nth-child(5) { animation-delay: 0.25s; }
.js-scroll-section.in-view .branch-card:nth-child(6) { animation-delay: 0.3s; }

.js-scroll-section.in-view .stat-item { animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.js-scroll-section.in-view .stat-item:nth-child(1) { animation-delay: 0.05s; }
.js-scroll-section.in-view .stat-item:nth-child(2) { animation-delay: 0.15s; }
.js-scroll-section.in-view .stat-item:nth-child(3) { animation-delay: 0.25s; }

.js-scroll-section.in-view .banner { animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.js-scroll-section.in-view .banner:nth-child(1) { animation-delay: 0.05s; }
.js-scroll-section.in-view .banner:nth-child(2) { animation-delay: 0.15s; }

.js-scroll-section.in-view .gallery-item { animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.js-scroll-section.in-view .gallery-item:nth-child(1) { animation-delay: 0.02s; }
.js-scroll-section.in-view .gallery-item:nth-child(2) { animation-delay: 0.05s; }
.js-scroll-section.in-view .gallery-item:nth-child(3) { animation-delay: 0.08s; }
.js-scroll-section.in-view .gallery-item:nth-child(4) { animation-delay: 0.11s; }
.js-scroll-section.in-view .gallery-item:nth-child(5) { animation-delay: 0.14s; }
.js-scroll-section.in-view .gallery-item:nth-child(6) { animation-delay: 0.17s; }
.js-scroll-section.in-view .gallery-item:nth-child(7) { animation-delay: 0.2s; }
.js-scroll-section.in-view .gallery-item:nth-child(8) { animation-delay: 0.23s; }
.js-scroll-section.in-view .gallery-item:nth-child(9) { animation-delay: 0.26s; }
.js-scroll-section.in-view .gallery-item:nth-child(10) { animation-delay: 0.29s; }
.js-scroll-section.in-view .gallery-item:nth-child(11) { animation-delay: 0.32s; }
.js-scroll-section.in-view .gallery-item:nth-child(12) { animation-delay: 0.35s; }
.js-scroll-section.in-view .gallery-item:nth-child(13) { animation-delay: 0.38s; }
.js-scroll-section.in-view .gallery-item:nth-child(14) { animation-delay: 0.41s; }

.js-scroll-section.in-view .interest-rate-item { animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.js-scroll-section.in-view .interest-rate-item:nth-child(1) { animation-delay: 0.03s; }
.js-scroll-section.in-view .interest-rate-item:nth-child(2) { animation-delay: 0.06s; }
.js-scroll-section.in-view .interest-rate-item:nth-child(3) { animation-delay: 0.09s; }
.js-scroll-section.in-view .interest-rate-item:nth-child(4) { animation-delay: 0.12s; }
.js-scroll-section.in-view .interest-rate-item:nth-child(5) { animation-delay: 0.15s; }
.js-scroll-section.in-view .interest-rate-item:nth-child(6) { animation-delay: 0.18s; }
.js-scroll-section.in-view .interest-rate-item:nth-child(7) { animation-delay: 0.21s; }
.js-scroll-section.in-view .interest-rate-item:nth-child(8) { animation-delay: 0.24s; }
.js-scroll-section.in-view .interest-rate-item:nth-child(9) { animation-delay: 0.27s; }
.js-scroll-section.in-view .interest-rate-item:nth-child(10) { animation-delay: 0.3s; }

.js-scroll-section.in-view .contact-item { animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.js-scroll-section.in-view .contact-item:nth-child(1) { animation-delay: 0.05s; }
.js-scroll-section.in-view .contact-item:nth-child(2) { animation-delay: 0.12s; }
.js-scroll-section.in-view .contact-item:nth-child(3) { animation-delay: 0.19s; }
.js-scroll-section.in-view .contact-item:nth-child(4) { animation-delay: 0.26s; }

.js-scroll-section.in-view .form-card { animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.js-scroll-section.in-view .form-card:nth-child(1) { animation-delay: 0.05s; }
.js-scroll-section.in-view .form-card:nth-child(2) { animation-delay: 0.1s; }
.js-scroll-section.in-view .form-card:nth-child(3) { animation-delay: 0.15s; }
.js-scroll-section.in-view .form-card:nth-child(4) { animation-delay: 0.2s; }
.js-scroll-section.in-view .form-card:nth-child(5) { animation-delay: 0.25s; }
.js-scroll-section.in-view .form-card:nth-child(6) { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
    }
    .hero-content h1, .hero-content p, .hero-buttons, .hero-image {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .floating-card {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
    .js-scroll-section .section-title,
    .js-scroll-section .gallery-intro,
    .js-scroll-section .section-subtitle,
    .js-scroll-section .service-card,
    .js-scroll-section .board-member-card,
    .js-scroll-section .branch-card,
    .js-scroll-section .stat-item,
    .js-scroll-section .banner,
    .js-scroll-section .gallery-item,
    .js-scroll-section .interest-rate-item,
    .js-scroll-section .contact-item,
    .js-scroll-section .about-text,
    .js-scroll-section .image-slider,
    .js-scroll-section .deposit-subheading,
    .js-scroll-section .senior-citizen-note,
    .js-scroll-section .form-card {
        opacity: 1;
        transform: none;
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: var(--primary-color);
    margin: 0.75rem auto 0;
    border-radius: 999px;
    opacity: 0.9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
}

/* Branches Section */
.branches {
    padding: 5rem 0;
    background: var(--bg-light);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.branches-grid a {
    text-decoration: none;
}

.branch-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    border: 2px solid transparent;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

.branch-card-overlay {
    width: 100%;
    height: 100%;
    background: rgba(99, 99, 99, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.branch-card:hover .branch-card-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.branch-icon {
    display: none;
}

.branch-card h3 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.branch-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.branch-contact i {
    font-size: 1.2rem;
}

.branch-contact span {
    color: var(--bg-white);
}

/* Board Members Section */
.board-members {
    padding: 5rem 0;
    background: var(--bg-white);
}

.board-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.board-member-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.board-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.board-member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 5px solid var(--primary-color);
    position: relative;
    background: var(--bg-light);
}

.board-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 4rem;
}

.board-member-info h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.board-member-name {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.board-member-number {
    color: var(--text-light);
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}
/* About Section */
.about {
    padding: 5rem 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(2rem, 3vw, 3rem);
    align-items: start;
}

.about-text,
.about-stats {
    min-width: 0;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    overflow-wrap: break-word;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
}

.stat-item {
    text-align: center;
    padding: clamp(1.25rem, 2vw, 2rem);
    background: var(--bg-light);
    border-radius: 15px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-stats {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem;
    }
}

/* Promotional Banners Section */
.promotional-banners {
    padding: 3rem 0;
    background: var(--bg-white);
}

.banners-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.banner {
    width: 100%;
    height: 200px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.banner:hover img {
    transform: scale(1.05);
}

.banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.3);
}

.banner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 1rem;
}

.banner-placeholder i {
    font-size: 3rem;
    opacity: 0.6;
}

.banner-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Banner Detail Section */
.banner-detail-section {
    padding: 5rem 0;
    background: var(--bg-white);
    min-height: calc(100vh - 500px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
}

.back-link i {
    font-size: 1.2rem;
}

.banner-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.banner-detail-content h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.banner-detail-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.banner-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-detail-text {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
}

.banner-detail-text p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.banner-detail-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.banner-detail-text ul {
    list-style-position: inside;
    margin-bottom: 2rem;
}

.banner-detail-text li {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.download-buttons .btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-buttons i {
    font-size: 1.2rem;
}

.support-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-method h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-method p {
    color: var(--text-light);
    margin: 0;
}

/* Responsive Design for Banner Details */
@media (max-width: 768px) {
    .banner-detail-content h1 {
        font-size: 1.8rem;
    }

    .banner-detail-image {
        height: 250px;
    }

    .download-buttons {
        flex-direction: column;
    }

    .download-buttons .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .support-contact {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
}

/* Interest Rates Section */
.interest-rates {
    padding: 5rem 0;
    background: var(--bg-light);
}

.interest-rates-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.interest-rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--bg-white);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.interest-rate-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.interest-rate-item span:first-child {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.interest-rate-item .rate-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.deposit-subheading {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.senior-citizen-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.senior-citizen-note i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.senior-citizen-note p {
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: var(--bg-light);
}

.gallery-intro {
    text-align: center;
    color: var(--text-light);
    margin-top: -1.5rem;
    margin-bottom: 3rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg-white);
    aspect-ratio: 4 / 3;
}

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

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--border-color);
    color: var(--text-light);
    font-size: 3rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-section a:hover {
    color: white;
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-copy {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-credit {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .topbar-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 20px;
    }

    .topbar-right {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        justify-content: center;
    }

    .location {
        font-size: 0.8rem;
    }

    .lang-switcher {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Mobile Dropdown Menu */
    .nav-dropdown {
        position: static;
    }

    .nav-dropdown .nav-link.active::after {
        display: none;
    }

    .dropdown-toggle::after {
        transform: rotate(0deg) !important;
        transition: transform 0.3s ease;
    }

    .nav-dropdown .nav-link i {
        transition: transform 0.3s ease;
    }

    .nav-dropdown .nav-link.active i {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        background: transparent;
        margin: 0;
        padding: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .dropdown-menu.active {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        overflow: visible;
        background: var(--bg-light);
        padding: 0.5rem 0;
    }

    .dropdown-menu.active li {
        display: block;
    }

    .dropdown-item {
        display: block;
        padding: 1rem 2rem;
        border-left: 4px solid transparent;
        text-align: left;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

    .dropdown-item:active,
    .dropdown-item:focus {
        background: white;
        border-left-color: var(--primary-color);
        color: var(--primary-color);
    }

    .dropdown-toggle.active::after {
        transform: rotate(180deg) !important;
    }

    .logo-img {
        height: 40px;
        width: 40px;
    }

    .nav-logo span {
        font-size: 1.2rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
        line-height: 1.25;
    }

    .hero-image {
        width: 100%;
        height: 300px;
        margin-top: 2rem;
    }

    .floating-card-wrap {
        width: 110px;
    }

    .floating-card {
        padding: 1rem 0.75rem;
        font-size: 0.85rem;
    }

    .floating-card i {
        font-size: 1.4rem;
    }

    .floating-card-title {
        font-size: 0.8rem;
    }

    .floating-card-wrap.card-1 {
        top: 8%;
        left: 5%;
    }

    .floating-card-wrap.card-2 {
        right: 2%;
    }

    .floating-card-wrap.card-3 {
        bottom: 5%;
        left: 8%;
    }

    .floating-card-wrap.card-3 .floating-card {
        animation-delay: 0.5s, 4s, 0s;
    }

    .floating-card-tagline {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons button {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .branches-grid {
        grid-template-columns: 1fr;
    }

    .board-members-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .board-member-photo {
        width: 150px;
        height: 150px;
    }

    .photo-placeholder {
        font-size: 3rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .interest-rates-list {
        max-width: 100%;
    }

    .banners-wrapper {
        grid-template-columns: 1fr;
    }

    .banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .banner-content h3 {
        font-size: 1.25rem;
    }

    .forms-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 480px) {
    .about {
        padding: 3.5rem 0;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
        padding: 0 0.75rem;
        line-height: 1.3;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}

/* Forms Section */
.forms-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
    min-height: 100vh;
}

.forms-section h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.form-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.form-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.form-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.form-card-header h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.form-card-header i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-left: 1rem;
}

.form-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.form-actions .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--bg-white);
    margin: 2% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: var(--primary-color);
}

.modal-body {
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.modal-footer .btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Shared refinements */
.service-card,
.form-card,
.stat-item,
.contact-item,
.gallery-item,
.board-member-card,
.contact-method,
.banner-detail-text,
.banner-detail-image,
.modal-content {
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-border);
}

.banner,
.branch-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-border);
}

.contact-item {
    padding: 1.25rem 1.5rem;
    background: var(--bg-white);
    box-shadow: var(--shadow);
}

.interest-rate-item {
    border: 1px solid var(--surface-border);
    border-left: 4px solid var(--primary-color);
}

.senior-citizen-note {
    border-radius: var(--radius-md);
    border: 1px solid rgba(220, 38, 38, 0.15);
}

/* ==============================
   Theme Refresh: Red/Blue/White
   ============================== */
.topbar {
    position: relative;
    background: linear-gradient(120deg, #0f172a 0%, #1d4ed8 45%, #0f172a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.topbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--brand-gradient);
}

.bank-reg {
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.location {
    font-weight: 500;
}

.lang-switcher {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.7);
}

.lang-switcher:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.social-links-topbar a:hover {
    background: var(--secondary-color);
}

.navbar {
    background: rgba(255, 255, 255, 0.74);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.32) 100%);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 20px 40px -30px rgba(15, 23, 42, 0.6), 0 10px 18px -16px rgba(15, 23, 42, 0.35);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 55%);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(225, 29, 72, 0.8), rgba(37, 99, 235, 0.8), transparent);
    z-index: 1;
}

.nav-container {
    position: relative;
    z-index: 2;
}

.nav-logo {
    color: var(--text-dark);
    gap: 14px;
}

.nav-logo span {
    font-size: 0.92rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.logo-img {
    border-radius: 14px;
    border: 1px solid var(--surface-border-strong);
    box-shadow: var(--shadow);
}

.nav-menu {
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0;
    color: var(--text-dark);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-link:not(.dropdown-toggle)::after {
    height: 3px;
    border-radius: 999px;
    background: var(--brand-gradient);
}

.dropdown-menu {
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-radius: 16px;
}

.dropdown-item:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--secondary-color);
}

.hamburger span {
    background: var(--text-dark);
}

.btn-primary {
    background: var(--brand-gradient);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 14px 24px -18px rgba(37, 99, 235, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.95rem;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 30px -20px rgba(37, 99, 235, 0.7);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
}

.hero {
    background: linear-gradient(125deg, rgba(15, 23, 42, 0.9) 0%, rgba(37, 99, 235, 0.8) 45%, rgba(225, 29, 72, 0.75) 100%),
        url('static/banner.png') center/cover no-repeat;
    border-bottom: 6px solid rgba(37, 99, 235, 0.6);
}

.hero::before {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 55%);
}

.hero::after {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 70%);
}

.hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    color: #ffffff;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
}

.hero-image {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 24px 40px -30px rgba(15, 23, 42, 0.7);
}

.floating-card {
    border-radius: 18px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25);
}

.floating-card-title {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    text-align: center;
    margin-bottom: 2.75rem;
    padding-bottom: 0.75rem;
    position: relative;
}

.section-title::after {
    height: 4px;
    width: 84px;
    background: var(--brand-gradient);
    border-radius: 999px;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -0.65rem;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 6px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.2);
}

.image-slider-section {
    background: transparent;
}

.slider-container {
    border-radius: 24px;
    border: 1px solid var(--surface-border-strong);
    box-shadow: var(--shadow-lg);
}

.slider-button {
    background: rgba(37, 99, 235, 0.75);
}

.slider-button:hover {
    background: var(--secondary-color);
}

.dot {
    background: rgba(15, 23, 42, 0.2);
}

.dot.active {
    background: var(--brand-gradient);
}

.service-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--surface-border-strong);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--brand-gradient);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 12px 20px -14px rgba(37, 99, 235, 0.6);
}

.service-icon i {
    color: white;
}

.board-member-card,
.form-card,
.contact-item,
.banner-detail-text,
.banner-detail-image,
.modal-content {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--surface-border-strong);
    box-shadow: var(--shadow);
}

.board-member-photo {
    border: 3px solid rgba(37, 99, 235, 0.3);
    box-shadow: var(--shadow);
}

.stat-item {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(225, 29, 72, 0.08));
    border: 1px solid var(--surface-border-strong);
}

.stat-item h3 {
    color: var(--secondary-color);
}

.branch-card {
    border: 1px solid var(--surface-border-strong);
}

.branch-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.75) 100%);
    z-index: 0;
}

.branch-card-overlay {
    background: transparent;
    position: relative;
    z-index: 1;
}

.branch-card:hover .branch-card-overlay {
    background: transparent;
}

.promotional-banners {
    background: transparent;
}

.banner {
    border: 1px solid var(--surface-border-strong);
    box-shadow: var(--shadow);
}

.banner:hover {
    box-shadow: var(--shadow-lg);
}

.interest-rate-item {
    border-left: 4px solid var(--secondary-color);
    background: rgba(255, 255, 255, 0.9);
}

.interest-rate-item .rate-value {
    color: var(--secondary-color);
}

.deposit-subheading {
    color: var(--primary-color);
    letter-spacing: 0.04em;
}

.senior-citizen-note {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(225, 29, 72, 0.1) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.gallery-item {
    border: 1px solid var(--surface-border-strong);
    box-shadow: var(--shadow);
}

.gallery-item:hover {
    transform: translateY(-6px);
}

.gallery-placeholder {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(225, 29, 72, 0.12));
    color: var(--text-dark);
}

.forms-section {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(255, 255, 255, 1) 60%);
}

.form-card-header {
    border-bottom: 2px solid rgba(37, 99, 235, 0.12);
}

.form-card-header i {
    color: var(--secondary-color);
}

.contact {
    background: transparent;
}

.contact-item i,
.contact-method i {
    color: var(--secondary-color);
}

.contact-method {
    border-left: 4px solid var(--secondary-color);
}

.banner-detail-content h1 {
    color: var(--text-dark);
}

.banner-detail-text h3 {
    color: var(--secondary-color);
}

.footer {
    background: linear-gradient(140deg, #0f172a 0%, #111827 60%, #0f172a 100%);
    border-top: 4px solid rgba(225, 29, 72, 0.6);
}

.footer-section h4 {
    color: white;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
    .nav-link {
        font-size: 0.82rem;
        letter-spacing: 0.08em;
    }

    .section-title {
        text-align: center;
        padding-bottom: 0.5rem;
    }

    .hero {
        padding: 3.5rem 1.5rem;
    }

    .hero-image {
        border-radius: 22px;
    }
}
