/* Events Slider Pro CSS */
.events-slider-container {
    position: relative;
    min-height: 500px;
    padding: 40px 0px;
    border-radius: 20px;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    touch-action: pan-y pinch-zoom;
}

.events-main-content {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    gap: 40px;
}

/* Desktop layout */
@media (min-width: 769px) {
    .events-main-content {
        flex-direction: column;
        align-items: flex-end;
        gap: 40px;
    }
    
    .events-text-content {
        width: 100%;
        align-self: stretch;
    }
    
    .events-slider-section {
        width: 50%;
        align-self: flex-end;
    }
    
    .events-slider-wrapper {
        width: 50%;
        margin-left: auto;
    }
}

/* Text Content Section */
.events-text-content {
    width: 100%;
    text-align: left;
}

.events-main-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1976D2;
    margin: 0 0 15px 0;
    padding: 10px 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.events-subtitle {
    font-size: 1.1rem;
    color: #424242;
    margin: 0 0 30px 0;
    line-height: 1.4;
    font-weight: 400;
}

.events-info {
    max-width: 600px;
    margin: 30px 0;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.event-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
    min-width: 200px;
}

.info-icon {
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 0;
}

.info-content {
    flex: 1;
}

.info-label {
    font-weight: bold;
    color: #1976D2;
    font-size: 1rem;
    margin-bottom: 2px;
}

.info-value {
    color: #666;
    font-size: 0.9rem;
}

.events-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary, .btn-secondary {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: #1976D2;
    color: white;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

.btn-primary:hover {
    background: #1565C0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #1976D2;
    border: 2px solid #1976D2;
}

.btn-secondary:hover {
    background: #1976D2;
    color: white;
    transform: translateY(-2px);
}

/* Slider Section */
.events-slider-section {
    width: 100%;
    position: relative;
}

.events-slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    /* Width controlled by Elementor - default fallback */
}





.events-grid {
    display: flex;
    gap: 20px;
    overflow: visible;
    width: 100%;
    padding: 10px 0;
    touch-action: pan-y;
}

.events-grid::-webkit-scrollbar {
    height: 8px;
}

.events-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.events-grid::-webkit-scrollbar-thumb {
    background: #1976D2;
    border-radius: 10px;
}

.events-grid::-webkit-scrollbar-thumb:hover {
    background: #1565C0;
}

.event-slide {
    flex: 1;
    min-width: calc(16.666% - 17px);
    transition: all 0.3s ease;
}

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #0066CC;
    height: 180px;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: #FAC12D;
}

.event-card.active {
    border-color: #FAC12D;
    transform: translateY(-3px);
}

.event-card.active:hover {
    transform: translateY(-5px);
}

.event-card:hover .event-title,
.event-card.active .event-title {
    background: linear-gradient(135deg, #FAC12D 0%, #FE781B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.event-image {
    height: 90px;
    overflow: hidden;
    position: relative;
}

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

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-title {
    font-size: 0.95rem;
    font-weight: bold;
    color: #1976D2;
    margin: 0;
    line-height: 1.3;
}



/* Background Decoration */
.events-background-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.dots-pattern {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #1976D2 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.1;
    transform: translateY(-50%);
}

/* Events Slider Section - 2 Column Layout */
.events-slider-section {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

/* Dot Navigation - Left Bottom Horizontal */
.dot-navigation {
    display: flex;
    flex-direction: row;
    gap: 10px;
    /* Width controlled by Elementor - default fallback */
    width: 50%;
    align-items: center;
    align-self: flex-end;
    margin-bottom: 0;
    padding: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #E0E0E0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background-color: #1976D2;
    transform: scale(1.2);
}

.dot.active {
    background-color: #FAC12D;
    border-color: #FE781B;
    transform: scale(1.3);
}

/* Events Slider Wrapper - Column 2 */
.events-slider-wrapper {
    /* Width controlled by Elementor - default fallback */
    width: 50%;
    display: flex;
    flex-direction: column;
}

/* Responsive Design */
@media (max-width: 768px) {
    .events-main-content {
        gap: 30px;
    }
    
    .events-main-title {
        font-size: 2rem;
    }
    
    .event-slide {
        flex: 0 0 calc(50% - 10px);
        min-width: 250px;
    }
    
    .events-buttons {
        justify-content: flex-start;
    }
    
    .event-info-item {
        justify-content: flex-start;
    }
    
    .events-slider-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .events-slider-wrapper {
        flex-direction: column;
        width: 100%;
    }
    
    .dot-navigation {
        flex-direction: row;
        gap: 8px;
        justify-content: flex-start;
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .events-slider-container {
        padding: 20px 15px;
    }
    
    .events-main-title {
        font-size: 1.5rem;
    }
    
    .events-subtitle {
        font-size: 1rem;
    }
    
    .events-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .event-info-item {
        min-width: auto;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .dot-navigation {
        gap: 6px;
    }
    
    .events-grid {
        gap: 15px;
    }
    
    .event-slide {
        flex: 0 0 calc(50% - 7.5px);
        min-width: 150px;
    }
    
    .event-card {
        height: 260px;
    }
    
    .event-content {
        padding: 12px;
    }
    
    .events-buttons {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }
    
    .btn-primary, .btn-secondary {
        flex: 1;
        padding: 10px 15px;
        font-size: 0.9rem;
        text-align: center;
    }
}

/* Animation for slide transitions */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.event-slide.slide-in {
    animation: slideInRight 0.5s ease-in-out;
}

.event-slide.slide-out {
    animation: slideOutLeft 0.5s ease-in-out;
}