* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Matrix Background */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
}

#matrix-canvas {
    width: 100%;
    height: 100%;
}

/* Floating Tech Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.tech-particle {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.1;
    animation: techFloat 8s ease-in-out infinite;
}

/* Glitch Effect */
.glitch-effect {
    position: relative;
    animation: glitch 3s ease-in-out infinite;
}

.glitch-effect::before,
.glitch-effect::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch-effect::before {
    color: #ff0040;
    animation: glitchTop 3s ease-in-out infinite;
}

.glitch-effect::after {
    color: #00ffff;
    animation: glitchBottom 3s ease-in-out infinite;
}

/* Typewriter Effect */
.typewriter {
    overflow: hidden;
    border-right: 0.15em solid #1a1a1a;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0em;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

/* Fade In Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
    padding-top: 15px;
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse Button */
.pulse-btn {
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes techFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.1;
    }
    33% { 
        transform: translateY(-20px) rotate(120deg); 
        opacity: 0.2;
    }
    66% { 
        transform: translateY(10px) rotate(240deg); 
        opacity: 0.15;
    }
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitchTop {
    0%, 100% { opacity: 0; }
    10%, 16% { opacity: 0.4; transform: translateX(-2px); }
}

@keyframes glitchBottom {
    0%, 100% { opacity: 0; }
    10%, 16% { opacity: 0.4; transform: translateX(2px); }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #1a1a1a; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 20px rgba(26, 26, 26, 0.3);
    }
    100% {
        box-shadow: 0 0 30px rgba(26, 26, 26, 0.6), 0 0 40px rgba(120, 119, 198, 0.3);
    }
}

/* Navigation */
.navbar {
    background: #1a1a1a;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-link:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}

.nav-link.active {
    background: white;
    color: #1a1a1a;
}

/* Hero Section */
.hero {
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 198, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, #e3f2fd 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, #f3e5f5 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.hero-content {
    padding-top: 25px;
    max-width: 90vw;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid #1a1a1a;
    border-bottom: 2px solid #1a1a1a;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
    margin: 0 auto 8px;
}

.scroll-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator:hover .scroll-arrow {
    border-color: #333;
}

.scroll-indicator:hover .scroll-text {
    color: #333;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(-10px);
    }
    60% {
        transform: rotate(45deg) translateY(-5px);
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: #1a1a1a;
    color: white;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-2px);
}

/* What We Do Section */
.what-we-do {
    padding: 5rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.what-we-do::before {
    content: '⚙️';
    position: absolute;
    top: 10%;
    left: 5%;
    font-size: 2rem;
    opacity: 0.1;
    animation: spin 20s linear infinite;
}

.what-we-do::after {
    content: '🔧';
    position: absolute;
    bottom: 15%;
    right: 8%;
    font-size: 1.5rem;
    opacity: 0.1;
    animation: float 15s ease-in-out infinite;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(120, 119, 198, 0.05) 50%, transparent 70%);
    transform: rotate(-45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translate(20%, 20%);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.container {
    max-width: 2500px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.container2 {
    max-width: 2500px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    padding: 20px;
    justify-content: center;
    align-items: center;

}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: -40px;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite;
}

.section-title::after {
    content: '🚀';
    position: absolute;
    top: -10px;
    right: -40px;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite reverse;
}

/* Latest Updates Section */
.latest-updates {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.latest-updates::before {
    content: '📡';
    position: absolute;
    top: 20%;
    right: 10%;
    font-size: 2.5rem;
    opacity: 0.08;
    animation: bounce 4s ease-in-out infinite;
}

.latest-updates::after {
    content: '🔬';
    position: absolute;
    bottom: 20%;
    left: 5%;
    font-size: 2rem;
    opacity: 0.08;
    animation: float 12s ease-in-out infinite;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.update-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.update-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.update-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.update-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.update-card:hover .update-image img {
    transform: scale(1.05);
}

.placeholder {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.update-content {
    padding: 1.5rem;
}

.update-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.update-content p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '🚀';
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 3rem;
    opacity: 0.05;
    animation: pulse 6s ease-in-out infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ccc;
}

.footer-section p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #aaa;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #888;
    margin: 0;
}

/* Additional decorative elements */
body::before {
    content: '⚡';
    position: fixed;
    top: 60%;
    right: 2%;
    font-size: 1.2rem;
    opacity: 0.05;
    z-index: 1;
    animation: pulse 8s ease-in-out infinite;
}

body::after {
    content: '🔍';
    position: fixed;
    top: 30%;
    left: 1%;
    font-size: 1rem;
    opacity: 0.05;
    z-index: 1;
    animation: spin 25s linear infinite reverse;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.1; transform: scale(1.1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .updates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .section-title::before,
    .section-title::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .update-content {
        padding: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }
}
/* Stats Section */
.stats-section {
  color: #010101;
  padding :20px;
  text-align: center;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
}

.stat-card h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #00aaff;
}

.stat-card p {
  font-size: 1rem;
  opacity: 0.8;
}

* { 
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

body {
 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
 line-height: 1.6;
 color: #333;
 overflow-x: hidden;
}

/* Matrix Background */
.matrix-bg {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 z-index: -1;
 opacity: 0.03;
 pointer-events: none;
}

#matrix-canvas {
 width: 100%;
 height: 100%;
}

/* Floating Tech Elements */
.floating-elements {
 position: fixed;
 top: 0;
 left: 0;
width: 100%;
 height: 100%;
 pointer-events: none;
 z-index: 1;
}

.tech-particle {
 position: absolute;
 font-size: 1.5rem;
 opacity: 0.1;
 animation: techFloat 8s ease-in-out infinite;
}

@keyframes techFloat {
0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.1;
}
33% { 
    transform: translateY(-20px) rotate(120deg); 
    opacity: 0.2;
}
66% { 
    transform: translateY(10px) rotate(240deg); 
    opacity: 0.15;
}
}

/* Glitch Effect */
.glitch-effect {
 position: relative;
 animation: glitch 3s ease-in-out infinite;
}

.glitch-effect::before,
.glitch-effect::after {
 content: attr(data-text);
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 opacity: 0;
}

.glitch-effect::before {
 color: #ff0040;
 animation: glitchTop 3s ease-in-out infinite;
}

.glitch-effect::after {
 color: #00ffff;
 animation: glitchBottom 3s ease-in-out infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitchTop {
    0%, 100% { opacity: 0; }
    10%, 16% { opacity: 0.4; transform: translateX(-2px); }
}

@keyframes glitchBottom {
    0%, 100% { opacity: 0; }
    10%, 16% { opacity: 0.4; transform: translateX(2px); }
}

/* Fade In Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
to {
    opacity: 1;
    transform: translateY(0);
}
}

/* Navigation */
.navbar {
    background: #1a1a1a;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-link:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}

.nav-link.active {
    background: white;
    color: #1a1a1a;
}

/* About Section */
.about-hero {
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 198, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}



.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, #e3f2fd 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, #f3e5f5 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.about-hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Main Content */
.container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background: white;
    position: relative;
    align-items: center;
}

.mission-section::before {
    content: '🚀';
    position: absolute;
    top: 10%;
    left: 5%;
    font-size: 2rem;
    opacity: 0.1;
    animation: pulse 6s ease-in-out infinite;
}

.mission-section::after {
    content: '⚙️';
    position: absolute;
    bottom: 15%;
    right: 8%;
    font-size: 1.5rem;
    opacity: 0.1;
    animation: spin 20s linear infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.1; transform: scale(1.1); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mission-content {
    display: contents;
    align-items: center;
}

.mission-text h2 {
    align-items: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.mission-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    align-items: center;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
}

.mission-image {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 400px;
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mission-image:hover img {
    transform: scale(1.05);
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.team-section::before {
    content: '👥';
    position: absolute;
    top: 20%;
    right: 10%;
    font-size: 2.5rem;
    opacity: 0.08;
    animation: bounce 4s ease-in-out infinite;
}

.team-section::after {
    content: '💡';
    position: absolute;
    bottom: 20%;
    left: 5%;
    font-size: 2rem;
    opacity: 0.08;
    animation: float 12s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
}
40% {
    transform: translateY(-10px);
}
60% {
    transform: translateY(-5px);
}
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(120, 119, 198, 0.05) 50%, transparent 70%);
    transform: rotate(-45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.team-card:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translate(20%, 20%);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.team-role {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-description {
    color: #777;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: white;
    position: relative;
}

.values-section::before {
    content: '🎯';
    position: absolute;
    top: 15%;
    left: 8%;
    font-size: 2rem;
    opacity: 0.1;
    animation: pulse 8s ease-in-out infinite;
}

.values-section::after {
    content: '✨';
    position: absolute;
    bottom: 20%;
    right: 10%;
    font-size: 1.8rem;
    opacity: 0.1;
    animation: spin 25s linear infinite reverse;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '🚀';
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 3rem;
    opacity: 0.05;
    animation: pulse 6s ease-in-out infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ccc;
}

.footer-section p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #aaa;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #888;
    margin: 0;
}

/* Additional decorative elements */
body::before {
    content: '⚡';
    position: fixed;
    top: 60%;
    right: 2%;
    font-size: 1.2rem;
    opacity: 0.05;
    z-index: 1;
    animation: pulse 8s ease-in-out infinite;
}

body::after {
    content: '🔍';
    position: fixed;
    top: 30%;
    left: 1%;
    font-size: 1rem;
    opacity: 0.05;
    z-index: 1;
    animation: spin 25s linear infinite reverse;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
}

.about-hero h1 {
    font-size: 2.5rem;
}

.mission-content {
    grid-template-columns: 1fr;
    gap: 3rem;
}

.mission-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.values-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-content {
    grid-template-columns: 1fr;
    text-align: center;
}

.social-links {
    justify-content: center;
}
}

@media (max-width: 480px) {
.nav-container {
    flex-direction: column;
    gap: 1rem;
}

.nav-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.about-hero h1 {
    font-size: 2rem;
}

.about-hero {
    padding: 120px 0 80px;
}

.mission-section,
.team-section,a
.values-section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
}

.footer {
    padding: 2rem 0 1rem;
}
}

/* Container */
.events-container {
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 50px;
  padding-top: 10px;
  align-items: center;
  display: flex;
  display: grid;
  gap: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Auto columns */
  grid-auto-rows: minmax(280px, 1fr); /* Auto row height */
  min-height: 0px; /* Important for grid items to respect row heights */
}

/* Event Card */
.event-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

/* Image Section */
.event-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-image.placeholder {
  background: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-icon {
  font-size: 40px;
  color: #aaa;
}

/* Badge */
.event-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
}

.event-badge.upcoming {
  background: #333;
}

.event-badge.open {
  background: #28a745;
}

/* Content */
.event-content {
  padding: 20px;
}

.event-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-tag {
  background: #f1f1f1;
  color: #333;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 6px;
}

.event-content p {
  margin: 6px 0;
  font-size: 14px;
  color: #555;
}

.event-details {
  margin: 12px 0;
  font-size: 14px;
}

/* Button */
.event-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #ccc;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.event-btn:hover {
  background: #999;
}

.event-btn.dark {
  background: #111;
}

.event-btn.dark:hover {
  background: #000;
}
.title{
    align-items: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.robotics-card {
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
    margin: 20px auto;
    font-family: 'Roboto', sans-serif;
    color: #f0f8ff;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotateX(0.5deg) rotateY(0.5deg); }
    50% { transform: translateY(-15px) rotateX(-0.5deg) rotateY(-0.5deg); }
}

.robotics-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;    
    background-size: 30px 30px;
}



.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #00f0ff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 
        0 0 10px rgba(0, 240, 255, 0.7),
        0 0 20px rgba(0, 240, 255, 0.4);
    position: relative;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px rgba(0, 240, 255, 0.7), 0 0 20px rgba(0, 240, 255, 0.4); }
    to { text-shadow: 0 0 15px rgba(0, 240, 255, 0.9), 0 0 30px rgba(0, 240, 255, 0.6), 0 0 40px rgba(0, 240, 255, 0.3); }
}

.card-section {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1.5rem;
}

.card-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(to bottom, #00f0ff, #ff2d75);
    border-radius: 5px;
}

.card-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin: 1.8rem 0 1rem;
    color: #ff2d75;
    border-bottom: 2px solid #ff2d75;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.tagline {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.tagline span {
    font-family: 'Orbitron', sans-serif;
    color: #f5d300;
    margin-right: 0.5rem;
    font-weight: bold;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.category {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: #00f0ff;
}

.details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.detail-item {
    background: rgba(0, 240, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #00f0ff;
}

.detail-item strong {
    display: block;
    color: #00f0ff;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.register-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, #00f0ff, #ff2d75);
    color: #0a0a20;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 
        0 5px 15px rgba(0, 240, 255, 0.4),
        0 0 10px rgba(255, 45, 117, 0.3);
    position: relative;
    overflow: hidden;
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(0, 240, 255, 0.6),
        0 0 15px rgba(255, 45, 117, 0.5);
}

.register-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right, 
        transparent 45%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 55%
    );
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

.robot-icon {
    position: absolute;
    opacity: 0.1;
    z-index: -1;
}

.robot-1 {
    top: 20px;
    right: 20px;
    font-size: 5rem;
    animation: float-robot-1 8s ease-in-out infinite;
}

.robot-2 {
    bottom: 30px;
    left: 30px;
    font-size: 4rem;
    animation: float-robot-2 7s ease-in-out infinite 1s;
}

@keyframes float-robot-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(5deg); }
    50% { transform: translate(-5px, 10px) rotate(-5deg); }
    75% { transform: translate(15px, 5px) rotate(3deg); }
}

@keyframes float-robot-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-10px, 15px) rotate(-5deg); }
    50% { transform: translate(5px, -10px) rotate(5deg); }
    75% { transform: translate(-15px, -5px) rotate(-3deg); }
}

@media (max-width: 768px) {
    .card-title {
        font-size: 2rem;
    }
    
    .details {
        grid-template-columns: 1fr;
    }
    
    .robotics-card {
        padding: 1.5rem;
    }
}

/* Event-specific styles */
.event-hero {
    background: 
        linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.7)),
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.4) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23667eea" opacity="0.1" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.event-hero::before {
    content: '🏆';
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 8rem;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.event-hero::after {
    content: '🤖';
    position: absolute;
    bottom: 15%;
    left: 5%;
    font-size: 6rem;
    opacity: 0.1;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
    position: relative;
}

.event-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00f0ff, #ff2d75);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

.event-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.event-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.badge {
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-primary {
    background: linear-gradient(45deg, #00f0ff, #0080ff);
    color: white;
}

.badge-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.event-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #00f0ff, #ff2d75);
}

.info-card h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin: 1.5rem 0 0.5rem 0;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.quick-info {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.quick-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.quick-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.quick-info-item span {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.register-now-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(45deg, #00f0ff, #ff2d75);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1.5rem;
}

.register-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.4);
}

.competition-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
    border-left: 4px solid #00f0ff;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00f0ff, #ff2d75);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: #00f0ff;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.prize-pool {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.prize-amount {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.contact-organizers {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-item span {
    margin-right: 1rem;
    font-size: 1.1rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes glow {
    0% { filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.7)); }
    100% { filter: drop-shadow(0 0 20px rgba(255, 45, 117, 0.7)); }
}

@media (max-width: 768px) {
    .event-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .event-title {
        font-size: 2.5rem;
    }
    
    .sidebar {
        position: static;
    }
    
    .competition-categories {
        grid-template-columns: 1fr;
    }
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



.gallery-container {
      width: fit-content;
      margin: 40px auto;
    }

    /* Filter buttons */
    .filter-buttons {
      text-align: center;
      margin-bottom: 30px;
    }

    .filter-buttons button {
      background: none;
      border: 1px solid #ddd;
      padding: 8px 18px;
      border-radius: 8px;
      margin: 0 5px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .filter-buttons button.active,
    .filter-buttons button:hover {
      background: #0b0b2e;
      color: #fff;
      border-color: #0b0b2e;
    }

    


    .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Auto columns */
    grid-auto-rows: minmax(280px, 1fr); /* Auto row height */
    gap: 10px;
    min-height: 0; /* Important for grid items to respect row heights */
}


    /* Card styling */
    .card {
      max-width: fit-content;
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }

    .card:hover {
      transform: translateY(-5px);
    }

    .card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .card-content {
      padding: 15px;
    }

    .card h3 {
      margin: 0 0 10px;
      font-size: 1.2rem;
    }

    .card p {
      font-size: 0.95rem;
      color: #666;
      margin-bottom: 10px;
    }

    /* Year tag */
    .year-tag {
      position: absolute;
      top: 12px;
      right: 12px;
      background: #f1f1f1;
      color: #333;
      padding: 4px 10px;
      font-size: 0.8rem;
      border-radius: 20px;
    }

    .card-wrapper {
      position: relative;
    }

    /* Category badge */
    .badge {
      display: inline-block;
      font-size: 0.75rem;
      padding: 4px 10px;
      background: #eee;
      border-radius: 12px;
      margin-top: 8px;
    }

    .hidden {
      display: none;
    }



    header {
      background: #0b0b2e;
      color: #fff;
      text-align: center;
      padding: 20px;
    }

    header h1 {
      margin: 0;
      font-size: 1.8rem;
    }

    .gallery-container {
      width: 90%;
      margin: 30px auto;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .gallery-grid img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.15);
      transition: transform 0.3s ease;
      cursor: pointer;
    }

    .gallery-grid img:hover {
      transform: scale(1.05);
    }

    /* Back button */
    .back-btn {
      display: inline-block;
      margin: 20px 0;
      padding: 8px 16px;
      background: #0b0b2e;
      color: #fff;
      text-decoration: none;
      border-radius: 8px;
      transition: background 0.3s ease;
    }

    .back-btn:hover {
      background: #22225a;
    }



    #timer-box {
    font-size: 2.5rem;
    font-weight: bold;
    color: #d32f2f;
    margin-bottom: 20px;
    background: white;
    padding: 15px 40px;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    width: 350px;
    text-align: center;
  }
  #live-match-box {
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding: 30px;
    border-radius: 10px;
    width: 350px;
    text-align: center;
    margin-bottom: 30px;
  }
  #live-match-box h2 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    color: #0d47a1;
  }
  #live-match-box .teams {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
  #live-match-box .score {
    font-size: 3rem;
    font-weight: bold;
    color: #1976d2;
    margin-bottom: 10px;
  }
  #login-form, #match-editor {
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    padding: 20px;
    border-radius: 8px;
    width: 350px;
    margin-bottom: 20px;
  }
  #login-form input, #match-editor input {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
  }
  #login-form button, #match-editor button {
    width: 100%;
    padding: 10px;
    background-color: #0d47a1;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  #login-form button:hover, #match-editor button:hover {
    background-color: #1565c0;
  }
  #user-info {
    margin-bottom: 10px;
    font-weight: bold;
    color: #0d47a1;
    text-align: center;
    width: 350px;
  }
  #clear-btn {
    background-color: #e53935;
    margin-top: 10px;
  }
  #clear-btn:hover {
    background-color: #d32f2f;
  }
  #timer-controls button {
    width: 32%;
    margin: 5px 1%;
    font-weight: bold;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #0d47a1;
    color: white;
    cursor: pointer;
  }
  #timer-controls button:hover {
    background-color: #1565c0;
  }

  .center{
    align-items: center;
  }

  .current-run-box{
    font-size: 2.5rem;
    font-weight: bold;
    color: #d32f2f;
    margin-bottom: 20px;
    background: white;
    padding: 15px 40px;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    width: 350px;
    text-align: center;
  }