/*Charity section*/
.charity-section {
    background: #f5f1e8;
    padding: 100px 50px;
}

.community-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-side {
    padding-right: 40px;
}

.content-side h2 {
    font-size: 4.5em;
    color: #1a1a1a;
    margin-bottom: 40px;
    line-height: 1.1;
    font-weight: 400;
}

.content-side p {
    font-size: 1.2em;
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 50px;
    text-align: justify;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    border: 2px solid #1a1a1a;
    background: transparent;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background: #1a1a1a;
    color: #f5f1e8;
}

.photos-side {
    position: relative;
    height: 600px;
}

.photo-container {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-1 {
    width: 280px;
    height: 280px;
    top: 0;
    left: 0;
    z-index: 3;
}

.photo-2 {
    width: 320px;
    height: 320px;
    top: 140px;
    left: 180px;
    z-index: 2;
}

.photo-3 {
    width: 260px;
    height: 260px;
    top: 80px;
    right: 80px;
    z-index: 1;
}

.photo-4 {
    width: 300px;
    height: 300px;
    bottom: 0;
    right: 0;
    z-index: 2;
}
@media (max-width:768px){
    .community-container{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .content-side{
padding: 2rem 0rem;
    }
    .content-side h2{
        font-size: 2.5rem;
        text-align: center;
    }
    .content-side p{
        font-size: 1rem;
        padding: 0rem 2rem;
    }
    .photos-side{
        height: fit-content;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    .photo-container{
        width: 80%;
        position: unset;
        border-radius: 25px;
    }
    .photo-1{
        height: 280px;
    }
    .photo-2{
        height: 280px;
    }
    .photo-3{
       height: 280px;
    }
    .photo-4{
        height: 280px;
    }

}