/* --- Qualifying Programs 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: 6rem 0;
}

.block-layout.alt-bg {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

/* Intro Blurb */
.intro-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    font-size: 1.15rem;
    color: #334155;
    line-height: 1.8;
}

.intro-box strong {
    color: #0066FF;
    font-weight: 700;
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.program-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #bfdbfe;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.program-card h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.program-name {
    color: #0066FF;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-desc {
    color: #64748b;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Tribal Section */
.tribal-section {
    background: #f8fafc;
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-bottom: 4rem;
    border: 1px solid #e2e8f0;
}

.tribal-section h2 {
    color: #1e293b;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tribal-section p {
    color: #475569;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.tribal-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Two columns on large screens */
    gap: 1rem;
}

.tribal-list li {
    position: relative;
    padding-left: 2rem;
    color: #334155;
    line-height: 1.6;
}

.tribal-list li::before {
    content: "•";
    color: #0066FF;
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.2rem;
}

/* Alert Box */
.alert-box {
    display: flex;
    align-items: flex-start;
    background: #fff4f4;
    /* Light red/orange bg for caution */
    border-left: 5px solid #ef4444;
    padding: 2rem;
    border-radius: 8px;
    gap: 1.5rem;
}

.alert-icon {
    font-size: 2rem;
}

.alert-content h4 {
    color: #991b1b;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.alert-content p {
    color: #7f1d1d;
    line-height: 1.6;
    margin: 0;
}

/* CTA Buttons */
.center-cta {
    text-align: center;
}

.center-cta h3 {
    font-size: 2.25rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary-small,
.btn-secondary-small,
.btn-outline-small {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
    display: inline-block;
}

.btn-primary-small {
    background: #0066FF;
    color: #fff;
}

.btn-primary-small:hover {
    background: #004080;
    transform: translateY(-2px);
}

.btn-secondary-small {
    background: #fff;
    color: #0066FF;
    border: 2px solid #0066FF;
}

.btn-secondary-small:hover {
    background: #eff6ff;
    transform: translateY(-2px);
}

.btn-outline-small {
    border: 2px solid #cbd5e1;
    color: #64748b;
    background: transparent;
}

.btn-outline-small:hover {
    border-color: #94a3b8;
    color: #475569;
    transform: translateY(-2px);
}


/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible.fade-in-up {
    opacity: 1;
    transform: translateY(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.5rem;
    }

    .button-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn-primary-small,
    .btn-secondary-small,
    .btn-outline-small {
        width: 100%;
        text-align: center;
    }

    .tribal-list {
        grid-template-columns: 1fr;
    }
}