/* ==========================================================================
   DESIGN SYSTEM FOR RANAGHAT PEOPLE'S CO-OPERATIVE BANK LTD.
   (Official Institutional / Governmental Layout)
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --primary-green: #113813;
    --primary-green-rgb: 17, 56, 19;
    --secondary-green: #1e5a22;
    --accent-gold: #c2992d;
    --accent-gold-hover: #a57f20;
    --bg-cream: #faf9f2;
    --bg-white: #ffffff;
    --bg-light-gray: #fcfcfc;
    --bg-panel: #fcfbfa;
    --text-dark: #202b21;
    --text-light: #ffffff;
    --text-muted: #556056;
    --border-color: #cbd0c8;
    --border-cream: #e1d8be;
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows - Flattened for Official / Institutional look */
    --shadow-sm: none;
    --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.08);
    
    /* Layout */
    --max-width: 1200px;
    --border-radius-sm: 2px;
    --border-radius-md: 4px;
    --border-radius-lg: 6px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Base Layout Helpers */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 3.5rem 0;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--accent-gold);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--secondary-green);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent-gold);
    color: var(--text-light);
}

.btn-accent:hover {
    background-color: var(--accent-gold-hover);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 1.5px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--text-light);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

/* Top Bar */
.top-bar {
    background-color: var(--primary-green);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 0.4rem 0;
    border-bottom: 2px solid var(--accent-gold);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-contact {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-bar-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-contact a:hover {
    color: var(--accent-gold);
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-weight: 500;
}

.top-bar-links a:hover {
    color: var(--accent-gold);
}

.font-resize {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.font-resize button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 0.05rem 0.35rem;
    cursor: pointer;
    font-size: 0.7rem;
    border-radius: 1px;
}

.font-resize button:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* Main Header */
.main-header {
    background-color: var(--bg-cream);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    border: 2.5px solid var(--primary-green);
}

.logo-text h1 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.logo-text .slogan {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 0.45rem 2.25rem 0.45rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 0.88rem;
    outline: none;
    width: 190px;
    background-color: #fff;
}

.search-box input:focus {
    width: 230px;
    border-color: var(--primary-green);
}

.search-box button {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

.search-box button:hover {
    color: var(--primary-green);
}

.lang-select {
    padding: 0.45rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-white);
    font-size: 0.88rem;
    outline: none;
    cursor: pointer;
}

/* Nav Menu */
.navbar {
    background-color: var(--primary-green);
    border-bottom: 4px solid var(--accent-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    width: 100%;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.9rem 1.15rem;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-item.active .nav-link {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--accent-gold);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    list-style: none;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: var(--transition-normal);
    z-index: 100;
    border-top: 3px solid var(--accent-gold);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.dropdown-item a {
    display: block;
    padding: 0.7rem 1.1rem;
    color: var(--text-dark);
    font-size: 0.88rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child a {
    border-bottom: none;
}

.dropdown-item a:hover {
    background-color: #f7f7f5;
    color: var(--primary-green);
    padding-left: 1.35rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.8rem;
}

/* ==========================================================================
   HERO / SLIDER SECTION
   ========================================================================== */
.hero-slider {
    position: relative;
    height: 420px;
    overflow: hidden;
    background-color: #000;
}

.slider-container {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(17, 56, 19, 0.9) 0%, rgba(17, 56, 19, 0.45) 60%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    max-width: 600px;
    padding: 0 1rem;
}

.slide-content h2 {
    font-size: 2.75rem;
    color: var(--text-light);
    margin-bottom: 0.85rem;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    font-weight: 800;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    font-weight: 400;
    line-height: 1.5;
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.slider-control:hover {
    background-color: var(--accent-gold);
}

.slider-control.prev {
    left: 20px;
}

.slider-control.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.dot.active {
    background-color: var(--accent-gold);
    width: 20px;
    border-radius: 5px;
}

/* ==========================================================================
   IMPORTANT NOTICES / TICKER
   ========================================================================== */
.ticker-section {
    background-color: #fffdf0;
    border-bottom: 1px solid var(--border-cream);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.ticker-container {
    display: flex;
    align-items: stretch;
    height: 50px;
    overflow: hidden;
}

.ticker-label {
    background-color: var(--primary-green);
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    z-index: 5;
    flex-shrink: 0;
    border-right: 3px solid var(--accent-gold);
}

.ticker-label i {
    color: var(--accent-gold);
}

.ticker-wrapper {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}

.ticker-list {
    display: flex;
    align-items: center;
    gap: 3rem;
    white-space: nowrap;
    list-style: none;
    position: absolute;
    left: 100%;
    animation: marquee 28s linear infinite;
}

.ticker-list:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
}

.ticker-item a:hover {
    color: var(--secondary-green);
    text-decoration: underline;
}

.badge-new {
    background-color: #d9534f;
    color: #fff;
    font-size: 0.62rem;
    padding: 0.08rem 0.35rem;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    text-transform: uppercase;
}

.ticker-action {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    background-color: #fffdf0;
    position: relative;
    z-index: 5;
    border-left: 1px solid var(--border-cream);
    flex-shrink: 0;
}

.ticker-action .btn-view-all {
    background-color: var(--primary-green);
    color: var(--text-light);
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
}

.ticker-action .btn-view-all:hover {
    background-color: var(--accent-gold);
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* ==========================================================================
   SERVICES GRID SECTION
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* Horizontal Clean Card Layout as per Target Image */
.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    transition: var(--transition-normal);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.service-card:hover {
    border-color: var(--secondary-green);
    background-color: #fafafa;
}

.service-icon {
    font-size: 1.75rem;
    color: var(--primary-green);
    background-color: rgba(17, 56, 19, 0.05);
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(17, 56, 19, 0.1);
}

.service-card:hover .service-icon {
    color: var(--accent-gold);
    background-color: rgba(17, 56, 19, 0.08);
}

.service-info {
    flex-grow: 1;
}

.service-info h3 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1.25;
}

.service-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.service-info .learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-green);
    text-transform: uppercase;
}

.service-card:hover .learn-more-link {
    color: var(--accent-gold);
}

/* ==========================================================================
   TABS & INTEREST RATES SECTION (DUAL COLUMN)
   ========================================================================== */
.dual-column-section {
    background-color: #f7f7f5;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.dual-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
}

/* Tab Component */
.tab-container {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
}

.tab-button {
    background: transparent;
    border: none;
    padding: 0.65rem 1.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-fast);
}

.tab-button:hover {
    color: var(--primary-green);
}

.tab-button.active {
    color: var(--primary-green);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-gold);
}

.tab-pane {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.tab-pane.active {
    display: flex;
}

.news-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0ef;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(17, 56, 19, 0.05);
    border: 1px solid rgba(17, 56, 19, 0.1);
    border-radius: var(--border-radius-sm);
    width: 58px;
    height: 58px;
    flex-shrink: 0;
}

.news-date .day {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
}

.news-date .month {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.news-info h4 {
    font-size: 0.98rem;
    color: var(--primary-green);
    margin-bottom: 0.2rem;
}

.news-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.tab-pane-footer {
    padding-top: 1rem;
    text-align: right;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-green);
}

.link-arrow:hover {
    color: var(--accent-gold);
}

/* Interest Rates Widget */
.rates-container {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.rates-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.65rem;
}

.rates-header h3 {
    font-size: 1.25rem;
}

.rates-header .wef {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.table-wrapper {
    margin-bottom: 1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-green);
    background-color: rgba(17, 56, 19, 0.03);
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--border-color);
}

.data-table td {
    padding: 0.7rem 0.85rem;
    font-size: 0.85rem;
    border-bottom: 1px solid #f0f0ef;
}

.data-table tr:nth-child(even) {
    background-color: #fafafa;
}

.data-table tr:hover {
    background-color: rgba(194, 153, 45, 0.03);
}

.data-table td.rate-val {
    font-weight: 700;
    color: var(--primary-green);
    text-align: right;
}

.data-table th.rate-val-head {
    text-align: right;
}

/* ==========================================================================
   APP DOWNLOAD PROMO BANNER (Official 3-Column Grid)
   ========================================================================== */
.app-promo-card {
    background-color: #f7f5ef;
    border-radius: var(--border-radius-md);
    color: var(--text-dark);
    padding: 2rem;
    border: 1px solid var(--border-cream);
}

.app-promo-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr 1.4fr;
    gap: 2rem;
    align-items: center;
}

.app-phone-col {
    display: flex;
    justify-content: center;
}

.phone-mockup-wrapper {
    max-width: 180px;
    background-color: rgba(17, 56, 19, 0.05);
    padding: 10px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(17, 56, 19, 0.1);
}

.phone-mockup-wrapper img {
    border-radius: 12px;
    border: 4px solid #333;
}

.app-info-col h2 {
    color: var(--primary-green);
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.app-info-col p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.app-actions-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.app-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--bg-light-gray);
    padding: 0.85rem 0.5rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    gap: 0.4rem;
}

.app-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(17, 56, 19, 0.05);
    border: 1px solid rgba(17, 56, 19, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary-green);
}

.app-feature-item span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
    background-color: #faf8f2;
    color: var(--text-dark);
    padding: 3rem 0 0 0;
    font-size: 0.88rem;
    border-top: 4px solid var(--primary-green);
    border-bottom: 1px solid var(--border-color);
}

.footer-columns {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col h3 {
    color: var(--primary-green);
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--border-cream);
}

.footer-col p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(17, 56, 19, 0.06);
    border: 1px solid rgba(17, 56, 19, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.social-icon:hover {
    background-color: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links-list a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.footer-links-list a:hover {
    color: var(--primary-green);
    padding-left: 0.25rem;
}

.footer-contact-item {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.footer-contact-item p {
    margin-bottom: 0;
    line-height: 1.4;
    color: var(--text-muted);
}

.bottom-footer {
    background-color: var(--primary-green);
    color: var(--text-light);
    padding: 1.25rem 0;
}

.bottom-footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
}

.bottom-footer-container a {
    color: var(--accent-gold);
}

.bottom-footer-container a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   SECONDARY PAGES STYLING (ABOUT, CONTACT, DETAILS, ETC.)
   ========================================================================== */

/* Page Hero */
.page-hero {
    background-color: var(--primary-green);
    color: var(--text-light);
    padding: 2.5rem 0;
    border-bottom: 3px solid var(--accent-gold);
}

.page-hero-container h2 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.breadcrumbs {
    display: flex;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: var(--accent-gold);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span::before {
    content: '/';
    margin-right: 0.4rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Split Layout */
.page-layout-split {
    display: grid;
    grid-template-columns: 3fr 1.12fr;
    gap: 2.5rem;
}

/* Sidebar Menu */
.sidebar {
    position: sticky;
    top: 80px;
}

.sidebar-widget {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.sidebar-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-cream);
    padding-bottom: 0.4rem;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sidebar-menu-item a {
    display: block;
    padding: 0.55rem 0.85rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition-fast);
}

.sidebar-menu-item a:hover, .sidebar-menu-item.active a {
    background-color: var(--primary-green);
    color: var(--text-light);
}

/* About Us Layout elements */
.about-box {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.about-box h3 {
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.4rem;
}

.about-box p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-box ul {
    list-style: none;
    margin-bottom: 1.25rem;
}

.about-box ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
}

.about-box ul li i {
    color: var(--primary-green);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem 2rem;
    margin-bottom: 1rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    border: 3px solid var(--bg-cream);
    z-index: 5;
}

.timeline-item:nth-child(odd) .timeline-marker {
    left: 100%;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: 0%;
}

.timeline-content {
    background-color: var(--bg-white);
    padding: 1.15rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    position: relative;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.2rem;
}

.timeline-title {
    font-size: 0.98rem;
    margin-bottom: 0.35rem;
}

.timeline-text {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Contacts Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 2.5rem;
}

.contact-info-card {
    background-color: var(--primary-green);
    color: var(--text-light);
    border-radius: var(--border-radius-md);
    padding: 2rem;
}

.contact-info-card h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

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

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

.contact-info-item .icon-box {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.contact-info-item h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.contact-info-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.contact-form-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2rem;
}

.contact-form-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.contact-form-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    outline: none;
    font-size: 0.9rem;
    background-color: #fff;
}

.form-control:focus {
    border-color: var(--primary-green);
}

.map-wrapper {
    margin-top: 2rem;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.alert {
    padding: 0.85rem 1.15rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.25rem;
    font-weight: 500;
    font-size: 0.88rem;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* Banking Calculator */
.calc-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    margin-bottom: 2rem;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.calc-slider-group {
    display: flex;
    flex-direction: column;
}

.calc-slider-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}

.calc-slider-header span.val {
    color: var(--primary-green);
    font-weight: 700;
}

.calc-slider {
    width: 100%;
    height: 5px;
    background-color: #e2e5df;
    outline: none;
    border-radius: 2px;
    cursor: pointer;
    -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-green);
    border: 2px solid var(--accent-gold);
}

.calc-results {
    background-color: #fbfbfa;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px dashed var(--border-color);
}

.calc-result-item {
    margin-bottom: 1.25rem;
}

.calc-result-item:last-child {
    margin-bottom: 0;
}

.calc-result-item .label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.calc-result-item .val {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary-green);
    font-family: var(--font-heading);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dual-layout {
        grid-template-columns: 1fr;
    }
    
    .app-promo-layout {
        grid-template-columns: 1fr 1.5fr;
    }
    
    .app-phone-col {
        display: none;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.65rem;
    }
    
    .top-bar {
        display: none; /* Hide top bar on mobile */
    }
    
    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.85rem;
        width: 100%;
    }
    
    .logo-wrapper a {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem !important;
    }
    
    .logo-img {
        height: 60px;
        margin: 0 auto;
    }
    
    .logo-text h1 {
        font-size: 1.25rem;
        text-align: center;
    }
    
    .logo-text .slogan {
        font-size: 0.7rem;
        text-align: center;
    }
    
    .header-actions {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
    }
    
    .search-box {
        flex-grow: 1;
        min-width: 150px;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .search-box input:focus {
        width: 100%;
    }
    
    .lang-select {
        flex-grow: 1;
        max-width: 120px;
    }
    
    .header-actions .btn-primary {
        width: 100%;
        margin-top: 0.25rem;
    }
    
    /* Mobile Menu Drawer */
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-container {
        justify-content: flex-end;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 270px;
        height: calc(100vh - 55px);
        background-color: var(--primary-green);
        flex-direction: column;
        transition: left 0.3s ease;
        box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
        overflow-y: auto;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-link {
        padding: 0.85rem 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.15);
        display: none;
        border-top: none;
        border-radius: 0;
        border: none;
    }
    
    .nav-item.open-mobile-submenu .dropdown-menu {
        display: block;
    }
    
    .dropdown-item a {
        padding-left: 2rem;
        color: rgba(255,255,255,0.85);
        border-bottom: 1px solid rgba(255,255,255,0.03);
    }
    
    /* Hero */
    .hero-slider {
        height: 320px;
    }
    
    .slide-content h2 {
        font-size: 1.85rem;
    }
    
    .slide-content p {
        font-size: 0.95rem;
    }
    
    /* App download promo */
    .app-promo-card {
        padding: 1.5rem;
    }
    
    .app-promo-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .app-actions-card {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-layout-split {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 35px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(odd) {
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-marker,
    .timeline-item:nth-child(even) .timeline-marker {
        left: 15px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .app-actions-card {
        grid-template-columns: 1fr;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Stats Grid Layout styling */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .logo-text .slogan {
        font-size: 0.65rem;
    }
}
