/* Volunteer Opportunities Section Styles */
#volunteer-opportunities {
    padding: 40px 20px;
    background-color: #f2f2f2;
    text-align: center;
}

.opportunities-container {
    max-width: 1200px;
    margin: 0 auto;
}

.opportunities-container h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.opportunities-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.opportunity-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 10px;
    padding: 20px;
    width: 500px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.opportunity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.opportunity-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.opportunity-card h3 {
    font-size: 24px;
    color: #333;
    margin: 15px 0;
}

.opportunity-card p {
    font-size: 16px;
    color: #666;
}

.apply-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f39c12;
    color: white;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.apply-btn:hover {
    background-color: #d35400;
}

@media(max-width: 860px){
    .opportunities-container h2 {
        font-size: 26px;
    }

    .opportunity-card h3 {
        font-size: 20px;
    }

    .opportunity-card p {
        font-size: 14px;
    }

    .apply-btn {
        font-size: 14px;
    }
}