/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #060515 0%, #0A0A1A 100%);
    background-attachment: fixed;
    color: #EAFBFF;
    line-height: 1.6;
    overflow-x: hidden;
    
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3AD0F3;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #EAFBFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    
}

.nav-links a:hover {
    color: #3AD0F3;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #EAFBFF;
    margin: 3px 0;
    transition: 0.3s;
}

/* Glassmorphism on scroll */
.navbar-scrolled {
    background: rgba(10, 18, 42, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(64, 73, 153, 0.3);
}

/* Hero Section */
#hero {
   /* height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #EAFBFF;
    text-shadow: 0 0 20px rgba(58, 208, 243, 0.3);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #8FA3B0;
}

.event-details p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #EAFBFF;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.countdown-item {
    background: rgba(10, 10, 26, 0.8);
    border: 2px solid #3AD0F3;
    background: rgba(10, 18, 42, 0.96);
    border: 2px solid rgba(58, 208, 243, 0.16);
    border-radius: 10px;
    padding: 20px;
    min-width: 100px;
    box-shadow: 0 0 20px rgba(58, 208, 243, 0.2);
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: #3AD0F3;
}

.countdown-label {
    display: block;
    font-size: 0.9rem;
    color: #8FA3B0;
    margin-top: 5px;
}

.hero-glow-text {
    font-size: 1.5rem;
    color: #EAFBFF;
    text-shadow: 0 0 15px rgba(58, 208, 243, 0.5);
    margin-top: 30px;
}

/* Animated Background 
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(58, 208, 243, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(1, 44, 124, 0.1) 0%, transparent 50%);
    animation: backgroundMove 20s ease-in-out infinite;
}*/
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 18%, rgba(58, 208, 243, 0.14), transparent 26%),
    radial-gradient(circle at 80% 10%, rgba(208, 250, 252, 0.1), transparent 18%);
  pointer-events: none;
}

.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.12;
    background-image:
        radial-gradient(circle, rgba(58, 208, 243, 0.16) 1px, transparent 1px),
        radial-gradient(circle, rgba(234, 251, 255, 0.08) 1px, transparent 1px);
    background-size: 120px 120px, 220px 220px;
    background-position: 0 0, 60px 80px;
    animation: particleDrift 80s linear infinite;
}

@keyframes particleDrift {
    from { background-position: 0 0, 60px 80px; }
    to { background-position: 120px 120px, 0 0; }
}

/* Sections */
section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
    
}


section.visible {
    opacity: 1;
    transform: translateY(0);
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #EAFBFF;
}
section h2::after {
    content: '';
    display: block;
    margin: 18px auto 0;
    width: 84px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #3AD0F3 0%, rgba(58, 208, 243, 0.25) 100%);
}
    /* Video Section */
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 470px;
    border: 2px solid rgba(58, 208, 243, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(58, 208, 243, 0.2);
}

.video-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}
.video-container {
    width: 50%;
    max-width: 300px;
    margin: 0 auto;
    border: 2px solid rgba(58, 208, 243, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(58, 208, 243, 0.2);
}

.video-container iframe,
.video-container video {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 9;
    border: none;
}

/* About Section */
#about{
        background: radial-gradient(circle at 20% 80%, rgba(58, 208, 243, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(1, 44, 124, 0.1) 0%, transparent 50%);

  inset: 0;
  background: radial-gradient(circle at 20% 18%, rgba(58, 208, 243, 0.14), transparent 26%),
    radial-gradient(circle at 80% 10%, rgba(208, 250, 252, 0.1), transparent 18%);
  pointer-events: none;
}
#about p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #EAFBFF;
}

#about ul {
    list-style: none;
    text-align: center;
}

#about li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #8FA3B0;
}


/* Activities Section */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.activity-card {
    background: rgba(10, 10, 26, 0.8);
    background: rgba(10, 18, 42, 0.96);
    border: 2px solid rgba(58, 208, 243, 0.16);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow:  0 34px 120px rgba(0, 115, 170, 0.16);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(58, 208, 243, 0.2);
}

.activity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #EAFBFF;
}

.activity-card p {
    color: #8FA3B0;
}

/* Sponsors Section */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.sponsor-item {
    background: rgba(10, 10, 26, 0.8);
    background: rgba(10, 18, 42, 0.96);
    border: 2px solid rgba(58, 208, 243, 0.16);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease;
    box-shadow:  0 34px 120px rgba(0, 115, 170, 0.16);
}

.sponsor-item:hover {
    transform: translateY(-5px);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(58, 208, 243, 0.2);
}

.sponsor-logo {
    font-size: 2rem;
    font-weight: 700;
    color: #3AD0F3;
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sponsor-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo img {
    width: 220%;
    height: 130%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(58, 208, 243, 0.3));
    transition: transform 0.3s ease;
}

.sponsor-item:hover .sponsor-logo img {
    transform: scale(1.1);
}
.sponsor-item p {
    color: #EAFBFF;
    font-weight: 500;
}

/* Gallery Section */
.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1080px;
    margin: 0 auto;
}

.gallery-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    box-shadow: 0 34px 120px rgba(0, 115, 170, 0.16);
    width: 100%;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.gallery-slider img {
    flex-shrink: 0;
    width: min(70vw, 640px);
    min-width: 280px;
    border-radius: 10px;
    scroll-snap-align: start;
    object-fit: cover;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 1px solid rgba(58, 208, 243, 0.28);
    border-radius: 50%;
    background: rgba(10, 10, 26, 0.88);
    color: #EAFBFF;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 0 20px rgba(58, 208, 243, 0.14);
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 1;
}

.gallery-arrow:hover {
    transform: translateY(-50%) scale(1.05);
    background: rgba(10, 10, 26, 1);
}

.gallery-arrow::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-top: 2px solid #EAFBFF;
    border-right: 2px solid #EAFBFF;
}

.gallery-arrow.left {
    left: -20px;
}

.gallery-arrow.left::before {
    transform: rotate(-135deg);
}

.gallery-arrow.right {
    right: -20px;
}

.gallery-arrow.right::before {
    transform: rotate(45deg);
}

/* Invitation Section */

  
#invitation h2 {
    font-size: 3rem;
    text-shadow: 0 0 20px rgba(58, 208, 243, 0.3);
}
.container-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    gap: 15px;
}

/* Map Section */
.map-container {
    text-align: center;
}


.map-container img {
    max-width: 100%;
    border-radius: 10px;
    border: 2px solid rgba(58, 208, 243, 0.3);
    box-shadow:  0 34px 120px rgba(0, 115, 170, 0.16);
}

/* Footer */
#footer {
    background: rgba(10, 10, 26, 0.9);
    text-align: center;
    padding: 30px 0;
}

#footer p {
    color: #8FA3B0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes backgroundMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 70%;
        max-width: 320px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 25px;
        padding: 100px 24px 24px;
        background: rgba(10, 10, 26, 0.94);
        backdrop-filter: blur(14px);
        transform: translateX(100%);
        transition: transform 0.35s ease, opacity 0.35s ease;
        opacity: 0;
        pointer-events: none;
        z-index: 1001;
    }
    
    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
    }
    
    .nav-links a {
        font-size: 1rem;
        width: 100%;
        text-align: right;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .countdown {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 15px;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsors-grid {
        grid-template-columns: 1fr;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    #invitation h2 {
        font-size: 2rem;
    }
    
    .gallery-arrow.left {
        left: 4px;
    }
    
    .gallery-arrow.right {
        right: 4px;
    }
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #3AD0F3;
}

/* logo image */
.nav-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
}
.nav-logo span {
    letter-spacing: 1px;
}