.testimonial-item {
                          position: relative;
                          overflow: hidden;
                          border-radius: 12px;
                          box-shadow: 0 6px 15px rgba(0,0,0,0.1);
                      }
.testimonial-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.5s ease;
}
.testimonial-item:hover .testimonial-img {
    transform: scale(1.05);
}
.caption-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.swiper-slide-active .caption-overlay {
    opacity: 1;
}

/* Gradient Background */
.important-updates-section {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.updates-label {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
/* Smooth scrolling ticker */
.updates-ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}
@keyframes ticker-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
/* Link styling */
.ticker-link {
    transition: color 0.3s ease;
}
.ticker-link:hover {
    color: #ffe600;
    text-decoration: underline;
}
@keyframes marqueeScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.marquee {
    animation: marqueeScroll 20s linear infinite;
    white-space: nowrap;
    will-change: transform;
}
.marquee.paused {
    animation-play-state: paused;
}
.event-marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
}
.event-marquee {
    display: inline-flex;
    animation: event-marquee 40s linear infinite; /* slow scrolling */
}
.event-item {
    display: inline-block;
    margin: 0 2rem;
    text-align: center;
}
.event-item img {
    max-height: 120px;
    width: auto;
    display: block;
    margin: 0 auto;
}
.event-title {
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}
@keyframes event-marquee {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
/* optional: pause on hover */
.event-marquee-wrapper:hover .event-marquee {
    animation-play-state: paused;
}
.event-item img {
    height: 120px;          /* ✅ FIXED HEIGHT */
    width: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
}
/* --- Section wrapper --- */
.event-section {
    padding: 20px 0;
}

.event-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* --- Marquee base --- */
.event-marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.event-marquee {
    display: inline-flex;
    animation: event-marquee 40s linear infinite; /* slow scrolling */
}

/* --- Boxed event item --- */
.event-item {
    display: inline-block;
    margin: 0 1.5rem;
}

/* Card style */
.event-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    min-width: 180px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: center;
}

/* Hover animation on each box */
.event-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Subtle floating animation for all cards (optional) */
.event-card {
    animation: float-card 3s ease-in-out infinite alternate;
}

/* Image area */
.event-image-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 8px;
}

.event-image-wrap img {
    height: 120px;        /* fixed height */
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Text */
.event-content {
    text-align: center;
}

.event-title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
}

/* .event-date { font-size: 0.8rem; color: #777; margin-top: 3px; } */

/* --- Marquee animation --- */
@keyframes event-marquee {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Pause marquee on hover */
.event-marquee-wrapper:hover .event-marquee {
    animation-play-state: paused;
}

/* --- Card floating animation --- */
@keyframes float-card {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-3px); }
}


.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
.bg-gradient {
    background: linear-gradient(135deg, #ff6a00, #ee0979);
}
