* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary: #0f172a;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --success: #10b981;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

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

.badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.2);
    color: #93c5fd;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.badge-green {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    text-align: center;
}

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

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

.btn-success {
    background-color: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background-color: #059669;
}

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

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

.btn-full {
    width: 100%;
}

header {
    background-color: var(--primary);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.8rem !important;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.logo-tagline {
    font-size: 0.8rem;
    color: #cbd5e1;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.92rem;
}

.nav-links a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    color: var(--white);
    padding: 6rem 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.card-mockup {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.security-icon {
    font-size: 2.5rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.card-mockup h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-mockup p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.mockup-stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.services-colored-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
}

.text-white h2, .text-white p {
    color: var(--white) !important;
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.colored-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.colored-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: #eff6ff;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.colored-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--primary);
}

.colored-card p {
    color: var(--text-light);
}

.apply-gradient-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #e2e8f0 100%);
}

.apply-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.apply-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.apply-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.benefits-list i {
    color: var(--success);
}

.form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
    border: 1px solid #bfdbfe;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    outline: none;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--accent);
}

.form-message {
    margin-top: 1rem;
    font-weight: 500;
    text-align: center;
}

.calculator-section {
    padding: 6rem 0;
    background: #ffffff;
}

.calc-box {
    max-width: 600px;
    margin: 0 auto;
    background: #f8fafc;
    border: 1px solid var(--border-color);
}

.emi-result-text {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.partner-portal-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

.text-light-gray {
    color: #e2e8f0;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.white-list {
    list-style: none;
    padding: 0;
}

.white-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #f8fafc;
    font-weight: 500;
}

.text-green {
    color: #34d399;
    font-size: 1.2rem;
}

.form-heading {
    margin-bottom: 1.5rem;
    color: #0f172a;
    text-align: center;
}

/* Compliance Section Fixed for Clean Readability */
.compliance-colored-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 100%, #1e3a8a 0%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.safety-card-fixed {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    color: var(--text-dark) !important;
    text-align: left;
}

.safety-card-fixed i {
    font-size: 2rem;
    color: var(--accent) !important;
    margin-bottom: 1rem;
}

.safety-card-fixed h3 {
    margin-bottom: 0.75rem;
    color: var(--primary) !important;
    font-size: 1.25rem;
}

.card-desc-dark {
    font-size: 0.95rem;
    color: #334155 !important;
    line-height: 1.6;
}

.contact-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.contact-card {
    background: var(--white);
    padding: 2.5rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.contact-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.plain-link {
    color: inherit;
    text-decoration: none;
}

.disclaimer-section {
    background-color: #f1f5f9;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-light);
}

.disclaimer-section h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 2rem 0;
}

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

.footer-loc {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Shaking Phone & Talk Button */
@keyframes shakePhone {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(14deg); }
    30% { transform: rotate(-14deg); }
    45% { transform: rotate(10deg); }
    60% { transform: rotate(-10deg); }
    75% { transform: rotate(4deg); }
    100% { transform: rotate(0deg); }
}

.shaking-phone {
    display: inline-block;
    animation: shakePhone 1.2s infinite ease-in-out;
    color: #10b981;
}

.talk-to-person-btn {
    background-color: #2563eb;
    color: white !important;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.talk-to-person-btn:hover {
    background-color: #1d4ed8;
}

/* Modal Pop-up Styling */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 480px;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: #64748b;
    cursor: pointer;
}

.close-btn:hover {
    color: #0f172a;
}

.modal-header-icon {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 0.75rem;
    text-align: center;
}

.modal-content h3 {
    text-align: center;
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.modal-draft-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.modal-draft-box p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #1e293b;
}

.modal-draft-box a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.timing-text {
    font-size: 0.88rem !important;
    color: #475569 !important;
    line-height: 1.5;
    margin-bottom: 0 !important;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

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

@media (max-width: 968px) {
    .hero-container, .apply-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .features-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        padding: 1.5rem 2rem;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}