/* Main Section Styling */
.creative-event-section {
    position: relative;
    padding: 60px 0 80px 0;
    background-color: #ffffff !important;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

/* Dynamic Animated Events Background Layer */
.events-creative-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Ambient Glowing Orbs */
.event-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.20;
    animation: floatEventOrb 12s infinite ease-in-out alternate;
}

.event-orb-1 { width: 350px; height: 350px; background: linear-gradient(135deg, #0284c7, #38bdf8); top: -5%; left: -5%; }
.event-orb-2 { width: 400px; height: 400px; background: linear-gradient(135deg, #92278f, #ec4899); bottom: -5%; right: -5%; animation-delay: -6s; }

@keyframes floatEventOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.1); }
}

/* Floating Event Background Icons */
.floating-event-icon {
    position: absolute;
    opacity: 0.16;
    user-select: none;
    animation: floatEventIcon 10s infinite ease-in-out alternate;
    transition: transform 0.3s ease;
}

@keyframes floatEventIcon {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-25px) rotate(12deg) scale(1.08); }
    100% { transform: translateY(-45px) rotate(-12deg) scale(0.95); }
}

.creative-event-section .container,
.single-line-slider-container {
    position: relative;
    z-index: 2;
}

.creative-event-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.creative-event-section .section-header h3 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.creative-event-section .section-header p {
    font-size: 15px;
    color: #64748b;
    max-width: 780px;
    margin: 0 auto;
}

/* ================= PURE CSS SINGLE LINE SLIDER ================= */
.single-line-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px 0 25px 0;
}

.single-line-track {
    display: flex;
    flex-wrap: nowrap !important; /* Force Single Row */
    gap: 20px;
    width: max-content;
    animation: smoothSlideHorizontal 28s linear infinite;
}

.single-line-slider-container:hover .single-line-track {
    animation-play-state: paused; /* Pause on Hover */
}

@keyframes smoothSlideHorizontal {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Single Card Layout */
.event-slide-card {
    width: 280px;
    flex-shrink: 0;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-slide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(146, 39, 143, 0.15);
    border-color: rgba(146, 39, 143, 0.3);
}

.event-img-wrapper {
    width: 100%;
    height: 180px;
    background-color: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.default-event-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0284c7;
}

.event-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 20px;
    color: #0284c7;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    width: fit-content;
}

.event-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.event-content p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.view-more-wrapper {
    text-align: center;
    margin-top: 30px;
}

.button-creative {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #0284c7 0%, #92278f 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
    text-decoration: none !important;
    transition: transform 0.3s ease;
}

.button-creative:hover {
    transform: translateY(-2px);
}

/* Base Section Styling */
.about-3d-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0288d1 0%, #0056b3 100%);
    overflow: hidden;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

/* Background Animated Floating Spheres */
.about-3d-section::before,
.about-3d-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    z-index: 1;
    animation: floatBackground 12s infinite ease-in-out alternate;
}
.about-3d-section::before {
    width: 320px;
    height: 320px;
    top: -50px;
    left: -50px;
}
.about-3d-section::after {
    width: 450px;
    height: 450px;
    bottom: -100px;
    right: -100px;
    animation-delay: -6s;
}

@keyframes floatBackground {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    100% { transform: translateY(40px) rotate(45deg) scale(1.1); }
}

.about-3d-section .container {
    position: relative;
    z-index: 2;
}

/* 3D Image Card Styling */
.card-3d-wrap {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.card-3d-inner {
    position: relative;
    border-radius: 24px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
    animation: cardFloat 6s ease-in-out infinite alternate;
}

@keyframes cardFloat {
    0% { transform: translateY(0px) rotateY(-4deg) rotateX(2deg); }
    100% { transform: translateY(-15px) rotateY(4deg) rotateX(-2deg); }
}

.card-3d-inner:hover {
    transform: translateY(-20px) rotateY(8deg) rotateX(4deg) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45),
                0 0 40px rgba(255, 255, 255, 0.2);
}

.card-3d-inner img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
    transform: translateZ(30px);
    transition: transform 0.6s ease;
}

.card-3d-inner:hover img {
    transform: translateZ(50px);
}

/* 3D Content Styling */
.about-content-3d {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-content-3d:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.about-content-3d h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.about-content-3d h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #ffb703;
    border-radius: 2px;
    box-shadow: 0 0 10px #ffb703;
}

.about-text-container {
    font-size: 16px;
    line-height: 1.8;
    color: #e0f2fe;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 3D Dynamic Button Styling */
.btn-3d-wrapper {
    list-style: none;
    padding: 0;
    margin: 0;
}

.button-3d {
    display: inline-block;
    position: relative;
    padding: 14px 38px;
    font-size: 16px;
    font-weight: 700;
    color: #004b93;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffca28, #ff9100);
    border: none;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(255, 145, 0, 0.4),
                0 4px 0 #c76a00;
    transition: all 0.2s ease-in-out;
    transform: translateY(0);
}

.button-3d:hover {
    color: #002d5a;
    background: linear-gradient(135deg, #ffd54f, #ffab00);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 145, 0, 0.6),
                0 6px 0 #c76a00;
    text-decoration: none;
}

.button-3d:active {
    transform: translateY(2px);
    box-shadow: 0 5px 12px rgba(255, 145, 0, 0.4),
                0 1px 0 #c76a00;
}

/* Classes Section Base Styling */
.classes-3d-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0b0f19 0%, #111827 50%, #1f2937 100%);
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

/* Background Glowing Ambient Light */
.classes-3d-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

.classes-3d-section .container {
    position: relative;
    z-index: 2;
}

/* 3D Perspective Container */
.class-3d-wrapper {
    perspective: 1000px;
    margin-bottom: 30px;
}

.class-card-3d {
    position: relative;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
}

.class-card-3d:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.3);
    border-color: rgba(56, 189, 248, 0.4);
}

/* 3D Image Wrapper & Zoom */
.class-img-box {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    transform-style: preserve-3d;
}

.class-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.class-card-3d:hover .class-img-box img {
    transform: scale(1.12) translateZ(20px);
}

/* Glassmorphism Gradient Overlay */
.class-img-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
}

/* 3D Text Title Strip */
.class-title-3d {
    position: relative;
    padding: 22px 15px;
    text-align: center;
    transform: translateZ(30px);
    background: rgba(15, 23, 42, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.class-title-3d p {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

/* Accent Lines for Cards */
.card-fun .class-title-3d p {
    background: linear-gradient(135deg, #ffca28 0%, #ff8f00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-brain .class-title-3d p {
    background: linear-gradient(135deg, #ff5252 0%, #ff1744 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-energy .class-title-3d p {
    background: linear-gradient(135deg, #00e676 0%, #00b0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dynamic Hover Lighting Flare */
.shine-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 80%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.class-card-3d:hover .shine-effect {
    opacity: 1;
}
/* Section Base & Dark/Vibrant Theme */
.features-3d-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

/* Background Glowing Orbs */
.features-3d-section::before,
.features-3d-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    z-index: 1;
}
.features-3d-section::before {
    width: 350px;
    height: 350px;
    background: #8b5cf6;
    top: 10%;
    left: -5%;
}
.features-3d-section::after {
    width: 400px;
    height: 400px;
    background: #06b6d4;
    bottom: 5%;
    right: -5%;
}

.features-3d-section .container {
    position: relative;
    z-index: 2;
}

/* 3D Animated Heading Header */
.section-header-3d {
    text-align: center;
    margin-bottom: 60px;
}

.title-3d {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #a5b4fc 0%, #38bdf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
    margin-bottom: 15px;
    animation: textFloat 4s ease-in-out infinite alternate;
}

@keyframes textFloat {
    0% { transform: translateY(0px) rotateX(0deg); }
    100% { transform: translateY(-8px) rotateX(8deg); }
}

.subtitle-text {
    color: #94a3b8;
    font-size: 16px;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 3D Feature Glass Cards */
.feature-card-3d {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.feature-card-3d:hover::before {
    left: 100%;
}

.feature-card-3d:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.25);
}

/* Feature Header & Icons */
.feature-icon-wrapper {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.4);
}

.feature-card-3d h4 {
    font-size: 22px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 12px;
}

.feature-card-3d p, 
.feature-card-3d div {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}

/* Center Logo Floating 3D Styling */
.center-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px 0;
}

.center-logo-3d {
    position: relative;
    border-radius: 50%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 50px rgba(56, 189, 248, 0.2);
    animation: pulseLogo 5s ease-in-out infinite alternate;
}

.center-logo-3d img {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease;
}

.center-logo-3d:hover img {
    transform: scale(1.08) rotate(2deg);
}

@keyframes pulseLogo {
    0% { transform: translateY(0px); box-shadow: 0 0 30px rgba(56, 189, 248, 0.2); }
    100% { transform: translateY(-15px); box-shadow: 0 0 60px rgba(168, 85, 247, 0.4); }
}