/* =========================
   BASE RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    padding:0;
    background: #0b1220;
    color: #e5e7eb;
}

/* =========================
   GLOBAL TEXT
========================= */

h1, h2, h3{
    color: white;
}

p{
    color: #cbd5e1;
    line-height: 1.6;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    background:#081B33;
    padding:20px 6%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:sticky;
    top:0;
    z-index:1000;
}

/* LOGO */
.logo-container{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo-container img{
    width:60px;
    height:60px;
}

.logo-container h2{
    color:white;
    font-size:24px;
}

.logo-container span{
    color:#D2A679;
    font-size:13px;
}

/* NAV LINKS (DESKTOP DEFAULT FIX) */
nav{
    display:flex;
    gap:30px;
    align-items:center;
}

/* links styling */
nav a{
    text-decoration:none;
    color:white;
    font-weight:500;
    transition:0.3s;
}

nav a:hover{
    color:#D2A679;
}
/* =========================
   HERO
========================= */

.hero{
    background:#081B33;
    color:white;
    min-height:85vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:70px 6%;
}

.hero-left{
    flex:1;
}

.hero-right{
    flex:1;
    text-align:right;
}

.hero-right img{
    width:100%;
    max-width:650px;
    border-radius:20px;
}

.hero-badge{
    display:inline-block;
    border:1px solid #D2A679;
    color:#D2A679;
    padding:10px 20px;
    border-radius:30px;
    margin-bottom:25px;
}

.hero h1{
    font-size:70px;
    line-height:1.1;
    margin-bottom:25px;
}

.hero h1 span{
    color:#D2A679;
    display:block;
}

.hero p{
    font-size:20px;
    max-width:600px;
    margin-bottom:35px;
    color:#d9d9d9;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.btn-primary{
    background:#60a5fa;
    color:#0b1220;
    text-decoration:none;
    padding:16px 30px;
    border-radius:10px;
    font-weight:600;
    transition:0.3s;
}

.btn-primary:hover{
    background:#3b82f6;
}

.btn-secondary{
    border:2px solid #60a5fa;
    color:#60a5fa;
    text-decoration:none;
    padding:16px 30px;
    border-radius:10px;
    transition:0.3s;
}

.btn-secondary:hover{
    background:#60a5fa;
    color:#0b1220;
}

/* =========================
   TRUST BAR
========================= */

.trust-bar{
    width:90%;
    margin:-60px auto 60px;
    background:#0f172a;
    border-radius:20px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.trust-card{
    padding:30px;
    color:white;
    border-right:1px solid rgba(255,255,255,.08);
}

.trust-card:last-child{
    border-right:none;
}

.trust-card h3{
    color:#60a5fa;
    margin-bottom:10px;
}

.trust-card p{
    color:#cbd5e1;
}

/* =========================
   SECTIONS
========================= */

.section{
    padding:70px 10%;
}

/* =========================
   GLASS CARDS
========================= */

.glass-card{
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 20px;
    color: white;
    transition: 0.3s ease;
}

.glass-card:hover{
    transform: translateY(-5px);
    border-color: rgba(96, 165, 250, 0.4);
}

/* =========================
   HOW IT WORKS / FEATURES
========================= */

.step,
.feature{
    background:#111a2e;
    border-radius:20px;
    padding:30px;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
}

/* =========================
   FORMS
========================= */

.loan-form{
    max-width:900px;
    margin:auto;
    background:#111a2e;
    padding:40px;
    border-radius:20px;
}

.loan-form input,
.loan-form select,
textarea{
    width:100%;
    padding:15px;
    margin-bottom:15px;
    border:1px solid #334155;
    border-radius:10px;
    background:#0b1220;
    color:white;
}

/* =========================
   INVESTORS SECTION
========================= */

.investors{
    padding:100px 6%;
    background:#081B33;
    text-align:center;
    color:white;
}

/* =========================
   CTA
========================= */

.cta{
    padding:100px 6%;
    text-align:center;
}

/* =========================
   FOOTER
========================= */

footer{
    background:#081B33;
    color:white;
}

/* =========================
   CALCULATOR
========================= */

.calculator-section{
    padding:60px 6%;
    background:#081B33;
}

.calculator-container{
    max-width:500px;
    margin:auto;
    background:#102A4C;
    padding:25px;
    border-radius:15px;
    box-shadow:0 8px 25px rgba(0,0,0,.3);
}

.calculator-container h2,
.calculator-container h3{
    color:#ffffff;
    text-align:center;
    margin-bottom:15px;
}

.calculator-container p{
    color:#d9e3f0;
    text-align:center;
}

.calc-group label{
    color:#ffffff;
    font-weight:600;
}

.calc-group input[type="number"]{
    width:100%;
    padding:12px;
    border:none;
    border-radius:8px;
    background:#1A3A63;
    color:#ffffff;
}

.calc-group input[type="range"]{
    width:100%;
}

.results{
    margin-top:20px;
}

.result-item{
    display:flex;
    justify-content:space-between;
    padding:10px 0;
    border-bottom:1px solid rgba(255,255,255,.15);
    color:#ffffff;
}

.result-item strong{
    color:#4FC3F7;
}

.total{
    font-size:18px;
    font-weight:700;
}

.wave-divider{
    line-height:0;
    margin-top:-5px;
}

.wave-divider svg{
    display:block;
    width:100%;
    height:80px;
}

/* =========================
   MOBILE FIX (NAVBAR FIXED HERE)
========================= */

nav{
    display:flex;
    gap:30px;
    align-items:center;
    flex-wrap:wrap;
}

/* make sure links stay readable on small screens */
nav a{
    text-decoration:none;
    color:white;
    font-weight:500;
    font-size:14px;
    padding:6px 10px;
}

nav a:hover{
    color:#D2A679;
}

/* MOBILE IMPROVEMENT (keeps nav visible but neat) */
@media(max-width:1000px){

    .navbar{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    nav{
        width:100%;
        justify-content:flex-start;
        flex-wrap:wrap;
        gap:15px;
    }

    nav a{
        font-size:13px;
    }

    .hero{
        flex-direction:column;
        text-align:center;
    }

    .hero h1{
        font-size:50px;
    }

    .hero-buttons{
        justify-content:center;
        flex-direction:column;
    }

    .hero-right{
        text-align:center;
        margin-top:20px;
    }

    .trust-bar,
    .steps,
    .features,
    .footer-grid{
        grid-template-columns:1fr;
    }
}

/*
/* NAV DEFAULT (DESKTOP) */
nav{
    display:flex;
    gap:30px;
    align-items:center;
}

.menu-icon{
    display:none;
    font-size:30px;
    color:white;
    cursor:pointer;
}

/* LINKS STYLE */
nav a{
    text-decoration:none;
    color:white;
    font-weight:500;
}

nav a:hover{
    color:#D2A679;
}

/* MOBILE ONLY */
@media(max-width:1000px){

    .menu-icon{
        display:block;
    }

    nav{
        display:none;
        position:absolute;
        top:80px;
        right:6%;
        background:#081B33;
        flex-direction:column;
        padding:15px;
        border-radius:10px;
        width:200px;
        box-shadow:0 10px 30px rgba(0,0,0,.3);
    }

    nav.show{
        display:flex;
    }
}