﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
}



/* ================= NAV LINK STYLE ================= */

.navbar-nav .nav-link {
    position: relative;
    padding: 8px 14px;
    font-weight: 600;
}

    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: #f6afad;
        transition: 0.3s;
    }

    /* active */
    .navbar-nav .nav-link.active {
        color:#650006 !important;
    }

        .navbar-nav .nav-link.active::after {
            width: 50%;
        }

    /* hover */
    .navbar-nav .nav-link:hover {
        color: #650006;
    }

        .navbar-nav .nav-link:hover::after {
            width: 50%;
        }


/* ================= DROPDOWN ================= */

.dropdown-menu {
    border: none;
   
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    padding: 8px 0;
}

.dropdown-item {
    padding: 8px 18px;
    font-size: 14px;
}

    .dropdown-item:hover {
        background: #650006;
        color:white;
    }


/* ================= SUBMENU ================= */

.dropdown-submenu {
    position: relative;
}

    /* submenu position desktop */
    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -2px;
        display: none;
    }

    /* show submenu hover desktop */
    .dropdown-submenu:hover .dropdown-menu {
        display: block;
    }

    /* arrow */
    .dropdown-submenu > .dropdown-toggle::after {
        float: right;
        margin-top: 6px;
        transform: rotate(-90deg);
    }


/* ================= MOBILE RESPONSIVE ================= */

@media (max-width:991px) {

    .navbar-brand img {
        width: 160px;
    }

    .navbar-nav {
        text-align: center;
        background:white;
        padding: 10px 0;
    }

        .navbar-nav .nav-link {
            padding: 12px;
            border-bottom: 1px solid #eee;
        }

            .navbar-nav .nav-link:last-child {
                border-bottom: none;
            }

    .navbar-toggler {
        border: none;
    }

    /* dropdown mobile */

    .dropdown-menu {
        text-align: center;
        box-shadow: none;
        border-radius: 0;
    }

    .dropdown-submenu .dropdown-menu {
        position: static;
        margin-left: 15px;
        display: block;
    }

    .dropdown-submenu > .dropdown-toggle::after {
        transform: rotate(0);
    }
}
/* remove default arrow border color */
.navbar-nav .dropdown-toggle::after{
    border-top-color: transparent;
    border:none;
}

/* hover hole arrow pink */
.navbar-nav .dropdown-toggle:hover::after{
    border-top-color:#f6afad;
}

/* underline animation same thakbe */
.navbar-nav .nav-link::after{
    content:"";
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:0;
    height:2px;
    background:#650006;
    transition:0.3s;
}

.navbar-nav .nav-link:hover::after{
    width:50%;
}

/* ================= SMALL MOBILE ================= */

@media (max-width:576px) {

    .navbar {
        padding: 8px 12px;
    }

    .navbar-brand img {
        width: 260px;
    }
}

.carousel-item img {
    height: 450px;
    object-fit: cover;
}

@media (max-width:576px) {

    .carousel-item img {
        height: 220px;
    }
}

.loan-section {
    background: #f8f9fa;
}

.service-box {
    padding: 20px;
    border-radius: 10px;
    background: white;
    transition: 0.3s;
}

    .service-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

.service-icon {
    font-size: 40px;
    color: #650006;
}

.bank-name {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

    .bank-name::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        width: 50%;
        height: 2px;
        background: #650006;
    }

.cta-section {
    position: relative;
    background: url("img/cta.webp") center/cover no-repeat;
    min-height: 350px; /* height add */
    display: flex;
    align-items: center;
}

    /* blue overlay */
    .cta-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:#f7adac;
    }

    .cta-section .container {
        position: relative;
        z-index: 2;
    }

    .cta-section .btn {
        border-radius: 30px;
    }

.counter-section {
    background: #f8f9fa;
}

.counter-box h2 {
    font-size: 40px;
    font-weight: 700;
    color: #650006;
}

.counter-box p {
    margin: 0;
    font-weight: 500;
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

    .service-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        transition: 0.4s;
    }

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background:#f7adac;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.service-card:hover img {
    transform: scale(1.1);
}

.footer {
    background: #000;
    color: #fff;
    font-size: 14px;
}

.banner {
    position: relative;
}

.banner-img {
    height: 500px;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
}

    .banner-text h1 {
        font-size: 48px;
        font-weight: bold;
    }

    .banner-text p {
        font-size: 20px;
    }

/* Mobile Responsive */

@media (max-width:768px) {

    .banner-img {
        height: 300px;
    }

    .banner-text h1 {
        font-size: 26px;
    }

    .banner-text p {
        font-size: 14px;
    }
}

.job-application-form {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
}

    .job-application-form form {
        background-color: white;
        padding: 30px;
        border-radius: 10px;
        width: 100%;
        max-width: 500px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        gap: 15px;
    }



    .job-application-form label {
        font-weight: bold;
        color: #333;
    }

    .job-application-form input,
    .job-application-form textarea {
        padding: 10px;
        border-radius: 6px;
        border: 1px solid #ccc;
        font-size: 14px;
        width: 100%;
    }

    .job-application-form textarea {
        resize: vertical;
    }

    .job-application-form button {
        background-color: #0f52ba;
        color: white;
        padding: 12px;
        border: none;
        border-radius: 6px;
        font-size: 16px;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .job-application-form button:hover {
            background-color: #094492;
        }

/* Mobile responsiveness */
@media screen and (max-width: 480px) {
    .job-application-form form {
        padding: 20px;
        gap: 12px;
    }

    .job-application-form button {
        font-size: 14px;
        padding: 10px;
    }
}
