@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Roboto:wght@400;500;700;900&display=swap');

:root {
    --primary-color: #293086;
    /* Corporate Deep Blue */
    --secondary-color: #046BD2;
    /* Action Blue */
    --accent-color: #25D366;
    /* WhatsApp Green */
    --text-color: #334155;
    --heading-color: #1e293b;
    --light-bg: #f1f5f9;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--white);
    color: var(--text-color);
    font-family: 'Lora', serif;
    /* Body text in Lora */
    line-height: 1.6;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4,
h5,
h6,
.btn,
nav,
label {
    font-family: 'Roboto', sans-serif;
    /* Headings in Roboto */
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-item {
    text-decoration: none;
    color: var(--heading-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-item:hover {
    color: var(--secondary-color);
}

.lang-switch {
    display: flex;
    gap: 8px;
    border-left: 1px solid #cbd5e1;
    padding-left: 1rem;
}

.lang-switch a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s;
    font-family: 'Roboto', sans-serif;
}

.lang-switch a:hover,
.lang-switch a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: #475569;
}

.trust-signals {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    font-family: 'Roboto', sans-serif;
}

.trust-item i {
    color: var(--accent-color);
}

/* Hero Form Card */
.hero-form-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hero-form-card h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.hero-form-card .subtitle {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-family: 'Roboto', sans-serif;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--heading-color);
}

.form-control {
    width: 100%;
    padding: 0.65rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(4, 107, 210, 0.1);
}

.submit-btn {
    width: 100%;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Roboto', sans-serif;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: #0352a1;
}

/* Features/Services Section */
.features {
    padding: 4rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #64748b;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s;
    border-top: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top-color: var(--accent-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #ecfdf5;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.2);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Repayment Table Section */
.repayment-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.repayment-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Roboto', sans-serif;
    min-width: 600px;
}

.repayment-table th {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.repayment-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.repayment-table tr:last-child td {
    border-bottom: none;
}

.repayment-table tr:nth-child(even) {
    background-color: #f8fafc;
}

/* Process Section */
.process-section {
    padding: 4rem 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step-card {
    position: relative;
    padding: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 4px 10px rgba(4, 107, 210, 0.3);
}

.step-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.disclaimer {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Sticky Bottom Bar Mobile */
.sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #293086, #046BD2);
    padding: 1rem;
    z-index: 999;
    text-align: center;
}

.sticky-btn {
    display: block;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    padding: 0.8rem;
    border-radius: 8px;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .trust-signals {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

    /* Keep lang switch visible or integrate into mobile menu? 
       For now, simple hide nav text links, keep lang switch if possible or hide it.
       Better to just keep logo + simple controls.
    */
    .logo {
        font-size: 1.4rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}