/* Lock Bootstrap theme colors site-wide to prevent default blue fallbacks. */
:root {
    --bs-primary: #27491A;
    --bs-primary-rgb: 39, 73, 26;
    --bs-link-color: #27491A;
    --bs-link-hover-color: #1d3513;
}
/* Reduce space between Get Funding button and phone icon in header */
.nav-btn {
    margin-right: 0.5rem !important;
    padding-right: 0 !important;
}
.d-none.d-xl-flex.flex-shrink-0.ps-4 {
    padding-left: 0.5rem !important;
}
/* Strongly reduce space between phone icon and expert text/number in header - only one rule, highly specific */
.d-none.d-xl-flex.flex-shrink-0.ps-4 > .d-flex.flex-column.ms-3 {
    margin-left: 0.1rem !important;
}
/* Force first blog entry image to match size of others, with high specificity */
.blog .blog-item:first-child .blog-img img,
.blog .blog-item .blog-img .blog-img-match {
    height: 270px !important;
    object-fit: cover !important;
    width: 100% !important;
    display: block !important;
}
/* Custom background for phone icon next to 'Call Our Experts' */
.call-expert-phone-btn {
    background: #FCF9E8 !important;
    background-color: #FCF9E8 !important;
    color: #27491A !important;
    border: none !important;
}
/* Permanent black & white with dark green overlay for use case images in footer */
.footer-instagram img {
    filter: grayscale(1) contrast(1.1) brightness(0.95);
    position: relative;
}
.footer-instagram::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(39, 73, 26, 0.25); /* dark green hint */
    pointer-events: none;
    border-radius: inherit;
    z-index: 2;
}
.footer-instagram {
    position: relative;
    overflow: hidden;
}
/* Force Crimson Text Regular for footer description below logo */
/* Match footer copyright font size */
/* Larger footer text */
/* Moderate footer text size */
.footer-item > p.text-white.mb-4 {
    font-family: 'crimson-text-regular', serif !important;
    font-weight: 300 !important;
    font-size: 1rem !important;
}
/* Make footer headings thinner */
.footer-item h4,
.footer-item .mb-4.text-white {
    font-weight: 300 !important;
    letter-spacing: 0.5px;
}
/* Force larger SVG logo in navbar on desktop */
.navbar-brand .img-fluid.d-lg-block[src$="Lettering_with_mark_green.svg"] {
    max-height: 180px !important;
    width: auto !important;
    height: auto !important;
    min-height: 80px;
}
/* Add rounded corners and shading to carousel images */
.header-carousel .calrousel-img img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(195, 197, 124, 0.32);
    background: #fff;
}
/* Match testimonial-item style to feature-item/about-item-content */
.testimonial-item {
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    background: #fff;
}
/* Match FAQ accordion and image style to feature-item/about-item-content */
.faq-section .accordion,
.faq-section .accordion-item {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    background: #fff;
    border: none;
}
.faq-section .accordion-body {
    border-radius: 12px;
    background: #fff;
}
.faq-section img.img-fluid {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    background: #fff;
}
/* Match feature-item style to about-item-content for Why Choose Us section */
.feature-item {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    background: #fff;
}
/* Add extra horizontal spacing between footer contact columns */
.footer .row.g-5 > [class^='col-'] {
    padding-left: 32px;
    padding-right: 32px;
}

@font-face {
    font-family: 'crimson-text-semibold';
    src: url('../assets/fonts/CrimsonText-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'crimson-text-regular';
    src: url('../assets/fonts/CrimsonText-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'verdana-regular';
    src: url('../assets/fonts/Verdana-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'verdana-bold';
    src: url('../assets/fonts/Verdana-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/*** Global Button Typography ***/
/* Apply DM Sans Bold to all buttons across the site */
.btn,
button {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
}
/*** Global Button Typography End ***/

/*** Carousel Typography ***/
/* Apply Crimson Text to carousel headings */
.header-carousel-item h4 {
    /* slightly larger and lighter than before */
    font-family: 'crimson-text-regular', sans-serif;
    font-weight: 100; /* thinnest possible */
    font-size: 1.75rem; /* adjusted per user request */
    letter-spacing: 1.5px; /* increased spacing for clarity */
    border: none;
    outline: none;
    /* thin green stroke to improve legibility */
    -webkit-text-stroke: 0.4px #27491A;
    text-stroke: 0.4px #27491A;
    box-shadow: none;
}

/* Apply Verdana Regular to carousel description paragraphs */
.header-carousel-item p {
    font-family: 'verdana-regular', Arial, sans-serif;
    font-size: 0.9rem !important;
}

/* Override Get Funding button styling in carousel */
.header-carousel-item .btn.btn-dark {
    font-weight: 500;
    letter-spacing: 1px;
}
/*** Carousel Typography End ***/

/*** Spinner Start ***/
#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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}


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

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

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

.btn-md-square {
    width: 44px;
    height: 44px;
}

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

.btn-xl-square {
    width: 66px;
    height: 66px;
}

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

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Topbar Start ***/ 
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-white);
    transition: 1s;
}

.navbar-light .navbar-brand img {
    transition: .5s;
}

/* Force larger SVG logo in navbar on desktop, override all */
.navbar-brand .img-fluid.d-lg-block[src$="Lettering_with_mark_green.svg"] {
    max-height: 200px !important;
    height: 90px !important;
    width: auto !important;
    min-height: 80px;
    display: block;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 15px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: var(--bs-primary);
}

@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 20px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
}

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

.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 20px;
        background: var(--bs-light);
        transition: .5s;
        opacity: 1;
    }
}

/* Navbar font: use crimson-text-semibold for nav links and dropdown items */
.navbar .navbar-nav .nav-link,
.navbar .dropdown-menu .dropdown-item {
    font-family: 'crimson-text-semibold', 'DM Sans', 'Inter', sans-serif;
}

/* Footer copyright styling: use Crimson Text Regular and green background */
.container-fluid.copyright {
    background: var(--bs-dark) !important;
}
.container-fluid.copyright .footer-copyright {
    font-family: 'crimson-text-regular', serif;
    text-decoration: none;
    color: var(--bs-white) !important;
}

/*** Navbar End ***/


/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-light);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 #C3C57C;
    color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .header-carousel-item {
        height: 1300px;
    }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item {
        height: 950px;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(1, 95, 201, 0.9), rgba(0, 0, 0, 0.2)), url(../img/bg-breadcrumb.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Feature Start ***/
.feature .feature-item {
    background: var(--bs-white);
    transition: 0.5s;
}

.feature .feature-item:hover {
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon {
    position: relative;
    width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    background: var(--bs-light);
}

.feature .feature-item:hover .feature-icon i {
    z-index: 9;
}

.feature .feature-item .feature-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.feature .feature-item:hover .feature-icon::after {
    height: 100%;
}

.feature .feature-item .feature-icon {
    color: var(--bs-primary);
}

.feature .feature-item .feature-icon,
.feature .feature-item h4,
.feature .feature-item p {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
    color: var(--bs-white);
}
.feature .feature-item:hover h4,
.feature .feature-item:hover p {
    color: var(--bs-white);
}

.feature .feature-item:hover a.btn {
    background: var(--bs-white);
    color: var(--bs-primary);
}

.feature .feature-item:hover a.btn:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

/* Apply Crimson Text to Why Choose Us heading */
.feature .text-center h4 {
    font-family: 'crimson-text-semibold', Georgia, serif;
}

/* Apply Crimson Text to About, Service, Blog, and Testimonial section headings */
.about-item-content h4,
.service .text-center h4,
.faq-section .mb-5 h4,
.blog .text-center h4,
.testimonial .text-center h4 {
    font-family: 'crimson-text-semibold', Georgia, serif;
}

/* Apply Crimson Text to the small page header text on all pages except blog and contact */
.container-fluid.team .text-center h4.text-primary,
.container-fluid.testimonial .text-center h4.text-primary,
.container-fluid.about .text-center h4.text-primary,
.container-fluid.service .text-center h4.text-primary,
.container-fluid.service-solutions .text-center h4.text-primary,
.container-fluid.faq-section .text-center h4.text-primary,
.container-fluid.feature .text-center h4.text-primary,
.container-fluid.real-estate-heloc .text-center h4.text-primary,
.container-fluid.real-estate-fix-and-flip .text-center h4.text-primary,
.container-fluid.real-estate-dscr .text-center h4.text-primary,
.container-fluid.real-estate-construction .text-center h4.text-primary,
.container-fluid.real-estate-term-loan .text-center h4.text-primary,
.container-fluid.alt-credit-facility .text-center h4.text-primary,
.container-fluid.alt-bridge-loan .text-center h4.text-primary,
.container-fluid.alt-mca .text-center h4.text-primary,
.container-fluid.alt-hard-money-loan .text-center h4.text-primary,
.container-fluid.service-business-credit-card-consulting .text-center h4.text-primary,
.container-fluid.service-credit-analysis .text-center h4.text-primary,
.container-fluid.service-financials-review .text-center h4.text-primary,
.container-fluid.service-borrower-vetting .text-center h4.text-primary {
    font-family: 'crimson-text-semibold', Georgia, serif;
}
/*** Feature End ***/


/*** Service Start ***/
.service .service-item {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    background: #fff;
}
.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.1);
}

.service .service-item .service-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(195, 197, 124, 0.2); /* #C3C57C with .2 transparency */
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-img::after {
    height: 100%;
}

.service .service-item .service-img .service-icon {
    position: absolute;
    width: 70px;
    bottom: 0;
    right: 25px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 9;
}

.service .service-item .service-img .service-icon i {
    color: var(--bs-primary);
    transition: 0.5s;
}

.service .service-item:hover .service-img .service-icon i {
    transform: rotateX(360deg);
    color: var(--bs-white);
}

.service .service-item:hover .service-img .service-icon {
    bottom: 0;
    color: var(--bs-white);
    background: var(--bs-primary);
}

.service .service-content {
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner {
    position: relative;
    z-index: 9;
}

.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
    color: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary {
    color: var(--bs-primary);
    background: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.service .service-item:hover .service-content .service-content-inner .h4:hover {
    color: var(--bs-dark);
}

.service .service-item .service-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    height: 100%;
}
/*** Service End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-white);
    background: #27491A;
    font-size: 18px;
    border-color: #C3C57C !important;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-primary);
    background: var(--bs-light);
}
/*** FAQs End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.blog .blog-item:hover .blog-content {
    background: var(--bs-white);
}

.blog .blog-item .blog-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

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

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(39, 73, 26, 0.2); /* changed to site green, same alpha */
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    display: inline-flex;
    color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 9;
}

.blog .blog-item .blog-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.blog .blog-item .blog-content a.btn {
    color: var(--bs-dark);
}

.blog .blog-item:hover .blog-content a.btn:hover {
    color: var(--bs-primary);
}
/*** Blog End ***/


/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
} 

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-bottom: -100%;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon {
    margin-bottom: 0;
}

.team .team-item .team-title {
    color: var(--bs-white);
    background: var(--bs-primary);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-title h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-title {
    background: var(--bs-dark);
}
/*** Team End ***/


/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}
/*** Testimonial End ***/


/*** Contact Start ***/
.contact .contact-img {
    position: relative;
}

.contact .contact-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
    animation-name: image-efects;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 0.5s
}

@keyframes image-efects {
    0%  {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}

    25% {border-radius: 35% 65% 27% 73% / 71% 25% 75% 29%;}

    50% {border-radius: 41% 59% 45% 55% / 32% 21% 79% 68%;}

    75% {border-radius: 69% 31% 39% 61% / 70% 83% 17% 30%;}

    100% {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}
}

.contact .contact-img .contact-img-inner {
    position: relative;
    z-index: 9;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
    font-size: calc(1rem - 1pt);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}
@media (max-width: 991px) {
    .footer-contact-flex {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    .footer-contact-block {
        width: 100%;
        max-width: 100%;
    }
}
@media (min-width: 992px) {
    .footer-contact-flex {
        display: flex;
        flex-direction: row;
        gap: 2.5rem;
        justify-content: center;
        align-items: flex-start;
    }
    .footer-contact-block {
        display: flex;
        align-items: flex-start;
        min-width: 220px;
        max-width: 340px;
        flex: 1 1 0;
    }
}

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

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}


.footer .footer-item .footer-instagram {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-instagram img {
    transition: 0.5s;
    object-fit: cover;
    height: 80px;
}

.footer .footer-item .footer-instagram:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-instagram .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-instagram:hover .footer-search-icon {
    opacity: 1;
    background: rgba(0, 0, 0, .6);
}

.footer .footer-item .footer-btn a {
    background: var(--bs-light);
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-white);
}
/*** Footer End ***/

/* Ensure plain footer text color is #f5f5f5 (scoped to footer only) */
.footer,
.footer p,
.footer .footer-item p,
.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6,
.footer span,
.footer small,
.footer .text-body,
.footer .text-white,
.copyright,
.copyright p,
.copyright span {
    color: #f5f5f5 !important;
}

/*** About Section Styling Enhancement ***/
.about-item-content {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px;
}

.counter-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
}

.bg-white.rounded.p-5 {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

/*** Service Solutions Section Start ***/
.service-solutions {
    background: var(--bs-light);
}

.service-selector {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-box {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: var(--bs-white);
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-box:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 4px 12px rgba(1, 95, 201, 0.15);
    transform: translateY(-3px);
}

.service-box.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--bs-white);
}

.service-box-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(1, 95, 201, 0.1);
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
    color: var(--bs-primary);
    transition: all 0.5s ease;
}

.service-box.active .service-box-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--bs-white);
}

.service-box-content {
    flex: 1;
}

.service-box-title {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
    color: inherit;
}

.service-box-desc {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    color: #6c757d;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.service-box:hover .service-box-desc {
    opacity: 1;
    max-height: 100px;
}

.service-box.active .service-box-desc {
    opacity: 1;
    max-height: 100px;
    color: rgba(255, 255, 255, 0.9);
}

.service-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-showcase-image {
    transition: transform 0.5s ease;
}

.service-image-container:hover .service-showcase-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    color: var(--bs-white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-image-container:hover .image-overlay {
    opacity: 1;
}

.service-details {
    background: var(--bs-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    align-items: center;
}

.service-description h3 {
    color: var(--bs-dark);
    font-weight: 700;
    font-size: 24px;
}

.service-description p {
    color: #6c757d;
    line-height: 1.8;
    font-size: 15px;
}

.service-features {
    padding: 20px;
    background: rgba(1, 95, 201, 0.05);
    border-left: 4px solid var(--bs-primary);
    border-radius: 5px;
}

.service-features h5 {
    color: var(--bs-dark);
    font-weight: 600;
    font-size: 16px;
}

.service-features li {
    color: #6c757d;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-features li:hover {
    color: var(--bs-primary);
    padding-left: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-selector {
        gap: 10px;
    }

    .service-box {
        padding: 15px;
    }

    .service-box-desc {
        display: none;
    }

    .service-details {
        margin-top: 30px;
        padding: 20px;
    }

    .service-description h3 {
        font-size: 20px;
    }

    .service-showcase-image {
        height: 300px !important;
    }
}

/*** Service Solutions Section End ***/

/*** Contact Page Typography Start ***/
/* Apply Verdana Regular to black text on Contact page */
.contact h4,
.contact label,
.contact > div > .col-xl-6 > div > p,
.contact .contact-add-item h4,
.contact .contact-add-item p {
    font-family: 'verdana-regular', Arial, sans-serif;
}

/* Apply Verdana Regular to footer company description on Contact page */
.contact .footer-item > p {
    font-family: 'verdana-regular', Arial, sans-serif;
}

/* Apply Verdana Bold to Get Funding button in navbar */
.nav-btn a.btn-primary {
    font-family: 'verdana-bold', Arial, sans-serif;
}

/* Apply Verdana Bold to Free text in navbar */
/* Match header phone number font to footer */
.d-flex.flex-column.ms-3 > a > span.text-dark {
    font-family: 'Inter', sans-serif !important;
}
/*** Contact Page Typography End ***/
/*** Contact Page Typography End ***/

/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
    border-top: 1px solid rgba(255, 255, 255, .08);
}
/*** copyright end ***/

