/* ======================= CAROUSEL / BANNER ======================= */
.slider-img {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slider-img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.slider-content {
    position: relative;
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
}

.slider-content h1 {
    font-size: 50px;
    font-weight: bold;
}

.slider-content p {
    font-size: 18px;
}

/* ======================= NAVBAR ======================= */
.navbar {
    background-color: rgb(255, 255, 255);
    height: auto;
    max-height: 70px;
}

.navbar ul>li a {
    color: rgb(0, 0, 0);
}

.navbar .logo {
    width: 110px;
}

.navbar ul>li a:hover {
    color: #2c00a5;
}

.navbar-toggler {
    color: #000000 !important;
}

@media (max-width: 992px) {
    .navbar {
        position: relative;
        z-index: 1000;
        margin-bottom: 7px;
    }

    .navbar-collapse {
        position: absolute;
        top: 70px;
        /* adjust according to navbar height */
        left: 0;
        width: 100%;
        background: #fff;
        padding: 15px;
        z-index: 999;
    }
}

/* ======================= LOAN SECTION ======================= */
.loan-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.loan-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.4s;
}

.loan-card::after {
    content: "";
    position: absolute;
    inset: 0;
    /* optional overlay */
}

.loan-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    z-index: 2;
}

.loan-content h3 {
    font-weight: bold;
}

.loan-content p {
    font-size: 14px;
}

.loan-card:hover img {
    transform: scale(1.1);
}

/* ======================= WHAT WE DO ======================= */
.what-section {
    background: #f3eded;
}

.section-title {
    display: inline-block;
    color: #000;
    padding: 10px 25px;
    font-weight: bold;
    position: relative;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 4px;
    background: red;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
}

.what-card {
    padding: 20px;
}

.icon {
    font-size: 50px;
    color: red;
    margin-bottom: 15px;
}

.what-card h5 {
    font-weight: bold;
    margin-bottom: 10px;
}

.what-card p {
    font-size: 14px;
    color: #555;
}

/* ======================= HOW WE DO ======================= */
.how-section {
    background: #f8f8f8;
}

.process-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.step {
    width: 19%;
    text-align: center;
    position: relative;
}

.number {
    font-size: 60px;
    font-weight: 700;
    color: #534343;
    display: block;
}

.arrow-box {
    position: relative;
    background: #e60023;
    color: #fff;
    padding: 10px 20px;
    font-weight: 600;
    margin: 10px 0;
    display: inline-block;
}

.arrow-box::after {
    content: "";
    position: absolute;
    top: 0;
    right: -20px;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-left: 20px solid #e60023;
}

.arrow-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -20px;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-right: 20px solid #f8f8f8;
}

.step p {
    font-size: 13px;
    color: #555;
}

.arrow-box:hover {
    background: black;
}

.arrow-box:hover::after {
    border-left-color: black;
}

/* ======================= VISION & MISSION ======================= */
.vision-mission {
    background: #f8f9fa;
}

.vision-mission p {
    color: #555;
    line-height: 1.7;
}

.vision-mission img {
    width: 100%;
    border-radius: 10px;
}

/* ======================= ABOUT US ======================= */
.about-us {
    position: relative;
    height: 50vh;
    background: url('../img/about-banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.about-us .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
}

.about-us .content {
    position: relative;
    z-index: 2;
}

.about-us .title {
    font-size: 42px;
    font-weight: bold;
}

.about-us p {
    font-size: 16px;
    letter-spacing: 1px;
}

.vision {
    font-size: 16px;
    font-weight: bold;
}

.mission {
    font-size: 16px;
    font-weight: bold;
}

.our-value {
    font-size: 18px;
    font-weight: 500;
}

/* ======================= OUR SERVICES ======================= */
.service-slider-card {
    position: relative;
    overflow: hidden;
}

.service-slider-card img {
    height: 350px;
    object-fit: cover;
}

.overlay-content h4 {
    font-weight: bold;
}

.our-services-banner .banner {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.service-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.card-title {
    font-weight: 600;
}

.card-list {
    text-align: left;
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.card-list div {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.btn-outline-danger {
    border-radius: 25px;
    font-weight: 500;
}

/* ======================= LOAN BACKGROUND SECTION ======================= */
.loan-bg {
    position: relative;
    background-image: url('../img/banner-ourservices-page.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 40px 0;
    overflow: hidden;
}

.loan-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(92, 62, 62, 0.5);
    z-index: 1;
}

.loan-bg .container-fluid {
    position: relative;
    z-index: 2;
    color: #fff;
}

.loan-bg .round {
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    height: auto;
    max-height: 400px;
}

/* ======================= CONTACT US ======================= */
.contact-us {
    position: relative;
    height: 50vh;
    background: url('../img/contact-us.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.contact-us .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
}

.contact-us .content {
    position: relative;
    z-index: 2;
}

.contact-us .title {
    font-size: 42px;
    font-weight: bold;
}

.contact-card {
    background: #fff;
    width: 100%;
    height: 100%;
    transition: 0.3s;
    border-radius: 12px;
}

.contact-card i {
    font-size: 35px;
    color: red;
    margin-bottom: 10px;
}

.contact-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    color: #555;
}

.contact-card:hover {
    transform: translateY(-8px);
    background: #f8f9fa;
}

/* ======================= FOOTER ======================= */
.footer-section {
    background: #111;
    color: #ccc;
}

.footer-logo {
    width: 145px;
}

.footer-title {
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #e91d2d;
    padding-left: 5px;
}

.footer-section i {
    margin-right: 8px;
    color: #e91d2d;
}

.footer-bottom {
    border-top: 1px solid #333;
    color: #aaa;
    font-size: 14px;
}

/* ======================= PRIVACY POLICY ======================= */
.privacy-policy {
    position: relative;
    height: 50vh;
    background: url('../img/privacy-policy.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.privacy-policy .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
}

.policy-section {
    padding: 50px 0;
}

.policy-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.policy-card h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

.policy-card p {
    color: #555;
    font-size: 15px;
}

/* ======================= TERMS & CONDITIONS ======================= */
.terms-conditions {
    position: relative;
    height: 50vh;
    background: url('../img/terms-conditions.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.terms-banner h1 {
    font-weight: 700;
}

.terms-section {
    padding: 60px 0;
}

.terms-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.terms-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.terms-card p {
    color: #555;
    font-size: 15px;
}

/* ======================= GENERIC CONTENT ======================= */
.section-padding {
    padding: 60px 0;
}

.card:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

.content {
    padding: 10px;
}

.content p {
    font-size: 15px;
}

.content p strong {
    font-size: 16px;
    font-weight: 500;
}

/* ======================= RESPONSIVE ======================= */
@media(max-width:768px) {

    /* carousel */
    .slider-img {
        height: 60vh;
    }

    .slider-content h1 {
        font-size: 28px;
    }

    /* loan card */
    .loan-card img {
        height: 220px;
    }

    /* what we do */
    .icon {
        font-size: 40px;
    }

    /* vision & mission */
    .section-title {
        font-size: 24px;
    }

    .vision-mission {
        text-align: center;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* about us */
    .about-us {
        height: 30-40vh;
        padding: 20px;
    }

    .about-us .title {
        font-size: 28px;
    }

    .about-us p {
        font-size: 14px;
    }

    /* service card */
    .service-slider-card img {
        height: 220px;
    }

    /* contact card */
    .contact-card {
        padding: 20px;
    }

    /* footer */
    .footer-section {
        text-align: left;
    }
}

@media(max-width:576px) {
    .step {
        width: 100%;
    }

    .arrow-box::before,
    .arrow-box::after {
        display: none;
    }
}

@media(max-width:992px) {
    .step {
        width: 48%;
        margin-bottom: 30px;
    }
}