/* Custom Volunteers & Donate Page Styles */

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 4rem 0;
}

.cta-section .heading__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 2rem;
}

.cta-buttons {
    margin-top: 2rem;
}

.cta-btn {
    margin: 0 1rem;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.button--secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.button--secondary:hover {
    background: white;
    color: #28a745;
}

/* Volunteers Section */
.volunteers-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.volunteers-grid {
    margin-top: 3rem;
}

.volunteer-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.volunteer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.volunteer-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

.volunteer-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.volunteer-card:hover .volunteer-image img {
    transform: scale(1.1);
}

.volunteer-info {
    padding: 2rem;
}

.volunteer-info h4 {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.volunteer-role {
    color: #666;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.volunteer-description {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Volunteer Form Section */
.volunteer-form-section {
    padding: 5rem 0;
    background: white;
}

.volunteer-form-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.volunteer-form-card h3 {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Donation Section */
.donation-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.payment-methods {
    margin-top: 3rem;
}

.payment-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 2rem;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.payment-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.payment-logo {
    height: 40px;
    margin-right: 1rem;
}

.card-logos {
    display: flex;
    gap: 10px;
}

.card-logos .payment-logo {
    height: 30px;
}

.payment-header h4 {
    color: #28a745;
    font-weight: 600;
    margin: 0;
}

.payment-details {
    margin-bottom: 1.5rem;
}

.payment-details p {
    margin-bottom: 0.5rem;
    color: #555;
}

.payment-instructions h5 {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 1rem;
}

.payment-instructions ol {
    color: #555;
    line-height: 1.6;
}

.payment-instructions li {
    margin-bottom: 0.5rem;
}

/* M-Pesa specific styling */
.mpesa-card {
    border-left: 5px solid #00a651;
}

/* PayPal specific styling */
.paypal-card {
    border-left: 5px solid #0070ba;
}

.paypal-donate-btn {
    background: #0070ba;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.paypal-donate-btn:hover {
    background: #005ea6;
    transform: translateY(-2px);
}

.paypal-donate-btn img {
    height: 20px;
}

/* Card Payment styling */
.card-payment {
    border-left: 5px solid #1a1f71;
}

.card-form .form-control {
    margin-bottom: 1rem;
}

/* Bank Transfer styling */
.bank-transfer {
    border-left: 5px solid #dc3545;
}

.bank-note {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.bank-note em {
    color: #666;
    font-size: 0.9rem;
}

/* Donation Impact Section */
.donation-impact {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.donation-impact h3 {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 2rem;
}

.impact-items {
    margin-top: 2rem;
}

.impact-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.impact-item:hover {
    background: #28a745;
    color: white;
    transform: translateY(-5px);
}

.impact-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 0.5rem;
}

.impact-item:hover .impact-amount {
    color: white;
}

.impact-description {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666;
}

.impact-item:hover .impact-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-btn {
        display: block;
        margin: 0.5rem 0;
        text-align: center;
    }
    
    .volunteer-form-card {
        padding: 2rem;
    }
    
    .payment-card {
        padding: 1.5rem;
    }
    
    .donation-impact {
        padding: 2rem;
    }
    
    .volunteer-image {
        height: 200px;
    }
    
    .volunteer-info {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .cta-section {
        padding: 3rem 0;
    }
    
    .volunteers-section,
    .volunteer-form-section,
    .donation-section {
        padding: 3rem 0;
    }
    
    .volunteer-form-card {
        padding: 1.5rem;
    }
    
    .payment-card {
        padding: 1rem;
    }
    
    .donation-impact {
        padding: 1.5rem;
    }
}

/* Animation for volunteer cards */
.volunteer-card {
    animation: fadeInUp 0.6s ease-out;
}

.volunteer-card:nth-child(1) { animation-delay: 0.1s; }
.volunteer-card:nth-child(2) { animation-delay: 0.2s; }
.volunteer-card:nth-child(3) { animation-delay: 0.3s; }
.volunteer-card:nth-child(4) { animation-delay: 0.4s; }
.volunteer-card:nth-child(5) { animation-delay: 0.5s; }
.volunteer-card:nth-child(6) { animation-delay: 0.6s; }

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Button utilities */
.w-100 {
    width: 100% !important;
}