/* Стили для блока "Международная благотворительная миссия" */
.charity {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.charity__content {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.charity__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.charity__text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.charity__text p:last-child {
    margin-bottom: 0;
}

.charity__stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(53, 88, 252, 0.1);
}

.charity__stat-item {
    text-align: center;
    flex: 1;
}

.charity__stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #3558FC;
    margin-bottom: 5px;
}

.charity__stat-label {
    font-size: 14px;
    color: #555;
}

.charity__gallery {
    flex: 1;
}

.charity__gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    height: 100%;
}

.charity__gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
}

.charity__gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.charity__gallery-item:hover .charity__gallery-image {
    transform: scale(1.05);
}

/* Адаптив */
@media (max-width: 992px) {
    .charity__content {
        flex-direction: column;
    }
    
    .charity__gallery-grid {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .charity {
        padding: 60px 0;
    }
    
    .charity__stats {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    
    .charity__stat-item {
        margin-bottom: 20px;
    }
    
    .charity__stat-item:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .charity__gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        height: auto;
    }
    
    .charity__gallery-item {
        height: 200px;
    }
}