/* Get Involved Page Styles */
:root {
    --primary-color: #00A8C7;
    --secondary-color: #f8b500; /* Update to use orange */
    --text-color: #2D3748;
    --light-text: #718096;
    --light-bg: #F7FAFC;
    --accent-color: #F6AD55;
    --border-color: #E2E8F0;
    --success-color: #48BB78;
}

/* Hero Section */
.page-hero {
    /* Inherit standard hero styles from styles.css */
    /* Only set the page-specific background */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)),
                url('../images/heroes/hero-get-involved.webp');
}

/* Volunteer Section */
.volunteer-section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.section-header.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto;
}

.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.volunteer-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.volunteer-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.volunteer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.volunteer-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.volunteer-card:hover .volunteer-icon {
    transform: scale(1.1);
}

.volunteer-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.volunteer-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    margin-bottom: 0.75rem;
}

.requirements-list li i {
    color: var(--primary-color);
}

/* Current Needs Section */
.current-needs {
    background-color: var(--light-bg);
    padding: 5rem 0;
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.need-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.need-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.need-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.need-card h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.need-card .location,
.need-card .time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.need-card .description {
    margin: 1rem 0;
    color: var(--light-text);
    line-height: 1.6;
}

/* Application Form */
.application-section {
    padding: 5rem 0;
}

.application-form {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.application-form.animate {
    opacity: 1;
    transform: translateY(0);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--light-bg);
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.testimonial-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-image {
    height: 200px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 2rem;
}

.testimonial-content p {
    color: var(--light-text);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-content h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.testimonial-content .role {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Animation Delays */
.volunteer-card:nth-child(2) { transition-delay: 0.1s; }
.volunteer-card:nth-child(3) { transition-delay: 0.2s; }
.need-card:nth-child(2) { transition-delay: 0.1s; }
.need-card:nth-child(3) { transition-delay: 0.2s; }
.testimonial-card:nth-child(2) { transition-delay: 0.1s; }

/* Success and Error Messages */
.success-message,
.error-message {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    text-align: center;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 2px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .volunteer-grid,
    .needs-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .lead-text {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .application-form {
        padding: 2rem;
    }

    .volunteer-card,
    .need-card {
        padding: 1.75rem;
    }

    .volunteer-grid,
    .needs-grid,
    .testimonials-grid {
        gap: 1.25rem;
    }

    .volunteer-grid {
        padding: 1rem 0 0;
    }

    .application-section,
    .current-needs,
    .testimonials-section {
        padding: 3rem 0;
    }

    .form-grid {
        gap: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-submit {
        margin-top: 1rem;
    }

    .form-submit .btn,
    .apply-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .volunteer-card,
    .need-card,
    .application-form {
        padding: 1.5rem;
    }

    .testimonial-image {
        height: 160px;
    }

    .application-section,
    .current-needs,
    .testimonials-section {
        padding: 2.5rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }
}

/* Print Styles */
@media print {
    .page-hero {
        height: auto;
        padding: 2rem 0;
    }

    .hero-overlay {
        display: none;
    }

    .hero-content {
        color: var(--text-color);
    }

    .volunteer-card,
    .need-card,
    .testimonial-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
    }

    .application-form {
        box-shadow: none;
        border: 1px solid #ddd;
    }
} 