* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.latest-news {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 60px 20px;
    background-color: #fff;
}

.latest-news-text {
    flex: 1;
    max-width: 50%;
}

.updates {
    color: #a80000;
    font-size: 14px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.latest-news-text h2 {
    font-size: 36px;
    color: #333;
    line-height: 1.2;
}

.latest-news-description {
    flex: 1;
    max-width: 45%;
    color: #777;
}

.latest-news-description p {
    font-size: 16px;
    line-height: 1.5;
}

.latest-news-description a {
    color: #40b55d;
    text-decoration: none;
    font-weight: 700;
}

.latest-news-description a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .latest-news {
        flex-direction: column;
        text-align: center;
    }

    .latest-news-text, .latest-news-description {
        max-width: 100%;
    }

    .latest-news-text h2 {
        font-size: 28px;
    }

    .latest-news-description p {
        font-size: 15px;
    }
}


.events-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    width: 00px
}

.event-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
   
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.event-card h3 {
    font-size: 18px;
    font-weight: 700;
    padding: 15px;
    color: #333;
}

.event-date {
    font-size: 14px;
    color: #999;
    padding: 0 15px;
}

.event-tags {
    font-size: 14px;
    color: #40b55d;
    padding: 0 15px 15px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .events-section {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        width: 100%;
    }

    .event-card img {
        height: auto;
    }
}


.section-container {
    background-image: url('../images/slider_Humanitaria.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}


.section-container2 {
    background-image: url('../images/c.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.section-content {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    text-align: center;
}

.section-content2 {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    text-align: center;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #218838;
}

@media screen and (max-width: 768px) {
    .section-container {
        height: auto;
        padding: 50px 20px;
    }
    .section-container2 {
        height: auto;
        padding: 50px 20px;
    }

    .section-content {
        max-width: 100%;
    }

    .section-content2 {
        max-width: 100%;
    }

    h1 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }

    .btn {
        font-size: 14px;
        padding: 10px 15px;
    }
}


.slider {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
}

.slider > div {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.slider img {
    max-width: 100%;
    height: auto;
    display: block;
}
