/********** Template CSS **********/
:root {
    --primary: #ED2A7B;
    --secondary: #E93C05;
    --tertiary: #555555;
    --light: #ffffff;
    --dark: #011A41
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99
}

.callback, .project-item, .project-item .project-img, .team-item, .team-item img {
    position: relative
}

.fw-bold, .h1, .h2, h1, h2 {
    font-weight: 700 !important
}

.fw-medium, .h3, .h4, h3, h4 {
    font-weight: 600 !important
}

.fw-semi-bold, .h5, .h6, h5, h6 {
    font-weight: 500 !important
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out,visibility 0s linear .5s;
    z-index: 99999
}

    #spinner.show {
        transition: opacity .5s ease-out,visibility linear;
        visibility: visible;
        opacity: 1
    }

.partners {
    text-align: center;
    margin: 50px auto
}

.partner-carousel {
    display: flex;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px
}

.partner-slide {
    flex: 0 0 auto;
    margin-right: 20px;
    transition: transform .8s ease-in-out
}

.btn, .feature .feature-box, .feature .feature-box *, .fixed-top, .project-item .project-title h4, .service .nav .nav-link, .team-item .team-text h4 {
    transition: .5s
}

.partner-slide:last-child {
    margin-right: 0
}

.partner-slide img {
    max-height: 100px
}

h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px
}

.btn, .page-header .breadcrumb-item, .page-header .breadcrumb-item a {
    font-weight: 500
}

.btn-outline-primary:hover, .btn-primary, .copyright a {
    color: var(--light)
}

.btn-square {
    width: 38px;
    height: 38px
}

.btn-sm-square {
    width: 32px;
    height: 32px
}

.btn-lg-square {
    width: 48px;
    height: 48px
}

.btn-lg-square, .btn-sm-square, .btn-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400
}

.contact-header, .page-header, .page-partner {
    padding-top: 12rem;
    padding-bottom: 6rem
}

.loan-header, .page-header, .page-partner {
    padding-top: 12rem;
    padding-bottom: 6rem
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(53,94,252,.07)
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--tertiary);
    font-weight: 500;
    outline: 0
}

    .copyright a:hover, .navbar .navbar-nav .nav-link.active, .navbar .navbar-nav .nav-link:hover {
        color: var(--primary)
    }

@media (max-width:991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0,0,0,.07);
        background: #fff
    }

        .navbar .navbar-nav .nav-link {
            padding: 10px 0
        }
}

.feature .feature-box:hover, .service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary)
}

@media (min-width:992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0);
        visibility: visible;
        transition: .5s;
        opacity: 1
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1
}

    .carousel-caption a.btn {
        font-size: 20px; /* Adjust button font size */
        padding: 6px 12px; /* Adjust button padding */
    }
	
/* Custom styles for smaller screens */
@media (max-width: 768px) {
    .display-1 {
        padding-top: 33px;
        padding-right: 90px;
        font-size: 20px; /* Adjust caption font size */
    }
    .carousel-caption a.btn {
        font-size: 8px; /* Adjust button font size */
        padding: 6px 12px; /* Adjust button padding */
    }
    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        height: 2rem !important;
    }
    .carousel-control-next,
    .carousel-control-prev {
        width: 2rem !important;
        top: 26.5px;
    }
    .bigButton {
        padding: 4px 8px !important; /* Adjust button padding */     
        margin-left: 98px;
    }
}



.carousel-control-next, .carousel-control-prev {
    width: 3rem
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary)
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem
}

@media (max-width:768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 200px;
        margin-top: 100px;

    }

        #header-carousel .carousel-item img {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: contain
        }
}

/*.page-header {
    background: url(../img/header.webp) top left/cover no-repeat
}

@media (max-width: 768px) {
    .loan-header {
        background-image: url(../img/mobile_loan.webp);
    }
}

.contact-header {
    background: url(../img/contact.webp) top left/cover no-repeat
}

@media (max-width: 768px) {
    .contact-header {
        background-image: url(../img/mobile_contact.webp);
    }
}
.loan-header {
    background: url(../img/loans.webp) top left/cover no-repeat
}
.page-partner {
    background: url(../img/partnerheader.webp) top left/cover no-repeat
}*/

.loan-header {
    background: url(../img/loans.webp) top left/cover no-repeat;
}

@media (max-width: 768px) {
    .loan-header {
        background-image: url(../img/mobile_loan.webp);
    }
}

.contact-header {
    background: url(../img/contact.webp) top left/cover no-repeat
}

@media (max-width: 768px) {
    .contact-header {
        background-image: url(../img/mobile_contact.webp);
    }
}

.page-partner {
    background: url(../img/partnerheader.webp) top left/cover no-repeat
}



.callback::before, .facts {
    background: linear-gradient(rgba(255,138,200,.94),rgba(255,138,200,.94)),url(../img/bg.png)

}

    .page-header .breadcrumb-item + .breadcrumb-item::before {
        color: var(--tertiary)
    }

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    z-index: -1
}

.feature .feature-box:hover *, .service .nav .nav-link.active h5, .service .nav .nav-link.active h5 i {
    color: #fff !important
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: .5s
}

.project-item .project-title, .team-item .team-text {
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    display: flex;
    position: absolute;
    transition: .5s
}

.project-item:hover .project-img a {
    opacity: 1
}

.project-item .project-title {
    top: 3rem;
    right: 0;
    border-radius: 8px;
    align-items: flex-end;
    padding: 18px;
    z-index: -1
}

.project-item:hover .project-title, .team-item:hover .team-text {
    background: var(--primary);
    border-color: var(--primary)
}

    .project-item:hover .project-title h4, .team-item:hover .team-text h4 {
        color: #fff
    }

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center
}

    .project-carousel .owl-nav .owl-next, .project-carousel .owl-nav .owl-prev {
        margin: 0 12px;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        background: var(--light);
        border-radius: 45px;
        font-size: 22px;
        transition: .5s
    }

        .project-carousel .owl-nav .owl-next:hover, .project-carousel .owl-nav .owl-prev:hover, .team-item .team-social .btn:hover {
            background: var(--primary);
            color: var(--light)
        }

.team-item {
    padding: 4rem 0
}

    .team-item img {
        z-index: 2
    }

    .team-item .team-text {
        top: 0;
        right: 3rem;
        padding: 15px;
        border-radius: 8px;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        z-index: 1
    }

    .team-item .team-social .btn {
        background: var(--light);
        color: var(--primary)
    }

    .team-item:hover .team-social .btn {
        background: #fff
    }

.testimonial-item {
    position: relative;
    text-align: center;
    padding-top: 30px
}

    .testimonial-item .testimonial-text {
        position: relative;
        text-align: center
    }

        .testimonial-item .testimonial-text .btn-square {
            position: absolute;
            width: 60px;
            height: 60px;
            top: -30px;
            left: 50%;
            transform: translateX(-50%)
        }

        .testimonial-item .testimonial-text::before {
            position: absolute;
            content: "";
            bottom: -60px;
            left: 50%;
            transform: translateX(-50%);
            border: 30px solid;
            border-color: var(--light) transparent transparent transparent
        }

        .testimonial-item .testimonial-text::after {
            position: absolute;
            content: "";
            bottom: -59px;
            left: 50%;
            transform: translateX(-50%);
            border: 30px solid;
            border-color: #fff transparent transparent
        }

.testimonial-carousel .owl-item img {
    margin: 0 auto;
    width: 100px;
    height: 100px
}

.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: center
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--light);
    border-radius: 30px;
    transition: .5s
}

    .testimonial-carousel .owl-dot::after {
        position: absolute;
        content: "";
        width: 16px;
        height: 16px;
        top: 6px;
        left: 6px;
        border-radius: 16px;
        background: var(--light);
        transition: .5s
    }

    .testimonial-carousel .owl-dot.active {
        border-color: var(--primary)
    }

        .testimonial-carousel .owl-dot.active::after {
            background: var(--primary)
        }

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: 400;
    text-transform: capitalize;
    transition: .3s
}

    .footer .btn.btn-link::before {
        position: relative;
        content: "\f105";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        margin-right: 10px
    }

    .footer .btn.btn-link:hover {
        color: var(--primary);
        letter-spacing: 1px;
        box-shadow: none
    }

.copyright {
    color: var(--light);
    background: #000b1c
}
