/* Icon Styles */

.specialeventcard .calendar-icon {

    color: #fff !important; /* Increased specificity and !important to override */

}

.specialeventcard .person-icon {

    color: #fff !important; /* Increased specificity and !important to override */

}

   .specialeventcards {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .specialeventcard {
        flex: 1 1 calc(33.333% - 20px);
        box-sizing: border-box;
    }

    .featured-specialeventcard {
        flex: 0 1 calc(83.333% - 20px); /* 2.5x one-third width */
        margin: 0 auto 40px auto;
        box-sizing: border-box;
    }

    @media (max-width: 768px) {
        .specialeventcard,
        .featured-specialeventcard {
            flex: 1 1 100%;
        }
    }

body {

    font-family: Arial, sans-serif;

    margin: 0;

    padding: 0;

    background-color: #fff;

    color: #000;

}

.container {

    text-align: center;

    padding: 20px;

    max-width: 100% !important;

    margin: 0 auto;

}

.heading {

    font-size: 2rem;

    margin-bottom: 20px;

}

.specialeventcards {

    display: grid;

    grid-template-columns: repeat(3, 1fr); /* Three cards per row */

    gap: 15px; /* Adjusted gap for better spacing */

    justify-items: center;

    align-items: start;

}

.specialeventcard {

    background-color: #dde5ed;

    border-radius: 8px;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);

    width: 375px; /* Increased width by 25% */

    text-align: left;

    display: flex;

    flex-direction: column;

    align-items: center;

    box-sizing: border-box;

    color: #003459;

    text-decoration: none;

    overflow: hidden;

    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.specialeventcard:hover {

    transform: scale(1.05);

    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);

}

.specialeventcard img {

    width: 100%;

    height: 200px;

    object-fit: cover;

    border-radius: 8px 8px 0 0;

}

.specialeventcard h3 {

    margin: 15px 10px 10px;

    font-size: 1.5rem;

    text-align: center;

}

/* Styling for text links */

.specialeventcard a {

    text-decoration: none; /* Remove underline */

    color: inherit; /* Inherit text color from parent */

}

.specialeventcard a:hover,

.specialeventcard a:focus {

    text-decoration: none; /* No underline on hover or focus */

    color: inherit; /* Keep text color consistent */

}

.specialeventcard p {

    font-size: 1rem;

    margin: 10px 15px;

    line-height: 1.6;

    text-align: center;

}

.button-wrapper {

    display: flex;

    justify-content: center;

    margin: 15px 0 10px;

}

.button-wrapper a {

    text-decoration: none;

}

.button-wrapper button {

    background-color: #ff3042;

    color: #dde5ed;

    border: none;

    padding: 10px 20px;

    border-radius: 4px;

    cursor: pointer;

    font-size: 1rem;

    text-transform: uppercase;

    transition: background-color 0.3s ease;

}

.button-wrapper button:hover {

    background-color: #ffc82d;

}

/* Responsive Design */

@media (max-width: 1024px) {

    .specialeventcards {

        grid-template-columns: repeat(2, 1fr); /* Two cards per row */

    }

    .specialeventcard {

        width: 47%; /* Adjust card width for better spacing on medium screens */

    }

}

@media (max-width: 768px) {

    .specialeventcards {

        grid-template-columns: 1fr; /* Single card per row */

    }

    .specialeventcard {

        width: 90%; /* Full width for single card view on small screens */

    }

    .specialeventcard img {

        width: 100%; /* Ensure the image spans full width on mobile */

        height: auto; /* Maintain aspect ratio */

    }

} 