﻿.volunteer-page {
    --nlm-primary: #173750;
    --nlm-primary-soft: #2a5b84;
    --nlm-accent: #f2c14e;
    --nlm-border: rgba(23, 55, 81, 0.14);
    --nlm-focus: rgba(23, 55, 81, 0.16);
    background: var(--bs-body-bg, #ffffff);
    font-family: 'Open Sans', Arial, sans-serif;
}

.volunteer-hero__card,
.volunteer-section-card {
    background: #ffffff;
    border: 1px solid var(--nlm-border);
    border-radius: 0.75rem;
    box-shadow: 0 8px 38px rgba(0, 0, 0, 0.1);
}

.volunteer-hero__card {
    border-top: 4px solid var(--nlm-primary);
    background: linear-gradient(180deg, rgba(23, 55, 80, 0.035), rgba(23, 55, 80, 0)) #fff;
}

.volunteer-hero h1,
.volunteer-section-card h2,
.volunteer-section-card h3,
.volunteer-section-card h4 {
    color: var(--nlm-primary);
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
}

.volunteer-hero .lead,
.volunteer-page p {
    color: rgba(23, 55, 81, 0.9);
}

.volunteer-faq .accordion-item {
    border: 1px solid var(--nlm-border);
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: #ffffff;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.volunteer-faq .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.volunteer-faq .accordion-item:last-child {
    margin-bottom: 0;
}

.volunteer-faq .accordion-button {
    font-weight: 600;
    color: var(--nlm-primary);
    background: #ffffff;
    box-shadow: none;
    font-family: 'Lato', Arial, sans-serif;
}

.volunteer-faq .accordion-button:not(.collapsed) {
    color: var(--nlm-primary);
    background: linear-gradient(90deg, rgba(242, 193, 78, 0.16), rgba(23, 55, 81, 0.07));
}

.volunteer-faq .accordion-button:focus {
    box-shadow: none;
    border-color: var(--nlm-focus);
}

.volunteer-faq .accordion-body {
    background: #ffffff;
}

.volunteer-list,
.volunteer-checklist,
.volunteer-steps {
    margin: 0;
    padding-left: 1.25rem;
}

.volunteer-list li,
.volunteer-checklist li,
.volunteer-steps li {
    margin-bottom: 0.5rem;
}

.volunteer-list li:last-child,
.volunteer-checklist li:last-child,
.volunteer-steps li:last-child {
    margin-bottom: 0;
}

.volunteer-checklist {
    list-style: none;
    padding-left: 0;
}

.volunteer-checklist li {
    position: relative;
    padding-left: 1.5rem;
}

.volunteer-checklist li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: #2f9154;
    font-weight: 700;
}

.volunteer-alert {
    background: rgba(242, 193, 78, 0.16);
    border: 1px solid rgba(242, 193, 78, 0.42);
    color: var(--nlm-primary);
}

.volunteer-page .form-label {
    font-weight: 600;
    color: var(--nlm-primary);
}

.volunteer-page .form-control,
.volunteer-page .form-select {
    border-radius: 0.75rem;
    border-color: rgba(23, 55, 81, 0.24);
}

.volunteer-page .form-control:focus,
.volunteer-page .form-select:focus {
    border-color: var(--nlm-primary-soft);
    box-shadow: 0 0 0 0.2rem var(--nlm-focus);
}

.volunteer-page a:not(.nl-btn) {
    color: var(--nlm-primary-soft);
}

.volunteer-page a:not(.nl-btn):hover {
    color: var(--nlm-primary);
}

.volunteer-hero__card,
.volunteer-section-card,
.volunteer-faq .accordion-item {
    opacity: 0;
    transform: translateY(14px);
    animation: volunteerReveal 0.48s ease forwards;
}

.volunteer-section-card:nth-of-type(1) {
    animation-delay: 0.06s;
}

.volunteer-section-card:nth-of-type(2) {
    animation-delay: 0.1s;
}

.volunteer-section-card:nth-of-type(3) {
    animation-delay: 0.14s;
}

@keyframes volunteerReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767.98px) {

    .volunteer-hero__card,
    .volunteer-section-card {
        border-radius: 0.875rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .volunteer-hero__card,
    .volunteer-section-card,
    .volunteer-faq .accordion-item {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
}