/* Fonts */
:root {
    --default-font: "Open Sans",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: 'Cairo Play', sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff;

    /* Background color for the entire website, including individual sections */
    --default-color: #32353a;

    /* Default color used for the majority of the text content across the entire website */
    --heading-color: #32353a;

    /* Color for headings, subheadings and title throughout the website */
    --accent-color: #e53a35;

    /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff;

    /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff;
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */
.light-background {
    --background-color: #f9f9f9;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #32353a;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/* --------------------------------------------------------------
# General Styling & Shared Classes
-------------------------------------------------------------- */
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* --------------------------------------------------------------
# Global Header
-------------------------------------------------------------- */
.header {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    transition: all 0.5s;
    z-index: 997;
}

.header .logo {
    line-height: 1;
}

.header .logo img {
    max-height: 36px;
    margin-right: 8px;
}

.header .logo h1 {
    font-size: 49px;
    margin: 0;
    font-weight: 600;
    color: var(--heading-color);
}

.header .logo span {
    color: var(--accent-color);
    font-size: 24px;
    font-weight: 600;
    padding-left: 3px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 14px;
    padding: 8px 26px;
    margin: 0;
    border-radius: 4px;
    transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
    .header .logo {
        order: 1;
    }

    .header .btn-getstarted {
        order: 2;
        margin: 0 15px 0 0;
        padding: 6px 20px;
    }
}

.scrolled .header {
    box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.1);
}

/* Index Page Header
------------------------------ */
.index-page .header {
    --background-color: rgba(255, 255, 255, 0);
    --heading-color: #ffffff;
}

/* Index Page Header on Scroll
------------------------------ */
.index-page.scrolled .header {
    --background-color: #ffffff;
    --heading-color: #32353a;
}

/* --------------------------------------------------------------
# Global Footer
-------------------------------------------------------------- */
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding-bottom: 50px;
    position: relative;
}

.footer .footer-top {
    padding-top: 50px;
}

.footer .footer-about p {
    font-size: 14px;
    font-family: var(--heading-font);
}

.footer .social-links a {
    font-size: 26px;
    color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

.footer .footer-links ul {
    padding: 0;
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    color: var(--default-color);
    line-height: 1;
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
}

/* --------------------------------------------------------------
# Preloader
-------------------------------------------------------------- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #ffffff;
    border-color: var(--accent-color) transparent var(--accent-color) transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --------------------------------------------------------------
# Scroll Top Button
-------------------------------------------------------------- */
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

/* --------------------------------------------------------------
# Disable aos animation delay on mobile devices
-------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/* --------------------------------------------------------------
# Global Page Titles & Breadcrumbs
-------------------------------------------------------------- */
.page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    position: relative;
}

.page-title .heading {
    padding: 80px 0;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h2 {
    font-size: 38px;
    font-weight: 600;
}

/* --------------------------------------------------------------
# Global Sections
-------------------------------------------------------------- */
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 98px;
    overflow: clip;
}

@media (max-width: 1199px) {
    section,
    .section {
        scroll-margin-top: 64px;
    }
}

/* --------------------------------------------------------------
# Global Section Titles
-------------------------------------------------------------- */
.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 600;
    position: relative;
}

.section-title h2:before,
.section-title h2:after {
    content: "";
    width: 50px;
    height: 2px;
    background: var(--accent-color);
    display: inline-block;
}

.section-title h2:before {
    margin: 0 15px 10px 0;
}

.section-title h2:after {
    margin: 0 0 10px 15px;
}

.section-title p {
    margin-bottom: 0;
}

/* --------------------------------------------------------------
# Hero Section
-------------------------------------------------------------- */
.hero {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 50%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h2 {
    margin: 0;
    font-size: 44px;
    font-weight: 600;
}

.hero p {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin: 5px 0 0 0;
    font-size: 20px;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }
}

/* --------------------------------------------------------------
# Lenders Section
-------------------------------------------------------------- */
.lenders {
    padding: 20px 0;
}

.lenders .lender-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lenders .lender-logo img {
    padding: 20px 20px;
    transition: 0.3s;
    opacity: 0.5;
    filter: grayscale(100);
}

.lenders .lender-logo img:hover {
    filter: none;
    opacity: 1;
}

@media (max-width: 640px) {
    .lenders .lender-logo img {
        padding: 20px;
    }
}

/* --------------------------------------------------------------
# Process Section
-------------------------------------------------------------- */
.process .process-item {
    position: relative;
    padding-top: 5px;
}

.process .process-item .icon {
    width: 48px;
    height: 48px;
    position: relative;
    margin-right: 50px;
    line-height: 0;
}

.process .process-item .icon i {
    color: var(--accent-color);
    font-size: 56px;
    transition: ease-in-out 0.3s;
    z-index: 2;
    position: relative;
}

.process .process-item .title {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 24px;
}

.process .process-item .title a {
    color: var(--heading-color);
}

.process .process-item .title a:hover {
    color: var(--accent-color);
}

.bsb-btn-circle {
    align-items: center;
    backface-visibility: hidden;
    border-radius: 50% !important;
    display: inline-flex;
    height: 2.5rem;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 2.5rem;
}

.process .content h3 {
    font-weight: 400;
    font-size: 34px;
}

/* --------------------------------------------------------------
# Loans Section
-------------------------------------------------------------- */
.loans .content h3 {
    font-size: 34px;
    font-weight: 400;
}

.loans .content h2 {
    font-weight: 600;
}

.loans .content p:last-child {
    margin-bottom: 0;
}

.loans .content .read-more {
    background: var(--accent-color);
    color: var(--contrast-color);
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 12px 24px;
    border-radius: 5px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.loans .content .read-more i {
    font-size: 18px;
    margin-left: 5px;
    line-height: 0;
    transition: 0.3s;
}

.loans .content .read-more:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
    padding-right: 19px;
}

.loans .content .read-more:hover i {
    margin-left: 10px;
}

.loans .icon-box {
    background-color: var(--surface-color);
    padding: 50px 40px;
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease-out 0s;
}

.loans .icon-box i {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 32px;
    line-height: 0;
    transition: all 0.4s ease-out 0s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
    color: var(--accent-color);
}

.loans .icon-box h3 {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 600;
}

.loans .icon-box p {
    margin-bottom: 0;
}

.loans .icon-box:hover i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
}

.loans .icon-boxes .col-md-6:nth-child(2) .icon-box,
.loans .icon-boxes .col-md-6:nth-child(4) .icon-box {
    margin-top: -40px;
}

@media (max-width: 768px) {
    .loans .icon-boxes .col-md-6:nth-child(2) .icon-box,
    .loans .icon-boxes .col-md-6:nth-child(4) .icon-box {
        margin-top: 0;
    }
}

/* --------------------------------------------------------------
# Call To Action Section
-------------------------------------------------------------- */
.call-to-action {
    padding: 80px 0;
    position: relative;
    clip-path: inset(0);
}

.call-to-action img {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.call-to-action:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 50%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.call-to-action .container {
    position: relative;
    z-index: 3;
}

.call-to-action h3 {
    font-size: 34px;
    font-weight: 400;
}

.call-to-action p {
    color: var(--default-color);
}

.call-to-action .cta-btn {
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 5px;
    transition: 0.5s;
    margin: 20px;
    border: 1px solid var(--contrast-color);
    color: var(--contrast-color);
    background: var(--accent-color);
}

.call-to-action .cta-btn:hover {
    background: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.btn-subtext {
    font-weight: 400;
    font-style: italic;
}

span.obfus b {
    display: none;
}

/* --------------------------------------------------------------
# Online Questionnaire Section
-------------------------------------------------------------- */
.section-questionnaire {
    padding: 0;
    scroll-margin-top: 0px;
    overflow: clip;
}

/* --------------------------------------------------------------
# 404 Section
-------------------------------------------------------------- */
.bsb-flip-h {
    transform: scaleX(-1);
}