/* Reset และ Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f8f5 100%);
    min-height: 100vh;
}

/* ==================== Navigation Styles ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2e7d32;
    font-weight: bold;
    font-size: 1.1rem;
    gap: 12px;
    flex: 1;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    justify-content: center;
    flex: 2;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: #1b5e20;
    background: rgba(46, 125, 50, 0.1);
    transform: translateY(-2px);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.15);
    border-radius: 12px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu .nav-link {
    display: block;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 0 10px;
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2e7d32;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
}

.mobile-menu-toggle:hover {
    background: rgba(76, 175, 80, 0.1);
}

/* ==================== Hero Section ==================== */
.hero {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 50%, #a5d6a7 100%);
    padding: 150px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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="%23ffffff" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    color: #2e7d32;
    margin-bottom: 30px;
    font-weight: 300;
}

/* ==================== Image Slider ==================== */
.image-slider {
    margin: 40px auto;
    max-width: 1400px;
    padding: 0 20px;
}

.slider-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(46, 125, 50, 0.2);
    background: white;
}

.slider-image {
    display: none;
    position: relative;
}

.slider-image.active {
    display: block;
}

.slider-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(46, 125, 50, 0.9));
    color: white;
    padding: 40px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.slider-image:hover .slider-overlay {
    transform: translateY(0);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #2e7d32;
    font-size: 1.5rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.play-pause-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #2e7d32;
    font-size: 1.2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.loading-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #66bb6a);
    transition: width 0.1s linear;
    z-index: 10;
}

/* ==================== Section Styles ==================== */
section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: #1b5e20;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #66bb6a);
    border-radius: 2px;
}

/* ==================== History Section ==================== */
.history-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
    justify-items: center;
}

.history-item {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.history-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.2);
}

.history-item h3 {
    font-size: 1.5rem;
    color: #2e7d32;
    margin-bottom: 20px;
    font-weight: 600;
}

.history-item p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

/* ==================== Objective Section ==================== */
.objective-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    font-size: 1rem;
    justify-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}



.objective-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.2);
}



.objective-item h3 {
    font-size: 1.4rem;
    color: #2e7d32;
    margin-bottom: 15px;
    font-weight: 600;
}

.objective-item p {
    color: #555;
    line-height: 1.7;
}

/* ==================== Presentation Section ==================== */
.presentation-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.presentation-item {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
}

.presentation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.2);
}

.presentation-item h3 {
    font-size: 1.5rem;
    color: #2e7d32;
    margin-bottom: 20px;
    font-weight: 600;
}

.presentation-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.detail-item {
    color: #666;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.presentation-topics {
    list-style: none;
    margin-top: 20px;
}

.presentation-topics li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.presentation-topics li::before {
    content: '🌱';
    position: absolute;
    left: 0;
    color: #4caf50;
}

/* ==================== Registration Section ==================== */
.registration-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
    margin: 50px 0;
}

.registration-info,
.registration-timeline {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.1);
}

.registration-criteria {
    list-style: none;
    margin-top: 20px;
}

.registration-criteria li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
    color: #555;
    line-height: 1.6;
}

.registration-criteria li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 1.2rem;
}

.timeline {
    margin-top: 30px;
    position: relative;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    width: 2px;
    height: calc(100% + 10px);
    background: linear-gradient(180deg, #4caf50, #66bb6a);
    z-index: 1;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-content h4 {
    color: #2e7d32;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

.registration-cta {
    text-align: center;
    margin-top: 50px;
}

.register-btn {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.registration-note {
    margin-top: 20px;
    color: #666;
    font-style: italic;
}

/* ==================== Portfolio Section ==================== */
.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
    justify-items: center;
}

.portfolio-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
}

.portfolio-content {
    padding: 30px;
}

.portfolio-title {
    font-size: 1.3rem;
    color: #2e7d32;
    margin-bottom: 15px;
    font-weight: 600;
}

.portfolio-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    color: #2e7d32;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ==================== News Section ==================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 50px;
    justify-items: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.news-item {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.2);
}

.news-title {
    font-size: 1.3rem;
    color: #2e7d32;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.news-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-link {
    color: #4caf50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.news-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4caf50, #66bb6a);
    transition: width 0.3s ease;
}

.news-link:hover::after {
    width: 100%;
}

/* ==================== Contact Section ==================== */
.contact {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    text-align: center;
    padding: 80px 20px;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1400px;
}

.contact h2 {
    font-size: 2.5rem;
    color: #1b5e20;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.sponsors {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.sponsor-logo {
    transition: all 0.3s ease;
    filter: grayscale(20%);
}

.sponsor-logo:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* ==================== Footer ==================== */
.footer {
    background: #1b5e20;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 80px;
}

.footer p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ==================== Mobile Responsive ==================== */
@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
        height: 70px;
        padding: 0 15px;
    }
    
    .logo {
        flex: none;
        font-size: 0.9rem;
        gap: 8px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex: none;
        font-size: 1.8rem;
        padding: 8px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 30px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(46, 125, 50, 0.15);
        flex: none;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 90%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-radius: 12px;
        margin: 5px 0;
        background: rgba(46, 125, 50, 0.05);
        border: 1px solid rgba(46, 125, 50, 0.1);
    }
    
    .nav-link:hover {
        background: rgba(46, 125, 50, 0.1);
        transform: none;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(46, 125, 50, 0.02);
        opacity: 1;
        visibility: visible;
        transform: none;
        margin: 10px 0;
        padding: 10px;
        border-radius: 12px;
        width: 100%;
        display: none;
    }
    
    .dropdown.open .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .dropdown-menu .nav-link {
        background: white;
        margin: 5px 0;
        font-size: 1rem;
        padding: 12px 15px;
    }

    /* Hero adjustments */
    .hero {
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1.1rem;
    }

    /* Section adjustments */
    section {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    /* Image slider mobile */
    .slider-image img {
        height: 250px;
    }

    .slider-btn {
        font-size: 1rem;
        padding: 8px 12px;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .play-pause-btn {
        top: 10px;
        right: 10px;
        font-size: 1rem;
        padding: 8px 12px;
    }

    /* Grid adjustments */
    .history-content,
    .objective-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .objective-item,
    .history-item,
    .presentation-item {
        padding: 25px;
    }

    .objective-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    /* Registration mobile */
    .registration-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .registration-info,
    .registration-timeline {
        padding: 25px;
    }

    .register-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    /* Portfolio mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-item {
        margin: 0 10px;
    }

    .portfolio-image {
        height: 180px;
    }

    .portfolio-content {
        padding: 20px;
    }

    /* News mobile */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-item {
        padding: 25px;
        margin: 0 10px;
    }

    /* Contact mobile */
    .contact {
        margin: 20px 15px;
        padding: 40px 20px;
    }

    .sponsors {
        gap: 15px;
    }

    .sponsor-logo {
        width: 60px !important;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
        justify-content: space-between;
        height: 65px;
    }
    
    .logo {
        font-size: 0.8rem;
        gap: 6px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .logo span {
        font-size: 0.75rem;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Hero extra small */
    .hero {
        padding: 90px 15px 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Sections extra small */
    section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 1.7rem;
        margin-bottom: 25px;
    }

    /* Image slider extra small */
    .image-slider {
        padding: 0 10px;
        margin: 30px auto;
    }

    .slider-image img {
        height: 200px;
    }

    .slider-btn {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    .slider-overlay {
        padding: 20px;
        font-size: 0.9rem;
    }

    /* Cards extra small */
    .objective-item,
    .history-item,
    .presentation-item,
    .news-item,
    .portfolio-content {
        padding: 20px;
    }

    .objective-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .objective-item h3,
    .history-item h3,
    .news-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    /* Portfolio extra small */
    .portfolio-image {
        height: 150px;
    }

    .portfolio-tags {
        gap: 5px;
    }

    .tag {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    /* Timeline extra small */
    .timeline-marker {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .timeline-item::after {
        left: 12px;
    }

    .timeline-item {
        gap: 12px;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }

    /* Contact extra small */
    .contact {
        margin: 15px 10px;
        padding: 30px 15px;
    }

    .contact h2 {
        font-size: 2rem;
    }

    .contact-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* Register button */
    .register-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* Navigation menu extra small */
    .nav-menu {
        top: 65px;
        height: calc(100vh - 65px);
        padding-top: 20px;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 12px 15px;
    }
    
    .dropdown-menu .nav-link {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    /* Sponsors extra small */
    .sponsors {
        gap: 12px;
    }

    .sponsor-logo {
        width: 50px !important;
    }

    /* Footer */
    .footer {
        padding: 30px 15px;
    }

    .footer p {
        font-size: 0.9rem;
    }
}

/* ==================== Animation และ Effects ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll reveal effects */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4caf50, #66bb6a);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #388e3c, #4caf50);
}

/* Selection styles */
::selection {
    background: rgba(76, 175, 80, 0.3);
    color: #1b5e20;
}

::-moz-selection {
    background: rgba(76, 175, 80, 0.3);
    color: #1b5e20;
}

.sponsors-marquee {
  overflow: hidden;
  position: relative;
}

.sponsors-track {
  display: flex;
  gap: 100px;
  align-items: center;
  animation: marquee 20s linear infinite;
  will-change: transform;
}
.sponsors-marquee:hover .sponsors-track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}