* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e60023;
    --secondary-color: #0046be;
    --accent-color: #ffd700;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --gray-light: #e9ecef;
    --gray-medium: #6c757d;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #cc001f;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.event-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item .label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.info-item .value {
    font-size: 1.125rem;
    font-weight: 600;
}

.countdown {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 2rem;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

/* Benefits Section */
.benefits {
    background-color: var(--white);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--bg-color);
    transition: transform 0.3s;
}

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

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* About Section */
.about {
    background-color: var(--bg-color);
}

.about-content ul {
    list-style: none;
    padding: 0;
}

.about-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-light);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-date {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    min-width: 120px;
    text-align: center;
}

.timeline-content {
    margin-left: 2rem;
    padding: 1rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex: 1;
}

/* Prizes Section */
.prizes {
    background-color: var(--white);
}

.prize-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.prize-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.prize-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.prize-card ul {
    list-style: none;
}

.prize-card li {
    padding: 0.5rem 0;
}

/* Criteria Section */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.criteria-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.criteria-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Education Section */
.education {
    background-color: var(--bg-color);
}

.education-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.video-placeholder {
    background-color: var(--gray-light);
    padding: 4rem;
    border-radius: 10px;
    margin-top: 2rem;
}

/* Apply Section */
.apply {
    background-color: var(--white);
    text-align: center;
}

.apply-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 3rem;
    font-size: 1.25rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 2rem;
}

.apply-button:hover {
    background-color: #cc001f;
}

/* Contact Section */
.contact {
    background-color: var(--bg-color);
    text-align: center;
}

.email-link {
    color: var(--secondary-color);
    font-size: 1.25rem;
    text-decoration: none;
    font-weight: 600;
}

.email-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .event-info {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-content {
        margin-left: 0;
        margin-top: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .benefit-grid,
    .prize-grid,
    .criteria-grid {
        grid-template-columns: 1fr;
    }
}