@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600&display=swap');

* {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    transition: all .3s ease;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    background-color: #f5f5f5; /* Light neutral background */
}

section {
    padding: 5rem 5%;
}

.heading {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 3rem;
    text-transform: capitalize;
    color: #2c3e50; /* Darker color for headings */
}

.events-activities .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.events-activities .box-container .box {
    background-color: #ffffff; /* White background for boxes */
    border-radius: 10px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.events-activities .box-container .box:hover {
    transform: translateY(-10px); /* Slightly lift the box on hover */
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}

.events-activities .box-container .box .image {
    position: relative;
    overflow: hidden;
}

.events-activities .box-container .box .image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform .3s ease;
}

.events-activities .box-container .box:hover .image img {
    transform: scale(1.1); /* Slight zoom effect on hover */
}

.events-activities .box-container .box .image h3 {
    background-color: #2980b9; /* Unique color for date label */
    color: #ffffff; /* White text color */
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: .5rem 1.5rem;
    font-size: 1.4rem;
    border-radius: 10px;
}

.events-activities .box-container .box .content {
    padding: 2rem;
}

.events-activities .box-container .box .content h3 {
    font-size: 1.8rem;
    color: #34495e; /* Darker color for titles */
}

.events-activities .box-container .box .content p {
    font-size: 1.4rem;
    padding: 1rem 0;
    line-height: 1.8;
    color: #7f8c8d; /* Light gray color for text */
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    border: 0.1rem solid #2980b9; /* Button border color */
    background: #ffffff; /* Button background color */
    color: #2980b9; /* Button text color */
    cursor: pointer;
    text-transform: capitalize;
    border-radius: 5px;
    transition: background .3s ease, color .3s ease;
}

.btn:hover {
    background: #2980b9; /* Button background color on hover */
    color: #ffffff; /* Button text color on hover */
}

/* Responsive design */
@media (max-width: 768px) {
    .heading {
        font-size: 2.5rem;
    }

    .events-activities .box-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .events-activities .box-container .box .image h3 {
        font-size: 1.2rem;
    }

    .events-activities .box-container .box .content h3 {
        font-size: 1.6rem;
    }

    .events-activities .box-container .box .content p {
        font-size: 1.2rem;
    }

    .btn {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .heading {
        font-size: 2rem;
    }

    .events-activities .box-container {
        grid-template-columns: 1fr;
    }
}
