/**
Theme Name: astra-child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ===== Banner (your existing CSS) ===== */
.hero-banner{
    background-image: url("https://geniusfundingsolutions.com/wp-content/uploads/2025/12/business-people-shaking-hands.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 420px;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-banner::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}
.hero-banner__inner{
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-banner__title{
    margin: 0 0 14px;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
    font-size: 60px;
    line-height: 72px;
}
.hero-banner__subtitle{
    margin: 0;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
    font-size: 16px;
    line-height: 1.4;
}
@media (max-width: 768px){
    .hero-banner{
        min-height: 300px;
        padding: 40px 16px;
    }
    .hero-banner__title{
        font-size: 24px;
        line-height: 1.2;
    }
    .hero-banner__subtitle{
        font-size: 15px;
    }
}

/* ===== Full Application Form ===== */
.fullapp-wrap{
    max-width: 1180px;
    margin: 28px auto 60px;
    padding: 0 16px;
    font-family: "Montserrat", sans-serif;
}

.fullapp-section-title{
    display: inline-block;
    background: #0c2a4a;
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    margin: 0 0 0px;
}

.fullapp-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    column-gap: 26px;
    row-gap: 14px;
}

/* each field block */
.fullapp-field label{
    display:block;
    font-size: 12px;
    margin: 0 0 6px;
    color: #1c1c1c;
}

.fullapp-field input,
.fullapp-field select,
.fullapp-field textarea{
    width: 100%;
    border: 1px solid #2b6cb0;
    border-radius: 2px;
    padding: 10px 10px;
    font-size: 14px;
    background: #eef6ff;
    outline: none;
    height: 35px;
}

.fullapp-field textarea{
    min-height: 46px;
    resize: vertical;
}

/* money input */
.fullapp-money{
    display:flex;
    align-items:center;
    gap: 6px;
}
.fullapp-money span{
    font-weight: 600;
}

/* 3 small inputs in one cell (City/Province/Postal) */
.fullapp-subgrid-3{
    display:grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
}

/* 2 small inputs (Years/Months) */
.fullapp-subgrid-2{
    display:grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
}
.fullapp-mini{
    display:flex;
    align-items:center;
    gap: 8px;
}
.fullapp-mini span{
    font-size: 13px;
    white-space: nowrap;
}

/* checkbox row */
.fullapp-inline{
    display:flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 6px;
}
.fullapp-inline label{
    margin: 0;
    display:flex;
    gap: 6px;
    align-items:center;
    font-size: 14px;
}

/* full-width blocks */
.fullapp-span-2{
    grid-column: 1 / -1;
}

/* button */
.fullapp-actions{
    grid-column: 1 / -1;
    margin-top: 10px;
}
.fullapp-btn{
    background: #0c2a4a;
    color: #fff;
    border: 0;
    padding: 12px 18px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 4px;
}

/* mobile */
@media(max-width: 900px){
    .fullapp-grid{
        grid-template-columns: 1fr;
    }
    .fullapp-subgrid-3{
        grid-template-columns: 1fr;
    }
    .fullapp-subgrid-2{
        grid-template-columns: 1fr;
    }
}
.site-content .ast-container {
    display: contents;
}
/* Larger textarea like screenshot */
.fullapp-textarea{
    min-height: 110px;
}

/* Emergency 3 columns: slightly tighter for desktop */
.emergency-3{
    gap: 14px;
}

/* Mobile: stack emergency 3 fields */
@media(max-width: 900px){
    .emergency-3{
        grid-template-columns: 1fr !important;
    }
}

.gfs-steps {
    max-width: 980px;
    margin: 0 auto 18px;
    padding: 10px 12px;
    background: #f6f8fb;
    border: 1px solid #e7edf5;
    border-radius: 12px;
}

.gfs-steps-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.gfs-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e5eaf2;
    color: #334155;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

.gfs-step .num {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: #eaf0ff;
    color: #0a66ff;
}

.gfs-step.active {
    background: #0b2a4a;           /* match your dark header vibe */
    border-color: #0b2a4a;
    color: #fff;
    box-shadow: 0 6px 16px rgba(11,42,74,.15);
}

.gfs-step.active .num {
    background: rgba(255,255,255,.18);
    color: #fff;
}

.gfs-step.done {
    background: #f0f7ff;
    border-color: #cfe1ff;
}

.gfs-step.done .num {
    background: #0a66ff;
    color: #fff;
}

.gfs-steps-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
}

@media (max-width: 600px) {
    .gfs-step {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
    }
}
.business-location-row {
    grid-template-columns: 1fr 2fr 1fr;
    align-items: start;
}

.step2-side-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
}

.toggle-box {
    display:none;
}
.toggle-box.is-open {
    display:block;
}

/* ===============================
FULL PAGE PROCESSING OVERLAY
================================ */
#processingOverlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* hidden by default */
#processingOverlay.hidden{
    display: none;
}

/* ===============================
   PROCESSING CARD
================================ */
#processingOverlay .processing-card{
    background: #ffffff;
    border-radius: 14px;
    padding: 34px 28px;
    max-width: 420px;
    width: calc(100% - 32px);
    text-align: center;
    box-shadow: 0 22px 46px rgba(0,0,0,0.35);
    font-family: "Montserrat", sans-serif;
}

/* ===============================
   SPINNER
================================ */
.processing-spinner{
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    border: 6px solid #e6e6e6;
    border-top: 6px solid #0c2a4a;
    border-radius: 50%;
    animation: processingSpin 1s linear infinite;
}

@keyframes processingSpin{
    to {
        transform: rotate(360deg);
    }
}

/* ===============================
   LOADER TEXT
================================ */
#processingOverlay h3{
    margin: 12px 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #0c2a4a;
}

#processingOverlay p{
    margin: 0;
    font-size: 14px;
    color: #334155;
}

/* ===============================
   RESULT CARD (SUCCESS / ERROR)
================================ */
.processing-result{
    display: none;
    margin-top: 16px;
    border-radius: 14px;
    padding: 18px 18px;
    border: 1px solid rgba(15,23,42,0.10);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(12,42,74,0.10);
    text-align: center;
}

/* success / error states */
.processing-result.is-success{
    display: block;
    border-color: rgba(16,185,129,0.30);
}
.processing-result.is-error{
    display: block;
    border-color: rgba(239,68,68,0.30);
}

/* ===============================
   RESULT ICON
================================ */
.processing-result__icon{
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    font-size: 22px;
    line-height: 1;
}

.processing-result.is-success .processing-result__icon{
    background: rgba(16,185,129,0.12);
    color: #0f6b2f;
}

.processing-result.is-error .processing-result__icon{
    background: rgba(239,68,68,0.12);
    color: #8a1f1f;
}

/* ===============================
   RESULT TEXT
================================ */
.processing-result__title{
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #0c2a4a;
    letter-spacing: -0.2px;
}

.processing-result__text{
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    color: #475569;
}

.processing-result.is-error .processing-result__text{
    color: #5f1a1a;
}

/* ===============================
   SCROLL LOCK (BODY)
================================ */
body.processing-locked{
    overflow: hidden;
    height: 100vh;
    touch-action: none;
}
/* Terms checkbox spacing (optional) */
.fullapp-inline a{
    color:#0c2a4a;
    text-decoration: underline;
}
.fullapp-inline input[type="checkbox"]{
    transform: scale(1.05);
}
.terms-scroll-box{
    width: 100%;
    height: 160px;               /* adjust height */
    overflow-y: auto;
    border: 2px solid #2b6cb0;
    background: #eef6ff;
    border-radius: 2px;
    padding: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #1f2937;
}

.terms-scroll-box p{
    margin: 0 0 10px;
}

.terms-scroll-box a{
    color:#0c2a4a;
    text-decoration: underline;
    font-weight:600;
}

.fullapp-step-panel{
    display:none;
}
.fullapp-step-panel.active{
    display:block;
}

.fullapp-nav{
    display:flex;
    gap:10px;
    justify-content:space-between;
    margin-top:18px;
}
.fullapp-btn-secondary{
    background:#fff;
    border:1px solid #d7dee9;
    color:#0b2a4a;
    padding:10px 14px;
    border-radius:10px;
    cursor:pointer;
}
.fullapp-btn-secondary:hover{
    background:#f6f8fb;
}

/* optional: make stepper clickable */
.gfs-step{
    cursor:pointer;
}


.fullapp-nav{
    display:flex;
    gap:10px;
    justify-content:space-between;
    margin-top:18px;
}

.fullapp-step-panel {
    display:none;
}
.fullapp-step-panel.active {
    display:block;
}

