/* 1. VARIABLES */
:root {
    /* Colors */
    --primary-color: #1E40AF;
    /* Professional Blue */
    --accent-color: #F59E0B;
    /* Gold/Orange */
    --accent-hover: #DC2626;
    --success-color: #10B981;
    --error-color: #EF4444;

    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-dark: #111827;

    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-white: #FFFFFF;

    --border-color: #E5E7EB;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 80px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease-in-out;

    /* Header */
    --header-height: 96px;
}

/* 2. RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* 3. TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 32px;
    font-weight: 700;
}

h2 {
    font-size: 28px;
    font-weight: 700;
}

h3 {
    font-size: 20px;
    font-weight: 600;
}

@media (min-width: 1024px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 24px;
    }
}

p {
    margin-bottom: var(--spacing-md);
}

/* 4. LAYOUT UTILITIES */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

.section {
    padding: var(--spacing-2xl) 0;
}

@media (min-width: 1024px) {
    .section {
        padding: var(--spacing-3xl) 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    margin-top: var(--spacing-sm);
}

.about-content {
    margin-top: 24px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-content ul {
    padding-left: 20px;
}

.about-subheading {
    color: var(--text-primary);
    margin-top: 24px;
}

@media (max-width: 768px) {
    .about-content {
        font-size: 15px;
        padding: 0 8px;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .about-content {
        font-size: 14px;
        padding: 0 6px;
    }
}

/* 5. COMPONENTS */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

.btn-text-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.btn-text-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* 6. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
}

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

@media (min-width: 768px) {
    .header {
        height: 110px;
    }
    :root { --header-height: 110px; }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .logo {
        gap: 12px;
        font-size: 20px;
    }
}

.logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo-img {
        height: 84px;
    }
}



.nav-menu {
    display: none;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: block;
    }
}

.nav-menu.open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    background-color: white;
    padding: 20px;
    box-shadow: var(--shadow-lg);
}

.nav-menu.open .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.nav-list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .header-cta {
        gap: 16px;
    }
}

.header-cta .btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .header-cta .btn {
        padding: 12px 32px;
        font-size: 16px;
    }
}

.btn-whatsapp-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.mobile-toggle {
    display: block;
    font-size: 20px;
    cursor: pointer;
    color: var(--primary-color);
    padding: 8px;
}

@media (min-width: 768px) {
    .mobile-toggle {
        font-size: 24px;
    }
}

@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-fast);
}

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

.dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    color: var(--text-primary);
    font-size: 14px;
}

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

/* 7. HERO SECTION */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 40px;
    background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    /* Placeholder */
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 500px;
    display: flex;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .hero {
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 60px;
        min-height: 600px;
        align-items: center;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(17, 24, 39, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}
#about-hero .hero-content {
    padding: 0 16px;
}

#about-hero .hero-title {
    font-size: clamp(24px, 6vw, 42px);
}

#about-hero .hero-subtitle {
    font-size: clamp(14px, 3.8vw, 20px);
}

.hero-title {
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 28px;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .hero-trust-indicators {
        gap: 24px;
        margin-bottom: 40px;
    }
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
}

.badge-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

@media (max-width: 768px) {
    .badge-title { font-size: 14px; }
    .badge-subtitle { font-size: 12px; }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 24px;
    }
}

/* Enhanced button styles for hero section */
.hero-buttons .btn-outline {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 1);
    color: white;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.hero-buttons .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-buttons .btn-text-link {
    background-color: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.hero-buttons .btn-text-link:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cta-note {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 14px;
}

@media (min-width: 768px) {
    .cta-note { font-size: 15px; }
}

/* 8. SECTIONS */

/* Products */
.products {
    background-color: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.product-card:active {
    transform: translateY(-2px);
}

.product-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-name {
    font-size: 18px;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.product-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.product-link:hover {
    gap: 8px;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    text-align: center;
    padding: 24px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 24px;
}

.feature-title {
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-secondary);
}

/* How It Works */
.how-it-works {
    background: linear-gradient(to bottom, #F0F9FF, #FFFFFF);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    margin-bottom: 48px;
}

@media (min-width: 1024px) {
    .steps-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.step-card {
    text-align: center;
    flex: 1;
    position: relative;
    max-width: 280px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 16px;
    background: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: 0;
    right: 0;
    transform: none;
    background: var(--accent-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.step-arrow {
    display: none;
    color: var(--text-secondary);
    font-size: 24px;
    margin-top: 40px;
}

@media (min-width: 1024px) {
    .step-arrow {
        display: block;
    }
}

.center-cta {
    text-align: center;
}

/* DSA Section */
.dsa-section {
    background-color: var(--primary-color);
    color: white;
}

.dsa-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

@media (min-width: 1024px) {
    .dsa-container {
        flex-direction: row;
        align-items: center;
    }
}

.dsa-image {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dsa-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.dsa-content {
    flex: 1;
}

.dsa-title {
    color: white;
}

.dsa-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.dsa-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .dsa-benefits {
        grid-template-columns: 1fr 1fr;
    }
}

.dsa-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.dsa-benefits i {
    color: var(--accent-color);
}

/* Trust Section */
.trust-section {
    overflow-x: hidden;
}

.trust-section .container {
    overflow-x: hidden;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Show 6 logos per row on desktop */
    gap: 24px;
    margin-bottom: 60px;
    justify-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.kyc-section {
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.kyc-section .container {
    overflow-x: hidden;
}

.kyc-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    justify-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.kyc-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 110px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kyc-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.kyc-logo img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.kyc-text {
    font-weight: 600;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .kyc-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .kyc-logo {
        height: 96px;
    }
    .kyc-logo img {
        max-width: 100px;
        max-height: 50px;
    }
}

/* Show limited items until expanded */
@media (min-width: 1024px) {
    .kyc-logos:not(.expanded) .kyc-logo:nth-child(n+7) { display: none; }
}

@media (max-width: 1023px) {
    .kyc-logos:not(.expanded) .kyc-logo:nth-child(n+5) { display: none; }
}

/* Partners logos responsive behavior */
.partners-logos {
    position: relative;
    overflow: hidden;
    max-height: 400px; /* Show approximately 4 rows on desktop */
    transition: max-height 0.5s ease-in-out;
}

.partners-logos.expanded {
    max-height: none;
}

/* Mobile responsiveness for bank logos */
@media (max-width: 768px) {
    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 40px;
        padding: 0;
        max-height: 200px; /* Show 2 rows (4 logos) on mobile */
    }
    
    .partner-logo {
        padding: 16px 12px;
        min-height: 80px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .bank-logo {
        max-width: 90px;
        max-height: 45px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .kyc-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0;
    }
    
    .kyc-logo {
        height: 90px;
        width: 100%;
        max-width: 100%;
        padding: 8px;
    }
    
    .kyc-logo img {
        max-width: 85px;
        max-height: 45px;
    }
}

/* Tablet responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .partners-logos {
        grid-template-columns: repeat(4, 1fr);
        max-height: 300px; /* Show 3 rows (12 logos) on tablet */
    }
}

@media (max-width: 480px) {
    .partners-logos {
        gap: 12px;
        padding: 0;
        max-height: 180px; /* Slightly smaller on very small screens */
    }
    
    .partner-logo {
        padding: 12px 8px;
        min-height: 70px;
    }
    
    .bank-logo {
        max-width: 80px;
        max-height: 40px;
    }
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

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

.bank-logo {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-fit: contain;
}

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

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    text-align: center;
    padding: 24px;
    background: var(--bg-light);
    border-radius: 12px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .stat-card {
        padding: 16px;
    }
    .stat-number {
        font-size: 28px;
    }
    .stat-label {
        font-size: 12px;
    }
}

/* Inquiry Form */
.inquiry-section {
    background-color: var(--bg-light);
}

.inquiry-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.form-title {
    text-align: center;
    margin-bottom: 8px;
}

.form-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .contact-container {
        grid-template-columns: 40% 60%;
    }
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.contact-details p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.contact-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: #D1D5DB;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    height: 96px;
}

@media (max-width: 768px) {
    .footer-logo .logo-img {
        height: 80px;
    }
}

.footer-desc {
    margin-bottom: 24px;
    max-width: 300px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 24px;
}

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

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

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

/* 9. FLOATING ELEMENTS */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    transition: var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Enhanced Form Styling */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.checkbox-group {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 25px 0;
    padding: 20px;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.consent-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 2px;
}

.consent-group label {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.product-fields {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border: 1px solid #e9ecef;
}

.product-fields h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.form-group select,
.form-group input {
    transition: all 0.3s ease;
}

.form-group select:focus,
.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}/* Mobi
le Responsive Improvements for Quick Loan Inquiry */
@media (max-width: 768px) {
    .inquiry-section {
        padding: 30px 0;
    }
    
    .inquiry-card {
        padding: 25px 20px;
        margin: 0 15px;
        border-radius: 12px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .form-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group input,
    .form-group select {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .checkbox-group {
        margin-top: 10px;
    }
    
    .checkbox-group label {
        font-size: 13px;
    }
    
    .btn-full {
        padding: 16px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .inquiry-card {
        padding: 20px 15px;
        margin: 0 10px;
    }
    
    .form-title {
        font-size: 22px;
    }
    
    .form-group input,
    .form-group select {
        padding: 12px 14px;
    }
}/* Prod
uct Fields Mobile Responsiveness */
@media (max-width: 768px) {
    .product-fields {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .product-fields h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
}

/* Header mobile improvements */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }
    
    .logo-img {
        height: 64px;
    }
    
    .nav-menu {
        padding: 15px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Form validation error styling for mobile */
@media (max-width: 768px) {
    .form-group.error input,
    .form-group.error select,
    .form-group.error textarea {
        border-width: 2px;
    }
    
    .error-message {
        font-size: 11px;
        margin-top: 3px;
    }
}/* Co
ntact Details Enhancement */
.contact-details p {
    margin-bottom: 5px;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}
/* View All button styling for partners section */
.trust-section .center-cta {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    margin: 30px auto 20px auto;
    width: 100%;
    text-align: center;
    clear: both;
}

.trust-section .btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.trust-section .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.trust-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Fade effect for hidden logos */
.partners-logos::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, var(--bg-color));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.partners-logos.expanded::after {
    opacity: 0;
}
/* Responsive adjustments for trust section button */
@media (max-width: 768px) {
    .trust-section .center-cta {
        margin: 25px auto 15px auto;
        padding: 0 20px;
    }
    
    .trust-section .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .trust-section .center-cta {
        margin: 20px auto 10px auto;
        padding: 0 15px;
    }
    
    .trust-section .btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}
.eligibility-section {
    background-color: var(--bg-light);
}

.eligibility-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.eligibility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

@media (max-width: 768px) {
    .eligibility-card { padding: 22px; }
    .eligibility-grid { grid-template-columns: 1fr; gap: 12px 0; }
}

.eligibility-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

.eligibility-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.eligibility-note {
    margin-top: 18px;
    color: var(--text-secondary);
    font-size: 14px;
}
