:root {
    --event-primary: #0056b3;
    --event-accent: #00a8ff;
    --event-light: #f0f7ff;
    --event-dark: #003d7a;
    --event-text-dark: #2c3e50;
    --event-text-light: #7f8c8d;
    --event-gradient: linear-gradient(135deg, #0056b3 0%, #00a8ff 100%);
    --event-shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --event-shadow-md: 0 10px 15px rgba(0, 0, 150, 0.1);
    --event-shadow-lg: 0 15px 30px rgba(0, 0, 150, 0.15);
    --event-border-radius: 15px;
}

.events-slider-section {
    position: relative;
    padding: 80px 0;
    background: var(--event-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Heading Styles */
.events-heading-container {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

.events-heading {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--event-dark);
    position: relative;
    display: inline-block;
    perspective: 1000px;
}

.heading-line {
    display: inline-block;
    transform-style: preserve-3d;
    animation: headingEntrance 1s forwards;
    opacity: 0;
}

.heading-line:first-child {
    animation-delay: 0.2s;
}

.heading-line.highlight {
    background: var(--event-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    padding: 0 5px;
    animation-delay: 0.5s;
    position: relative;
}

.heading-line.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--event-gradient);
    animation: lineExpand 1.2s forwards 0.8s;
}

.events-subheading {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s forwards 0.8s;
}

/* Navigation Buttons */
.events-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
    perspective: 1000px;
}

/* Update nav button styles for a glossy 3D effect */
.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 15px 25px;
    border-radius: var(--event-border-radius);
    cursor: pointer;
    box-shadow: 
        0 10px 20px rgba(0, 86, 179, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 -5px 10px rgba(255, 255, 255, 0.15) inset;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    opacity: 0;
    transform: translateY(30px);
    animation: buttonEntrance 0.8s forwards;
    position: relative;
    background: linear-gradient(to bottom, #ffffff, #f0f8ff);
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 60%);
    border-radius: var(--event-border-radius);
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.nav-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 2;
    transition: all 0.6s ease;
}

.nav-btn:hover::after {
    left: 100%;
}

.nav-btn.active {
    background: var(--event-gradient);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 30px rgba(0, 86, 179, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 -5px 10px rgba(255, 255, 255, 0.2) inset;
}

.nav-btn.active::before {
    opacity: 0.3;
}

.btn-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--event-primary);
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    transform: translateZ(0);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

.btn-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: var(--event-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.nav-btn:hover .btn-icon {
    transform: translateZ(30px) scale(1.1);
    color: var(--event-primary);
}

.nav-btn.active .btn-icon {
    transform: translateZ(30px) scale(1.1);
    color: white;
    background: var(--event-gradient);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.nav-btn:hover span, .nav-btn.active span {
    color: var(--event-primary);
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.nav-btn.active span {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Background elements */
.events-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.events-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.1;
}

.shape1 {
    width: 500px;
    height: 500px;
    background: var(--event-accent);
    top: -250px;
    right: -100px;
    animation: float-shape1 20s infinite alternate ease-in-out;
}

.shape2 {
    width: 300px;
    height: 300px;
    background: var(--event-primary);
    bottom: -150px;
    left: -100px;
    animation: float-shape2 15s infinite alternate ease-in-out;
}

.shape3 {
    width: 200px;
    height: 200px;
    background: var(--event-dark);
    top: 50%;
    left: 50%;
    opacity: 0.05;
    transform: translate(-50%, -50%);
    animation: pulse-shape 8s infinite alternate ease-in-out;
}

.shape4 {
    width: 150px;
    height: 150px;
    background: var(--event-accent);
    top: 30%;
    right: 20%;
    animation: float-shape3 12s infinite alternate ease-in-out;
}

/* Floating 3D Icons */
.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--event-primary);
    box-shadow: var(--event-shadow-md);
    animation: floatingIcon 8s infinite ease-in-out;
    transform-style: preserve-3d;
    perspective: 1000px;
    z-index: 1;
}

.icon1 {
    top: 15%;
    right: 15%;
    animation-delay: 0s;
    animation-duration: 10s;
}

.icon2 {
    bottom: 25%;
    left: 10%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.icon3 {
    top: 40%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 12s;
}

.icon4 {
    top: 25%;
    left: 35%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.icon5 {
    bottom: 15%;
    right: 20%;
    animation-delay: 3s;
    animation-duration: 11s;
}

.floating-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.5);
    opacity: 0;
    animation: glowPulse 4s infinite alternate;
}

/* Enhanced Floating Educational Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
}

.float-element {
    position: absolute;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    filter: drop-shadow(0 10px 20px rgba(0, 86, 179, 0.2));
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: float 15s infinite ease-in-out;
}

/* Increased size for pencil and book */
.float-element.pencil {
    top: 15%;
    right: 10%;
    width: 70px;
    height: auto;
    transform: rotate(-15deg);
    animation-delay: 0.5s;
    filter: drop-shadow(0 8px 15px rgba(0, 86, 179, 0.3));
}

.float-element.book {
    bottom: 20%;
    left: 12%;
    width: 80px;
    height: auto;
    transform: rotate(10deg);
    animation-delay: 1.2s;
    filter: drop-shadow(0 8px 15px rgba(0, 86, 179, 0.3));
}

.float-element.abacus {
    top: 30%;
    left: 20%;
    width: 50px;
    height: auto;
    transform: rotate(5deg);
    animation-delay: 0.8s;
}

.float-element.globe {
    bottom: 30%;
    right: 15%;
    width: 60px;
    height: auto;
    transform: rotate(-8deg);
    animation-delay: 1.5s;
}

/* Apply color filters to the SVG elements */
.float-element img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(23%) sepia(97%) saturate(1898%) hue-rotate(201deg) brightness(97%) contrast(101%); /* #0056b3 filter */
    transition: filter 0.4s ease;
}

/* Different color for each element using the color scheme */
.float-element.pencil img {
    filter: invert(23%) sepia(97%) saturate(1898%) hue-rotate(201deg) brightness(97%) contrast(101%); /* Primary color #0056b3 */
}

.float-element.book img {
    filter: invert(14%) sepia(37%) saturate(3794%) hue-rotate(199deg) brightness(93%) contrast(101%); /* Primary-dark #003d7a */
}

.float-element.abacus img {
    filter: invert(50%) sepia(53%) saturate(2559%) hue-rotate(198deg) brightness(97%) contrast(93%); /* Primary-light #4a90e2 */
}

.float-element.globe img {
    filter: invert(48%) sepia(91%) saturate(2063%) hue-rotate(178deg) brightness(104%) contrast(103%); /* Accent #00a8ff */
}

/* Hover effects for floating elements */
.float-element:hover {
    transform: scale(1.2) translateY(-10px);
    z-index: 5;
}

/* Enhanced float animation for educational elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}

/* Container */
.events-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Cards Container - Flex layout for side-by-side cards */
.events-cards-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    perspective: 2000px;
}

/* Card redesign for a more attractive appearance */
.events-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 86, 179, 0.15),
        0 1px 1px rgba(255, 255, 255, 0.5) inset,
        0 -1px 1px rgba(0, 0, 0, 0.05) inset;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: calc(33.333% - 14px);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(50px) rotateX(10deg);
    animation: cardEntrance 0.8s forwards cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.events-card:nth-child(1) { animation-delay: 0.6s; }
.events-card:nth-child(2) { animation-delay: 0.8s; }
.events-card:nth-child(3) { animation-delay: 1.0s; }

.events-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow: 
        0 25px 50px rgba(0, 86, 179, 0.25),
        0 1px 1px rgba(255, 255, 255, 0.6) inset,
        0 -1px 1px rgba(0, 0, 0, 0.1) inset;
}

/* Enhanced Card Header */
.card-header {
    background: var(--event-gradient);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
    z-index: 1;
}

.header-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transform-style: preserve-3d;
    animation: iconFloat 3s infinite ease-in-out;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.events-card:hover .header-icon::after {
    opacity: 0.2;
    animation: pulseGlow 2s infinite;
}

.card-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
    letter-spacing: 0.5px;
}

/* Event Items Container with No Empty Spaces */
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.event-items {
    padding: 5px 10px;
    max-height: 320px;
    position: relative;
    overflow: hidden;
    flex: 1;
    transition: transform 0.5s ease-out;
    height: 280px;
}

/* Add overlays to create smooth fade effect at top and bottom */
.event-items::before,
.event-items::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 30px;
    z-index: 5;
    pointer-events: none;
}

.event-items::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%);
}

.event-items::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%);
}

/* Enhanced scrolling content for no blank spaces */
.scrolling-content {
    position: relative;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.continuous-scroll {
    animation: continuousScroll 25s linear infinite;
}

@keyframes continuousScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(calc(-100% + 300px)); } /* Adjust this value based on card height */
}

/* Redesigned Event Items */
.event-item {
    display: flex;
    padding: 15px;
    margin: 8px;
    border-radius: 12px;
    background: white;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.03),
        0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    animation: slideUpItem 0.5s forwards;
    transform-style: preserve-3d;
    overflow: hidden;
    border-left: 4px solid transparent;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 1;
}

.event-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        var(--event-primary) 0%, 
        transparent 5%
    );
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 0;
}

.event-item:hover {
    transform: translateY(-5px) translateZ(20px);
    box-shadow: 
        0 15px 25px rgba(0, 86, 179, 0.1),
        0 5px 10px rgba(0, 86, 179, 0.05);
    border-left: 4px solid var(--event-primary);
}

.event-item:hover::before {
    opacity: 0.05;
}

/* Redesigned Event Arrow */
.event-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 86, 179, 0.05);
    border-radius: 12px;
    color: var(--event-primary);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-right: 15px;
    position: relative;
    z-index: 1;
}

.event-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--event-gradient);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.event-item:hover .event-arrow {
    transform: rotate(0) translateZ(10px);
}

.event-item:hover .event-arrow::before {
    opacity: 1;
}

.event-item:hover .event-arrow i {
    color: white;
    animation: arrowBounce 1s infinite alternate;
}

@keyframes arrowBounce {
    0% { transform: translateX(0); }
    100% { transform: translateX(3px); }
}

/* Enhanced Event Details */
.event-details {
    flex: 1;
    z-index: 1;
}

.event-details h4 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transform: translateZ(0);
}

.event-details h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--event-gradient);
    transition: width 0.4s ease;
}

.event-item:hover .event-details h4 {
    color: var(--event-primary);
    transform: translateZ(10px);
}

.event-item:hover .event-details h4::after {
    width: 40%;
}

/* Modern date styling */
.event-date {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    color: #777;
    background: rgba(0, 86, 179, 0.05);
    padding: 3px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.event-date i {
    margin-right: 5px;
    color: var(--event-primary);
    transition: all 0.3s ease;
}

.event-item:hover .event-date {
    background: rgba(0, 86, 179, 0.1);
    transform: translateZ(5px);
}

.event-item:hover .event-date i {
    transform: rotate(360deg);
}

/* Enhanced View All Button */
.view-all-container {
    padding: 15px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(0, 86, 179, 0.02);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    background: var(--event-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.view-all-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, var(--event-accent), var(--event-primary), var(--event-accent));
    border-radius: 30px;
    z-index: -1;
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
}

.view-all-btn span {
    margin-right: 10px;
    position: relative;
    z-index: 1;
}

.view-all-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 86, 179, 0.4);
}

.view-all-btn:hover i {
    animation: arrowMove 1s infinite;
}

@keyframes arrowMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Completely redesigned modern slider controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
    position: relative;
    z-index: 10;
    padding: 30px 0;
    flex-direction: column;
}

.slider-control-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    box-shadow: 
        0 10px 30px rgba(0, 86, 179, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 -1px 0 rgba(0, 0, 0, 0.03) inset;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.slider-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-icon-wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--event-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 2;
    background: var(--event-gradient);
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slider-btn:hover {
    transform: scale(1.1);
}

.slider-btn:hover .btn-effect {
    opacity: 1;
    transform: scale(1);
}

.slider-btn:hover .btn-icon-wrapper {
    color: white;
}

.slider-btn:active {
    transform: scale(0.95);
}

/* Active state for autoplay button */
.autoplay-btn.active .btn-effect {
    opacity: 1;
    transform: scale(1);
}

.autoplay-btn.active .btn-icon-wrapper {
    color: white;
}

.autoplay-btn.active .fas.fa-play {
    display: none;
}

.autoplay-btn.active .fas.fa-pause {
    display: flex !important;
    animation: pulse 2s infinite;
}

.autoplay-btn:not(.active) .fas.fa-play {
    display: flex !important;
}

.autoplay-btn:not(.active) .fas.fa-pause {
    display: none !important;
}

/* Premium Slider Progress Styling */
.slider-progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.slider-timer {
    width: 50px;
    height: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring-circle {
    stroke-dasharray: 125.6; /* 2πr (2 * π * 20) */
    stroke-dashoffset: 125.6;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 0.5s ease;
}

.progress-active .progress-ring-circle {
    animation: progressRing 5s linear forwards;
}

@keyframes progressRing {
    from { stroke-dashoffset: 125.6; }
    to { stroke-dashoffset: 0; }
}

.timer-number {
    position: absolute;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--event-primary);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 86, 179, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.slider-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 86, 179, 0.1);
    transition: transform 0.3s ease;
}

.slider-dot:hover {
    background-color: rgba(0, 86, 179, 0.5);
}

.slider-dot.active {
    background-color: var(--event-primary);
    transform: scale(1.3);
}

.slider-dot.active::after {
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* Current Slide Info */
.slide-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
}

.current-slide-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 10px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.current-slide-number {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--event-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.slide-title {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Enhanced Event Items for Proper Sliding */
.sliding-active .event-item {
    animation: none;
}

/* Slide animation for event items */
@keyframes slideOutUp {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(-100%); opacity: 0; }
}

@keyframes slideInUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.slide-out {
    animation: slideOutUp 0.5s forwards;
    z-index: 1;
}

.slide-in {
    animation: slideInUp 0.5s forwards;
    z-index: 2;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Animations */
@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

@keyframes slideUpItem {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes headingEntrance {
    0% {
        opacity: 0;
        transform: rotateX(-90deg) translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: rotateX(0) translateY(0);
    }
}

@keyframes lineExpand {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes buttonEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-shape1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, 30px) rotate(10deg); }
    100% { transform: translate(20px, -20px) rotate(-5deg); }
}

@keyframes float-shape2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -20px) rotate(-8deg); }
    100% { transform: translate(-20px, 30px) rotate(5deg); }
}

@keyframes float-shape3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 30px) rotate(5deg); }
    100% { transform: translate(-30px, -20px) rotate(-8deg); }
}

@keyframes pulse-shape {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.05; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.08; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.05; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes floatingIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(15px) rotate(-5deg); }
}

@keyframes iconRotate {
    from { transform: rotateY(0) translateZ(10px); }
    to { transform: rotateY(360deg) translateZ(10px); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@keyframes scrollUpDown {
    0% { transform: translateY(0); }
    100% { transform: translateY(calc(-50% - 15px)); }
}

@keyframes pulseDot {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

@keyframes glowPulse {
    0% { opacity: 0; }
    100% { opacity: 0.5; }
}

@keyframes rotate1 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotate2 {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes rotate3 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* Responsive design */
@media (max-width: 992px) {
    .events-cards-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .events-card {
        width: 100%;
    }
    
    .events-heading {
        font-size: 2.2rem;
    }
    
    .events-nav-buttons {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    /* Improve container padding for mobile */
    .events-slider-section {
        padding: 50px 0;
    }

    /* Center the floating elements on mobile */
    .floating-icon {
        display: none; /* Hide floating icons on mobile for cleaner look */
    }
    
    /* Center events heading on mobile */
    .events-heading-container {
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .events-heading {
        font-size: 2rem;
    }
    
    .events-subheading {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    /* Adjust background shapes for mobile */
    .events-shape {
        opacity: 0.05; /* Reduce opacity of background shapes */
    }
}

@media (max-width: 576px) {
    .events-slider-section {
        padding: 60px 0;
    }
    
    .events-heading {
        font-size: 1.8rem;
    }
    
    .events-subheading {
        font-size: 0.95rem;
    }
    
    .nav-btn {
        padding: 10px 15px;
    }
    
    .btn-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .card-header h3 {
        font-size: 1.1rem;
    }
    
    .event-details h4 {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .events-heading {
        font-size: 1.7rem;
    }
}

/* Circular Event Cards */
.circular-event-card {
    position: relative;
    margin: 15px;
    transition: all 0.5s ease-in-out;
    perspective: 1000px;
    cursor: pointer;
    width: 300px;
}

.circular-event-card.active {
    transform: scale(1.05);
}

/* Common styles for all circle backgrounds */
.circle-bg {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-shadow: var(--event-shadow-md);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.circle-bg:active {
    transform: scale(1.08);
}

/* Update specific background colors for each circle */
.green-bg {
    background: linear-gradient(135deg, #00a8ff 0%, #4a90e2 100%) !important; /* Using accent to primary-light */
}

.blue-bg {
    background: linear-gradient(135deg, #00a8ff 0%, #4a90e2 100%) !important; /* Using accent to primary-light */
}

.purple-bg {
    background: linear-gradient(135deg, #00a8ff 0%, #4a90e2 100%) !important; /* Using accent to primary-light */
}

.orange-bg {
    background: linear-gradient(135deg, #00a8ff 0%, #4a90e2 100%) !important; /* Using accent to primary-light */
}

/* Custom hover effects for circles */
.circular-event-card:hover .circle-bg {
    transform: scale(1.05) translateY(-10px);
    box-shadow: var(--event-shadow-lg);
}

/* Inner circle content styling */
.icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.icon-container i {
    font-size: 24px;
    color: white;
}

.circle-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-align: center;
}

.event-preview {
    text-align: center;
}

.event-preview p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.learn-more-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.learn-more-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}
