

/* Reset and Basic Styles */
body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333; /* Default text color */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* About Page Specific Styles */
.about-page section {
    padding: 60px 0;
    text-align: center;
}

.about-page h2 {
    margin-bottom: 40px;
    color: #7B3F00; /* Primary color */
    font-size: 2.5em;
}

.history-content {
    display: flex;
    flex-wrap: wrap; /* Make it responsive */
    align-items: center;
    justify-content: center;
}

.history-image, .team-image {
    max-width: 45%; /* Adjust for responsiveness */
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.vision-mission {
    display: flex;
    flex-wrap: wrap; /* Make it responsive */
    justify-content: space-around;
}

.vision, .mission {
    width: 48%; /* Adjust for responsiveness */
    margin-bottom: 30px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

.value img {
    max-width: 90px;
    margin-bottom: 20px;
}

.services-list {
    list-style: none;
    padding: 0;
    font-size: 1.2em;
}

.services-list li {
    margin-bottom: 15px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .history-image, .team-image {
        max-width: 90%;
    }

    .vision, .mission {
        width: 90%;
    }
}

/* Animations (using animate.css) */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeIn {
    animation-name: fadeIn;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.fadeInDown {
    animation-name: fadeInDown;
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

.fadeInRight {
    animation-name: fadeInRight;
}
/* Animations (using animate.css) */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeIn {
    animation-name: fadeIn;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.fadeInDown {
    animation-name: fadeInDown;
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

.fadeInRight {
    animation-name: fadeInRight;
}
/* Buttons */
.btn-primary {
    background-color: #8B4513; /* Company Brown */
    border-color: #8B4513;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    font-weight: 600;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #65330c; /* Darker Brown */
    border-color: #65330c;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.5);
}

.btn-outline-primary {
    color: #8B4513; /* Company Brown */
    border-color: #8B4513;
    background-color: transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: #f0e6e0; /* Light Brown */
    border-color: #8B4513;
    color: #8B4513;
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.5);
}


/*--------------------------------------------------------------
## Header Styles
--------------------------------------------------------------*/
.pre-header {
    background-color: #f8f9fa;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #777;
}

.pre-header-location, .pre-header-social {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.pre-header-location i {
    margin-right: 0.5rem;
}

.pre-header-social {
    text-align: right;
}

.pre-header-social a {
    color: #777;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    font-size: 1rem;
}

.pre-header-social a:hover, .pre-header-social a:focus {
    color: #8B4513; /* Company Brown */
    text-decoration: none;
}


.header-main {
    background-color: #8B4513; /* Company Brown - Primary navbar background color */
    color: white;
    padding: 0;
}

.navbar {
    padding: 0.5rem 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 50px; /* Adjust logo height as needed */
    margin-right: 15px;
}

.navbar-toggler {
    border: none;
    background: transparent;
    padding: 0.25rem 0.5rem; /* Added padding to the toggler button */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
    justify-content: flex-end;
}

.navbar-nav .nav-item {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.navbar-nav .nav-link {
    color: white;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: #f8f9fa; /* Lighter color for hover/active */
}

.dropdown-menu {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.15);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    color: #333;
    padding: 0.5rem 1.5rem;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: #f8f9fa;
    color: #8B4513; /* Company Brown */
}

/* Style the main navigation links */
.navbar .nav-link {
    font-weight: bold; /* Makes the text bold */
    font-size: 1.2em; /* Adjust the size as needed */
}
/*--------------------------------------------------------------
## Footer Styles
--------------------------------------------------------------*/
footer {
    background-color: #d3b797; /* Light Brown Footer */
    color: #333; /* Dark text for footer */
    padding-top: 2rem;
    padding-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Darker border for footer content */
}

.footer-location {
    color: #555; /* Darker location text */
}

.footer-location i {
    margin-right: 0.5rem;
}

.footer-social {
    text-align: center; /* Center social icons on mobile */
}

.footer-social a {
    color: #555; /* Darker social icon color */
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    font-size: 1rem;
}

.footer-social a:hover, .footer-social a:focus {
    color: #333; /* Darker hover color */
    text-decoration: none;
}


.footer-bottom {
    padding-top: 1rem;
    text-align: center;
    color: #777; /* Lighter text for bottom footer */
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom .contact-number {
    font-size: 0.9rem;
}

.footer-bottom .contact-number i {
    margin-right: 0.3rem;
}


-----------------------------------------------------
## Home Page Styles
--------------------------------------------------------------*/
.home-banner {
    background: url('com.png') no-repeat center center fixed; /* Full-screen background image */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: white; /* Text color on banner */
    text-align: center;
    min-height: 100vh; /* Make banner full viewport height */
    padding-top: 30vh; /* Adjust vertical padding to better center content */
    padding-bottom: 15vh; /* Adjust vertical padding to better center content */
    position: relative; /* For overlay */
    display: flex; /* Enable flexbox for vertical centering */
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Vertically center content */
}

.home-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
    z-index: 1;
}

.home-banner-content {
    position: relative;
    z-index: 2; /* Ensure content is above overlay */
}


.home-content {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.home-content h1.display-4 {
    color: #8B4513; /* Company Brown for main heading */
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.home-content .lead {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.home-content .btn-primary {
    margin-right: 1rem;
}

.home-content img {
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}


.services-overview {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #fff;
}

.services-overview h2 {
    color: #8B4513; /* Company Brown for section headings */
    font-weight: bold;
    margin-bottom: 3rem;
    text-align: center;
}

.services-overview .service-item {
    text-align: center;
    padding: 2rem;
    border-radius: 0.5rem;
    background-color: #f8f9fa; /* Light grey service item background */
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.services-overview .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}


.services-overview .service-icon {
    font-size: 9.5rem;
    color: #8B4513; /* Company Brown */
    margin-bottom: 1rem;
}

.services-overview .service-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

.services-overview .service-item p {
    color: #666;
    margin-bottom: 1.5rem;
}

.services-overview .learn-more {
    color: #8B4513; /* Company Brown */
    font-weight: 600;
}

.services-overview .learn-more i {
    margin-left: 0.5rem;
}


.about-us-brief {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #e9ecef; /* Very light grey background */
}

.about-us-brief h2 {
    color: #8B4513; /* Company Brown for section headings */
    font-weight: bold;
    margin-bottom: 2rem;
}

.about-us-brief p {
    color: #8B4513;
    margin-bottom: 1.5rem;
}

.about-us-brief img {
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}


/*--------------------------------------------------------------
## Page Specific Styles
--------------------------------------------------------------*/

/* Banner Styles for all inner pages */
.inner-banner {
    background-color: #f8f9fa; /* Light grey banner background */
    padding-top: 6rem;
    padding-bottom: 4rem;
    text-align: center;
}

.inner-banner h1.display-4 {
    color: #8B4513; /* Company Brown for page headings */
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.inner-banner .lead {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

/* About Us Page Specific Styles */
.about-banner {
    background-image: url('../assets/images/banner-about.jpg');
    background-size: cover;
}

/* Services Page Specific Styles */
.services-banner {
    background-image: url('../assets/images/banner-services.jpg');
    background-size: cover;
}

/* Loan Form Page Specific Styles */
.loan-form-banner {
    background-image: url('../assets/images/banner-loan-form.jpg');
    background-size: cover;
}

/* Contact Page Specific Styles */
.contact-banner {
    background-image: url('../assets/images/banner-contact.jpg');
    background-size: cover;
}

/* FAQ Page Specific Styles */
.faq-banner {
    background-image: url('../assets/images/banner-faq.jpg');
    background-size: cover;
}


/* Company History Section (About Us Page) */
.company-history {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.company-history h2,
.mission-values h2,
.our-team h2,
.service-categories h2,
.loan-form-section h2,
.faq-section h2,
.contact-form-section h2,
.contact-info-section h3{
    color: #8B4513; /* Company Brown for section headings */
    font-weight: bold;
    margin-bottom: 2rem;
}

/* Mission and Values Section (About Us Page) */
.mission-values {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #f8f9fa; /* Light grey background */
}

.mission-values .list-unstyled i,
.values-list .list-unstyled i {
    color: #8B4513; /* Brown check/heart icons */
    margin-right: 0.5rem;
}

/* Our Team Section (About Us Page) */
.our-team {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.our-team .team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.our-team .team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #eee; /* Light border for team images */
    transition: border-color 0.3s ease;
}

.our-team .team-member:hover img {
    border-color: #8B4513; /* Brown border on hover */
}


.our-team .team-member h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.our-team .team-member .team-title {
    color: #777;
    font-style: italic;
    margin-bottom: 1rem;
}


/* Service Categories Section (Services Page) */
.service-categories {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.service-categories .service-category {
    margin-bottom: 3rem;
}

.service-categories .service-category img {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05); /* Subtle shadow for service images */
}

.service-categories .service-category p {
    color: #555;
    margin-bottom: 1.5rem;
}


/* Loan Form Page Section */
.loan-form-content {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08); /* Card-like appearance */
    padding: 3rem;
    margin-bottom: 2rem; /* Spacing below form */
}


.loan-form-section .form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee; /* Separator between form sections */
}

.loan-form-section .form-section:last-child {
    border-bottom: none; /* No separator for the last section */
}

.loan-form-section .form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #8B4513; /* Brown section titles in form */
}

.loan-form-section .form-group {
    margin-bottom: 1.5rem;
}

.loan-form-section .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.loan-form-section .form-group .form-control {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.loan-form-section .form-group .form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #8B4513;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

.loan-form-section .required {
    color: red;
}


/* FAQ Page Section */
.faq-content {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08); /* Card-like appearance */
    padding: 3rem;
    margin-bottom: 2rem; /* Spacing below FAQ section */
}


.faq-section .card {
    border: none; /* Remove default card border */
    margin-bottom: 1rem; /* Spacing between FAQ items */
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05); /* Subtle shadow for FAQ cards */
}

.faq-section .card-header {
    background-color: #fff; /* White card header */
    padding: 1.25rem 1.5rem;
    border-bottom: none; /* Remove header border */
}

.faq-section .card-header .btn-link {
    color: #333; /* Dark text for FAQ question */
    text-decoration: none;
    display: block; /* Ensure button takes full width */
    text-align: left; /* Align text to the left */
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-section .card-header .btn-link:hover,
.faq-section .card-header .btn-link:focus {
    color: #8B4513; /* Brown on hover/focus */
    text-decoration: none; /* No underline on hover */
}

.faq-section .card-header .btn-link i {
    margin-right: 0.75rem;
    color: #8B4513; /* Brown question mark icon */
}


.faq-section .card-body {
    padding: 1.5rem;
    border-top: 1px solid #eee; /* Separator between question and answer */
    color: #555; /* Answer text color */
}


/*--------------------------------------------------------------
## Animation Styles
--------------------------------------------------------------*/
.animated-widget {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animated-widget.animate {
    opacity: 1;
    transform: translateY(0);
}


/*--------------------------------------------------------------
## Contact Page Styles
--------------------------------------------------------------*/
.contact-banner {
    background-image: url('../assets/images/contact.jpg');
    background-size: cover;
}


.contact-content {
    padding-top: 4rem;
    padding-bottom: 4rem;
}


.contact-form-col, .contact-info-col {
    padding: 2rem;
}


.contact-form-section, .contact-info-section {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08); /* Card-like appearance */
    padding: 2.5rem;
}


.contact-heading {
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-text {
    color: #555;
    margin-bottom: 2rem;
    text-align: center;
}


.contact-form-section form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-section form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.contact-form-section form .form-control {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.contact-form-section form .form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #8B4513;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}


.contact-info-section .contact-list {
    padding-left: 0;
    list-style: none;
}

.contact-info-section .contact-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.contact-info-section .contact-list i {
    font-size: 1.2rem;
    margin-right: 1rem;
    color: #8B4513; /* Company Brown */
    flex-shrink: 0;
}

.contact-info-section .contact-list span {
    font-weight: 600;
    color: #333;
    margin-right: 0.5rem;
}

.contact-info-section .contact-list a {
    color: ##7B3F00;
}

.contact-map iframe {
    border-radius: 0.5rem;
    margin-top: 1rem;
}


/*--------------------------------------------------------------
## Responsive Adjustments for Smaller Screens
--------------------------------------------------------------*/
@media (max-width: 768px) {
    /* Global adjustments for smaller screens */
    body {
        font-size: 0.95rem; /* Slightly smaller base font size for readability */
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    h4 {
        font-size: 1.5rem;
    }

    .container {
        padding-right: 1rem; /* Adjust container padding for mobile */
        padding-left: 1rem;
    }

    .btn-primary, .btn-outline-primary {
        padding: 0.6rem 1.2rem; /* Slightly smaller button padding */
        font-size: 0.95rem;
    }

    .pre-header {
        display: none; /* Hide pre-header on smaller screens if space is tight */
    }

    .navbar-brand .logo-img {
        max-height: 40px; /* Smaller logo on mobile */
    }

    .navbar-nav {
        text-align: center; /* Center align nav items in mobile menu */
    }

    .navbar-nav .nav-item {
        margin-left: 0; /* Remove horizontal margins in mobile menu */
        margin-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Add separators in mobile menu */
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none; /* Remove separator from last item */
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem; /* Adjust link padding in mobile menu */
    }

    .footer-content {
        flex-direction: column; /* Stack footer content on mobile */
        text-align: center;
    }

    .footer-location, .footer-social {
        margin-bottom: 1rem; /* Add spacing between footer sections */
    }
    .footer-social {
        text-align: center; /* Center social icons in footer on mobile */
    }


    /* Home Page Adjustments for Mobile */
    .home-banner {
        padding-top: 30vh; /* Adjust vertical padding for mobile banner */
        padding-bottom: 15vh;
    }

    .home-content {
        padding-top: 3rem;
        padding-bottom: 3rem;
        text-align: center; /* Center align home content on mobile */
    }

    .home-content .btn-primary {
        margin-right: 0;
        margin-bottom: 1rem; /* Stack buttons on mobile */
    }

    .home-content .col-md-6:last-child {
        margin-top: 2rem; /* Add space above image on mobile */
    }

    .services-overview {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .services-overview h2 {
        margin-bottom: 2rem; /* Adjust service section heading margin */
    }

    .services-overview .service-item {
        padding: 1.5rem; /* Adjust service item padding on mobile */
        margin-bottom: 1.5rem;
    }

    .about-us-brief {
        padding-top: 4rem;
        padding-bottom: 4rem;
        text-align: center; /* Center align about us brief on mobile */
    }
    .about-us-brief .col-md-6:last-child {
        margin-top: 2rem; /* Add space above image in about us brief on mobile */
    }


    /* Inner Pages Banner Adjustments for Mobile */
    .inner-banner {
        padding-top: 5rem;
        padding-bottom: 3rem;
    }

    .inner-banner h1.display-4 {
        font-size: 2.2rem; /* Smaller banner heading on mobile */
    }

    .inner-banner .lead {
        font-size: 1rem; /* Smaller banner lead text on mobile */
    }


    /* About Us Page Sections - Mobile Adjustments */
    .company-history,
    .mission-values,
    .our-team {
        padding-top: 3rem;
        padding-bottom: 3rem;
        text-align: center; /* Center align sections on mobile */
    }

    .our-team .team-member {
        margin-bottom: 1.5rem; /* Adjust team member spacing on mobile */
    }


    /* Services Page - Mobile Adjustments */
    .service-categories {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .service-categories .service-category {
        margin-bottom: 2rem; /* Adjust service category spacing on mobile */
        text-align: center; /* Center align service categories on mobile */
    }
    .service-categories .service-category img {
        margin-bottom: 1rem; /* Add space below service category images on mobile */
    }


    /* Loan Form Page - Mobile Adjustments */
    .loan-form-content {
        padding: 1.5rem; /* Reduced padding for loan form on mobile */
        margin-bottom: 1.5rem;
    }

    .loan-form-content .col-md-4,
    .loan-form-content .col-md-4 {
        width: 100%; /* Full width for form and sidebar columns on mobile */
        max-width: 100%; /* Ensure full width */
        flex: 0 0 100%;
    }

    .loan-form-content .col-md-4 {
        margin-top: 2rem; /* Space above sidebar on mobile */
    }

    .loan-form-section .form-section h2 {
        font-size: 1.3rem; /* Smaller form section headings on mobile */
    }
    .loan-form-section .form-group label {
        font-size: 0.95rem; /* Smaller label font size on mobile */
    }


    /* FAQ Page - Mobile Adjustments */
    .faq-content {
        padding: 1.5rem; /* Reduced padding for FAQ content on mobile */
        margin-bottom: 1.5rem;
    }
    .faq-section .card-header {
        padding: 1rem; /* Reduced card header padding on mobile */
    }
    .faq-section .card-header .btn-link {
        font-size: 1rem; /* Slightly smaller FAQ question text on mobile */
    }
    .faq-section .card-body {
        padding: 1rem; /* Reduced card body padding on mobile */
    }


    /* Contact Page - Mobile Adjustments */
    .contact-content {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .contact-form-col, .contact-info-col {
        padding: 1.5rem; /* Reduced padding for contact columns on mobile */
    }

    .contact-heading {
        font-size: 1.6rem; /* Slightly smaller contact heading on mobile */
    }
    .contact-text {
        font-size: 0.95rem; /* Smaller contact text on mobile */
    }
    .contact-info-section .contact-list li {
        font-size: 0.95rem; /* Smaller contact info text on mobile */
    }
    .contact-info-section .contact-list i {
        font-size: 1.1rem; /* Slightly smaller contact icons on mobile */
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Prevent scrollbars if image is slightly larger */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: black; /* Default text color for hero section */
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Clip image to container bounds */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover container, may crop */
    position: absolute; /* Position image absolutely within container */
    top: 0;
    left: 0;
    z-index: -1; /* Place image behind content */
}
hero-container { /* Replace .hero-container with the actual class or ID of your hero area container */
    width: 100%; /* Or your desired width */
    height: 300px; /* Or your desired height */
    overflow: hidden; /* To prevent potential overflow */
}

.hero-image { /* Replace .hero-image with the actual class or ID of your image */
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: -1; /* Place overlay behind content but in front of image */
}


.hero-content {
    position: relative; /* Ensure content is above overlay and image */
    padding: 3rem; /* Add some padding to content area */
}

.hero h1 {
    font-size: 3rem; /* Larger font size for hero title */
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Loan Application Form Styles (updated to be more specific) */
.loan-application-form .form-section {
    margin-top: 2rem;
    padding: 2rem; /* Increased padding for form sections */
    border: 1px solid #ddd;
    border-radius: 0.75rem; /* More rounded corners */
    background-color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08); /* Slightly stronger shadow */
}

.loan-application-form .form-section h3 {
    color: #8B4513; /* Company Brown Color */
    margin-bottom: 1.75rem; /* Increased margin */
    font-size: 1.6rem; /* Larger section headings */
    font-weight: 600; /* Bold section headings */
    border-bottom: 2px solid #eee; /* Underline for headings */
    padding-bottom: 0.5rem;
}

.loan-application-form .form-group {
    margin-bottom: 1.5rem; /* Increased spacing between form groups */
}

.loan-application-form .form-group label {
    font-weight: 500;
    display: block;
    margin-bottom: 0.6rem; /* Spacing below labels */
    color: #495057; /* Slightly darker label text */
}

.loan-application-form .form-control {
    display: block;
    width: 100%;
    padding: 1rem; /* Increased padding for inputs */
    font-size: 1.1rem; /* Slightly larger input text */
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.3rem; /* More rounded input corners */
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Smoother transitions */
}

.loan-application-form .form-control::placeholder {
    color: #777; /* Darker placeholder text */
    opacity: 1;
}

.loan-application-form .form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #8B4513; /* Company Brown Color focus border */
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(139, 69, 19, 0.25); /* Company Brown Color focus shadow */
}

.loan-application-form .next-button,
.loan-application-form .prev-button,
.loan-application-form .submit-button {
    padding: 1.2rem 2.5rem; /* Larger buttons */
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 0.3rem;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Button animation */
    margin-top: 1rem; /* Add margin above buttons */
    background-color: #8B4514; /* Company Brown Color */
    border-color: #8B4513; /* Company Brown Color */
}


.loan-application-form .next-button:hover,
.loan-application-form .prev-button:hover,
.loan-application-form .submit-button:hover {
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: 0 0.5rem 0.75rem rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
    background-color: #65330c; /* Darker brown on hover */
    border-color: #65330c; /* Darker brown on hover */
}

.loan-application-form .prev-button {
    margin-right: 1rem; /* Add spacing between Previous and Submit buttons */
    background-color: #6c757d; /* Grey for previous button */
    border-color: #6c757d;
}

.loan-application-form .prev-button:hover {
    background-color: #5a6268; /* Darker grey on hover */
    border-color: #5a6268;
}

.bg-primary {
    background-color: #8B4513 !important; /* Company Brown for primary background */
}

.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5); /* Adjust navbar toggler border for brown */
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(255, 255, 255, 0.75); /* Adjust navbar link hover color for brown */
}

.dropdown-menu .dropdown-item.active, .dropdown-menu .dropdown-item:active {
    background-color: #8B4513; /* Brown for active dropdown item */
}


/* Footer Styles */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-location {
    color: #eee;
    font-size: 0.9rem;
}

.footer-social a {
    color: #eee;
    margin-left: 0.7rem;
}

.footer-social a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom .contact-number {
    margin-top: 0.5rem;
}
/* Animation for Widgets */
.animated-widget {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards 0.3s; /* Fade-in and slide-up animation */
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}
/* Sidebar Styles */
.sidebar {
    padding: 2rem;
}

.sidebar-right {
    order: 2; /* Push sidebar to the right in flexbox order */
}

.sidebar-widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
    transition: background-color 0.3s ease; /* Smooth background transition */
}

.sidebar-widget:hover {
    background-color: #f0f0f0; /* Slightly darker on hover */
}

.sidebar-widget h3 {
    color: #8B4513; /* Company Brown Color */
    margin-bottom: 1rem;
    font-size: 1.3rem; /* Slightly larger heading */
    transition: color 0.3s ease; /* Smooth color transition */
}

.sidebar-widget:hover h3 {
    color: #65330c; /* Darker brown on hover */
}


.sidebar-widget ul.list-unstyled {
    list-style: none;
    padding-left: 0;
}

.sidebar-widget ul.list-unstyled li {
    margin-bottom: 0.7rem; /* Spacing between links */
}

.sidebar-widget ul.list-unstyled li a {
    display: block;
    padding: 0.6rem 1rem;
    color: #343a40;
    text-decoration: none;
    border-radius: 0.3rem;
    background-color: transparent; /* Initially transparent background */
    transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s ease; /* Smooth transitions */
}

.sidebar-widget ul.list-unstyled li a:hover {
    background-color: #e9ecef; /* Light background on hover */
    color: #8B4513; /* Company Brown Color on hover */
    padding-left: 1.5rem; /* Slight indentation on hover for animation effect */
}

/* Animation for Widgets */
.animated-widget {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards 0.3s; /* Fade-in and slide-up animation */
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}
.service-container {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    justify-content: space-around; /* Space items evenly */
    padding: 20px;
}

.service-image {
    background: #f9f9f9; /* Light background for contrast */
    border: 1px solid #ddd; /* Light border */
    border-radius: 8px; /* Rounded corners */
    padding: 20px;
    margin: 15px;
    flex: 1 1 30%; /* Allow items to grow and fill space */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    text-align: center; /* Center text */
}

.service-img {
    width: 100%; /* Full width images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px; /* Rounded corners for images */
}

h3 {
    margin: 10px 0; /* Spacing for headings */
}

p {
    margin: 5px 0; /* Spacing for paragraphs */
}
.service-container {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    justify-content: space-around; /* Space items evenly */
    padding: 20px;
}

.service-image {
    background: #f9f9f9; /* Light background for contrast */
    border: 1px solid #ddd; /* Light border */
    border-radius: 8px; /* Rounded corners */
    padding: 20px;
    margin: 15px;
    flex: 1 1 30%; /* Allow items to grow and fill space */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    text-align: left; /* Align text to the left for better readability */
}

.service-img {
    width: 100%; /* Full width images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px; /* Rounded corners for images */
}

h3 {
    margin: 10px 0; /* Spacing for headings */
    font-size: 18px; /* Adjusted font size for headings */
}

p {
    margin: 5px 0; /* Spacing for paragraphs */
    line-height: 1.5; /* Improved line-height for readability */
    font-size: 14px; /* Adjust font size for paragraphs */
}

.inner-banner.services-banner {
    background-image: url('images/our-services.jpg'); /* Replace with your image path */
    background-size: cover; /* Cover the entire section */
    background-position: center; /* Center the image */
    color: white; /* Text color for contrast */
    padding: 100px 0; /* Vertical padding */
    text-align: center; /* Center text */
}

.container {
    max-width: 1200px; /* Limiting the width of the container */
    margin: 0 auto; /* Center the container */
}

.display-4 {
    font-size: 2.5rem; /* Adjust heading size */
    margin-bottom: 20px; /* Space below heading */
}

.lead {
    font-size: 1.25rem; /* Adjust lead text size */
}
.inner-banner.contact-banner {
    background-image: url('images/contact.jpg'); /* Replace with your image path */
    background-size: cover; /* Cover the entire section */
    background-position: center; /* Center the image */
    color: white; /* Text color for contrast */
    padding: 100px 0; /* Vertical padding */
    text-align: center; /* Center text */
}

.container {
    max-width: 1200px; /* Limiting the width of the container */
    margin: 0 auto; /* Center the container */
}

.display-4 {
    font-size: 2.5rem; /* Adjust heading size */
    margin-bottom: 20px; /* Space below heading */
}

.lead {
    font-size: 1.25rem; /* Adjust lead text size */
}

.inner-banner.faq-banner {
    background-image: url('images/faq.jpg'); /* Replace with your image path */
    background-size: cover; /* Cover the entire section */
    background-position: center; /* Center the image */
    color: white; /* Text color for contrast */
    padding: 100px 0; /* Vertical padding */
    text-align: center; /* Center text */
}

.container {
    max-width: 1200px; /* Limiting the width of the container */
    margin: 0 auto; /* Center the container */
}

.display-4 {
    font-size: 2.5rem; /* Adjust heading size */
    margin-bottom: 20px; /* Space below heading */
}

.lead {
    font-size: 1.25rem; /* Adjust lead text size */
}
/* Service Page Styles - Mobile Compatibility */

/* Adjust overall layout for smaller screens */
@media (max-width: 768px) {
    .service-container {
        flex-direction: column; /* Stack service items vertically */
        padding: 10px; /* Reduce padding */
    }

    .service-image {
        width: 90%; /* Make service images wider */
        margin: 10px auto; /* Center and reduce margin */
        padding: 15px; /* Reduce padding */
    }

    .service-img {
        width: 100%; /* Ensure images fill their container */
    }

    .service-image h3 {
        font-size: 1.2rem; /* Reduce heading size */
        margin: 8px 0; /* Reduce heading margin */
    }

    .service-image p {
        font-size: 0.9rem; /* Reduce paragraph size */
        margin: 5px 0; /* Reduce paragraph margin */
    }

    .inner-banner.services-banner {
        padding: 60px 0; /* Reduce banner padding */
    }

    .display-4 {
        font-size: 2rem; /* Reduce display heading size */
        margin-bottom: 15px; /* Reduce margin */
    }

    .lead {
        font-size: 1rem; /* Reduce lead text size */
    }
}

/* Adjust for slightly larger mobile screens */
@media (min-width: 481px) and (max-width: 768px) {
    .service-image {
        width: 80%; /* Slightly reduce width for larger phones */
    }
}

/* Adjust for very small screens */
@media (max-width: 375px) {
    .service-image {
        padding: 10px; /* Further reduce padding for small screens */
    }
}
.about-us-brief p {
    font-size: 1.15rem; /* Adjust the value as needed */
    line-height: 1.7; /* Adjust line height for better readability */
}
.about-us-brief .btn.btn-outline-primary {
    color: #8B4513; /* Brown text */
    border-color: #8B4513; /* Brown border */
}

.about-us-brief .btn.btn-outline-primary:hover {
    background-color: #8B4513; /* Brown background on hover */
    border-color: #8B4513; /* Brown border on hover */
    color: white; /* White text on hover */
 
 /* style.css */

.faq-content {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.faq-item:hover {
    background-color: #f0f0f0;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background-color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px 5px 0 0;
}

.faq-question:hover,
.faq-question:focus {
    background-color: #e9ecef;
    color: #8B4513;
}

.faq-answer {
    padding: 20px;
    display: block;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: #fff;
    border-radius: 0 0 5px 5px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.7;
    font-size: 1.1rem;
}

.faq-answer.collapsed {
    max-height: 0;
}

.faq-answer:not(.collapsed) {
    max-height: 1000px;
}

.faq-content h2 {
    font-size: 2rem;
    color: #8B4513;
}

.faq-content p.mt-4 {
    font-size: 1.1rem;
}

.faq-content p.mt-4 a {
    color: #007bff;
    text-decoration: none;
}

.faq-content p.mt-4 a:hover {
    text-decoration: underline;
}
/* ... (existing CSS) ... */

/* Form and Sidebar Full Height */
.container-fluid.mt-5.pt-5 {
    display: flex; /* Use flexbox for layout */
    min-height: calc(100vh - 250px); /* Adjust 250px based on header/footer height */
}

.container.mt-5 {
    flex: 1; /* Allow the container to take up available space */
    display: flex;
    flex-direction: column;
}

.row {
    flex: 1; /* Allow the row to take up available space */
}

.form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#loanForm {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.row > div[class^="col-md-"] {
    display: flex;
    flex-direction: column;
}

.sidebar {
    height: 100%; /* Make the sidebar full height */
    overflow-y: auto; /* Add scroll if content overflows */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container-fluid.mt-5.pt-5 {
        flex-direction: column; /* Stack form and sidebar on mobile */
    }

    .col-md-8, .col-md-4 {
        width: 100%; /* Make columns full width on mobile */
    }
}
 btn-outline-brown-primary {
    color: white; /* Text color */
    background-color: brown; /* Background color */
    border-color: brown; /* Border color */
}

.btn-outline-primary:hover {
    background-color: darkbrown; /* Darker shade on hover */
    border-color: darkbrown; /* Darker border on hover */
}
.sa-banner {
    position: relative;
    height: 400px; /* Adjust height as needed */
    overflow: hidden;
}

.sa-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* General Styles */
body {
    font-family: 'Nunito', sans-serif;
}

/* Pre-header styles */
.pre-header {
    background-color: #f8f9fa;
    padding: 10px 0;
}

/* Form Container */
.form-container {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-container {
        padding: 15px; /* Add padding for smaller screens */
    }

    .sidebar {
        display: none; /* Hide sidebar on smaller screens */
    }

    .col-md-8 {
        width: 100%; /* Full width for form on small screens */
    }

    .col-md-4 {
        display: none; /* Hide sidebar on small screens */
    }
}

/* Footer styles */
.footer-content {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
}

.footer-bottom {
    background-color: #343a40;
    color: #ffffff;
    padding: 10px;
    text-align: center;
}

/* Button styles */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Form input styles */
.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
/* Mobile Styles */
@media (max-width: 768px) {
    .form-container {
        padding: 15px; /* Adjust padding for smaller screens */
        width: 100%; /* Full width for form on small screens */
    }

    .form-control {
        width: 100%; /* Ensure inputs take full width */
        margin-bottom: 10px; /* Add space between inputs */
    }

    .sidebar {
        display: none; /* Hide sidebar on mobile */
    }
}