.events-section {
    padding: 40px 20px;
    background-color: #e4fae5;
    margin: 50px auto;
    text-align: center;
    
}
.events-section .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}
.events-section h2 {
    font-size: 34px;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
}
.events-section h2::before {
    content: "";
    display: block;
    width: 80px;
    height: 5px;
    background: #2c3e50;
    margin: 10px auto;
    border-radius: 5px;
}
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.event-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    text-align: left;
}
.event-item:hover {
    transform: translateY(-10px);
}
.event-photo {
    width: 100%;
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 20px;
}
.event-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}
.event-date {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}
.event-description {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}
.more-events-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 30px;
    font-size: 16px;
    color: #ffffff;
    background: #2c3e50;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}
.more-events-button:hover {
    background: #1a252f;
}




/* Responsive Styles */
@media (max-width: 768px) {
    .events-section {
        padding: 20px 10px;
    }

    .events-section h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .events-section h2::before {
        width: 60px;
        height: 4px;
    }

    .events-grid {
        /* grid-template-columns: 1fr; */
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 30px;
    }

    .event-photo {
        height: 150px;
        margin-bottom: 15px;
    }

    .event-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .event-date {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .event-description {
        font-size: 13px;
    }

    .more-events-button {
        margin-top: 20px;
        font-size: 14px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .events-section {
        padding: 15px 5px;
    }

    .events-section h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .events-section h2::before {
        width: 50px;
        height: 3px;
    }

    .events-grid {
        gap: 10px;
        margin-top: 20px;
    }

    .event-photo {
        height: 120px;
        margin-bottom: 10px;
    }

    .event-title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .event-date {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .event-description {
        font-size: 12px;
    }

    .more-events-button {
        margin-top: 15px;
        font-size: 12px;
        padding: 6px 12px;
    }
}