/* --- Nonprofit Assistance Styles --- */

/* Page Hero - Global Standard */
.page-hero {
    background: radial-gradient(circle at center, #002699 0%, #000000 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #e0f2fe;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
    color: #e2e8f0;
}

/* Base Sections */
.block-layout {
    padding: 5rem 0;
}

.block-layout.alt-bg {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.sub-heading {
    color: #64748b;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.2rem;
    color: #334155;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Definition Card */
.highlight-card {
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(0, 38, 153, 0.08);
    /* Blue Tint */
    border: 1px solid #dbeafe;
    border-top: 5px solid #0066FF;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.highlight-card h2 {
    color: #1e293b;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.highlight-card p {
    color: #334155;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Model Grid (Emergency, Jobs, etc) */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.model-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.1);
    border-color: #bfdbfe;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbOafe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    border: 1px solid #dbeafe;
}

.model-card h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.model-card p strong {
    color: #0066FF;
}

.model-card p.desc {
    color: #64748b;
    margin-top: 1rem;
    line-height: 1.6;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.5;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list strong {
    color: #1e293b;
    font-weight: 600;
    display: inline-block;
    width: 120px;
}

/* Charity Card */
.charity-card {
    background: linear-gradient(135deg, #0066FF 0%, #004080 100%);
    padding: 3rem;
    border-radius: var(--radius-xl);
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.3);
    position: relative;
    overflow: hidden;
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.charity-card:hover {
    transform: rotate(0);
}

.charity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.charity-content {
    position: relative;
    z-index: 10;
}

.charity-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.charity-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.charity-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Rows & Layouts */
.row-layout {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.text-column,
.visual-column {
    flex: 1;
}

/* Buttons */
.center-cta {
    text-align: center;
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary-large {
    background: linear-gradient(135deg, #0066FF 0%, #004080 100%);
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 102, 255, 0.4);
}

.btn-secondary-large {
    background: #fff;
    color: #0066FF;
    border: 2px solid #0066FF;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    transition: all 0.2s;
}

.btn-secondary-large:hover {
    background: #f0f7ff;
}

/* Animations */
.fade-in-up,
.slide-in-left,
.slide-in-right {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-up {
    transform: translateY(30px);
}

.slide-in-left {
    transform: translateX(-50px);
}

.slide-in-right {
    transform: translateX(50px);
}

.visible.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.visible.slide-in-left {
    opacity: 1;
    transform: translateX(0);
}

.visible.slide-in-right {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.25rem;
    }

    .row-layout {
        flex-direction: column;
        gap: 3rem;
    }

    .charity-card {
        transform: rotate(0);
        margin-top: 2rem;
    }

    .slide-in-left,
    .slide-in-right {
        transform: translateY(30px);
    }

    .visible.slide-in-left,
    .visible.slide-in-right {
        transform: translateY(0);
    }
}