/********** Template CSS **********/
:root {
    --primary: #f4c12e;
    --secondary: #8D9297;
    --light: #F8F9FA;
    --dark: #182333;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#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 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 25px 0;
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #f4c12e ;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 25px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    background: rgba(0, 0, 0, .65);
    z-index: 1;
}


.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
    border-radius: 50px;
}

.carousel-caption .breadcrumb-item+.breadcrumb-item::before {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
        border-width: 12px;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/header-img.png) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
.facts-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, .65);
}

.facts-overlay h1 {
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}

.facts-overlay a:hover {
    color: var(--primary) !important;
}


/*** Service ***/
.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: .5s;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-text * {
    color: #FFFFFF !important;
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-text {
    position: absolute;
    width: 75%;
    bottom: 30px;
    left: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    width: 100%;
}

.team-text * {
    transition: .5s;
}

.team-item:hover .team-text * {
    letter-spacing: 2px;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}






/* Blog Section Styling */
.blog {
    background-color: #f9f9f9;
    padding: 60px 0;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.sub-style {
    display: inline-block;
    background-color: #f4c12e;
    padding: 5px 20px;
    border-radius: 20px;
}

.sub-title {
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
}

.display-3 {
    font-size: 3rem;
    color: #333;
    font-weight: bold;
    line-height: 1.4;
}

.section-title p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    max-width: 800px;
    margin: 20px auto;
}

/* Blog Items */
.blog-item {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.blog-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-item:hover .blog-img img {
    transform: scale(1.05);
}

.blog-centent {
    padding: 20px;
    color: #333;
}

.blog-centent h4 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.blog-centent h4:hover {
    color: #f4c12e;
}

.blog-centent p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

.blog-centent a {
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.blog-centent a:hover{
    color: #f4c12e;

    
}

/* Responsive Design */
@media (max-width: 1199px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    .blog-img img {
        height: 180px;
    }

    .blog-centent h4 {
        font-size: 1.4rem;
    }
}

@media (max-width: 991px) {
    .blog-item {
        margin-bottom: 30px;
    }

    .blog-centent p {
        font-size: 0.95rem;
    }

    .section-title p {
        max-width: 100%;
    }

    .blog-img img {
        height: 250px;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

    .display-3 {
        font-size: 2rem;
    }

    .section-title p {
        font-size: 0.9rem;
    }

    .blog-img img {
        height: 200px;
    }

    .blog-centent h4 {
        font-size: 1.2rem;
    }

    .blog-centent p {
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .blog-item {
        margin-bottom: 20px;
    }

    .section-title h1 {
        font-size: 1.8rem;
    }

    .blog-centent a {
        color: #000;
        text-decoration: none;
        border-radius: 30px;
        transition: background-color 0.3s ease;
    }

    .blog-centent h4 {
        font-size: 1rem;
    }
}






.loan-services {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    margin: 20px;
    margin-top: -30px;
}

.loan-services .image-section {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.loan-services .image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.loan-services .content-section {
    flex: 2;
    padding: 20px;
}

.loan-services .content-section h2 {
    font-size: 2rem;
    color: #333;
}

.loan-services .content-section p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

.loan-services .content-section a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.loan-services .content-section a:hover {
    text-decoration: underline;
}


.loan-services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
}

.loan-service-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 20px;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.loan-service-card:hover {
    transform: translateY(-10px);
}

.loan-service-card .service-icon {
    font-size: 40px;
    color: #a4c639;
    margin-bottom: 15px;
}

.loan-service-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.loan-service-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.loan-service-card a {
    text-decoration: none;
    color: #a4c639;
    font-weight: bold;
    margin-top: 15px;
    display: inline-block;
    transition: color 0.3s ease;
}

.loan-service-card a:hover {
    color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .loan-services-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}




 /* Container for the heading */
 .heading-container {
    position: relative;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 50px;
}

/* Styling the heading */
.heading-container h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 5px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    transition: color 0.3s ease;
}

/* Adding a subtle border to the heading */
.heading-container h2::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 5px;
    background-color: #a4c639;
    bottom: 0;
    left: 25%;
    transition: width 0.3s ease;
}

/* Adding hover effect for the heading */
.heading-container h2:hover {
    color: #a4c639;
}

.heading-container h2:hover::before {
    width: 100%;
    left: 0;
}

/* Optional styling for the subheading */
.heading-container span {
    display: block;
    font-size: 1.2rem;
    color: #777;
    margin-top: 10px;
    letter-spacing: 2px;
}

/* Basic Styles */
.loan-services {
    padding: 0px 0;
    background-color: #ffff;
}

.loan-services .image-section {
    text-align: center;
}

.loan-services .image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.loan-services .content-section {
    padding: 20px;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Ensure that the content is properly aligned in responsive mode */
@media (max-width: 768px) {
    .loan-services .row {
        flex-direction: column; /* Stack the image and content */
    }

    .loan-services .image-section,
    .loan-services .content-section {
        text-align: center; /* Center-align content */
        margin-bottom: 20px; /* Add space between image and content */
    }

    .loan-services .content-section {
        font-size: 1.1rem; /* Slightly increase font size for readability */
    }
}

.btn-primary{
    background-color: #f4c12e;
    border-color: #f4c12e;
}

.btn-primary:hover {
    background-color: #f4c12e;
    border-color: #f4c12e;
}





.testimonials-section {
    background: #f9f9f9;
  }
  
  .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
  }
  
  .section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: -20px;
  }
  
  .testimonial-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    height: 100%;
  }
  
  .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  }
  
  .testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
  }
  
  .testimonial-info {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .testimonial-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f4c12e;
  }
  
  .testimonial-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
  }
  
  .testimonial-role {
    font-size: 0.9rem;
    color: #888;
  }
  




  .service-card {
    background: #f9f9f9;
    border: 1px solid #e2e2e2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  }
  .service-icon {
    padding: 20px;
    border-radius: 50%;
  }
  .service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
  }
  .service-description {
    font-size: 1rem;
    color: #777;
  }
  .btn-primary {
    background-color: #f4c12e ;
    border-color: #f4c12e ;
  }
  .btn-primary:hover {
    background-color: #000000;
    border-color: #000000;
  }