*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:#f5f7fa;
color:#111827;
line-height:1.6;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

.header{
background:#fff;
padding:20px 0;
position:sticky;
top:0;
z-index:1000;
box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.header .container{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
display:flex;
align-items:center;
gap:10px;
font-size:28px;
font-weight:700;
color:#2563eb;
}

.navbar{
display:flex;
align-items:center;
gap:25px;
}

.navbar a{
text-decoration:none;
color:#111827;
font-weight:500;
}

.login-btn{
padding:10px 22px;
border:2px solid #2563eb;
border-radius:12px;
color:#2563eb !important;
}

.register-btn{
padding:10px 22px;
background:#7c3aed;
color:#fff !important;
border-radius:12px;
}

.hero{
background:linear-gradient(135deg,#2563eb,#0f172a);
color:#fff;
padding:80px 0;
}

.hero-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:center;
}

.badge{
display:inline-block;
background:rgba(255,255,255,.15);
padding:10px 18px;
border-radius:999px;
font-weight:600;
margin-bottom:20px;
}

.hero h1{
font-size:64px;
line-height:1.1;
margin-bottom:20px;
font-weight:800;
}

.hero p{
font-size:20px;
margin-bottom:30px;
color:#e5e7eb;
}

.hero-buttons{
display:flex;
gap:15px;
margin-bottom:30px;
}

.primary-btn,
.secondary-btn{
padding:14px 28px;
border-radius:12px;
text-decoration:none;
font-weight:600;
}

.primary-btn{
background:#7c3aed;
color:#fff;
}

.secondary-btn{
background:#fff;
color:#111827;
}

.hero-features{
display:flex;
gap:20px;
flex-wrap:wrap;
font-weight:600;
}

.loan-card{
background:#fff;
padding:30px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,.15);
color:#111827;
}

.loan-card h2{
margin-bottom:20px;
}

.loan-card label{
display:block;
margin-top:15px;
margin-bottom:8px;
font-weight:600;
}

.loan-card input,
.loan-card select{
width:100%;
padding:14px;
border:1px solid #d1d5db;
border-radius:12px;
}

.loan-card button{
width:100%;
padding:14px;
margin-top:20px;
background:#7c3aed;
color:#fff;
border:none;
border-radius:12px;
font-weight:600;
cursor:pointer;
}

.estimate{
text-align:center;
margin-top:20px;
}

.estimate h3{
font-size:32px;
color:#2563eb;
}

.features,
.loan-section,
.calculator-section,
.faq-section,
.contact-section,
.testimonials{
padding:80px 0;
}

.section-heading{
text-align:center;
margin-bottom:50px;
}

.section-heading span{
color:#7c3aed;
font-weight:700;
font-size:14px;
letter-spacing:1px;
}

.section-heading h2{
font-size:42px;
margin:10px 0;
}

.feature-grid,
.loan-grid,
.testimonial-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.feature-card,
.loan-card-item,
.testimonial-card,
.faq-item,
.contact-box,
.calculator-box{
background:#fff;
padding:30px;
border-radius:20px;
box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.feature-card i,
.loan-card-item i{
font-size:32px;
color:#7c3aed;
margin-bottom:15px;
}

.loan-card-item a{
display:inline-block;
margin-top:15px;
color:#2563eb;
font-weight:600;
text-decoration:none;
}

.stats{
background:#111827;
color:#fff;
padding:60px 0;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:20px;
text-align:center;
}

.stat-box h2{
font-size:42px;
margin-bottom:10px;
}

.calculator-box{
max-width:700px;
margin:auto;
text-align:center;
}

.calculator-box input{
width:100%;
padding:14px;
margin-bottom:15px;
border:1px solid #d1d5db;
border-radius:12px;
}

.calculator-box button{
padding:14px 28px;
background:#7c3aed;
color:#fff;
border:none;
border-radius:12px;
font-weight:600;
cursor:pointer;
}

.calculator-result{
margin-top:20px;
}

.contact-box{
text-align:center;
max-width:700px;
margin:auto;
}

footer{
background:#0f172a;
color:#fff;
padding:60px 0 20px;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.footer-grid a{
color:#cbd5e1;
text-decoration:none;
}

.copyright{
text-align:center;
margin-top:40px;
padding-top:20px;
border-top:1px solid rgba(255,255,255,.1);
color:#94a3b8;
}

@media(max-width:900px){

.hero-grid{
grid-template-columns:1fr;
}

.hero h1{
font-size:42px;
}

.header .container{
flex-direction:column;
gap:20px;
}

.navbar{
flex-wrap:wrap;
justify-content:center;
}

}

.hero-image{
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-image img{
    width:100%;
    max-width:580px;
    animation:float 5s ease-in-out infinite;
}

@keyframes float{
    0%{transform:translateY(0);}
    50%{transform:translateY(-12px);}
    100%{transform:translateY(0);}
}

.spinner{

width:60px;
height:60px;

border:6px solid #dbeafe;

border-top:6px solid #2563eb;

border-radius:50%;

margin:auto;

animation:spin 1s linear infinite;

}

@keyframes spin{

0%{

transform:rotate(0deg);

}

100%{

transform:rotate(360deg);

}

}
.payment-card{

background:#fff;
padding:30px;
border-radius:15px;
box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.method-card{

background:#fafafa;
border:1px solid #ddd;
padding:20px;
border-radius:12px;
margin-bottom:25px;

}

.warning-box{

background:#fff4d6;
border-left:6px solid orange;
padding:20px;
border-radius:10px;

}

.method-card button{

background:#0b63ce;
color:#fff;
border:none;
padding:10px 18px;
border-radius:8px;
cursor:pointer;

}

.method-card button:hover{

background:#084ea8;

}

/* =====================================================
   LOAN OPTIONS FIRST SECTION
   ===================================================== */

.loan-options-first {
    background: #f8fafc;
    padding: 70px 20px;
}

.loan-options-container {
    max-width: 900px;
    margin: 0 auto;
}

.loan-options-header {
    text-align: center;
    margin-bottom: 35px;
}

.loan-options-badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
}

.loan-options-header h1 {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.15;
    color: #111827;
}

.loan-options-header p {
    max-width: 650px;
    margin: 0 auto;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}

.loan-options-form {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 35px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.08);
}

.loan-field {
    margin-bottom: 22px;
}

.loan-field label {
    display: block;
    margin-bottom: 9px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.loan-field select {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    font-size: 15px;
    outline: none;
    transition: .2s;
}

.loan-field select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.loan-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.loan-result {
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.loan-result span {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 13px;
}

.loan-result strong {
    display: block;
    color: #111827;
    font-size: 20px;
}

.loan-result-highlight {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.loan-result-highlight strong {
    color: #2563eb;
    font-size: 24px;
}

.loan-continue-btn {
    width: 100%;
    margin-top: 25px;
    padding: 17px 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
}

.loan-continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, .20);
}


/* Mobile */
@media (max-width: 768px) {

    .loan-options-first {
        padding: 40px 15px;
    }

    .loan-options-header h1 {
        font-size: 32px;
    }

    .loan-options-header p {
        font-size: 14px;
    }

    .loan-options-form {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .loan-results {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .loan-result {
        padding: 17px;
    }

    .loan-result strong {
        font-size: 18px;
    }

    .loan-result-highlight strong {
        font-size: 22px;
    }
}