:root {
    --mcec-purple: #4a2c7a;
    --mcec-gold: #fdb927;
    --mcec-light-tan: #fdf5e6;
    --mcec-dark-purple: #3a2260;
    --mcec-white: #ffffff;
    --mcec-gray: #f4f4f4;
}

.momc {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

.momc h1, 
.momc h2, 
.momc h3 {
    color: var(--mcec-purple);
}

/* Hero Section */
.momc-hero {
    position: relative;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0 80px 0;
    min-height: 500px;
    display: flex;
    background-color: #592E85;
    align-items: center;
    overflow: hidden;
}

.momc-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.momc-hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
}

.momc-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.momc-hero-left {
    display: flex;
    justify-content: center;
    align-items: start;
    padding-top: 60px;
}

.momc-hero-left h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 0;
    line-height: 1.2;
}

.momc-hero-left h1 span {
    color: var(--mcec-gold);
}

.momc-hero-right {
    display: flex;
    align-items: start;
    position: relative;
    margin-bottom: -200px;
    z-index: 10;
}

.momc-hero-right > div {
    width: 100%;
}

/* Hero Content */
.momc-hero-content {
    position: absolute;
    padding: 60px 0;
    text-align: left;
    left: 8%;
}

.momc-hero-btn {
    display: inline-block;
    background: var(--mcec-gold);
    color: var(--mcec-purple);
    padding: 16px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    transition: all 0.3s ease;
    border: 3px solid var(--mcec-gold);
}

.momc-hero-btn:hover {
    background: white;
    color: var(--mcec-purple);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* Donation Widget */
.momc-donation-widget {
    padding: 0px;
    width: 100%;
    max-width: 480px;
    color: #333;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Neon CRM iframe container styles */
.momc-donation-widget iframe {
    border: none !important;
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

.momc-donation-widget #neon-form-embed-4-container {
    margin: 0 !important;
    padding: 0 !important;
    min-height: auto !important;
}

/* Remove extra spacing from embedded form */
.momc-donation-widget .embed-neon-loading {
    margin: 0 !important;
}

.momc-widget-progress {
    position: absolute;
    top: 25px;
    left: 30px;
    right: 30px;
    display: flex;
    gap: 10px;
}

.momc-progress-bar {
    height: 4px;
    flex: 1;
    background: #eee;
    border-radius: 2px;
}

.momc-progress-bar.active {
    background: var(--mcec-purple);
}

.momc-donation-tabs {
    display: flex;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--mcec-purple);
}

.momc-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    background: white;
    color: var(--mcec-purple);
    font-weight: 600;
    font-size: 0.9rem;
}

.momc-tab.active {
    background: var(--mcec-purple);
    color: white;
}

.momc-donation-amounts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.momc-amount-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.momc-amount-option:hover {
    border-color: var(--mcec-purple);
}

.momc-amount-option input {
    margin-right: 15px;
}

.momc-amount-option .amount-label {
    flex: 1;
    font-weight: 600;
}

.momc-next-btn {
    width: 100%;
    background: var(--mcec-purple);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.momc-next-btn:hover {
    background: var(--mcec-dark-purple);
}

/* Intro Section */
.momc-intro {
    padding: 50px 0;
    text-align: center;
    background: white;
}

.momc-intro h2 {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 2.2rem;
}

.momc-intro p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #666;
}

.momc-btn-purple {
    background: var(--mcec-purple);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.momc-btn-purple:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.momc-btn-yellow {
    background: var(--mcec-gold);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.momc-btn-yellow:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.momc-btn-yellow-thin {
    background: var(--mcec-gold);
    color: #582c83!important;
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.2s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.momc-btn-yellow-thin:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* CTA Bar */
.momc-cta-bar {
    background: var(--mcec-purple);
    padding: 10px 0;
    margin: 60px 0 0 0;
}

.momc-cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.momc-cta-content p {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* Full Width Image Gallery */
.momc-image-gallery {
    padding: 0;
    margin: 60px 0 0 0;
}

.momc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.momc-gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.momc-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.momc-gallery-item:hover img {
    transform: scale(1.05);
}

/* Video Container */
.momc-video-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.momc-video-container video {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: block;
    background: #000;
}

/* Content Sections */
.momc-section {
    padding: 20px 0;
}

.momc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    background: #FFECBD;
    border-radius: 20px;
}


.momc-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.momc-content-purple {
    padding: 40px;
}

.momc-content-purple h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.momc-content-centered {
    text-align: center;
}

.momc-divider {
    width: 60px;
    height: 3px;
    background: var(--mcec-gold);
    margin: 20px auto 30px;
    border-radius: 2px;
}

.momc-content-centered .momc-divider {
    margin-left: auto;
    margin-right: auto;
}

.momc-content-purple:not(.momc-content-centered) .momc-divider {
    margin-left: 0;
}

/* Madilyne Section specifically */
.momc-madilyne-card {
    background: #4a2c7a;
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    background-size: cover;
    background-position: center top;
    position: relative;
    color: white;
    overflow: hidden;
    min-height: 500px;
}

/* Image removed from HTML, background used instead */

/* Thank You Section */
.momc-thank-you {
    margin: 40px 0;
    border-radius: 30px;
    overflow: hidden;
    color: white;
}

.momc-ty-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.momc-ty-image {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.momc-ty-content {
    background: var(--mcec-purple);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.momc-ty-content blockquote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 30px;
    border: none;
    padding: 0;
}

.momc-ty-author {
    font-weight: 700;
}

/* Other Ways to Give */
.momc-other-ways {
    padding: 80px 0;
}

.momc-other-header {
    text-align: center;
    margin-bottom: 50px;
}

.momc-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.momc-accordion-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.momc-accordion-header {
    padding: 20px 30px;
    vertical-align: middle;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--mcec-purple);
    font-size: 1.2rem;
    transition: background 0.2s;
}

.momc-accordion-header:hover {
    background: #fafafa;
}

.momc-accordion-header .icon {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.momc-accordion-item.active .momc-accordion-header .icon {
    transform: rotate(45deg); /* Optional: turn + into x, or just use CSS only */
}

.momc-accordion-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    visibility: hidden;
}

.momc-accordion-item.active .momc-accordion-content {
    padding: 0 30px 30px;
    max-height: 500px; /* Adjust based on content */
    visibility: visible;
}

/* Responsive */
@media (max-width: 992px) {
    .momc .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .momc-grid, .momc-ty-banner {
        grid-template-columns: 1fr;
    }
    .momc-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .momc-hero-right {
        justify-content: center;
        text-align: center;
    }
    .momc-hero-right h1 {
        font-size: 2.5rem;
    }
    .momc-hero {
        padding: 80px 0;
        min-height: 400px;
        background-position: center center;
    }
    
    .momc-hero-content {
        padding: 40px 0;
        text-align: center;
    }
    
    .momc-hero-content h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    /* Reduce padding between sections on mobile */
    .momc-intro {
        padding: 30px 0;
    }
    
    .momc-intro h2 {
        font-size: 1.8rem;
    }
    
    .momc-intro p {
        font-size: 1rem;
        margin: 0 auto 30px;
    }
    
    .momc-section {
        padding: 30px 0;
    }
    
    .momc-other-ways {
        padding: 30px 0;
    }
    
    /* Content grid optimizations */
    .momc-content-purple {
        padding: 30px 20px;
    }
    
    .momc-content-purple h2 {
        font-size: 1.8rem;
    }
    
    
    .momc-grid {
        border-radius: 20px;
    }
    
    
    /* Fix Madilyne card image positioning on mobile */
    .momc-madilyne-card {
        background-position: center top;
        min-height: 300px;
    }
    
    /* CTA Bar on mobile */
    .momc-cta-bar {
        margin: 30px 0 0 0;
    }
    
    .momc-cta-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 10px;
    }
    
    .momc-cta-content p {
        font-size: 1rem;
    }
    
    /* Image Gallery on mobile */
    .momc-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .momc-image-gallery {
        margin: 30px 0 0 0;
    }
}

/* Tablet optimizations */
@media (max-width: 768px) {
    .momc h2 {
        font-size: 1.6rem;
    }
    
    .momc-intro h2 {
        font-size: 1.5rem;
        margin: 0 auto 20px;
    }
    
    .momc-content-purple h2 {
        font-size: 1.5rem;
    }
    
    .momc-btn-purple,
    .momc-btn-yellow {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .momc-hero-btn {
        padding: 14px 40px;
        font-size: 1rem;
    }
    
    .momc-btn-yellow-thin {
        padding: 10px 25px;
    }
    
    .momc-video-container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .momc-video-container video {
        border-radius: 10px;
        height: auto;
    }
    
    /* Ensure touch targets are large enough */
    .momc-btn-purple,
    .momc-btn-yellow,
    .momc-btn-yellow-thin {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .momc-hero {
        min-height: 300px;
        padding: 60px 0;
        background-position: center center;
    }
    
    .momc-hero-content {
        padding: 30px 0;
    }
    
    .momc-hero-btn {
        padding: 12px 32px;
        font-size: 0.95rem;
    }
}

/* Additional Neon CRM Form Overrides */
/* These styles help reduce spacing and improve the embedded form appearance */
.momc-donation-widget > style {
    display: none; /* Hide inline styles if they cause conflicts */
}

/* Ensure the iframe container has no extra spacing */
.momc-donation-widget > span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Force clean spacing on all direct children */
.momc-donation-widget > * {
    margin: 0;
    padding: 0;
}

.momc-donation-widget > script + style + span {
    margin-top: 0 !important;
}