/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f0f2f8;
    color: #333;
}


/* HEADER */

header {
    background: #0d1b2a;
    color: white;
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

header h1 {
    color: #00c6ff;
    font-size: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-size: 16px;
    transition: 0.3s;
}

nav a:hover {
    color: #00e0ff;
}


/* HERO */

.hero {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)),
        url('img/background.png');
    background-size: cover;
    background-position: center;
    height: 60vh;

    display: flex;
    justify-content: center;
    align-items: center;

    color: white;
    text-align: center;

    padding: 20px;
    border-radius: 20px;
    margin: 20px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    font-weight: 500;
}

/* HERO */

.hero2 {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)),
        url('img/background.png');
    background-size: cover;
    background-position: center;
    height: 30vh;

    display: flex;
    justify-content: center;
    align-items: center;

    color: white;
    text-align: center;

    padding: 20px;
    border-radius: 20px;
    margin: 20px;
}

.hero2 h2 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.hero2 p {
    font-size: 20px;
    font-weight: 500;
}


/* SECTION */

.section {
    padding: 60px 5%;
    text-align: center;
}


/* CALCULATOR */

.calculator.two-column {
    display: flex;
    justify-content: space-between;
    gap: 40px;

    background: white;

    padding: 50px;
    border-radius: 25px;

    max-width: 1200px;
    width: 95%;
    margin: 50px auto;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}


/* SLIDERS */

.calc-sliders {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-sliders label {
    font-size: 20px;
    margin-top: 25px;
    font-weight: 600;
}

input[type=range] {
    -webkit-appearance: none;
    height: 14px;
    border-radius: 20px;
    outline: none;
    margin: 20px 0 40px 0;
    width: 100%;
    background: linear-gradient(to right, #00c6ff, #0096c7);
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;

    width: 28px;
    height: 28px;

    border-radius: 50%;
    background: white;

    border: 4px solid #00c6ff;

    cursor: pointer;
}

input[type=range]:active::-webkit-slider-thumb {
    transform: scale(1.2);
}


/* RESULTS */

.calc-results {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-box {
    width: 100%;
    padding: 40px 30px;

    border-radius: 20px;

    color: white;
    background: rgba(50, 50, 50, 0.85);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);

    text-align: center;
    margin-bottom: 20px;
}

.result-box h2 {
    font-size: 60px;
    margin-bottom: 10px;
    color: #00c6ff;
}

.result-box p {
    font-size: 18px;
    margin-bottom: 8px;
}

#amountValue,
#daysValue {
    color: #00c6ff;
    font-weight: bold;
}


/* APPLY BUTTON */

.apply-btn {
    display: inline-block;

    margin-top: 20px;

    background: #e74c3c;

    padding: 25px 80px;

    border-radius: 15px;

    color: white;
    text-decoration: none;

    font-size: 26px;
    font-weight: 700;

    text-align: center;

    transition: 0.3s;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.apply-btn:hover {
    background: #c0392b;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}


/* DOCUMENTS + TIPS */

.bottom-bars {
    padding: 50px 5%;
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

.bar-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.bottom-bar {
    flex: 1;
    min-width: 250px;

    background: linear-gradient(135deg, #00c6ff, #0096c7);

    color: white;

    padding: 30px 25px;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bottom-bar h4 {
    font-size: 22px;
    margin-bottom: 20px;
}

.bottom-bar ul {
    list-style: none;
}

.bottom-bar ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}

.bottom-bar ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: yellow;
}


/* WHY CHOOSE */

.why-choose {
    padding: 50px 5%;
    text-align: center;
}

.why-choose h3 {
    font-size: 36px;
    margin-bottom: 40px;
}

.choose-bars {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.bar {
    flex: 1;
    min-width: 250px;

    background: linear-gradient(135deg, #00c6ff, #0096c7);

    color: white;

    padding: 30px 20px;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

    text-align: center;
}

.bar .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.bar h4 {
    font-size: 22px;
    margin-bottom: 10px;
}


/* HOW IT WORKS FLOWCHART */

.flowchart {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.flow-step {
    background: linear-gradient(135deg, #00c6ff, #0096c7);
    color: white;
    padding: 25px 20px;
    border-radius: 18px;
    width: 180px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.flow-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.flow-step h4 {
    margin-bottom: 10px;
    font-size: 24px;
}

.flow-step p {
    font-size: 14px;
}

.flow-arrow {
    font-size: 28px;
    font-weight: bold;
    color: #0096c7;
}


/* CONTACT */

.contact {
    background: #0d1b2a;
    color: white;

    padding: 70px 8%;

    text-align: center;

    border-radius: 15px;
    margin: 50px 0;
}

.contact p {
    font-size: 18px;
    margin: 8px 0;
}

.legal {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.85;
}


/* FOOTER */

footer {
    background: black;
    color: #aaa;

    text-align: center;
    padding: 25px;

    font-size: 14px;
}

.login-btn {
    background: #e74c3c;
    color: white !important;
    padding: 10px 18px;
    border-radius: 8px;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.login-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}


/* TOGGLE BUTTON (2 DOTS) */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    user-select: none;
}

/* MOBILE MENU DEFAULT HIDDEN */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 25px;
    }

    .site-header {
        position: relative;
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #0d1b2a;
        margin-top: 10px;
        padding: 10px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links a {
        padding: 12px;
        width: 100%;
        text-align: center;
    }

    .login-btn {
        width: 90%;
        margin: 10px auto;
    }

    .nav-links.active {
        display: flex;
    }
}

/* MOBILE */

@media(max-width:900px) {

    .calculator.two-column {
        flex-direction: column;
        padding: 30px;
    }

    .result-box h2 {
        font-size: 45px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .apply-btn {
        padding: 20px 60px;
        font-size: 22px;
    }

    .bar-wrapper {
        flex-direction: column;
    }

    .choose-bars {
        flex-direction: column;
    }

    .flowchart {
        flex-direction: column;
    }

    .steps {
        flex-direction: column;
    }

}

.previous-info{
    flex:1 1 400px;
    background:#f4f6f9;
    padding:25px 20px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
    height:fit-content;
	text-align:left;
}

.previous-info h3{
    text-align:left;
    margin-bottom:15px;
    color:#0d1b2a;
}

.previous-info p{
    font-size:15px;
    margin-bottom:8px;
}

.previous-info h4 {
    background: linear-gradient(135deg, #0d1b2a, #0077b6);
   color: white !important;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
}


.form-container h2{text-align:center;margin-bottom:10px;color:#0d1b2a;}
.required-note{text-align:center;font-size:14px;margin-bottom:25px;color:#777;}
.required-star{color:red;font-weight:bold;}
.form-container label{
    font-weight:600;
    display:block;
    margin-top:15px;
    margin-bottom:5px;
}
.form-container input, .form-container select{
    width:100%;
    padding:15px 12px;
    border-radius:10px;
    border:1px solid #ccc;
    margin-bottom:15px;
    font-size:16px;
}

.form-container{
    flex:1 1 600px;
    background:white;
    padding:40px 30px;
    border-radius:20px;
    box-shadow:0 15px 50px rgba(0,0,0,0.2);
}

.form-container input:focus, .form-container select:focus{
    border-color:#00c6ff;
    outline:none;
}
.submit-btn{
    width:100%;
    padding:20px;
    background:#e74c3c;
    color:white;
    font-size:20px;
    font-weight:700;
    border:none;
    border-radius:15px;
    cursor:pointer;
    margin-top:15px;
    transition:0.3s;
}
.submit-btn:hover{
    background:#c0392b;
    transform:scale(1.03);
}

/* Flex wrapper for form + previous info */
.form-wrapper{
    display:flex;
    justify-content:space-between;
    gap:30px;
    max-width:1100px;
    margin:40px auto;
    flex-wrap:wrap;
}

