/* Donation Impact Cards - Green Style */

/* Main impact section layout */
.donation-impact {
    padding: 3rem 0;
    background: #f9f9f9;
    position: relative;
}

.donation-impact h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #333;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Green impact cards with modern styling */
.impact-item {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: #a6ce39; /* Green color as requested */
    color: white;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Subtle gradient variations for visual interest */
.impact-item:nth-child(1) {
    background: linear-gradient(135deg, #a6ce39 0%, #95bd30 100%);
}

.impact-item:nth-child(2) {
    background: linear-gradient(135deg, #a6ce39 0%, #9ec235 100%);
}

.impact-item:nth-child(3) {
    background: linear-gradient(135deg, #a6ce39 0%, #8db52b 100%);
}

/* Enhanced hover effects */
.impact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Icon styling */
.impact-icon {
    font-size: 2.5rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.impact-item:hover .impact-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

/* Text styling */
.impact-item h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    font-size: 1.6rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.impact-item p {
    margin: 0;
    color: white;
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.95;
}

/* Shimmer effect on hover */
.impact-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: all 0.75s ease;
    z-index: 1;
    pointer-events: none;
}

.impact-item:hover::before {
    left: 100%;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .impact-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        padding: 0 1rem;
    }
    
    .impact-item {
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .impact-item {
        padding: 1.5rem;
    }
    
    .impact-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .impact-item h3 {
        font-size: 1.4rem;
    }
    
    .impact-item p {
        font-size: 1rem;
    }
}
