/* Import Cyberpunk Font */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Audiowide&display=swap');


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

:root {
    --neon-pink: #ff0080;
    --neon-cyan: #00ffff;
    --neon-purple: #8000ff;
    --neon-blue: #0080ff;
    --electric-blue: #00bfff;
    --circuit-purple: #6600cc;
    --dark-bg: #0a0a1a;
    --darker-bg: #050510;
    --circuit-bg: #1a0d2e;
    --text-glow: #ffffff;
}

body {
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: var(--dark-bg);
    overflow-x: hidden;
    position: relative;
}

/* Make all images responsive by default */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Performance optimizations */
* {
    box-sizing: border-box;
}

/* Improve touch targets for mobile */
button, a, input, textarea {
    touch-action: manipulation;
}

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Improve in-page anchor alignment with fixed navbar */
section {
    scroll-margin-top: 100px;
}

/* Cyberpunk Circuit Board Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Base gradient */
        radial-gradient(circle at 20% 20%, rgba(102, 0, 204, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 128, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 128, 255, 0.1) 0%, transparent 70%),
        linear-gradient(135deg, #1a0d2e 0%, #0a0a1a 50%, #0d1b2a 100%),
        /* Circuit pattern */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cdefs%3E%3Cpattern id='circuit' x='0' y='0' width='400' height='400' patternUnits='userSpaceOnUse'%3E%3C!-- Main circuit lines --%3E%3Cpath d='M50 50 L350 50 L350 150 L250 150 L250 250 L150 250 L150 350 L350 350' stroke='%23ff0080' stroke-width='3' fill='none' opacity='0.6'/%3E%3Cpath d='M100 100 L300 100 L300 200 L200 200 L200 300 L100 300 Z' stroke='%2300ffff' stroke-width='2' fill='none' opacity='0.4'/%3E%3Cpath d='M0 200 L100 200 L100 100 L200 100 L200 0' stroke='%238000ff' stroke-width='2' fill='none' opacity='0.5'/%3E%3Cpath d='M400 200 L300 200 L300 300 L200 300 L200 400' stroke='%230080ff' stroke-width='2' fill='none' opacity='0.5'/%3E%3C!-- Circuit nodes --%3E%3Ccircle cx='50' cy='50' r='8' fill='%23ff0080' opacity='0.8'%3E%3Canimate attributeName='opacity' values='0.3;1;0.3' dur='2s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='150' cy='150' r='6' fill='%2300ffff' opacity='0.7'%3E%3Canimate attributeName='opacity' values='0.2;0.9;0.2' dur='3s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='250' cy='250' r='7' fill='%238000ff' opacity='0.6'%3E%3Canimate attributeName='opacity' values='0.4;1;0.4' dur='2.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='350' cy='150' r='5' fill='%230080ff' opacity='0.8'%3E%3Canimate attributeName='opacity' values='0.3;0.8;0.3' dur='1.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C!-- Secondary nodes --%3E%3Ccircle cx='100' cy='300' r='4' fill='%23ff0080' opacity='0.6'/%3E%3Ccircle cx='300' cy='100' r='4' fill='%2300ffff' opacity='0.6'/%3E%3Ccircle cx='200' cy='200' r='5' fill='%238000ff' opacity='0.7'/%3E%3C!-- Micro circuits --%3E%3Crect x='180' y='80' width='40' height='20' fill='none' stroke='%2300ffff' stroke-width='1' opacity='0.3'/%3E%3Crect x='185' y='85' width='10' height='10' fill='%2300ffff' opacity='0.2'/%3E%3Crect x='205' y='85' width='10' height='10' fill='%2300ffff' opacity='0.2'/%3E%3Crect x='80' y='280' width='30' height='15' fill='none' stroke='%23ff0080' stroke-width='1' opacity='0.4'/%3E%3Crect x='85' y='285' width='5' height='5' fill='%23ff0080' opacity='0.3'/%3E%3Crect x='100' y='285' width='5' height='5' fill='%23ff0080' opacity='0.3'/%3E%3C!-- Data flow lines --%3E%3Cpath d='M70 70 Q120 70 120 120 T170 170' stroke='%23ff0080' stroke-width='1' fill='none' opacity='0.3'%3E%3Canimate attributeName='stroke-dasharray' values='0 100;20 80;0 100' dur='4s' repeatCount='indefinite'/%3E%3C/path%3E%3Cpath d='M330 130 Q280 130 280 180 T230 230' stroke='%2300ffff' stroke-width='1' fill='none' opacity='0.3'%3E%3Canimate attributeName='stroke-dasharray' values='0 100;15 85;0 100' dur='3.5s' repeatCount='indefinite'/%3E%3C/path%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23circuit)'/%3E%3C/svg%3E");
    background-size: 400px 400px, cover;
    background-position: 0 0, center;
    background-repeat: repeat, no-repeat;
    z-index: -2;
    animation: circuitFlow 15s linear infinite;
}

@keyframes circuitFlow {
    0% { background-position: 0 0, center; }
    100% { background-position: 400px 400px, center; }
}

/* Additional circuit overlay for depth */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Grid overlay */
        linear-gradient(90deg, transparent 98%, rgba(0, 255, 255, 0.03) 100%),
        linear-gradient(180deg, transparent 98%, rgba(255, 0, 128, 0.03) 100%),
        /* Scanning lines */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 255, 0.01) 2px,
            rgba(0, 255, 255, 0.01) 4px
        );
    background-size: 50px 50px, 50px 50px, 100% 4px;
    z-index: -1;
    pointer-events: none;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 0, 128, 0.3);
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 0.2),
        0 0 40px rgba(0, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.nav-logo h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--electric-blue);
    text-shadow: 
        0 0 3px var(--electric-blue),
        0 0 6px var(--electric-blue);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.nav-logo span {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: var(--neon-pink);
    font-weight: 400;
    text-shadow: 
        0 0 3px var(--neon-pink),
        0 0 6px var(--neon-pink);
}

@keyframes logoGlow {
    from { 
        text-shadow: 
            0 0 3px var(--electric-blue),
            0 0 6px var(--electric-blue);
    }
    to { 
        text-shadow: 
            0 0 6px var(--electric-blue),
            0 0 12px var(--electric-blue);
    }
}

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

.nav-link {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--neon-pink);
    text-shadow: 
        0 0 3px var(--neon-pink),
        0 0 6px var(--neon-pink);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--electric-blue));
    transition: width 0.3s ease;
    box-shadow: 0 0 5px var(--neon-pink);
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--electric-blue);
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 0 5px var(--electric-blue);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: transparent;
    overflow: hidden;
    padding-top: 90px; /* Add top padding to account for fixed navbar */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 0, 128, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 191, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(128, 0, 255, 0.1) 0%, transparent 50%);
    will-change: transform;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 0, 128, 0.08) 0%, 
        rgba(0, 191, 255, 0.08) 50%,
        rgba(128, 0, 255, 0.05) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 24px 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 80vh;
    padding-bottom: 4rem;
}

.hero-text {
    color: #fff;
    padding-left: 0;
    max-width: 100%;
    margin-left: 0;
}

.hero-title {
    font-family: 'Audiowide', cursive;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.title-main {
    color: var(--electric-blue);
    display: block;
    text-shadow: 
        0 0 3px var(--electric-blue),
        0 0 6px var(--electric-blue);
    animation: titleFlicker 4s ease-in-out infinite;
}

.title-year {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--neon-pink);
    font-weight: 700;
    text-shadow: 
        0 0 3px var(--neon-pink),
        0 0 6px var(--neon-pink);
}

@keyframes titleFlicker {
    0%, 100% { 
        text-shadow: 
            0 0 3px var(--electric-blue),
            0 0 6px var(--electric-blue);
        opacity: 1;
    }
    2%, 8%, 12%, 18%, 22%, 28%, 32%, 38%, 42%, 48%, 52%, 58%, 62%, 68%, 72%, 78%, 82%, 88%, 92%, 98% {
        opacity: 0.8;
    }
    4%, 6%, 10%, 14%, 16%, 20%, 24%, 26%, 30%, 34%, 36%, 40%, 44%, 46%, 50%, 54%, 56%, 60%, 64%, 66%, 70%, 74%, 76%, 80%, 84%, 86%, 90%, 94%, 96% {
        opacity: 1;
        text-shadow: 
            0 0 2px var(--electric-blue),
            0 0 4px var(--electric-blue);
    }
}

.hero-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--neon-pink);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 
        0 0 3px var(--neon-pink),
        0 0 6px var(--neon-pink);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #ddd;
    margin-bottom: 2.5rem;
    line-height: 1.75;
    max-width: 100%;
    font-family: 'Rajdhani', sans-serif;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-primary {
    background: linear-gradient(45deg, var(--neon-pink), var(--circuit-purple));
    color: #fff;
    border: 2px solid var(--neon-pink);
    box-shadow: 
        0 0 15px var(--neon-pink),
        inset 0 0 15px rgba(255, 0, 128, 0.2);
}

/* Ensure registration links work properly */
.btn-primary[href] {
    cursor: pointer;
    pointer-events: auto;
    text-decoration: none;
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 0 25px var(--neon-pink),
        0 8px 25px rgba(255, 0, 128, 0.4),
        inset 0 0 25px rgba(255, 0, 128, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--electric-blue);
    border: 2px solid var(--electric-blue);
    box-shadow: 0 0 15px var(--electric-blue);
}

.btn-secondary:hover {
    background: rgba(0, 191, 255, 0.1);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 
        0 0 25px var(--electric-blue),
        0 8px 25px rgba(0, 191, 255, 0.4);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
    justify-self: center;
}

.hero-logo {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    z-index: 2;
    opacity: 1;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    /* Reduced glow for cleaner look */
    filter:
        drop-shadow(0 0 2px rgba(0, 0, 0, 0.4))
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.2))
        drop-shadow(0 0 6px var(--neon-pink))
        drop-shadow(0 0 8px var(--electric-blue))
        drop-shadow(0 0 10px var(--neon-purple))
        contrast(1.05)
        saturate(1.05);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    animation: logoGlow 3s ease-in-out infinite alternate;
    transition: all 0.5s ease;
}

.logo-image:hover {
    transform: scale(1.06);
    filter:
        drop-shadow(0 0 4px rgba(0, 0, 0, 0.6))
        drop-shadow(0 0 3px rgba(255, 255, 255, 0.35))
        drop-shadow(0 0 16px var(--neon-pink))
        drop-shadow(0 0 24px var(--electric-blue))
        drop-shadow(0 0 32px var(--neon-purple))
        contrast(1.14)
        saturate(1.12)
        brightness(1.04);
    opacity: 1;
}

.floating-elements {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(250px, 50vw, 500px);
    height: clamp(250px, 50vw, 500px);
    z-index: 3;
    pointer-events: none;
}

.float-card {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--electric-blue);
    padding: 15px;
    text-align: center;
    color: #fff;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 0 15px var(--electric-blue),
        inset 0 0 15px rgba(0, 191, 255, 0.1);
    font-family: 'Rajdhani', sans-serif;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    will-change: transform, opacity;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

.float-card:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
    border-color: var(--neon-pink);
    box-shadow: 
        0 0 15px var(--neon-pink),
        inset 0 0 15px rgba(255, 0, 128, 0.1);
}

.float-card:nth-child(2) {
    top: 45%;
    right: 5%;
    animation-delay: 2s;
    border-color: var(--neon-purple);
    box-shadow: 
        0 0 15px var(--neon-purple),
        inset 0 0 15px rgba(128, 0, 255, 0.1);
}

.float-card:nth-child(3) {
    bottom: 15%;
    left: 5%;
    animation-delay: 4s;
    border-color: var(--electric-blue);
    box-shadow: 
        0 0 15px var(--electric-blue),
        inset 0 0 15px rgba(0, 191, 255, 0.1);
}

.float-card i {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 8px;
    color: var(--electric-blue);
    text-shadow: 0 0 10px currentColor;
}

.float-card:nth-child(1) i { color: var(--neon-pink); }
.float-card:nth-child(2) i { color: var(--neon-purple); }
.float-card:nth-child(3) i { color: var(--electric-blue); }

.float-card span {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: block;
}

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

/* Animated Marquee */
.marquee-container {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 0, 128, 0.1) 25%, 
        rgba(0, 191, 255, 0.1) 75%, 
        transparent 100%);
    border-top: 2px solid var(--electric-blue);
    border-bottom: 2px solid var(--neon-pink);
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 
        0 0 20px rgba(0, 191, 255, 0.3),
        0 0 40px rgba(255, 0, 128, 0.2);
}

.marquee {
    display: flex;
    animation: scroll 25s linear infinite;
    white-space: nowrap;
    color: var(--electric-blue);
    font-weight: 750;
    font-size: 1.2rem;
    font-family: 'Orbitron', monospace;
    text-shadow: 
        0 0 3px var(--electric-blue),
        0 0 6px var(--electric-blue);
    letter-spacing: 2px;
    will-change: transform;
    padding: 0 1rem; /* Added */
}

/* Mobile marquee adjustments */
@media (max-width: 768px) {
    .marquee-container {
        height: 60px; /* Reduced height for mobile */
    }
    
    .marquee {
        font-size: 1rem; /* Smaller font for mobile */
        padding: 0 1rem; /* Reduced padding for mobile */
        animation: scroll 4s linear infinite; /* Faster animation for mobile */
    }
}

@media (max-width: 480px) {
    .marquee-container {
        height: 50px; /* Further reduced height for small mobile */
        bottom: 15px; /* Adjust bottom position for small screens */
    }
    
    .marquee {
        font-size: 0.9rem; /* Even smaller font for small mobile */
        padding: 0 0.5rem; /* Minimal padding for small mobile */
        animation: scroll 18s linear infinite; /* Even faster animation for small mobile */
    }
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

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

.section-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: var(--electric-blue);
    margin-bottom: 1rem;
    text-shadow: 
        0 0 3px var(--electric-blue),
        0 0 6px var(--electric-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.line-gradient {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-pink), var(--electric-blue), var(--neon-purple));
    margin: 0 auto;
    box-shadow: 0 0 15px var(--electric-blue);
}

/* About Section */
.about {
    padding: 100px 0;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 0, 128, 0.3);
    border-bottom: 2px solid rgba(0, 191, 255, 0.3);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M20 20 L180 20 L180 80 L120 80 L120 120 L80 120 L80 180 L20 180 Z' stroke='%23ff0080' stroke-width='1' fill='none' opacity='0.1'/%3E%3Ccircle cx='50' cy='50' r='3' fill='%2300bfff' opacity='0.3'/%3E%3Ccircle cx='150' cy='50' r='3' fill='%23ff0080' opacity='0.3'/%3E%3Ccircle cx='150' cy='150' r='3' fill='%238000ff' opacity='0.3'/%3E%3Ccircle cx='50' cy='150' r='3' fill='%2300bfff' opacity='0.3'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: 0.1;
    z-index: 0;
}

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

.about-text {
    color: #fff;
}

.about-text h3 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--neon-pink);
    text-shadow: 
        0 0 3px var(--neon-pink),
        0 0 6px var(--neon-pink);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-text p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-family: 'Rajdhani', sans-serif;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem; /* Changed from 2rem */
    margin-top: 3rem; /* Added */
}

.stat {
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem; /* Changed from 1.5rem */
    border: 2px solid var(--electric-blue);
    box-shadow: 
        0 0 15px var(--electric-blue),
        inset 0 0 15px rgba(0, 191, 255, 0.1);
    backdrop-filter: blur(10px);
    clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
    transition: all 0.3s ease; /* Added */
    height: 100%; /* Added */
    display: flex; /* Added */
    flex-direction: column; /* Added */
    justify-content: center; /* Added */
    align-items: center; /* Added */
}

.stat:hover {
    transform: translateY(-5px); /* Added */
    box-shadow: 
        0 0 25px var(--electric-blue),
        0 8px 25px rgba(0, 191, 255, 0.3),
        inset 0 0 20px rgba(0, 191, 255, 0.2); /* Enhanced */
}

.stat h4 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem; /* Changed from 2.5rem */
    font-weight: 800;
    color: var(--electric-blue);
    margin-bottom: 1rem; /* Changed from 0.5rem */
    text-shadow: 0 0 6px var(--electric-blue);
}

.stat p {
    color: #ccc; /* Changed from #888 */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem; /* Added */
    line-height: 1.4; /* Added */
}

.about-visual {
    display: flex;
    justify-content: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; /* Changed from 1rem */
    width: 350px; /* Changed from 300px */
}

.tech-item {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--neon-pink);
    padding: 1.5rem; /* Changed from 20px */
    text-align: center;
    color: var(--neon-pink);
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 10px var(--neon-pink),
        inset 0 0 10px rgba(255, 0, 128, 0.1);
    clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
    height: 100%; /* Added */
    display: flex; /* Added */
    align-items: center; /* Added */
    justify-content: center; /* Added */
    font-size: 0.9rem; /* Added */
    line-height: 1.3; /* Added */
}

.tech-item:hover {
    background: rgba(255, 0, 128, 0.1);
    transform: translateY(-5px);
    box-shadow: 
        0 0 20px var(--neon-pink),
        0 8px 25px rgba(255, 0, 128, 0.3),
        inset 0 0 20px rgba(255, 0, 128, 0.2);
}

/* About section events grid alignment */
.about .events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: start;
}

.about .event-card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--electric-blue);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 0 15px var(--electric-blue),
        inset 0 0 15px rgba(0, 191, 255, 0.1);
    clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about .event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 0, 128, 0.05) 0%, 
        rgba(0, 191, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about .event-card:hover::before {
    opacity: 1;
}

.about .event-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-pink);
    box-shadow: 
        0 0 25px var(--neon-pink),
        0 15px 40px rgba(255, 0, 128, 0.3),
        inset 0 0 25px rgba(255, 0, 128, 0.1);
}

.about .event-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: #e6fbff;
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 4px;
}

.about .event-icon {
    font-size: 2.5rem;
    color: var(--electric-blue);
    margin-bottom: 1rem;
    text-shadow: 0 0 3px var(--electric-blue);
}

.about .event-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about .event-card p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-family: 'Rajdhani', sans-serif;
    flex-grow: 1;
}

/* Events Section */
.events {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cpath d='M50 50 L250 50 L250 150 L150 150 L150 250 L50 250 Z' stroke='%2300bfff' stroke-width='1' fill='none' opacity='0.05'/%3E%3Ccircle cx='100' cy='100' r='5' fill='%23ff0080' opacity='0.2'%3E%3Canimate attributeName='opacity' values='0.1;0.4;0.1' dur='3s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='200' cy='200' r='5' fill='%2300bfff' opacity='0.2'%3E%3Canimate attributeName='opacity' values='0.1;0.4;0.1' dur='2.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
    background-size: 300px 300px;
    opacity: 0.1;
    z-index: 0;
}

/* Make events section container wider on desktop */
.events .container {
    max-width: 1400px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.event-card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--electric-blue);
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 0 15px var(--electric-blue),
        inset 0 0 15px rgba(0, 191, 255, 0.1);
    clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 0, 128, 0.05) 0%, 
        rgba(0, 191, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover::before {
    opacity: 1;
}

.event-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-pink);
    box-shadow: 
        0 0 25px var(--neon-pink),
        0 15px 40px rgba(255, 0, 128, 0.3),
        inset 0 0 25px rgba(255, 0, 128, 0.1);
}

.event-number {
    position: absolute;
    top: 25px;
    right: 25px;
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(0, 191, 255, 0.2);
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.2);
}

.event-icon {
    font-size: 3rem;
    color: var(--electric-blue);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 3px var(--electric-blue);
}

.event-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-card h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    color: var(--neon-pink);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 3px var(--neon-pink);
}

.event-card p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-family: 'Rajdhani', sans-serif;
    flex-grow: 1;
}

.event-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 191, 255, 0.2);
    gap: 1rem;
}

.prize {
    color: var(--neon-purple);
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 4px var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.date {
    color: #eaf6ff;
    font-size: 0.9rem;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: right;
    max-width: 55%;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Visibility enhancements */
/* Brighten dates in Events section for better readability */
.events .date {
    color: #eaf6ff;
    text-shadow: 0 0 4px rgba(0, 191, 255, 0.3);
}

/* Brighten event number in About section */
.about .event-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #e6fbff;
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
}

/* Nudge the first About card slightly left */
/* Remove previous nudge; align both cards uniformly */
.about .events-grid .event-card:first-child {
    margin-left: 0;
}

/* Improve keyboard focus visibility for accessibility */
.nav-link:focus-visible,
.footer-column a:focus-visible,
.social-links a:focus-visible {
    outline: 2px dashed var(--electric-blue);
    outline-offset: 3px;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: 3px solid var(--neon-pink);
    outline-offset: 2px;
}

/* Sponsors Section */
.sponsors {
    padding: 100px 0;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 0, 128, 0.3);
    border-bottom: 2px solid rgba(0, 191, 255, 0.3);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem; /* Changed from 2rem */
    align-items: stretch;
}

.sponsor-card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--neon-purple);
    padding: 2.5rem; /* Changed from 2rem */
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 0 15px var(--neon-purple),
        inset 0 0 15px rgba(128, 0, 255, 0.1);
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    height: 100%; /* Added */
    display: flex; /* Added */
    flex-direction: column; /* Added */
    justify-content: center; /* Added */
    align-items: center; /* Added */
}

.sponsor-card:hover {
    transform: translateY(-5px);
    border-color: var(--electric-blue);
    box-shadow: 
        0 0 25px var(--electric-blue),
        0 8px 25px rgba(0, 191, 255, 0.3),
        inset 0 0 25px rgba(0, 191, 255, 0.1);
}

.title-sponsor {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, 
        rgba(255, 0, 128, 0.1) 0%, 
        rgba(0, 191, 255, 0.1) 100%);
    border: 3px solid var(--neon-pink);
    box-shadow: 
        0 0 25px var(--neon-pink),
        inset 0 0 25px rgba(255, 0, 128, 0.1);
    padding: 3rem; /* Added */
    text-align: center; /* Added */
}

.title-sponsor h3 {
    color: var(--electric-blue);
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem; /* Changed from 1.2rem */
    margin-bottom: 1.5rem; /* Changed from 1rem */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 6px var(--electric-blue);
}

.sponsor-logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem; /* Changed from 1.5rem */
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem; /* Added */
}

.title-sponsor .sponsor-logo {
    font-size: 3rem; /* Changed from 2.5rem */
    color: var(--neon-pink);
    text-shadow: 
        0 0 3px var(--neon-pink),
        0 0 6px var(--neon-pink);
    margin-bottom: 0; /* Added */
}

/* Rules Section */
.Rules {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.Rules::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cpath d='M50 50 L250 50 L250 150 L150 150 L150 250 L50 250 Z' stroke='%23ff0080' stroke-width='1' fill='none' opacity='0.05'/%3E%3Ccircle cx='100' cy='100' r='5' fill='%2300bfff' opacity='0.2'%3E%3Canimate attributeName='opacity' values='0.1;0.4;0.1' dur='3s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='200' cy='200' r='5' fill='%2300bfff' opacity='0.2'%3E%3Canimate attributeName='opacity' values='0.1;0.4;0.1' dur='2.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
    background-size: 300px 300px;
    opacity: 0.1;
    z-index: 0;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.rules-card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--neon-purple);
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 0 15px var(--neon-purple),
        inset 0 0 15px rgba(128, 0, 255, 0.1);
    clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rules-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 0, 128, 0.05) 0%, 
        rgba(128, 0, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rules-card:hover::before {
    opacity: 1;
}

.rules-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-pink);
    box-shadow: 
        0 0 25px var(--neon-pink),
        0 15px 40px rgba(255, 0, 128, 0.3),
        inset 0 0 25px rgba(255, 0, 128, 0.1);
}

.rules-number {
    position: absolute;
    top: 25px;
    right: 25px;
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(128, 0, 255, 0.2);
    text-shadow: 0 0 15px rgba(128, 0, 255, 0.2);
}

.rules-icon {
    font-size: 3rem;
    color: var(--neon-purple);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--neon-purple);
}

.rules-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.rules-list li {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-family: 'Rajdhani', sans-serif;
    padding-left: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.rules-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--neon-purple);
    font-size: 0.8rem;
    text-shadow: 0 0 5px var(--neon-purple);
}

.rules-list li:hover {
    color: #fff;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cpath d='M100 100 L300 100 L300 200 L200 200 L200 300 L100 300 Z' stroke='%23ff0080' stroke-width='2' fill='none' opacity='0.1'/%3E%3Ccircle cx='150' cy='150' r='8' fill='%2300bfff' opacity='0.3'%3E%3Canimate attributeName='opacity' values='0.1;0.5;0.1' dur='4s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='250' cy='250' r='8' fill='%23ff0080' opacity='0.3'%3E%3Canimate attributeName='opacity' values='0.1;0.5;0.1' dur='3s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
    background-size: 400px 400px;
    opacity: 0.05;
    z-index: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
    align-items: start;
}

.contact-info {
    color: #fff;
}

.contact-info h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--electric-blue);
    text-shadow: 
        0 0 5px var(--electric-blue),
        0 0 10px var(--electric-blue),
        0 0 20px var(--electric-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-info p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-family: 'Rajdhani', sans-serif;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #ccc;
    font-family: 'Rajdhani', sans-serif;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--neon-pink);
    width: 20px;
    text-shadow: 0 0 10px var(--neon-pink);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--electric-blue);
    color: var(--electric-blue);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 0 15px var(--electric-blue);
    clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
}

.social-links a:hover {
    background: linear-gradient(45deg, var(--electric-blue), var(--neon-purple));
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 
        0 0 25px var(--electric-blue),
        0 8px 25px rgba(0, 191, 255, 0.3);
}

.contact-form {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--neon-pink);
    padding: 2rem;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 0 25px var(--neon-pink),
        inset 0 0 25px rgba(255, 0, 128, 0.1);
    clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
}

.contact-form h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--electric-blue);
    text-shadow: 0 0 3px var(--electric-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.coordinator-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.coordinator-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 0, 128, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    min-height: 60px;
}

.coordinator-detail:hover {
    background: rgba(255, 0, 128, 0.1);
    border-color: var(--neon-pink);
    transform: translateX(5px);
}

.coordinator-detail i {
    font-size: 1.5rem;
    color: var(--neon-pink);
    text-shadow: 0 0 3px var(--neon-pink);
    width: 30px;
    text-align: center;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.detail-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--electric-blue);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.detail-content p {
    color: #ccc;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.detail-content p a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.detail-content p a:hover {
    color: var(--electric-blue);
    text-shadow: 0 0 4px var(--electric-blue);
    border-bottom: 1px solid var(--electric-blue);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--electric-blue);
    color: #fff;
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--electric-blue);
    clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-pink);
    background: rgba(255, 0, 128, 0.05);
    box-shadow: 
        0 0 20px var(--neon-pink),
        inset 0 0 15px rgba(255, 0, 128, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
    font-family: 'Rajdhani', sans-serif;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 50px 0 20px;
    border-top: 2px solid var(--electric-blue);
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.2);
}

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

.footer-logo h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--electric-blue);
    margin-bottom: 0.5rem;
    text-shadow: 
        0 0 3px var(--electric-blue),
        0 0 6px var(--electric-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-logo p {
    color: #ccc; /* Changed from #888 */
    font-size: 0.9rem;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4; /* Added */
}

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

.footer-column h4 {
    color: var(--neon-pink);
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--neon-pink);
}

.footer-column ul {
    list-style: none;
    padding: 0; /* Added */
}

.footer-column ul li {
    margin-bottom: 0.75rem; /* Changed from 0.5rem */
}

.footer-column ul li a {
    color: #ccc; /* Changed from #888 */
    text-decoration: none;
    transition: all 0.3s ease; /* Changed from color only */
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem; /* Added */
    line-height: 1.4; /* Added */
}

.footer-column ul li a:hover {
    color: var(--electric-blue);
    text-shadow: 0 0 4px var(--electric-blue);
    transform: translateX(5px); /* Added */
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 0, 128, 0.3);
    color: #ccc; /* Changed from #888 */
    font-size: 0.9rem;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4; /* Added */
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(5, 5, 16, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 2px solid var(--electric-blue);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 3rem;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero-text {
        margin-left: 0;
        max-width: 100%;
        padding-left: 0;
    }
    
    .floating-elements {
        width: 250px;
        height: 250px;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 2rem auto;
    }
    
    .float-card:nth-child(1) {
        top: 10%;
        left: 5%;
    }
    
    .float-card:nth-child(2) {
        top: 50%;
        right: 5%;
    }
    
    .float-card:nth-child(3) {
        bottom: 10%;
        left: 5%;
    }
    
    .hero-logo {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        opacity: 1;
        margin: 2rem auto;
    }
    
    .logo-image {
        width: 280px;
        max-width: 100%;
        height: auto;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about .events-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-grid {
        width: 280px;
        gap: 1rem;
    }
    
    .tech-item {
        padding: 1.25rem;
        font-size: 0.8rem;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat {
        padding: 1.5rem;
    }
    
    .stat h4 {
        font-size: 2.5rem;
    }
    
    .stat p {
        font-size: 0.9rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: stretch;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .title-sponsor {
        grid-column: 1;
        padding: 2rem;
    }
    
    .title-sponsor h3 {
        font-size: 1.3rem;
    }
    
    .title-sponsor .sponsor-logo {
        font-size: 2.5rem;
    }
    
    .sponsor-card {
        padding: 2rem;
    }
    
    .sponsor-logo {
        font-size: 1.5rem;
    }
    
    /* Mobile-specific coordinator styling */
    .coordinator-detail {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .coordinator-detail i {
        font-size: 1.2rem;
        width: 25px;
    }
    
    .detail-content h3 {
        font-size: 0.9rem;
    }
    
    .detail-content p {
        font-size: 0.85rem;
    }
    
    /* Mobile button improvements */
    .btn-primary, .btn-secondary {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    /* Mobile form improvements */
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Mobile event card improvements */
    .event-card {
        padding: 1.5rem;
    }
    
    .event-number {
        font-size: 2.5rem;
        top: 15px;
        right: 15px;
    }
    
    .event-icon {
        font-size: 2.5rem;
    }
    
    .event-card h3 {
        font-size: 1.3rem;
    }
    
    .event-card h4 {
        font-size: 1rem;
    }
    
    .event-details {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .date {
        text-align: left;
        max-width: 100%;
    }
}

/* Tablet-specific styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        gap: 2.5rem;
        padding: 0 30px;
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
    }
    
    .logo-image {
        max-width: 400px;
    }
    
    .floating-elements {
        width: 400px;
        height: 400px;
    }
    
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-content {
        gap: 3rem;
    }
    
    .about .events-grid {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 80px; /* Slightly less padding on very small screens */
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .floating-elements {
        width: 200px;
        height: 200px;
    }
    
    .float-card:nth-child(1) {
        top: 15%;
        left: 2%;
    }
    
    .float-card:nth-child(2) {
        top: 50%;
        right: 2%;
    }
    
    .float-card:nth-child(3) {
        bottom: 15%;
        left: 2%;
    }
    
    .hero-content {
        padding-top: 1.5rem;
        padding-bottom: 2.5rem;
    }
    
    .logo-image {
        width: 240px;
        max-width: 100%;
    }
    
    .coordinator-detail {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .coordinator-detail i {
        font-size: 1rem;
        width: 20px;
    }
    
    .detail-content h3 {
        font-size: 0.8rem;
    }
    
    .detail-content p {
        font-size: 0.75rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .contact-form h2 {
        font-size: 1.3rem;
    }
    
    .event-card {
        padding: 1.25rem;
    }
    
    .event-number {
        font-size: 2rem;
        top: 10px;
        right: 10px;
    }
    
    .event-icon {
        font-size: 2rem;
    }
    
    .event-card h3 {
        font-size: 1.1rem;
    }
    
    .event-card h4 {
        font-size: 0.9rem;
    }
    
    .about .event-card {
        padding: 1.25rem;
    }
    
    .about .event-number {
        font-size: 1rem;
        top: 10px;
        right: 10px;
    }
    
    .about .event-icon {
        font-size: 2rem;
    }
    
    .about .event-card h3 {
        font-size: 1.1rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat {
        padding: 1.25rem;
    }
    
    .stat h4 {
        font-size: 2rem;
    }
    
    .stat p {
        font-size: 0.85rem;
    }
    
    .tech-grid {
        width: 250px;
        gap: 0.75rem;
    }
    
    .tech-item {
        padding: 1rem;
        font-size: 0.75rem;
    }
}

/* Additional Cyberpunk Effects */
.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--electric-blue), transparent);
    animation: scanLine 4s linear infinite;
    z-index: 9999;
    pointer-events: none;
}

@keyframes scanLine {
    0% { top: 0; opacity: 1; }
    100% { top: 100vh; opacity: 0; }
}

/* Data stream effect */
.data-stream {
    position: fixed;
    top: 0;
    right: 20px;
    width: 2px;
    height: 100vh;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--neon-pink) 20%, 
        var(--electric-blue) 40%, 
        var(--neon-purple) 60%, 
        var(--electric-blue) 80%, 
        transparent 100%);
    animation: dataFlow 6s linear infinite;
    opacity: 0.3;
    z-index: -1;
}

@keyframes dataFlow {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

/* Loading animation for interactive elements */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Defer offscreen rendering for heavy sections */
.about,
.events,
.sponsors,
.Rules,
.contact {
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

/* Reduced motion: remove non-essential animations/effects */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .scan-line,
    .data-stream {
        display: none !important;
    }
    .marquee {
        animation: none !important;
    }
    /* Keep subtle floating motion even with reduced motion */
    .float-card {
        animation: float 8s ease-in-out infinite !important;
    }
}

/* Mobile section header adjustments */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .line-gradient {
        width: 80px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
        letter-spacing: 1.5px;
    }
    
    .line-gradient {
        width: 60px;
        height: 2px;
    }
}