/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    font-weight: 400;
    letter-spacing: -0.01em;
}

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

/* CSS Variables */
:root {
    --primary-color: #FF9933;
    --secondary-color: #138808;
    --saffron: #FF9933;
    --green: #138808;
    --royal-blue: #003399;
    --accent-color: #003399;
    --background-color: #fafafa;
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #FF9933 0%, #138808 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    
    /* Modern Font System */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 60px;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
    display: block;
    object-fit: contain;
    background: transparent;
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-logo h2 {
    font-family: var(--font-display);
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: -0.01em;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Download Button Styles */
.nav-link.download-btn {
    background-color: var(--saffron);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link.download-btn:hover {
    background-color: var(--green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-link.download-btn::after {
    display: none;
}

.nav-link.download-btn i {
    font-size: 0.9rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    padding: 120px 0 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float-particle 15s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 60%; animation-delay: 8s; }
.particle:nth-child(6) { left: 70%; animation-delay: 10s; }
.particle:nth-child(7) { left: 80%; animation-delay: 12s; }
.particle:nth-child(8) { left: 90%; animation-delay: 14s; }

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out;
    letter-spacing: -0.01em;
}

.hero-badge i {
    color: #FFD700;
    font-size: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.title-line-1,
.title-line-2 {
    display: block;
    animation: slideInLeft 1s ease-out;
}

.title-line-1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.title-line-2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.tagline-word {
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
}

.tagline-word:nth-child(1) { animation-delay: 0.6s; }
.tagline-word:nth-child(2) { animation-delay: 0.8s; }
.tagline-word:nth-child(3) { animation-delay: 1s; }

.hero-description {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 500px;
    animation: fadeInUp 1s ease-out 1.2s both;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.6s both;
}

.cta-button {
    border: none;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.cta-button.primary {
    background: var(--primary-color);
    color: var(--white);
}

.cta-button.primary:hover {
    background: #cff5e0;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 51, 153, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    
    animation: fadeInScale 1.5s ease-out;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    animation: fadeInUp 1s ease-out 2s both;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.8rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.section-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-button.download-btn {
    background-color: var(--saffron);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.action-button.download-btn:hover {
    background-color: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.about-text p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 400;
}

.about-illustration {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.illustration-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.illustration-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.illustration-card h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.illustration-card p {
    font-family: var(--font-body);
    color: var(--text-light);
    font-weight: 400;
}

/* Timeline Section */
.timeline {
    padding: 6rem 0;
    background: var(--white);
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    z-index: 1;
}

.timeline-item {
    position: relative;
    text-align: center;
    flex: 1;
    z-index: 2;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.timeline-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Rules Section */
.rules {
    padding: 6rem 0;
}

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

.rule-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.rule-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
}

.rule-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.rule-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Problems Section */
.problems {
    padding: 6rem 0;
    background: var(--white);
}

.problems-container {
    position: relative;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.1) 0%, rgba(19, 136, 8, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.coming-soon-overlay {
    text-align: center;
    padding: 3rem;
    display: block; /* Ensure it's visible by default */
}

.coming-soon-content i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.coming-soon-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.coming-soon-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.countdown {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.countdown-item {
    text-align: center;
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.countdown-item span {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.countdown-item label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Problem Statements Grid */
.problem-statements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Ensure proper mobile responsiveness */
@media (max-width: 360px) {
    .problem-statements-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.problem-card {
    background: var(--white);
    border-radius: 20px;
    padding: 0;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 153, 51, 0.1);
    word-wrap: break-word;
    max-width: 100%;
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.problem-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.problem-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-category {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.problem-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 2rem 1rem 2rem;
    line-height: 1.3;
}

.problem-content {
    padding: 0 2rem;
}

.problem-section {
    margin-bottom: 1.5rem;
}

.problem-section h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.problem-section h4 i {
    font-size: 0.9rem;
}

.problem-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

.problem-footer {
    padding: 1.5rem 2rem 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.difficulty-badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty-badge.easy {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.difficulty-badge.medium {
    background: rgba(251, 191, 36, 0.1);
    color: #d97706;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.difficulty-badge.hard {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.domain-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.domain-tags .tag {
    background: rgba(255, 153, 51, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 153, 51, 0.2);
}

/* Problem statements reveal animation */
.problem-statements-grid.reveal {
    animation: fadeInStagger 0.8s ease-out;
}

@keyframes fadeInStagger {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.problem-card:nth-child(1) { animation-delay: 0.1s; }
.problem-card:nth-child(2) { animation-delay: 0.2s; }
.problem-card:nth-child(3) { animation-delay: 0.3s; }
.problem-card:nth-child(4) { animation-delay: 0.4s; }

/* Registration disabled overlay */
.registration-disabled-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
    font-family: var(--font-body);
}

.registration-disabled-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
}

.registration-disabled-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.registration-disabled-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.registration-disabled-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.go-back-btn {
    background: var(--gradient);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.go-back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 153, 51, 0.3);
}

/* Judging Section */
.judging {
    padding: 6rem 0;
}

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

.criteria-card {
    text-align: center;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.criteria-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.criteria-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    position: relative;
}

.circle-progress {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) 0deg, var(--secondary-color) 120deg, #e0e0e0 120deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-progress::before {
    content: '';
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
}

.percentage {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    z-index: 1;
}

.criteria-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.criteria-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Registration Section */
.register {
    padding: 6rem 0;
}

.register-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.register-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.register-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.register-benefits {
    display: grid;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefit-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.register-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: transparent;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-light);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.8rem;
    background: var(--white);
    padding: 0 0.5rem;
    color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3,
.social-links h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    opacity: 0.8;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-visual {
        height: 400px;
    }

    .hero-image {
        max-width: 90%;
        max-height: 90%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-logo h2 {
        font-size: 1.2rem;
    }

    .logo-image {
        height: 50px;
        min-width: 50px;
    }

    .hero {
        padding: 100px 0 40px;
        min-height: 100vh;
    }

    .hero-container {
        gap: 2rem;
        padding: 0 15px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta-group {
        justify-content: center;
        gap: 0.75rem;
    }

    .cta-button {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }

    .hero-visual {
        height: 300px;
        order: -1;
    }

    .hero-image {
        max-width: 85%;
        max-height: 85%;
        border-radius: 15px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .tagline-word {
        display: inline-block;
        margin-right: 0.25rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-content,
    .register-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .timeline-container {
        flex-direction: column;
        gap: 2rem;
    }

    .timeline-container::before {
        display: none;
    }

    .timeline-item::after {
        content: '';
        position: absolute;
        top: 100px;
        left: 50%;
        width: 2px;
        height: 50px;
        background: var(--gradient);
        transform: translateX(-50%);
    }

    .timeline-item:last-child::after {
        display: none;
    }

    .rules-grid {
        grid-template-columns: 1fr;
    }

    .countdown {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .countdown-item {
        flex: 1;
        min-width: 80px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-logo h2 {
        font-size: 1rem;
    }

    .logo-image {
        height: 40px;
        min-width: 40px;
    }

    .hero {
        padding: 90px 0 30px;
    }

    .hero-container {
        padding: 0 10px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 1rem;
        justify-content: center;
    }

    .hero-visual {
        height: 250px;
    }

    .hero-image {
        max-width: 80%;
        max-height: 80%;
        border-radius: 10px;
    }

    .scroll-indicator {
        display: none;
    }

    .container {
        padding: 0 10px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    /* Section actions for very small screens */
    .section-actions {
        margin-top: 0.8rem;
    }

    .action-button.download-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 220px;
    }

    .countdown-item span {
        font-size: 1.2rem;
    }

    .social-icons {
        justify-content: center;
    }

    /* Extra mobile optimization for problem statements */
    .problems {
        padding: 2rem 0;
    }

    .problem-statements-grid {
        gap: 0.8rem;
        padding: 0;
    }

    .problem-card {
        margin: 0;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        overflow: hidden;
    }

    .problem-header {
        padding: 0.7rem;
        gap: 0.8rem;
    }

    .problem-number {
        font-size: 1rem;
        width: 30px;
        height: 30px;
    }

    .problem-category {
        font-size: 0.65rem;
        letter-spacing: 0.3px;
    }

    .problem-title {
        font-size: 1rem;
        margin: 0.7rem 0.7rem 0.4rem 0.7rem;
        line-height: 1.2;
    }

    .problem-content {
        padding: 0 0.7rem;
    }

    .problem-section {
        margin-bottom: 0.8rem;
    }

    .problem-section h4 {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .problem-section p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .problem-footer {
        padding: 0.8rem 0.7rem;
        gap: 0.6rem;
    }

    .difficulty-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    .domain-tags .tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }

    /* Coming soon overlay adjustments */
    .coming-soon-content h3 {
        font-size: 1.4rem;
    }

    .coming-soon-content p {
        font-size: 0.85rem;
    }

    .countdown {
        gap: 0.8rem;
    }

    .countdown-item {
        min-width: 55px;
    }

    .countdown-item span {
        font-size: 1.1rem;
    }

    .countdown-item label {
        font-size: 0.7rem;
    }

    /* Problem statements responsive styles for small screens */
    .problem-statements-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem 0;
    }

    .problem-card {
        margin: 0 5px;
        border-radius: 15px;
    }

    /* Section actions mobile optimization */
    .section-actions {
        margin-top: 1rem;
    }

    .action-button.download-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .problem-header {
        padding: 0.8rem 1rem;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .problem-number {
        font-size: 1.2rem;
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }

    .problem-category {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .problem-title {
        font-size: 1.1rem;
        margin: 0.8rem 1rem 0.5rem 1rem;
        line-height: 1.3;
    }

    .problem-content {
        padding: 0 1rem;
    }

    .problem-section {
        margin-bottom: 1rem;
    }

    .problem-section h4 {
        font-size: 0.85rem;
        gap: 0.3rem;
    }

    .problem-section h4 i {
        font-size: 0.8rem;
    }

    .problem-section p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .problem-footer {
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }

    .difficulty-badge {
        align-self: flex-start;
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    .domain-tags {
        justify-content: flex-start;
        gap: 0.3rem;
    }

    .domain-tags .tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
}

/* Extra small screens (320px and below) */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    .action-button.download-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        max-width: 200px;
    }

    .problem-card {
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }

    .problem-title {
        font-size: 0.95rem;
        line-height: 1.1;
    }

    .problem-section h4 {
        font-size: 0.75rem;
    }

    .problem-section p {
        font-size: 0.75rem;
    }

    .problem-header {
        padding: 0.5rem;
    }

    .problem-content {
        padding: 0 0.5rem;
    }

    .problem-footer {
        padding: 0.6rem 0.5rem;
    }

    .domain-tags .tag {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }
}
