/* Root Variables */
:root {
    --primary-color: #B01F24;
    --secondary-color: #0C8142;
    --dark-navy: rgba(227, 15, 15, 0.5);
    --light-gray: #f5f5f5;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #ddd;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

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

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, rgba(176, 31, 36, 0.75) 0%, rgba(138, 25, 32, 0.80) 50%, rgba(12, 129, 66, 0.65) 100%),
                url('/images/header-bg.jpg') center center/cover no-repeat;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.top-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.top-links a:hover {
    color: var(--secondary-color);
}

.top-links i {
    margin-right: 5px;
}

.locations-btn {
    background-color: var(--secondary-color);
    color: white !important;
    padding: 5px 15px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 600;
}

.locations-btn:hover {
    background-color: #0a6e37;
}

/* Header */
header {
    background-color: white;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo img {
    height: 60px;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.header-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 14px;
}

.header-link:hover {
    background-color: var(--light-gray);
}

.header-link i {
    font-size: 18px;
}

.internet-banking-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.internet-banking-img {
    height: 35px;
    width: auto;
    transition: all 0.3s ease;
}

.internet-banking-link:hover .internet-banking-img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.login-btn {
    background-color: var(--secondary-color);
    color: white !important;
}

.login-btn:hover {
    background-color: #0a6e37;
}

/* Navigation */
.main-nav {
    background-color: #CB664D;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    position: relative;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu > li {
    position: relative;
    flex-shrink: 0;
}

.nav-menu > li > a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 12px;
    font-size: 13px;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li:hover > a {
    background-color: var(--primary-color);
}

.nav-menu > li > a i {
    font-size: 12px;
    margin-left: 3px;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    list-style: none;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-menu li a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: url('/images/hero-bg.jpg') center center/cover no-repeat;
    padding: 60px 0 170px 0;
    color: #000000;
    position: relative;
    overflow: visible;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.hero-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-text p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Card Showcase */
.card-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cards-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cards-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* Form Styles (keeping for newsletter) */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.form-check {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check input {
    width: auto;
}

.form-check label {
    color: var(--text-dark);
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    background-color: #8a1920;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.hero .btn-primary {
    background-color: var(--primary-color);
    color: white;
    font-size: 16px;
    padding: 14px 35px;
    box-shadow: 0 4px 12px rgba(176, 31, 36, 0.4);
}

.hero .btn-primary:hover {
    background-color: #8a1920;
    box-shadow: 0 6px 16px rgba(176, 31, 36, 0.6);
}

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

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

.quick-links .btn-outline {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(176, 31, 36, 0.4);
}

.quick-links .btn-outline:hover {
    background-color: #8a1920;
    color: white;
    border-color: #8a1920;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(176, 31, 36, 0.6);
}

.btn-block {
    width: 100%;
    background-color: var(--secondary-color);
    color: white;
}

.btn-block:hover {
    background-color: #0a6e37;
}

.btn-calculate {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
}

/* Services Section */
.services {
    position: relative;
    z-index: 100;
    margin-top: -120px;
    margin-bottom: -120px;
    padding: 0;
}

.service-cards {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2), 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 15px 50px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card {
    text-align: center;
    padding: 20px 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.service-card:hover::after {
    width: 60%;
}

.service-card:hover {
    background-color: rgba(176, 31, 36, 0.03);
    transform: translateY(-5px);
}

.service-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark-navy);
    font-weight: 600;
}

.service-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* Quick Links Section */
.quick-links {
    padding: 150px 0 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8a1920 50%, var(--secondary-color) 100%);
}

.quick-link-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.quick-link-card {
    text-align: center;
    color: white;
    padding: 30px 20px;
}

.quick-link-card i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.quick-link-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.quick-link-card p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Loan Products Section */
.loan-products {
    padding: 60px 0;
    background-color: white;
}

.section-heading {
    text-align: center;
    font-size: 32px;
    color: var(--dark-navy);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-description {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.loan-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.loan-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.loan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.loan-card-header {
    padding: 12px 15px;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.loan-card-header.green {
    background-color: #28a745;
}

.loan-card-header.red {
    background-color: #dc3545;
}

.loan-card-header.orange {
    background-color: #fd7e14;
}

.loan-card-header.brown {
    background-color: #8B4513;
}

.loan-card-header.teal {
    background-color: #20c997;
}

.loan-card-header.maroon {
    background-color: #800000;
}

.loan-card-header.purple {
    background-color: #6f42c1;
}

.loan-card-header.navy {
    background-color: var(--dark-navy);
}

.loan-card-image {
    height: 150px;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.loan-card:hover .loan-card-image img {
    transform: scale(1.05);
}

.loan-card-content {
    padding: 15px;
    flex-grow: 1;
}

.loan-card-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.loan-card-footer {
    padding: 15px;
    border-top: 1px solid #eee;
}

.loan-btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.loan-btn:hover {
    background-color: #0a6e37;
    transform: translateX(3px);
}

/* Exchange Rates Section */
.exchange-rates {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.rates-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.rates-box h2 {
    color: var(--dark-navy);
    margin-bottom: 20px;
    font-size: 24px;
}

.rates-box .date {
    color: var(--primary-color);
    font-size: 18px;
}

.rates-table {
    width: 100%;
    background-color: white;
    border-collapse: collapse;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rates-table th {
    background-color: var(--dark-navy);
    color: white;
    padding: 15px;
    text-align: left;
}

.rates-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.rates-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

.converter-box {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.converter-box h3 {
    color: var(--dark-navy);
    margin-bottom: 20px;
}

.converter-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.emi-calculator {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.emi-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.small-input {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

/* Branch Locator */
.branch-locator {
    padding: 60px 0;
    background-color: white;
}

.locator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.locator-text h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 15px;
}

.locator-text p {
    color: var(--dark-navy);
    font-size: 18px;
    margin-bottom: 30px;
}

.map-placeholder {
    background-color: var(--light-gray);
    padding: 80px;
    text-align: center;
    border-radius: 8px;
    border: 2px dashed var(--border-color);
}

.map-placeholder i {
    font-size: 80px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.map-placeholder p {
    color: var(--text-light);
    font-size: 18px;
}

/* News & Events */
.news-events {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.news-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.news-list h2,
.quick-info h2,
.sidebar-links h3 {
    color: var(--dark-navy);
    margin-bottom: 20px;
}

.news-item {
    background-color: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
}

.news-item h4 {
    color: var(--dark-navy);
    margin-bottom: 10px;
}

.news-item p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.news-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.info-item i {
    font-size: 32px;
    color: #CB664D;
}

.info-item h4 {
    color: var(--dark-navy);
    margin-bottom: 5px;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.sidebar-links ul {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 12px;
}

.sidebar-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.sidebar-links a:hover {
    color: var(--primary-color);
}

/* Statistics */
.statistics {
    padding: 80px 0;
    background-color: #f1f1f1;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.statistics .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
    color: var(--text-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.02), transparent);
    transition: left 0.6s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    background: white;
    border-color: var(--secondary-color);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.2) rotate(360deg);
}

.stat-number {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 800;
    transition: color 0.3s ease;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* Footer */
footer {
    background-color: #CB664D;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: white;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--border-color);
}

.newsletter-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

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

.phone {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 5px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .card-showcase {
        order: 2;
        margin-top: 30px;
    }

    .cards-image {
        max-width: 350px;
    }

    .service-cards {
        grid-template-columns: repeat(3, 1fr);
        padding: 30px;
    }

    .quick-link-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .loan-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .sidebar-links {
        display: none;
    }

    .section-title {
        font-size: 36px;
    }

    .stat-number {
        font-size: 36px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Top Bar */
    .top-bar {
        padding: 8px 0;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-links {
        justify-content: center;
        gap: 10px;
    }

    .top-links a {
        font-size: 12px;
    }

    .top-links a span {
        display: none;
    }

    /* Header */
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .logo img {
        height: 50px;
    }

    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .header-link {
        padding: 6px 10px;
        font-size: 13px;
    }

    .header-link span {
        display: none;
    }

    .header-link i {
        font-size: 20px;
    }

    .internet-banking-img {
        height: 30px;
    }

    /* Navigation - Mobile Menu */
    .main-nav {
        position: relative;
        min-height: 50px;
    }

    .main-nav .container {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 50px;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
        width: 44px;
        height: 44px;
        border-radius: 5px;
        background-color: rgba(255, 255, 255, 0.1);
        transition: background-color 0.3s;
    }

    .mobile-menu-btn:hover,
    .mobile-menu-btn:focus {
        background-color: rgba(255, 255, 255, 0.2);
        outline: none;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #CB664D;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        max-height: 70vh;
        overflow-y: auto;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu > li > a {
        padding: 15px 20px;
        justify-content: space-between;
    }

    .nav-menu > li:last-child,
    .nav-menu > li:nth-last-child(2) {
        display: none;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.1);
    }

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

    .dropdown-menu li a {
        padding: 12px 30px;
        color: white;
    }

    .dropdown-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

    /* Hero Section */
    .hero {
        padding: 40px 0 140px 0;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text h2 {
        font-size: 22px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .card-showcase {
        display: none;
    }

    /* Services */
    .services {
        margin-top: -100px;
        margin-bottom: -100px;
    }

    .service-cards {
        grid-template-columns: repeat(2, 1fr);
        padding: 25px 20px;
        gap: 20px;
        border-radius: 15px;
    }

    .service-card {
        padding: 15px 10px;
    }

    .service-card i {
        font-size: 36px;
    }

    .service-card h3 {
        font-size: 14px;
    }

    .service-card p {
        font-size: 12px;
    }

    /* Quick Links */
    .quick-links {
        padding: 130px 0 50px 0;
    }

    .quick-link-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quick-link-card {
        padding: 25px 15px;
    }

    .quick-link-card i {
        font-size: 48px;
    }

    .quick-link-card h3 {
        font-size: 18px;
    }

    /* Loan Products */
    .loan-products {
        padding: 50px 0;
    }

    .section-heading {
        font-size: 26px;
    }

    .section-description {
        font-size: 14px;
        padding: 0 10px;
    }

    /* Exchange Rates - Scrollable Table */
    .rates-box {
        overflow-x: auto;
    }

    .rates-table {
        min-width: 400px;
    }

    .rates-box h2 {
        font-size: 20px;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .converter-box {
        padding: 20px;
    }

    /* Branch Locator */
    .locator-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .locator-text h2 {
        font-size: 26px;
    }

    .locator-text p {
        font-size: 16px;
    }

    .map-placeholder {
        padding: 50px 20px;
    }

    .map-placeholder i {
        font-size: 60px;
    }

    /* News & Events */
    .news-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sidebar-links {
        display: block;
    }

    /* Statistics */
    .statistics {
        padding: 60px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .stat-icon {
        font-size: 36px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 14px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        font-size: 12px;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .footer-links a {
        display: inline-block;
        padding: 2px 5px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Top Bar */
    .top-bar {
        padding: 6px 0;
    }

    .top-links {
        gap: 8px;
    }

    .top-links a {
        font-size: 11px;
        padding: 4px;
    }

    .locations-btn {
        padding: 4px 10px;
        font-size: 12px;
    }

    /* Header */
    header {
        padding: 15px 0;
    }

    .logo img {
        height: 45px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-link {
        padding: 5px 8px;
    }

    .header-link i {
        font-size: 18px;
    }

    .internet-banking-img {
        height: 25px;
    }

    /* Hero */
    .hero {
        padding: 30px 0 120px 0;
    }

    .hero-text h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .hero-text h2 {
        font-size: 18px;
    }

    .hero-text p {
        font-size: 14px;
        line-height: 1.7;
    }

    .hero .btn-primary {
        padding: 12px 25px;
        font-size: 14px;
    }

    /* Services */
    .services {
        margin-top: -80px;
        margin-bottom: -80px;
    }

    .service-cards {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 15px;
        gap: 15px;
        border-radius: 12px;
    }

    .service-card {
        padding: 12px 8px;
    }

    .service-card i {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .service-card h3 {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .service-card p {
        font-size: 11px;
        display: none;
    }

    /* Quick Links */
    .quick-links {
        padding: 110px 0 40px 0;
    }

    .quick-link-card {
        padding: 20px 15px;
    }

    .quick-link-card i {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .quick-link-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .quick-link-card p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .quick-links .btn-outline {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Loan Products */
    .loan-products {
        padding: 40px 0;
    }

    .section-heading {
        font-size: 22px;
    }

    .section-description {
        font-size: 13px;
        margin-bottom: 30px;
    }

    .loan-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .loan-card-header {
        font-size: 13px;
        padding: 10px 12px;
    }

    .loan-card-image {
        height: 180px;
    }

    .loan-card-content {
        padding: 12px;
    }

    .loan-card-content p {
        font-size: 12px;
    }

    /* Exchange Rates */
    .exchange-rates {
        padding: 40px 0;
    }

    .rates-box h2 {
        font-size: 18px;
    }

    .rates-table th,
    .rates-table td {
        padding: 10px 8px;
        font-size: 13px;
    }

    .converter-box {
        padding: 15px;
    }

    .converter-box h3 {
        font-size: 16px;
    }

    .emi-calculator h3 {
        font-size: 14px;
    }

    .emi-inputs {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .converter-inputs {
        grid-template-columns: 1fr;
    }

    .small-input {
        padding: 12px 10px;
    }

    .btn-calculate {
        width: 100%;
        padding: 12px;
    }

    /* Branch Locator */
    .branch-locator {
        padding: 40px 0;
    }

    .locator-text h2 {
        font-size: 22px;
    }

    .locator-text p {
        font-size: 14px;
    }

    .map-placeholder {
        padding: 40px 15px;
    }

    .map-placeholder i {
        font-size: 50px;
    }

    .map-placeholder p {
        font-size: 14px;
    }

    /* News & Events */
    .news-events {
        padding: 40px 0;
    }

    .news-list h2,
    .quick-info h2 {
        font-size: 20px;
    }

    .news-item {
        padding: 15px;
    }

    .news-item h4 {
        font-size: 15px;
    }

    .news-item p {
        font-size: 13px;
    }

    .info-item i {
        font-size: 28px;
    }

    .info-item h4 {
        font-size: 14px;
    }

    .sidebar-links h3 {
        font-size: 18px;
    }

    .sidebar-links a {
        font-size: 13px;
    }

    /* Statistics */
    .statistics {
        padding: 50px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-item {
        padding: 15px 10px;
        border-radius: 10px;
    }

    .stat-icon {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .stat-number {
        font-size: 26px;
        margin-bottom: 5px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-item:hover {
        transform: translateY(-5px) scale(1.02);
    }

    /* Footer */
    footer {
        padding: 40px 0 15px;
    }

    .footer-col h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-col p {
        font-size: 13px;
    }

    .footer-col a {
        font-size: 13px;
    }

    .newsletter-form input {
        padding: 10px;
        font-size: 14px;
    }

    .newsletter-form .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .phone {
        font-size: 18px;
    }

    .footer-bottom {
        padding-top: 15px;
        font-size: 11px;
    }

    .footer-links a {
        font-size: 11px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 22px;
    }

    .hero-text h2 {
        font-size: 16px;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .service-card p {
        display: block;
    }

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

    .stat-item {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
        padding: 15px;
    }

    .stat-icon {
        margin-bottom: 0;
    }

    .stat-info {
        flex: 1;
    }
}

/* Landscape Mobile Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 30px 0 100px 0;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    .hero-text h2 {
        font-size: 16px;
    }

    .hero-text p {
        display: none;
    }

    .nav-menu {
        max-height: 50vh;
    }
}

/* High Resolution Displays */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .hero-text h2 {
        font-size: 32px;
    }

    .section-title {
        font-size: 48px;
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .main-nav,
    .hero,
    .card-showcase,
    footer {
        display: none;
    }

    .services {
        margin: 0;
    }

    .service-cards {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .stat-item:hover .stat-icon {
        transform: none;
    }

    .stat-item:hover {
        transform: none;
    }
}
