/* ===================== Hero Section ===================== */
.evt-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.evt-hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* .evt-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
} */

.evt-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    color: #fff;
    background-color: #00000080;
    border-radius: 8px;
    animation: fadeInUp 1s ease forwards;
}

.evt-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    animation: slideInLeft 1s ease forwards;
}

.evt-hero-content p {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #eee;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    animation: slideInRight 1.2s ease forwards;
}

/* ===================== CTA Section ===================== */
.evt-cta-section {
    background: linear-gradient(135deg, #FFEBA1, #FFCC00);
    text-align: center;
    padding: 80px 20px;
    margin: 100px auto 0;
    border-radius: 20px;
    max-width: 1000px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.evt-cta-section p {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 25px;
    color: #333;
    line-height: 1.6;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .evt-cta-section {
        padding: 60px 15px;
    }

    .evt-cta-section p {
        font-size: 1.1rem;
    }
}

.slider-min-height {
    height: 60vh !important;
}

@media (max-width: 768px) {
    .slider-min-height {

        height: 40vh !important;
    }
}


/* Section */
.event-section {
    position: relative;
    background: linear-gradient(135deg, #f9f9ff 0%, #e6f0ff 100%);
    padding: 120px 0;
    overflow: hidden;
}

/* Event Block Layout */
.event-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
    position: relative;
    transition: transform 0.5s ease;
}

/* Hover Effect */
.event-block:hover {
    transform: translateY(-10px);
}

/* Reverse layout for desktop */
.event-block.reverse .event-image {
    order: 2;
}

.event-block.reverse .event-content {
    order: 1;
}

/* Event Image */
.event-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.event-img {
    width: 100%;
    max-width: 380px;
    max-height: 480px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.8s ease, transform 0.8s ease;
}

.event-img:hover {
    transform: scale(1.05);
    transition: all 0.5s ease;
}

/* Event Text */
.event-content h2 {
    font-size: 36px;
    color: var(--color-black);
    margin-bottom: 20px;
}

.event-content p {
    color: var(--color-secondary);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Scroll Reveal Animation */
.reveal {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* Floating decorative elements */
.event-section::before,
.event-section::after {
    content: "";
    position: absolute;
    background: rgba(6, 118, 208, 0.15);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.event-section::before {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
}

.event-section::after {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

/* Float Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Gradient overlay for images */
.event-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 380px;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(to bottom, rgba(6, 118, 208, 0.2), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.event-image:hover::after {
    opacity: 1;
}

/* Responsive Styling */
@media (max-width: 580px) {
    .event-block {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .event-block.reverse .event-image,
    .event-block.reverse .event-content {
        order: unset;
    }

    .event-content h2 {
        font-size: 28px;
    }
}

