/* FundFlow Custom Styles */
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}
html {
    scroll-behavior: smooth;
}
:root {
    --primary: #16a34a;
    --primary-dark: #15803d;
}
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.btn-primary {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -8px rgba(22,163,74,0.5);
}
.form-input {
    width: 100%;
    padding: 0.625rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-size: 1rem;
}
.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22,163,74,0.1);
    outline: none;
}
input[type="file"]::file-selector-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    margin-right: 1rem;
    transition: background-color 0.2s;
}
input[type="file"]::file-selector-button:hover {
    background-color: var(--primary-dark);
}
.step-circle {
    width: 3rem;
    height: 3rem;
    background-color: #dcfce7;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Hero partial background image (place your image at assets/hero-image.jpg)
    include fallback for common misspelling 'assests' so both paths are attempted */
.hero-section {
    position: relative;
    overflow: visible;
}
/* Hero background image – full width, centered, with dark overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Try both paths for flexibility */
    background-image: url('../assets/hero-image.jpg'), url('../assests/hero-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Dark overlay – adjust opacity as needed */
    background-color: rgba(0, 0, 0, 0.6);
    background-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

/* Remove any previous after pseudo-element */
.hero-section::after {
    display: none;
}

/* Ensure content is above */
.hero-content {
    position: relative;
    z-index: 2;
}

/* On mobile, hide image to keep text readable (optional) */
@media (max-width: 768px) {
    .hero-section::before {
        display: none;
    }
}

/* Feature cards hover */
.feature-card {
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, background-color 220ms ease;
    will-change: transform;
    background: white;
    border-radius: 12px;
}
.feature-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 18px 40px -20px rgba(16,185,129,0.35), 0 6px 18px rgba(16,24,40,0.06);
}
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
    overflow: hidden;
}
#mobile-menu:not(.hidden) {
    max-height: 300px;
}
@media (max-width: 640px) {
    .step-circle {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
}