:root {
    --primary-color: #1e3799;
    --secondary-color: #0984e3;
    --accent-color: #00b894;
    --text-color: #2d3436;
    --light-bg: #f5f6fa;
    --gradient-primary: linear-gradient(135deg, #1e3799 0%, #0984e3 100%);
    --gradient-secondary: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    --box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --primary-color-rgb: 30, 55, 153;
    --accent-color-rgb: 0, 184, 148;
    --overlay-bg: rgba(0, 0, 0, 0.5);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-font-smoothing: antialiased;
    background-color: var(--light-bg);
    scroll-behavior: smooth;
    position: relative;
}

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

/* Top Bar */


.top-bar {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .social-links a {
    color: white;
    margin-left: 20px;
    font-size: 18px;
    opacity: 0.9;
    transition: var(--transition);
}

.top-bar .social-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 15px 0;
    margin-top: 10px;
    background: #fff;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    padding: 10px 25px;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #1a237e;
    transform: translateX(5px);
}

.dropdown-toggle::after {
    transition: transform 0.2s ease;
}

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

.navbar.navbar-scrolled {
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar .logo {
    height: 45px;
    transition: var(--transition);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-toggler {
    border: none;
    background: transparent;
    padding: 8px 12px;
    color: var(--primary-color);
    font-size: 24px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 20px !important;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 70%;
}

.btn-sign-in {
    background: var(--gradient-secondary);
    color: white !important;
    border-radius: 25px;
    padding: 10px 25px !important;
    box-shadow: 0 4px 15px rgba(0,184,148,0.2);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.btn-sign-in:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,184,148,0.3);
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-radius: 0 0 10px 10px;
    }

    .nav-link {
        padding: 12px 20px;
        border-radius: 8px;
    }

    .nav-link:hover {
        background: var(--light-bg);
    }
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.95) 0%, rgba(240, 242, 245, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('images/pattern-bg.svg') no-repeat center right;
    opacity: 0.05;
    z-index: 0;
}

.hero-section h1 {
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero-section p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.hero-section img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-section img:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 50px rgba(0,0,0,0.2);
}
.hero-section {
    background: linear-gradient(rgba(212, 175, 55, 0.7), rgba(30, 55, 153, 0.8)), url('images/gold loan.jpg') no-repeat center center/cover;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 5;
    height: 423px;
    width: 1546px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('assets/hero-pattern.png') no-repeat center right;
    opacity: 0.1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    z-index: -1;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.hero-section .cta-buttons {
    margin-bottom: 10px;
}

.hero-section .feature-box {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.search-box {
    position: relative;
    margin-top: 40px;
    max-width: 600px;
}

.search-box input {
    padding: 20px 25px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
}

.btn-search {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--gradient-secondary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-search:hover {
    transform: translateX(2px);
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 3px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: var(--transition);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.product-card:hover .icon-wrapper {
    background: var(--gradient-secondary);
}

.icon-wrapper i {
    font-size: 35px;
    color: var(--primary-color);
    transition: var(--transition);
}

.product-card:hover .icon-wrapper i {
    color: white;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

.feature-item {
    text-align: center;
    padding: 40px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--light-bg);
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 45px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

/* Section Styling */
.section-subtitle {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

/* Loan Products Section Styling */
.loan-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.loan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.loan-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: var(--transition);
}

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

.loan-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.loan-card p {
    flex-grow: 1;
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Partner Banks Section Styling */
.partner-banks-section {
    background-color: white;
    padding: 80px 0;
}

.bank-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.bank-logo-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.bank-logo {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.bank-logo-container:hover .bank-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-secondary);
    margin-top: 20px;
    border-radius: 3px;
}

/* Chat Icon */
.chat-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.chat-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.6;
    transform: scale(0);
    transition: transform 0.5s ease;
}

.chat-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.chat-icon:hover::before {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}
.chat-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,184,148,0.3);
    transition: var(--transition);
}

.chat-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Footer Styles */

/* Footer */
.footer {
    background: #151965;
    color: white;
    padding: 80px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
}

.footer h5 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: var(--transition);
}

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

.footer .social-links {
    margin-top: 25px;
}

.footer .social-links a {
    color: white;
    margin-right: 20px;
    font-size: 22px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer .social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* Newsletter Box */
.newsletter-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: 0;
}

.newsletter-box h4 {
    font-weight: 600;
    color: white;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    height: 50px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn {
    height: 50px;
    padding-left: 25px;
    padding-right: 25px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.app-download img {
    border-radius: 8px;
    background: white;
    padding: 5px;
}

.app-download .btn {
    width: 100%;
    text-align: left;
    border-radius: 6px;
    transition: var(--transition);
}

.app-download .btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Chat Window */
.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    z-index: 1000;
}

.chat-header {
    background: var(--gradient-primary);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    height: 300px;
    padding: 20px;
    overflow-y: auto;
}

.chat-input {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
}

.chat-input button {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 280px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .hero-section .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .product-card {
        margin-bottom: 30px;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer .social-links {
        justify-content: center;
    }
    
    .chat-window {
        width: 300px;
        bottom: 80px;
    }
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.product-card {
    animation: float 5s ease-in-out infinite;
}

/* Smooth Navigation Transitions */
.navbar-nav .nav-link {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 5px;
}

/* Dropdown Menu Animations */
.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

.dropdown-item {
    transition: all 0.2s ease;
    padding: 10px 20px;
}

.dropdown-item:hover {
    background-color: rgba(13, 110, 253, 0.1);
    transform: translateX(5px);
}

/* Smooth Button Transitions */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Social Links Animation */
.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #0d6efd;
}

/* Enhanced Loan Products Section */
.loan-products-section {
    padding: 100px 0;
    background-color: var(--light-bg);
    position: relative;
    z-index: 10 !important;
    display: block !important;
    overflow: visible;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Section Header Styling */
.loan-products-section .section-header {
    margin-bottom: 60px;
    position: relative;
}

.loan-products-section .section-subtitle {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.loan-products-section .section-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.loan-products-section .section-description {
    max-width: 600px;
    margin: 0 auto 20px;
    color: #546e7a;
    font-size: 1.1rem;
}

.loan-products-section .section-divider {
    height: 4px;
    width: 80px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin-top: 20px;
}

/* Product Card Styling */
.loan-products-section .product-card {
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background: #fff;
    transform: translateY(0);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.loan-products-section .product-card-inner {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.loan-products-section .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(var(--primary-color-rgb), 0.05) 0%, rgba(var(--primary-color-rgb), 0) 100%);
    transition: all 0.4s ease;
    z-index: 1;
}

.loan-products-section .product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.loan-products-section .product-card:hover::before {
    height: 100%;
}

.loan-products-section .icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(9, 132, 227, 0.15);
}

.loan-products-section .icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 50%;
    transform: scale(0);
}

.loan-products-section .icon-wrapper i {
    font-size: 28px;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.loan-products-section .product-card:hover .icon-wrapper::after {
    opacity: 1;
    transform: scale(1);
}

.loan-products-section .product-card:hover .icon-wrapper i {
    color: #ffffff;
}

.loan-products-section .product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.loan-products-section .rate-badge {
    display: inline-block;
    background: var(--gradient-secondary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 184, 148, 0.15);
}

.loan-products-section .product-card p {
    color: #546e7a;
    margin-bottom: 20px;
    flex-grow: 1;
}

.loan-products-section .product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.loan-products-section .product-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    color: #455a64;
}

.loan-products-section .product-features li i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 0.9rem;
    margin-top: 4px;
}

.loan-products-section .btn {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 8px 15px rgba(9, 132, 227, 0.2);
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: auto;
}

.loan-products-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(9, 132, 227, 0.3);
}

.loan-products-section .btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.loan-products-section .btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 15px rgba(9, 132, 227, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .loan-products-section {
        padding: 80px 0;
    }
    
    .loan-products-section .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991px) {
    .loan-products-section {
        padding: 70px 0;
    }
    
    .loan-products-section .section-title {
        font-size: 2rem;
    }
    
    .loan-products-section .product-card-inner {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .loan-products-section {
        padding: 60px 0;
    }
    
    .loan-products-section .section-title {
        font-size: 1.8rem;
    }
    
    .loan-products-section .section-subtitle {
        font-size: 0.9rem;
    }
    
    .loan-products-section .section-description {
        font-size: 1rem;
    }
    
    .loan-products-section .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .loan-products-section .icon-wrapper i {
        font-size: 24px;
    }
    
    .loan-products-section .product-card {
        margin-bottom: 20px;
    }
    
    .loan-products-section .product-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 575px) {
    .loan-products-section {
        padding: 50px 0;
    }
    
    .loan-products-section .section-title {
        font-size: 1.6rem;
    }
    
    .loan-products-section .product-card-inner {
        padding: 20px;
    }
    
    .loan-products-section .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Ensure AOS animations don't hide elements */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    -webkit-transform: none !important;
}

/* PWA Specific Styles */
/* Prevent text selection for most elements */
.navbar, .btn, .product-card, .footer, .icon-wrapper, 
.section-header, .hero-section, .top-bar {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Loan Products Section */
.loan-products-section {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.loan-products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/pattern-bg.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.03;
    z-index: 0;
}

.section-header {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.section-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.loan-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    z-index: 1;
}

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

.loan-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.loan-card-body {
    padding: 25px;
}

.loan-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.loan-card-text {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.loan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.loan-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.loan-features li i {
    color: var(--accent-color);
    margin-right: 10px;
}

.loan-card .btn {
    transition: all 0.3s ease;
}

.loan-card .btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 55, 153, 0.3);
}
.loan-products-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 3px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.loan-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.loan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.loan-card-img {
    height: 200px;
    overflow: hidden;
}

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

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

.loan-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.loan-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.loan-card-text {
    color: #6c757d;
    margin-bottom: 20px;
}

.loan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.loan-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.loan-features li i {
    color: var(--accent-color);
    margin-right: 10px;
}

.loan-card .btn {
    margin-top: auto;
}

/* Partner Banks Section */
.partner-banks-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.bank-logos {
    margin-bottom: 50px;
}

.bank-logo-item {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.bank-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.bank-logo-item img {
    max-height: 60px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.bank-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.benefit-icon {
    color: var(--primary-color);
}

.benefit-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Add bottom app bar for mobile */
.mobile-app-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 12px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.mobile-app-bar .container {
    display: flex;
    justify-content: space-between;
}

.mobile-app-bar .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.7rem;
    padding: 0 5px;
    color: var(--text-color);
    text-decoration: none;
}

.mobile-app-bar .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.mobile-app-bar .nav-item.active {
    color: var(--primary-color);
}

/* Mobile App Gestures & Interactions */
.pull-to-refresh {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.9);
    transform: translateY(-100%);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.pull-to-refresh i {
    color: var(--primary-color);
    font-size: 24px;
    animation: spin 1.5s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* App-like transitions */
.page-transition {
    animation: fadeInUp 0.3s ease;
}

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

/* Media queries for PWA mobile experience */
@media (max-width: 767px) {
    body {
        padding-bottom: 60px; /* Space for bottom app bar */
    }
    
    .mobile-app-bar {
        display: block;
    }
    
    /* Hide top bar on mobile for app-like experience */
    .top-bar {
        display: none;
    }
    
    /* Make navbar more app-like with larger icons */
    .navbar {
        padding: 15px 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .navbar .logo {
        height: 40px;
    }
    
    /* Enhance touch targets for better mobile experience */
    .btn, .nav-link, .product-card a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve mobile form inputs */
    input, select, textarea {
        font-size: 16px !important; /* Prevent zoom on iOS */
        border-radius: 12px;
        padding: 12px 15px;
    }
    
    /* Add pull-to-refresh indicator */
    .pull-indicator {
        height: 3px;
        background: var(--gradient-primary);
        width: 0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        transition: width 0.3s ease;
    }
}

/* PWA Installation Prompt */
.pwa-install-prompt {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    z-index: 9999;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
    transform: translateY(0);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.prompt-content {
    padding: 20px;
}

.prompt-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.prompt-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 12px;
}

.prompt-title h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.prompt-title p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.close-prompt {
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
}

.prompt-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.prompt-body p {
    margin: 0;
    font-size: 14px;
}

.prompt-body .btn {
    padding: 8px 20px;
}

@media (max-width: 575px) {
    .pwa-install-prompt {
        left: 10px;
        right: 10px;
        bottom: 70px; /* Adjust to be above the app bar */
    }
}

/* Feature Boxes in Hero Section */
.feature-box {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.feature-box:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.feature-box h5 {
    color: white;
    font-weight: 600;
}

.feature-box p {
    color: rgba(255, 255, 255, 0.9);
}

.icon-box {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.product-card {
    animation: float 5s ease-in-out infinite;
}

/* Smooth Navigation Transitions */
.navbar-nav .nav-link {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 5px;
}

/* Dropdown Menu Animations */
.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

.dropdown-item {
    transition: all 0.2s ease;
    padding: 10px 20px;
}

.dropdown-item:hover {
    background-color: rgba(13, 110, 253, 0.1);
    transform: translateX(5px);
}

/* Smooth Button Transitions */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Social Links Animation */
.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #0d6efd;
}

/* Enhanced Loan Products Section */
.loan-products-section {
    padding: 100px 0;
    background-color: var(--light-bg);
    position: relative;
    z-index: 10 !important;
    display: block !important;
    overflow: visible;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Section Header Styling */
.loan-products-section .section-header {
    margin-bottom: 60px;
    position: relative;
}

.loan-products-section .section-subtitle {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.loan-products-section .section-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.loan-products-section .section-description {
    max-width: 600px;
    margin: 0 auto 20px;
    color: #546e7a;
    font-size: 1.1rem;
}

.loan-products-section .section-divider {
    height: 4px;
    width: 80px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin-top: 20px;
}

/* Product Card Styling */
.loan-products-section .product-card {
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background: #fff;
    transform: translateY(0);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.loan-products-section .product-card-inner {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.loan-products-section .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(var(--primary-color-rgb), 0.05) 0%, rgba(var(--primary-color-rgb), 0) 100%);
    transition: all 0.4s ease;
    z-index: 1;
}

.loan-products-section .product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.loan-products-section .product-card:hover::before {
    height: 100%;
}

.loan-products-section .icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(9, 132, 227, 0.15);
}

.loan-products-section .icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 50%;
    transform: scale(0);
}

.loan-products-section .icon-wrapper i {
    font-size: 28px;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.loan-products-section .product-card:hover .icon-wrapper::after {
    opacity: 1;
    transform: scale(1);
}

.loan-products-section .product-card:hover .icon-wrapper i {
    color: #ffffff;
}

.loan-products-section .product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.loan-products-section .rate-badge {
    display: inline-block;
    background: var(--gradient-secondary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 184, 148, 0.15);
}

.loan-products-section .product-card p {
    color: #546e7a;
    margin-bottom: 20px;
    flex-grow: 1;
}

.loan-products-section .product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.loan-products-section .product-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    color: #455a64;
}

.loan-products-section .product-features li i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 0.9rem;
    margin-top: 4px;
}

.loan-products-section .btn {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 8px 15px rgba(9, 132, 227, 0.2);
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: auto;
}

.loan-products-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(9, 132, 227, 0.3);
}

.loan-products-section .btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.loan-products-section .btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 15px rgba(9, 132, 227, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .loan-products-section {
        padding: 80px 0;
    }
    
    .loan-products-section .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991px) {
    .loan-products-section {
        padding: 70px 0;
    }
    
    .loan-products-section .section-title {
        font-size: 2rem;
    }
    
    .loan-products-section .product-card-inner {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .loan-products-section {
        padding: 60px 0;
    }
    
    .loan-products-section .section-title {
        font-size: 1.8rem;
    }
    
    .loan-products-section .section-subtitle {
        font-size: 0.9rem;
    }
    
    .loan-products-section .section-description {
        font-size: 1rem;
    }
    
    .loan-products-section .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .loan-products-section .icon-wrapper i {
        font-size: 24px;
    }
    
    .loan-products-section .product-card {
        margin-bottom: 20px;
    }
    
    .loan-products-section .product-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 575px) {
    .loan-products-section {
        padding: 50px 0;
    }
    
    .loan-products-section .section-title {
        font-size: 1.6rem;
    }
    
    .loan-products-section .product-card-inner {
        padding: 20px;
    }
    
    .loan-products-section .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Ensure AOS animations don't hide elements */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    -webkit-transform: none !important;
}

/* PWA Specific Styles */
/* Prevent text selection for most elements */
.navbar, .btn, .product-card, .footer, .icon-wrapper, 
.section-header, .hero-section, .top-bar {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Loan Products Section */
.loan-products-section {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.loan-products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/pattern-bg.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.03;
    z-index: 0;
}

.section-header {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.section-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.loan-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    z-index: 1;
}

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

.loan-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.loan-card-body {
    padding: 25px;
}

.loan-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.loan-card-text {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.loan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.loan-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.loan-features li i {
    color: var(--accent-color);
    margin-right: 10px;
}

.loan-card .btn {
    transition: all 0.3s ease;
}

.loan-card .btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 55, 153, 0.3);
}
.loan-products-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 3px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.loan-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.loan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.loan-card-img {
    height: 200px;
    overflow: hidden;
}

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

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

.loan-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.loan-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.loan-card-text {
    color: #6c757d;
    margin-bottom: 20px;
}

.loan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.loan-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.loan-features li i {
    color: var(--accent-color);
    margin-right: 10px;
}

.loan-card .btn {
    margin-top: auto;
}

/* Partner Banks Section */
.partner-banks-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.bank-logos {
    margin-bottom: 50px;
}

.bank-logo-item {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.bank-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.bank-logo-item img {
    max-height: 60px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.bank-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.benefit-icon {
    color: var(--primary-color);
}

.benefit-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Add bottom app bar for mobile */
.mobile-app-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 12px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.mobile-app-bar .container {
    display: flex;
    justify-content: space-between;
}

.mobile-app-bar .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.7rem;
    padding: 0 5px;
    color: var(--text-color);
    text-decoration: none;
}

.mobile-app-bar .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.mobile-app-bar .nav-item.active {
    color: var(--primary-color);
}

/* Mobile App Gestures & Interactions */
.pull-to-refresh {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.9);
    transform: translateY(-100%);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.pull-to-refresh i {
    color: var(--primary-color);
    font-size: 24px;
    animation: spin 1.5s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* App-like transitions */
.page-transition {
    animation: fadeInUp 0.3s ease;
}

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

/* Media queries for PWA mobile experience */
@media (max-width: 767px) {
    body {
        padding-bottom: 60px; /* Space for bottom app bar */
    }
    
    .mobile-app-bar {
        display: block;
    }
    
    /* Hide top bar on mobile for app-like experience */
    .top-bar {
        display: none;
    }
    
    /* Make navbar more app-like with larger icons */
    .navbar {
        padding: 15px 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .navbar .logo {
        height: 40px;
    }
    
    /* Enhance touch targets for better mobile experience */
    .btn, .nav-link, .product-card a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve mobile form inputs */
    input, select, textarea {
        font-size: 16px !important; /* Prevent zoom on iOS */
        border-radius: 12px;
        padding: 12px 15px;
    }
    
    /* Add pull-to-refresh indicator */
    .pull-indicator {
        height: 3px;
        background: var(--gradient-primary);
        width: 0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        transition: width 0.3s ease;
    }
}

/* PWA Installation Prompt */
.pwa-install-prompt {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    z-index: 9999;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
    transform: translateY(0);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.prompt-content {
    padding: 20px;
}

.prompt-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.prompt-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 12px;
}

.prompt-title h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.prompt-title p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.close-prompt {
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
}

.prompt-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.prompt-body p {
    margin: 0;
    font-size: 14px;
}

.prompt-body .btn {
    padding: 8px 20px;
}

@media (max-width: 575px) {
    .pwa-install-prompt {
        left: 10px;
        right: 10px;
        bottom: 70px; /* Adjust to be above the app bar */
    }
}
