/* Festival Section  */
.festivals-section {
    padding: 0 5%;
    padding-bottom: 100px;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    color: #005f30;
    text-align: center;
    margin-bottom: 50px;
    transform: translateY(30px);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #005f30;
    margin: 0 auto;
    border-radius: 100px;
}

.festival-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.festival-card {
    width: 28vw;
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(50px);
}

.festival-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.festival-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.festival-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 57, 51, 0.5);
    filter: opacity(0);
    z-index: 1;
}

.festival-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.festival-card:hover .festival-image img {
    transform: scale(1.1);
}

.festival-card:hover .festival-image::before {
    filter: opacity(0.8);
}

.festival-content {
    padding: 20px;
}

.festival-content h3 {
    font-size: 1.2rem;
    color: #005f30;
    margin-bottom: 10px;
}

.festival-content p {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
}

/* Responsive design */
@media screen and (max-width: 1150px) {
    .festival-card {
        width: 40vw;
    }
    
}

@media (max-width: 768px) {
    .festivals-section {
        padding: 80px 5%;
        padding-top: 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .festival-container {
        flex-direction: column;
        align-items: center;
    }

    .festival-card {
        width: 90vw;
    }
}

@media (max-width: 480px) {
    .festivals-section {
        padding: 60px 5%;
        padding-top: 0;
    }

    .section-title {
        font-size: 1.7rem;
    }
}

[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}