/*
===========================================================================
QUICKSTART SECTION - Visual story with breathing room
File: /var/www/html/nsgia.com/static/css/quickstart.css
===========================================================================
2026-01-19 v4.2 - Hero inside section for uniform sizing, cards 100% of section width
2026-01-19 v4.1 - Unified all cards, removed hero-specific styles
2026-01-19 v4.0 - 95% width centered, margins around cards, removed step accordions
2026-01-19 v3.1 - Fixed hero margin override bug
2026-01-19 v3.0 - Full-width cards matching hero, edge-to-edge images
2026-01-19 v2.0 - Removed breakout hacks, quickstart now outside portal-welcome
2026-01-19 v1.0 - Initial creation
===========================================================================
*/

/* SECTION container - centered with breathing room */
.quickstart-section {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* CARD - full width of section, centered margins */
.quickstart-card {
    background: #fff;
    width: 100%;
    margin: 0 0 1.5rem 0;
    padding: 0;
    border: none;
    box-shadow: none;
    border-radius: 4px;
    overflow: hidden;
}

/* IMAGE CONTAINER - full width within card */
.quickstart-image-container {
    position: relative;
    width: 100%;
}

.quickstart-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.quickstart-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 3rem 2rem 1.5rem 2rem;
}

.quickstart-overlay h1,
.quickstart-overlay h3 {
    color: #fff;
    font-size: 1.8rem;
    font-family: Georgia, serif;
    font-weight: 400;
    margin: 0 0 0.25rem 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.quickstart-overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    font-style: italic;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* ACCORDIONS below each image */
.quickstart-card .accordion {
    background: #f5f9fa;
    color: var(--color-primary, #2b6777);
    cursor: pointer;
    padding: 1rem 2rem;
    width: 100%;
    margin: 0;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    font-family: Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.quickstart-card .accordion:first-of-type {
    border-top: 1px solid #e2e8f0;
}

.quickstart-card .accordion::after {
    content: '+';
    font-size: 1.1rem;
}

.quickstart-card .accordion.active::after {
    content: '−';
}

.quickstart-card .accordion:hover {
    background: #e8f4f8;
}

.quickstart-card .accordion.active {
    background: var(--color-primary, #2b6777);
    color: #fff;
}

.quickstart-card .panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafafa;
    border: none;
}

.quickstart-card .panel.open {
    max-height: 500px;
}

.quickstart-card .panel p {
    margin: 1.25rem 2rem;
    line-height: 1.7;
    color: #333;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .quickstart-overlay {
        padding: 2rem 1rem 1rem 1rem;
    }
    
    .quickstart-overlay h1,
    .quickstart-overlay h3 {
        font-size: 1.4rem;
    }
    
    .quickstart-overlay p {
        font-size: 0.95rem;
    }
    
    .quickstart-card .accordion {
        padding: 1rem 1.25rem;
    }
    
    .quickstart-card .panel p {
        margin: 1rem 1.25rem;
    }
}
