/*----- FONT -----*/
@import url(../css/clash-display.css);

/* ========== VARIABLES ========== */
:root {
    --c-dark: #212529;
    --c-brand: #4e57d4;
    --c-brand-light: #6970dd;
    --c-brand-rgb: 78, 87, 212;
    --c-body: #727272;
    --font-base: "ClashDisplay", sans-serif;
    --box-shadow: 0px 15px 25px rgba(0,0,0,.08);
    --transition: all .5s ease;
}

/*----- RESET & HELPERS -----*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff;
    color: var(--c-body);
    font-family: var(--font-base);
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: .04em;
    /* overflow-x: hidden; */
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--c-dark);
}z

a {
    text-decoration: none;
    color: var(--c-brand);
    transition: var(--transition);
}

a:hover {
    color: var(--c-brand-light);
}

.loan__header {
    width: 100%;
    margin: 0;
    padding-bottom: 4rem !important;
    background-color: white !important;
    display: flex;
    align-items: center;
}

.navbar {
    width: 100%;
    top: 0 !important;
    left: 0 !important;
}

.navbar-toggler {
    border: none;
    outline: none;
    box-shadow: none !important;
}

.navbar-toggler:focus, .nav_logo:focus {
    outline: none;
    border: none;
    box-shadow: none !important;
}

.nav_menu {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.nav-link {
    color: var(--c-brand) !important;
    font-weight: 500 !important;
}

.action_btn .btn-fill {
    font-size: .95rem;
    font-weight: 500;
    text-transform: capitalize;
    border: 1.2px solid var(--c-brand);
    border-radius: .3rem;
    padding: .2rem 1rem;
}


.navbar .nav_logo:focus {
    box-shadow: none;
    border: none;
    outline: none;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.lni-grid-alt {
    font-size: 1.7rem;
}

.lni-cross-circle {
    font-size: 1.9rem;
    margin-top: 1rem;
}

@media (max-width: 991px) {
    .navbar .navbar-nav {
        flex-direction: column;
    }

    .nav__btn-box {
        justify-content: left !important;
    }
}


@media screen and (max-width:574px) {

    .nav__btn-box {
        padding-left: 1rem !important;
        justify-content: left !important;
    }
    
    .lni-grid-alt {
        font-size: 1.8rem;
    }
    
    .lni-cross-circle {
        font-size: 2rem;
        margin-top: 1rem;
    }
    
    .navbar .nav-link {
        font-size: 1.2rem;
        font-weight: 500;
        color: var(--c-dark);
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to left, rgba(0,0,0,.45), rgba(0,0,0,.65)), url('../img/hero-1.jpeg');
    height: 75vh;
    background-repeat: repeat;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    color: white;
    padding-right: 3rem;
}

.hero-box {
    max-width: 27rem;
    background-color: rgba(255, 255, 255, 0.65);
    padding: 2rem 1.5rem;
    border-top: 5px solid var(--c-brand);
    border-radius: .3rem;
}

.hero-box p {
    color: #415c76;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 0 1rem !important;
    }
    .hero-box {
        padding: 1.5rem 1rem !important;
    }
}

@media (max-width: 576px) {

    .hero-section {
        height: 75vh !important;
        padding-right: 0;
    }

    .hero-section {
        padding: 0 1rem !important;
    }

    .hero-box {
        padding: 1rem .5rem !important;
    }

    .action_btn .btn-fill {
        font-size: .75rem !important;
        border: 1.2px solid var(--c-brand);
        padding: .1rem 1rem;
    }
}

/* Benefits Section */
.benefit {
    margin: 4rem 0;
    text-align: center;
}

.benefit-box {
    display: flex;
    justify-content: center;
    gap: 8rem;
}

/* Loan Section */
.loan {
    background-color: #001b47;
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.loan h3 {
    margin-bottom: 3rem;
    color: #ccc;
}

.loan-box {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

.loan-right h5, .loan-right p {
    color: white;
}

.line {
    height: .1rem;
    background-color: #ccc;
    width: 100%;
}

/* Footer */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5rem 2rem;
    text-align: center;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 45%;
        background: white;
        box-shadow: var(--box-shadow);
        transition: var(--transition);
        padding-top: 2rem;
        z-index: 1000;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .benefit-box {
        flex-direction: column;
        gap: 4rem;
    }

    .loan-box {
        flex-direction: column;
        gap: 2rem;
    }
}


@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
    }
    .hero-box {
        padding: 1.5rem;
    }
    .loan {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .navbar-collapse {
        width: 80%;
    }

    .hero-section {
        height: 60vh;
    }

    .benefit-box {
        gap: 2rem;
    }
}

.btn-outline-light:hover {
    color: #001b47 !important;
}   