@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@400;500&display=swap");

.main-header {
    background: linear-gradient(135deg, #6a3ab2, #e1bee7);
    color: #fff;
    text-align: center;
    padding: 3rem 1rem;
    animation: fadeInDown 1s ease-out;
}

.main-header h1 {
    font-family: "Poppins, Tahoma, Geneva, sans-serif";
    font-size: 2.8rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}

.main-header .subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.container {
    width: 100%;
    height: 100%;
    /* max-width: 1000px; */
    margin: 2rem auto;
    padding: 0 1rem;
}

.event-card {
    background-color: #fff;
    margin-bottom: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease-out;
    display: none;
    /* Initially hide cards, JS will show them */
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.event-date {
    background-color: hsl(0, 94%, 21%);
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    color: #ffffff;
    border-bottom: 1px solid #ddd;
    font-size: 0.9rem;
}

.event-title {
    font-family: "Times New Roman";
    font-size: 1.8rem;
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0;
    color: #5c0005;
}

.event-content {
    padding: 1rem 1.5rem 1.5rem;
    color: #555;
}

.event-content p {
    margin-bottom: 1rem;
    font-family: "Poppins";
}

.event-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 1rem;
}

/* Image Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider img {
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
    height: 450px;
    /* Adjust height as needed */
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Pagination Styles */
.pagination .page-link {
    color: #5c0005;
    /* Dark purple text */
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #b42e2e;
    /* Light purple background on hover */
    color: #5c0005;
}

.pagination .page-item.active .page-link {
    background-color: #5c0005;
    /* Dark purple background for active page */
    border-color: #5c0005;
    color: #fff;
    /* White text for active page */
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
}