@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Nunito:wght@400;600;700;800&display=swap');

:root {
    /* Mardisen MomGrantMatch Palette */
    --mgm-primary: #6B4E9E;
    /* Empowering Purple */
    --mgm-primary-hover: #5A4085;
    --mgm-accent: #F8C1CC;
    /* Blush Pink */
    --mgm-secondary: #A5E4D9;
    /* Soft Teal */
    --mgm-accent-gentle: #F9D5E5;
    /* Gentle Pink */
    --mgm-bg: #FFF9F0;
    /* Warm Cream */
    --mgm-text: #2D2D2D;
    /* Near-Black */
    --mgm-gray-light: #F4F1ED;
    --mgm-gray-text: #666666;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--mgm-bg);
    color: var(--mgm-text);
    line-height: 1.6;
    font-size: 16px;
    /* Min body size for mobile readable */
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-font {
    font-family: 'Nunito', sans-serif;
    color: var(--mgm-text);
    font-weight: 800;
}

/* Button & Tap Target Rules */
.btn,
.form-control,
.form-select {
    min-height: 48px;
    /* Mobile tap target rule */
}

.btn-primary-custom {
    background-color: var(--mgm-primary);
    border-color: var(--mgm-primary);
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    border-radius: 50px;
    /* Round, warm */
    padding: 16px 36px;
    font-size: 1.25rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(107, 78, 158, 0.2);
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
    background-color: var(--mgm-primary-hover);
    border-color: var(--mgm-primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 78, 158, 0.3);
}

.btn-outline-custom {
    color: var(--mgm-primary);
    border: 2px solid var(--mgm-primary);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 24px;
}

.btn-outline-custom:hover {
    background-color: var(--mgm-primary);
    color: #fff;
}

/* Utilities */
.text-primary-custom {
    color: var(--mgm-primary);
}

.text-accent {
    color: var(--mgm-accent);
}

.text-secondary-custom {
    color: var(--mgm-secondary);
}

.bg-cream {
    background-color: var(--mgm-bg);
}

.bg-white-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(45, 45, 45, 0.05);
}

/* Sticky Mobile CTA Footer */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 15px 20px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

/* Navbar */
.navbar-brand {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--mgm-primary) !important;
}

.navbar {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 80px;
}

.hero-headline {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subhead {
    font-size: 1.25rem;
    color: var(--mgm-gray-text);
    margin-bottom: 2rem;
}

.social-proof-bar {
    background-color: var(--mgm-accent);
    color: var(--mgm-text);
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.trust-badges {
    font-size: 0.85rem;
    color: var(--mgm-gray-text);
    margin-top: 1.5rem;
}

.trust-badges i,
.trust-badges img {
    vertical-align: middle;
    margin-right: 5px;
}

/* Scrolling Ticker */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    padding: 2.5rem 0;
    border-top: 1px solid var(--mgm-gray-light);
    border-bottom: 1px solid var(--mgm-gray-light);
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 40s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mgm-primary);
}

.ticker-item .grant-amount {
    color: var(--mgm-text);
    background: var(--mgm-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 10px;
    font-size: 0.95rem;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Feature Cards (What Makes Us Different) */
.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--mgm-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--mgm-primary);
}

/* Step Icons */
.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--mgm-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-card {
    background-color: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    height: 100%;
}

.testimonial-quote {
    font-family: 'Nunito', sans-serif;
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 600;
    color: var(--mgm-text);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--mgm-gray-text);
}

/* Micro-Testimonials (Hero) */
.micro-testimonial {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--mgm-gray-text);
}

.micro-testimonial p {
    margin-bottom: 2px;
}

.micro-testimonial span {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--mgm-text);
}

/* FAQ Accordion overrides */
.accordion-button {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--mgm-text);
    padding: 1.25rem 1.5rem;
    background-color: #ffffff;
}

.accordion-button:not(.collapsed) {
    background-color: var(--mgm-gray-light);
    color: var(--mgm-primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

.accordion-item {
    border: 1px solid var(--mgm-gray-light);
    border-radius: 16px !important;
    margin-bottom: 10px;
    overflow: hidden;
}

/* Lead Magnet */
.lead-magnet-box {
    background: linear-gradient(135deg, var(--mgm-primary) 0%, #4D337A 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
}

.lead-magnet-box h3 {
    color: #fff;
}

.lead-magnet-box .form-control {
    border: none;
    font-size: 1rem;
    border-radius: 50px 0 0 50px;
    padding-left: 24px;
}

.lead-magnet-box .btn {
    border-radius: 0 50px 50px 0;
    background-color: var(--mgm-secondary);
    color: var(--mgm-text);
    border: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

.lead-magnet-box .btn:hover {
    background-color: #8FCCBF;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.2rem;
    }

    .hero-section {
        padding: 30px 0 60px;
        text-align: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .mobile-sticky-cta {
        display: block;
        /* Show sticky footer CTA on mobile */
    }

    body {
        padding-bottom: 80px;
        /* Space for sticky footer */
    }

    .lead-magnet-box .form-control {
        border-radius: 50px;
        margin-bottom: 10px;
        text-align: center;
    }

    .lead-magnet-box .btn {
        border-radius: 50px;
        width: 100%;
    }
}