/* ===============================
   Base Styles (Shared)
================================== */
@media (min-width: 768px) {
    .custom-border-dark {
        border-right: 1px solid #222 !important;
    }

    .approvals {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .tab-content {
        display: flex;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .display-5 {
        font-size: 3.25rem;
    }
}

@media (min-width: 1500px) {

    .navbar,
    .body,
    .section,
    .hero,
    .approvals,
    .solution,
    .value,
    .fun-facts,
    .about,
    .testimonials,
    .loan-steps {
        max-width: 100%;
        padding-left: 200px !important;
        padding-right: 200px !important;
    }
}


/* ===============================
   Medium Screens (max-width: 991.98px)
================================== */
@media (max-width: 991.98px) {
    .blog-section {
        padding-bottom: 120px;
    }

    .blog-spacer {
        height: 10px;
    }
}


/* ===============================
   Small Screens (max-width: 900px)
================================== */
@media (max-width: 900px) {

    .hero,
    .about,
    .value,
    .solution {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        width: 100%;
        height: auto;
        text-align: center;
    }

    .fun-facts {
        display: flex;
        justify-content: space-between;
    }

    .hero-img {
        order: -1;
        margin-bottom: 30px;
    }

    .nav {
        display: block;
        text-align: center;
    }

    .nav-item {
        margin: 8px 0;
    }
}


/* ===============================
   Small Screens (max-width: 768px)
================================== */
@media (max-width: 768px) {
    .fun-facts {
        flex-direction: column;
        gap: 32px;
    }

    .divider {
        display: none;
    }

    .about img {
        max-width: 90%;
        height: auto;
    }

    .img-fluid {
        max-width: 85%;
        height: auto;
    }

    .loan-block-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* ===============================
   Extra Small Screens (max-width: 767.98px)
================================== */
@media (max-width: 767.98px) {
    .blog-section {
        padding-top: 40px;
        padding-bottom: 100px;
    }

    .blog-title {
        font-size: 1.5rem;
    }

    .blog-description {
        font-size: 0.9rem;
    }

    .blog-post-title {
        font-size: 1rem;
    }

    .step-number {
        left: -38px;
    }

    .loan-step-wrapper {
        padding-left: 25px;
        margin-left: 15px;
    }

    .loan-rate-form {
        padding: 20px;
    }

    .loan-title {
        font-size: 1.6rem;
    }

    .loan-rate-form h3 {
        font-size: 1.3rem;
    }
}