/* Base Styles */
:root {
    --primary-color: #00d4ff; /* Bright Cyan - tech accent */
    --secondary-color: #7b2cbf; /* Deep Purple - tech secondary */
    --accent-color: #c77dff; /* Light Purple - highlights */
    --light-color: #1a1f3a; /* Dark blue background */
    --gray-color: #2d3250; /* Dark gray for cards */
    --dark-color: #0a0e27; /* Very dark navy - main background */
    --text-color: #e0e0e0; /* Light gray text */
    --text-secondary: #a0a0a0; /* Secondary text */
    --border-color: #2d3250;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
    --glow-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--dark-color);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(123, 44, 191, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    position: relative;
}

li:before {
    content: "->";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

/* Header Styles */
header {
    background-color: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 7em;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem;
}

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

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

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-btn {
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.register-btn {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    border-radius: var(--border-radius);
    box-shadow: var(--glow-shadow);
}

.register-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

/* Theme Toggle Button - Icon Only */
.theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.theme-toggle-btn i {
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #7b2cbf 100%);
    position: relative;
    color: white;
    padding: 4rem 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(199, 125, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 span {
    display: block;
    color: var(--accent-color);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    border-radius: var(--border-radius);
    box-shadow: var(--glow-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Info Cards */
.info-cards {
    margin-top: -3rem;
    margin-bottom: 3rem;
}

.info-cards .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    background: rgba(26, 31, 58, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

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

.about .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-content {
    flex: 1;
}

.about h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.learn-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.learn-more:hover {
    color: var(--primary-color);
}

/* Features Section */
.features {
    background-color: var(--light-color);
    padding: 4rem 0;
    position: relative;
}

.features h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature {
    background: rgba(26, 31, 58, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-shadow);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #7b2cbf 0%, #0a0e27 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta .cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.cta .cta-button:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
}

/* Sponsors Section */
.sponsors {
    padding: 4rem 0;
    text-align: center;
}

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

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.sponsor-logos img {
    height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.sponsor-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    color: white;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo img {
     height: 7em;
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links li:before {
    display: none;
}

.footer-links a {
    color: white;
    opacity: 0.8;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.footer-contact i {
    font-size: 1.2rem;
}

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

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }
    
    .info-cards .container {
        grid-template-columns: 1fr;
    }
    
    .about .container {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu Styles - Dark Theme */
.hamburger-menu {
    color: var(--text-color);
}

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

/* Mobile Menu Overlay - Dark Theme */
.mobile-menu-overlay {
    background-color: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
}

/* Mobile Menu Panel - Dark Theme */
.mobile-menu {
    background: linear-gradient(180deg, #1a1f3a 0%, #0a0e27 100%);
    box-shadow: -4px 0 30px rgba(0, 212, 255, 0.3);
    border-left: 1px solid rgba(0, 212, 255, 0.2);
}

/* Close Button - Dark Theme */
.close-menu {
    color: var(--text-color);
}

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

/* Mobile Navigation - Dark Theme */
.mobile-nav a {
    color: var(--text-color);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background-color: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
}

/* Mobile Nav Actions - Dark Theme */
.mobile-nav-actions {
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.mobile-register-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.mobile-register-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color)) !important;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.mobile-register-btn.active {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color)) !important;
}

.mobile-theme-toggle-btn {
    background-color: rgba(26, 31, 58, 0.6);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.mobile-theme-toggle-btn:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}