:root {
    --primary-color: #6C63FF;
    --secondary-color: #3B82F6;
    --accent-color: #10B981;
    --dark-color: #111827;
    --light-color: #F9FAFB;
    --gray-color: #E2E8F0;
    --text-dark: #1F2937;
    --text-light: #4B5563;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-color);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo svg {
    margin-right: 0.5rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a45e0 70%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 5rem 1rem 7rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title-container {
    display: inline-block;
    position: relative;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #ffffff, #f0f0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.animated-underline {
    height: 4px;
    width: 0;
    background: #ffffff;
    margin: 0 auto;
    animation: expand 1.5s ease-out forwards;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(255,255,255,0.4);
}

@keyframes expand {
    0% { width: 0; }
    100% { width: 80%; }
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: black;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.1) 5%, transparent 5.1%) 0 0 / 150px 150px,
        radial-gradient(circle at 90% 70%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.1) 4%, transparent 4.1%) 0 0 / 120px 120px,
        radial-gradient(circle at 30% 80%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.1) 6%, transparent 6.1%) 0 0 / 180px 180px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 300px 300px, -200px 200px, 150px -150px; }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Subtitle */
.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin: 2rem 0;
    padding: 0 1rem;
}

/* Sponsors Section */
.sponsors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 5%;
}

.sponsor {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.sponsor-logo {
    margin-bottom: 1rem;
}

.sponsor h3 {
    color: var(--text-dark);
    font-weight: 600;
}

/* Support Section */
.support {
    background: white;
    margin: 4rem auto;
    padding: 3rem 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 1200px;
    box-shadow: var(--shadow);
    text-align: center;
}

.support h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.support-item {
    padding: 1.5rem;
    border-radius: 12px;
    background-color: var(--light-color);
    transition: transform 0.3s ease;
}

.support-item:hover {
    transform: translateY(-5px);
}

.icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.support-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.support-item p {
    color: var(--text-light);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    margin: 4rem auto;
    padding: 3rem 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow);
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: white;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 5% 1.5rem;
    margin-top: 4rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-logo svg {
    margin-right: 0.5rem;
}

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

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .sponsor {
        width: 100%;
    }
}