/* Event Container */
.masjid-events-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Event Item */
.masjid-event-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for event item */
.masjid-event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Event Title */
.masjid-event-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Event Date */
.masjid-event-item p strong {
    font-size: 18px;
    color: #16a085;
    font-weight: 600;
}

/* Event Description */
.masjid-event-item p {
    font-size: 16px;
    color: #34495e;
    line-height: 1.6;
}

/* No events message */
.masjid-events-container p {
    font-size: 18px;
    color: #e74c3c;
    font-weight: bold;
    text-align: center;
}

/* Event Page Styling */
.masjid-event-item .event-date {
    font-size: 16px;
    color: #7f8c8d;
    font-style: italic;
}

/* Event Button (if any) */
.masjid-event-button {
    background-color: #1abc9c;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    margin-top: 10px;
}

.masjid-event-button:hover {
    background-color: #16a085;
    text-decoration: none;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .masjid-events-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .masjid-event-item {
        padding: 15px;
    }

    .masjid-event-item h3 {
        font-size: 20px;
    }

    .masjid-event-item p {
        font-size: 14px;
    }

    .masjid-event-button {
        font-size: 14px;
        padding: 8px 12px;
    }
}
/* Event Section Styles */
.masjid-events-section {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.event-item {
    background-color: #fff;
    border: 1px solid #e1e1e1;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.event-item h3 {
    font-size: 24px;
    color: #2c3e50;
}

.event-item p {
    font-size: 16px;
    color: #7f8c8d;
}

.event-countdown {
    font-size: 20px;
    color: #e74c3c;
    font-weight: bold;
    margin-top: 15px;
}
