.events-all-section {
    margin-top: 80px;
    max-width: 1600px;
margin: 0 auto;
    padding: 2rem;
    
}

.events-section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.events-all-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.events-post-card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
}

.events-post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.events-post-card:hover img {
    transform: scale(1.05);
}

.events-post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 25px 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    box-sizing: border-box; 
}

.events-post-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.events-post-date {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0.9;
}

.events-post-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.events-learn-more {
    margin-top: 15px;
    align-self: flex-start; 
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.learn-more-button {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 8px 10px 8px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    color: #4350B4;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none; 
}

.events-post-card .events-learn-more {
    opacity: 1;
    transform: translateY(0);
    color: #4350B4;
}

.events-learn-arrow {
    background-color: #4350B4;
    color: #FFFFFF;
    border-radius: 6px;
    padding: 6px 10px;
    margin-left: 15px;
}


@media (max-width: 992px) {
    .events-all-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .events-all-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    .events-section-title {
        font-size: 36px;
    }
}

.banner-title span {
  color: #f5a54a; /* highlight "Us" */
  display: inline-block;
  animation: minimal-bounce  2s infinite;
  animation-delay: 0.1s; /* slight offset for effect */
}

/* Bounce animation for the heading */


/* Bounce animation for the span text */
@keyframes minimal-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}