/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Color Variables */
:root {
    --primary-green: #28a745;
    --secondary-green: #20c997;
    --dark-green: #155724;
    --light-green: #d4edda;
    --primary-red: #dc3545;
    --secondary-red: #c82333;
    --dark-red: #721c24;
    --light-red: #f8d7da;
    --dark-bg: #1a1a1a;
    --gradient-bg: linear-gradient(135deg, #1a1a1a 0%, #dc3545 100%);
    --text-light: #ffffff;
    --text-dark: #333333;
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    height: 40px;
    width: auto;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-green) !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--primary-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--gradient-bg);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.trading-charts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2328a745" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-10px) translateY(-10px); }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary-green) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-elements::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-elements::after {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
}

.partner-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.partner-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px var(--primary-green));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--primary-green);
    display: block;
    font-size: 2.5rem;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.detail-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-red);
    border: 2px solid var(--primary-red);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--secondary-red);
    border-color: var(--secondary-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.4);
}

.btn-outline-success {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
}

.btn-outline-success:hover {
    background: var(--primary-green);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
}

.btn-success {
    background: var(--primary-green);
    border: 2px solid var(--primary-green);
    color: var(--text-light);
}

.btn-success:hover {
    background: var(--secondary-green);
    border-color: var(--secondary-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
}

.btn-danger {
    background: var(--primary-red);
    border: 2px solid var(--primary-red);
    color: var(--text-light);
}

.btn-danger:hover {
    background: var(--secondary-red);
    border-color: var(--secondary-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.4);
}

/* Countdown Timer */
.countdown-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-title {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.time-unit {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
    min-width: 80px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.time-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
}

.time-label {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rsvp-link {
    margin-top: 1rem;
}

/* Animations */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.animate-fade-in-up.delay-1 { animation-delay: 0.2s; }
.animate-fade-in-up.delay-2 { animation-delay: 0.4s; }
.animate-fade-in-up.delay-3 { animation-delay: 0.6s; }
.animate-fade-in-up.delay-4 { animation-delay: 0.8s; }
.animate-fade-in-up.delay-5 { animation-delay: 1s; }
.animate-fade-in-up.delay-6 { animation-delay: 1.2s; }
.animate-fade-in-up.delay-7 { animation-delay: 1.4s; }

.animate-fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeft 1s ease forwards;
}

.animate-fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1s ease forwards;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Innovation Section */
.innovation-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pillar-card {
    background: var(--text-light);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-green);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1) rotate(10deg);
}

.pillar-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pillar-card p {
    color: #666;
    line-height: 1.6;
}

/* Highlights Section */
.highlights-section {
    background: var(--text-light);
}

.day-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    border-left: 5px solid var(--primary-green);
    transition: all 0.3s ease;
}

.day-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.day-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.day-badge {
    background: var(--primary-green);
    color: var(--text-light);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.day-features {
    list-style: none;
}

.day-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: #555;
}

.day-features li i {
    color: var(--primary-green);
    font-size: 1.1rem;
    width: 20px;
}

/* Prizes Section */
.prizes-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--text-light);
}

.prizes-section .section-title {
    color: var(--text-light);
}

.prizes-section .section-title::after {
    background: var(--text-light);
}

.prizes-carousel {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.prize-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.prize-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.prize-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.prize-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Why Attend Section */
.why-attend-section {
    background: #f8f9fa;
}

.reason-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--text-light);
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.reason-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.reason-item i {
    color: var(--primary-green);
    font-size: 1.5rem;
    min-width: 30px;
}

.reason-item span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Speakers Section */
.speakers-section {
    background: var(--text-light);
}

.speaker-card {
    background: var(--text-light);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.speaker-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.speaker-card:hover .speaker-image {
    transform: scale(1.1);
    border-color: var(--secondary-green);
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-info h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.speaker-title {
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 1rem;
}

.speaker-quote {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.speaker-bio {
    color: #555;
    line-height: 1.6;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--secondary-green);
}

.carousel-indicators button {
    background: var(--primary-green);
    border-radius: 50%;
    width: 12px;
    height: 12px;
}

.carousel-indicators .active {
    background: var(--secondary-green);
}

/* Partners Section */
.partners-section {
    background: #f8f9fa;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo-large {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.partner-logo-large:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Registration Section */
.registration-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
    color: var(--text-light);
}

.registration-section .section-title {
    color: var(--text-light);
}

.registration-section .section-title::after {
    background: var(--text-light);
}

.registration-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.registration-form .form-label {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.registration-form .form-control,
.registration-form .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    border-radius: 10px;
    padding: 0.8rem 1rem;
}

.registration-form .form-control:focus,
.registration-form .form-select:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    color: var(--text-light);
}

.registration-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Venue Section */
.venue-section {
    background: var(--text-light);
}

.venue-details h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.venue-details p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.venue-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--light-green);
    transform: translateY(-2px);
}

.feature-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.venue-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.venue-map iframe {
    border-radius: 15px;
}

/* Footer */
.footer-section {
    background: var(--dark-bg);
    color: var(--text-light);
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px var(--primary-green));
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.contact-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--secondary-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
    color: var(--text-light);
}

.disclaimer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.disclaimer p {
    margin: 0;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Fix mobile header overlap */
    .hero-section {
        padding-top: 80px;
    }
    
    .hero-content {
        margin-top: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .highlight {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .time-unit {
        min-width: 60px;
        padding: 0.8rem;
    }
    
    .time-value {
        font-size: 1.5rem;
    }
    
    .partner-logos {
        gap: 1rem;
    }
    
    .partner-logo {
        height: 40px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .prizes-carousel {
        flex-direction: column;
        align-items: center;
    }
    
    .prize-item {
        min-width: 250px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .venue-features {
        grid-template-columns: 1fr;
    }
    
    .registration-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .highlight {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .pillar-card,
    .day-card,
    .speaker-card {
        padding: 1.5rem;
    }
    
    .registration-card {
        padding: 1.5rem;
    }
    
    .countdown-container {
        padding: 1.5rem;
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(40, 167, 69, 0.3);
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-green);
}

/* Additional Advanced Animations */
@keyframes morphing {
    0%, 100% { border-radius: 20px; }
    25% { border-radius: 50px 20px 20px 50px; }
    50% { border-radius: 20px 50px 50px 20px; }
    75% { border-radius: 50px; }
}

@keyframes neonGlow {
    0%, 100% { 
        text-shadow: 0 0 5px var(--primary-green), 0 0 10px var(--primary-green), 0 0 15px var(--primary-green);
    }
    50% { 
        text-shadow: 0 0 10px var(--primary-green), 0 0 20px var(--primary-green), 0 0 30px var(--primary-green);
    }
}

@keyframes elasticBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes slideUp {
    0% { transform: translateY(100px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes slideDown {
    0% { transform: translateY(-100px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes rotate360 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

@keyframes flip {
    0% { transform: perspective(400px) rotateY(0); }
    50% { transform: perspective(400px) rotateY(90deg); }
    100% { transform: perspective(400px) rotateY(0); }
}

@keyframes zoomOut {
    0% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes slideInUp {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes slideInDown {
    0% { transform: translateY(-100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInScale {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Apply advanced animations to elements */
.hero-title {
    animation: neonGlow 3s ease-in-out infinite, wave 4s ease-in-out infinite;
}

.countdown-timer {
    animation: heartbeat 2s ease-in-out infinite, glow 3s ease-in-out infinite;
}

.partner-logo {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.partner-logo:hover {
    animation: elasticBounce 0.6s ease-in-out, rotate360 1s ease-in-out;
}

.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary:hover {
    animation: wiggle 0.5s ease-in-out;
}

.btn-success:hover {
    animation: elasticBounce 0.6s ease-in-out;
}

.section-title {
    animation: fadeInScale 1s ease-in-out;
}

.section-title:hover {
    animation: neonGlow 2s ease-in-out infinite;
}

.pillar-card {
    animation: slideUp 0.8s ease-out;
}

.pillar-card:hover {
    animation: morphing 2s ease-in-out infinite;
}

.day-card {
    animation: slideDown 0.8s ease-out;
}

.day-card:hover {
    animation: flip 1s ease-in-out;
}

.speaker-card {
    animation: zoomOut 0.8s ease-out;
}

.speaker-card:hover {
    animation: elasticBounce 0.6s ease-in-out;
}

.prize-item {
    animation: slideInUp 0.8s ease-out;
}

.prize-item:hover {
    animation: wiggle 0.5s ease-in-out;
}

.reason-item {
    animation: slideInLeft 0.6s ease-out;
}

.reason-item:hover {
    animation: elasticBounce 0.4s ease-in-out;
}

.time-unit {
    animation: heartbeat 3s ease-in-out infinite;
}

.time-unit:hover {
    animation: elasticBounce 0.6s ease-in-out, neonGlow 1s ease-in-out infinite;
}

.nav-link:hover {
    animation: wiggle 0.3s ease-in-out;
}

.social-link:hover {
    animation: rotate360 0.8s ease-in-out;
}

.footer-logo:hover {
    animation: elasticBounce 0.6s ease-in-out;
}

/* Add shimmer effect to buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-red), var(--secondary-red), var(--primary-red));
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite;
}

.btn-success {
    background: linear-gradient(45deg, var(--primary-green), var(--secondary-green), var(--primary-green));
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite;
}

/* Add floating animation to hero elements */
.hero-content {
    animation: slideInLeft 1s ease-out;
}

.countdown-container {
    animation: slideInRight 1s ease-out;
}

/* Add staggered animations to lists */
.day-features li {
    animation: slideInLeft 0.6s ease-out forwards;
    opacity: 0;
}

.day-features li:nth-child(1) { animation-delay: 0.1s; }
.day-features li:nth-child(2) { animation-delay: 0.2s; }
.day-features li:nth-child(3) { animation-delay: 0.3s; }
.day-features li:nth-child(4) { animation-delay: 0.4s; }
.day-features li:nth-child(5) { animation-delay: 0.5s; }

/* Add loading animations */
.loading-spinner {
    animation: rotate360 1s linear infinite, heartbeat 2s ease-in-out infinite;
}

/* Add form field animations */
.form-control {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-control:focus {
    animation: elasticBounce 0.4s ease-in-out;
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.5);
}

/* Add carousel animations */
.carousel-item {
    animation: fadeInScale 0.8s ease-out;
}

.carousel-item.active {
    animation: zoomIn 0.8s ease-out;
}

/* Add mobile-specific advanced animations */
@media (max-width: 768px) {
    .hero-title {
        animation: slideInLeft 1s ease-out, neonGlow 2s ease-in-out infinite;
    }
    
    .countdown-container {
        animation: slideInRight 1s ease-out, heartbeat 2s ease-in-out infinite;
    }
    
    .section-title {
        animation: fadeInScale 0.8s ease-out;
    }
    
    .pillar-card {
        animation: slideUp 0.6s ease-out;
    }
    
    .day-card {
        animation: slideDown 0.6s ease-out;
    }
    
    .speaker-card {
        animation: zoomOut 0.6s ease-out;
    }
    
    .prize-item {
        animation: slideInUp 0.6s ease-out;
    }
}
