/* ===== GET INVOLVED CSS ===== */

/* Hero Section */
.aceo-get-involved-hero {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(135deg, #0d2818 0%, #1A5F23 100%);
    color: white;
    margin-bottom: 60px;
}

.aceo-get-involved-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: #E53E3E;
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid #E53E3E;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: #C53030;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 62, 62, 0.2);
}

.btn-hero-secondary {
    background: #D4AF37;
    color: #1A202C;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid #D4AF37;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: #b89422;
    transform: translateY(-2px);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Ways to Get Involved */
.aceo-ways-to-involve {
    margin: 80px 0;
}

.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.way-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #E2E8F0;
    transition: all 0.3s ease;
}

.way-card:hover {
    transform: translateY(-10px);
    border-color: #1A5F23;
    box-shadow: 0 20px 40px rgba(26, 95, 35, 0.15);
}

.way-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #1A5F23;
}

.way-card h3 {
    color: #0d2818;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.way-card p {
    color: #4A5568;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.way-link {
    display: inline-block;
    color: #1A5F23;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

.way-link:hover {
    color: #0d2818;
    border-bottom-color: #1A5F23;
}

/* Volunteer Grid */
.aceo-volunteer-container {
    margin: 60px 0;
}

.aceo-volunteer-filters {
    background: #F8FAF9;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 1px solid #E2E8F0;
}

.aceo-volunteer-filters .filter-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: end;
}

.aceo-volunteer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.aceo-volunteer-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.aceo-volunteer-grid[data-columns="1"] {
    grid-template-columns: 1fr;
}

/* Volunteer Card */
.aceo-volunteer-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.aceo-volunteer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(26, 95, 35, 0.1);
    border-color: #1A5F23;
}

.volunteer-card-inner {
    padding: 25px;
}

.volunteer-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.volunteer-category,
.volunteer-type {
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.volunteer-category {
    background: rgba(26, 95, 35, 0.1);
    color: #1A5F23;
}

.volunteer-type {
    background: rgba(66, 153, 225, 0.1);
    color: #4299E1;
}

.volunteer-title {
    font-size: 1.3rem;
    color: #0d2818;
    margin-bottom: 15px;
    line-height: 1.4;
}

.volunteer-title a {
    color: inherit;
    text-decoration: none;
}

.volunteer-title a:hover {
    color: #1A5F23;
}

.volunteer-meta {
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #4A5568;
    font-size: 0.9rem;
}

.meta-icon {
    width: 20px;
    text-align: center;
}

.volunteer-excerpt {
    color: #4A5568;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.volunteer-skills {
    margin-bottom: 20px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.skill-tag {
    background: #F8FAF9;
    color: #4A5568;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid #E2E8F0;
}

.volunteer-actions {
    display: flex;
    gap: 10px;
}

.btn-volunteer-apply {
    flex: 1;
    background: #1A5F23;
    color: white;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-volunteer-apply:hover {
    background: #0d2818;
}

.btn-volunteer-details {
    flex: 1;
    background: transparent;
    color: #1A5F23;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #1A5F23;
    transition: all 0.3s ease;
}

.btn-volunteer-details:hover {
    background: rgba(26, 95, 35, 0.1);
}

/* Job Cards */
.aceo-job-container {
    margin: 60px 0;
}

.aceo-job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.aceo-job-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.aceo-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(26, 95, 35, 0.1);
    border-color: #1A5F23;
}

.job-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.job-type {
    background: rgba(56, 161, 105, 0.1);
    color: #38A169;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-deadline {
    background: rgba(245, 101, 101, 0.1);
    color: #F56565;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-title {
    font-size: 1.3rem;
    color: #0d2818;
    margin-bottom: 15px;
    line-height: 1.4;
}

.job-title a {
    color: inherit;
    text-decoration: none;
}

.job-title a:hover {
    color: #1A5F23;
}

/* Campaign Cards */
.aceo-campaigns-container {
    margin: 60px 0;
}

.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.aceo-campaign-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.aceo-campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(26, 95, 35, 0.1);
    border-color: #1A5F23;
}

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

.campaign-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.aceo-campaign-card:hover .campaign-image img {
    transform: scale(1.05);
}

.campaign-content {
    padding: 25px;
}

.campaign-title {
    font-size: 1.3rem;
    color: #0d2818;
    margin-bottom: 20px;
    line-height: 1.4;
}

.campaign-title a {
    color: inherit;
    text-decoration: none;
}

.campaign-title a:hover {
    color: #1A5F23;
}

.campaign-progress {
    margin-bottom: 20px;
}

.progress-bar {
    height: 10px;
    background: #E2E8F0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1A5F23, #38A169);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.stat-raised,
.stat-goal,
.stat-percentage {
    text-align: center;
}

.stat-raised strong,
.stat-goal strong {
    display: block;
    color: #0d2818;
    font-size: 1.1rem;
}

.stat-percentage strong {
    display: block;
    color: #1A5F23;
    font-size: 1.2rem;
}

/* Donation Options */
.aceo-donation-options {
    margin: 60px 0;
}

.donation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.donation-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #E2E8F0;
    position: relative;
    transition: all 0.3s ease;
}

.donation-card.featured {
    border-color: #D4AF37;
    transform: scale(1.02);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #D4AF37;
    color: #1A202C;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.donation-card h3 {
    color: #0d2818;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.4rem;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.amount-btn {
    background: #F8FAF9;
    border: 2px solid #E2E8F0;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}

.amount-btn:hover {
    background: #1A5F23;
    color: white;
    border-color: #1A5F23;
}

.donation-note {
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-style: italic;
}

.btn-donate-now,
.btn-donate-monthly,
.btn-donate-project {
    display: block;
    background: #1A5F23;
    color: white;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-donate-now:hover,
.btn-donate-monthly:hover,
.btn-donate-project:hover {
    background: #0d2818;
}

.donation-card.featured .btn-donate-monthly {
    background: #D4AF37;
    color: #1A202C;
}

.donation-card.featured .btn-donate-monthly:hover {
    background: #b89422;
}

.donation-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.donation-benefits li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.donation-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #38A169;
    font-weight: bold;
}

.project-options {
    margin: 20px 0;
}

.project-option {
    display: block;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.project-option:hover {
    border-color: #1A5F23;
    background: rgba(26, 95, 35, 0.05);
}

.project-option input {
    margin-right: 10px;
}

/* Newsletter */
.aceo-newsletter-signup {
    background: linear-gradient(135deg, #0d2818, #1A5F23);
    color: white;
    padding: 80px 20px;
    border-radius: 20px;
    margin: 80px 0;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.aceo-newsletter-signup h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.aceo-newsletter-signup p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form {
    margin-bottom: 40px;
}

.form-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto 20px;
}

.form-group input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
}

.btn-subscribe {
    background: #D4AF37;
    color: #1A202C;
    padding: 15px 30px;
    border: none;
    border-radius: 0 8px 8px 0;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: #b89422;
}

.form-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.privacy-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

.privacy-note a {
    color: #D4AF37;
    text-decoration: underline;
}

.social-links {
    margin-top: 40px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .aceo-get-involved-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .ways-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .donation-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ways-grid {
        grid-template-columns: 1fr;
    }
    
    .aceo-volunteer-grid,
    .aceo-job-grid,
    .campaigns-grid {
        grid-template-columns: 1fr;
    }
    
    .volunteer-actions,
    .job-actions {
        flex-direction: column;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-group input {
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .btn-subscribe {
        border-radius: 8px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .aceo-get-involved-hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
/* ===== INTERACTIVE COMPONENTS ===== */

/* Loading States */
.aceo-load-more-volunteers.loading,
.aceo-load-more-jobs.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

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

/* Donation Button Active State */
.amount-btn.active {
    background: #1A5F23 !important;
    color: white !important;
    border-color: #1A5F23 !important;
}

/* Project Option Selection */
.project-option.selected {
    background: rgba(26, 95, 35, 0.1);
    border-color: #1A5F23;
}

/* Newsletter Messages */
.newsletter-message {
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: 600;
    text-align: center;
    animation: slideDown 0.3s ease;
}

.newsletter-message.success {
    background: rgba(56, 161, 105, 0.1);
    color: #38A169;
    border: 1px solid #38A169;
}

.newsletter-message.error {
    background: rgba(245, 101, 101, 0.1);
    color: #F56565;
    border: 1px solid #F56565;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Highlight Animation for Donation Forms */
.give-form.highlighted {
    animation: pulseHighlight 2s ease;
}

@keyframes pulseHighlight {
    0% { box-shadow: 0 0 0 0 rgba(26, 95, 35, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(26, 95, 35, 0); }
    100% { box-shadow: 0 0 0 0 rgba(26, 95, 35, 0); }
}

/* Count Display in Load More Buttons */
.count {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-left: 5px;
    font-weight: normal;
}

/* Empty States */
.aceo-no-more-volunteers,
.aceo-no-more-jobs,
.aceo-no-campaigns {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background: #F8FAF9;
    border-radius: 12px;
    border: 2px dashed #E2E8F0;
    color: #718096;
    font-style: italic;
    margin: 20px 0;
}

/* Skill Tags Hover */
.skill-tag:hover {
    background: rgba(26, 95, 35, 0.2);
    transform: translateY(-1px);
}

/* Card Hover Effects */
.aceo-volunteer-card:hover .volunteer-title a,
.aceo-job-card:hover .job-title a,
.aceo-campaign-card:hover .campaign-title a {
    color: #1A5F23 !important;
}

/* Filter Dropdown Styling */
.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234A5568" width="18" height="18"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
}

/* Campaign Progress Animation */
.progress-fill {
    transition: width 1s ease-in-out;
}

/* Responsive Table Styles */
@media (max-width: 768px) {
    .aceo-volunteer-grid[data-columns="3"],
    .aceo-job-grid,
    .campaigns-grid {
        grid-template-columns: 1fr !important;
    }
    
    .volunteer-actions,
    .job-actions,
    .campaign-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .donation-amounts {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Print Styles */
@media print {
    .aceo-volunteer-filters,
    .aceo-job-filters,
    .aceo-campaign-filters,
    .aceo-load-more-volunteers,
    .aceo-load-more-jobs,
    .btn-subscribe,
    .social-links {
        display: none !important;
    }
    
    .aceo-volunteer-card,
    .aceo-job-card,
    .aceo-campaign-card {
        break-inside: avoid;
        border: 1px solid #ddd;
        box-shadow: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .aceo-volunteer-card,
    .aceo-job-card,
    .aceo-campaign-card {
        border: 2px solid #000;
    }
    
    .btn-volunteer-apply,
    .btn-job-apply,
    .btn-campaign-donate {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .aceo-volunteer-card,
    .aceo-job-card,
    .aceo-campaign-card,
    .way-card {
        transition: none !important;
    }
    
    .spinner {
        animation-duration: 1.5s;
    }
    
    .progress-fill {
        transition: none;
    }
}