:root {
    --primary: #0a1f44;
    --secondary: #4a6fa5;
    --accent: #ff9e1b;
    --text-light: #f8f9fa;
    --text-dark: #212529;
    --neon-glow: 0 0 10px rgba(255, 158, 27, 0.8), 0 0 20px rgba(255, 158, 27, 0.6);
    --text-glow: 0 0 5px #fff, 0 0 10px var(--accent);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100vw;
    height: 100vh;
}

body {
    color: var(--text-light);
    background: radial-gradient(ellipse at bottom, #0a1020 0%, #000000 100%);
    font-family: 'Orbitron', 'Segoe UI', sans-serif !important;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s, visibility 1s;
    text-align: center;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 15px rgba(255, 158, 27, 0.7));
}

.loading-text {
    color: var(--accent);
    font-size: 1.8rem;
    text-shadow: var(--neon-glow);
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-family: 'Orbitron', 'Segoe UI', sans-serif !important;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--accent), #ff6b1b);
    box-shadow: var(--neon-glow);
    animation: loadProgress 2s forwards;
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* ===== INTERACTIVE SPACE BACKGROUND ===== */
#universe {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

#stars {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.5s ease-out;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle var(--duration) infinite ease-in-out;
    transform: translateZ(0);
    will-change: transform, opacity;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.shooting-star {
    position: absolute;
    width: 150px;
    height: 3px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0) 100%);
    transform-origin: left center;
    opacity: 0;
    z-index: 1;
}

.shooting-star::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    transform: translate(50%, -50%);
    box-shadow: 0 0 15px 3px white;
}

.planet {
    position: absolute;
    border-radius: 50%;
    filter: drop-shadow(var(--neon-glow));
    will-change: transform;
    transition: transform 0.1s linear;
}

.constellation {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 5px 1px white;
}

.constellation-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    height: 2px;
    transform-origin: left center;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: rgba(17, 17, 17, 1);
    padding: 15px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    width: 100%;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s;
    pointer-events: none;
}

.logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 8px var(--accent));
    transition: transform 0.3s;
}

.logo:hover img {
    transform: rotate(5deg);
}

.logo-text h1 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light);
    white-space: nowrap;
}

.logo-text p {
    margin: 3px 0 0;
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
}

nav ul li a:hover {
    color: var(--accent);
    text-shadow: var(--neon-glow);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    box-shadow: var(--neon-glow);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.hero {
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h2 {
    font-size: clamp(3rem, 6vw, 3.8rem);
    margin: 0 0 25px;
    line-height: 1;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #ffb347, #ff9e1b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    letter-spacing: 1px;
    font-family: 'Orbitron', 'Segoe UI', sans-serif !important;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 600px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.btn-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    background-color: var(--accent);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(255, 158, 27, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 158, 27, 0.6);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    transition: width 0.4s;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--text-light);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--primary);
}

.section {
    padding: 140px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 3.2rem;
    margin: 0 0 20px;
    color: var(--accent);
    font-weight: 700;
    text-shadow: var(--neon-glow);
    letter-spacing: 1px;
}

.section-title p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== INTERACTIVE FEATURE CARDS ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 35px;
    transition: all 0.5s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 158, 27, 0.15) 0%, rgba(255, 158, 27, 0) 70%);
    transform: scale(0);
    transition: transform 0.8s;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 158, 27, 0.5);
}

.feature-card:hover::before {
    transform: scale(1);
}

.feature-icon {
    font-size: 3.2rem;
    color: var(--accent);
    margin-bottom: 25px;
    text-shadow: var(--neon-glow);
    transition: all 0.4s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
}

.feature-card h3 {
    font-size: 1.7rem;
    margin: 0 0 20px;
    font-weight: 600;
}

.feature-card p {
    line-height: 1.8;
    margin: 0;
}


.events-slider {
    display: flex;
    overflow-x: auto;
    gap: 40px;
    padding: 30px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
}

.events-slider:active {
    cursor: grabbing;
}

.events-slider::-webkit-scrollbar {
    display: none;
}

.event-card {
    min-width: 350px;
    background-color: rgba(10, 31, 68, 0.85);
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: start;
    transition: all 0.5s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.event-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 158, 27, 0.5);
}

.event-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s;
}

.event-card:hover .event-image {
    transform: scale(1.1);
}

.event-details {
    padding: 30px;
}

.event-date {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.event-date i {
    font-size: 1.1rem;
}

.event-card h3 {
    margin: 0 0 15px;
    font-size: 1.6rem;
    font-weight: 600;
}

.event-card p {
    margin: 0 0 25px;
    line-height: 1.8;
}


footer {
    background-color: rgba(10, 31, 68, 0.95);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 30px;
    font-size: 1.6rem;
    font-weight: 600;
    text-shadow: var(--neon-glow);
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(8px);
    text-shadow: var(--neon-glow);
}

.footer-links a i {
    font-size: 0.9rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 1.05rem;
}

.contact-info i {
    color: var(--accent);
    width: 24px;
    text-align: center;
    text-shadow: var(--neon-glow);
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}


@media (max-width: 1200px) {
    .hero h2 {
        font-size: clamp(2.8rem, 6vw, 4rem);
    }

    .section-title h2 {
        font-size: 2.8rem;
    }
}

@media (min-width: 992px) {
    
    .hero {
        padding: 100px 0 60px;
        min-height: 100vh !important;
    }

}

@media (max-width: 992px) {

    header {
        position: sticky !important;
    }

    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .btn-container {
        justify-content: center;
    }

    .section {
        padding: 100px 0;
    }
}

@media (max-width: 1400px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
}

.menu-toggle,
.menu_toggle_inNav {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 0;
    position: absolute;
    top: 20px;
    right: 20px;
}

.menu_toggle_inNav {
    color: black !important;
}

@media (max-width: 990px) {

    .menu-toggle,
    .menu_toggle_inNav {
        display: block;
    }

    header {
        position: sticky !important;
    }

    .header-content {
        flex-direction: row !important;
        align-items: center;
        justify-content: center;
    }

    .header-content nav {
        transform: translate(100%, 0%);
        width: 100%;
        height: 100vh;
        max-width: 400px;
        background-color: white;
        color: black !important;
        position: absolute;
        top: 0;
        right: 0px;
        transition: transform 0.3s ease, opacity 0.3s ease 0.1s;
        display: none;
        opacity: 0;
    }
    
    .header-content nav.active {
        opacity: 1;
        display: block;
        transform: translate(0%, 0%);
    }

    nav ul {
        gap: 25px;
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        align-items: center;
        height: 100%;
        width: 100%;
    }

    nav ul li a {
        color: #000;
        text-decoration: none;
        font-weight: 500;
        font-size: 1rem;
        transition: all 0.3s;
        position: relative;
        padding: 5px 0;
        white-space: nowrap;
    }

    .hero h2 {
        white-space: normal;
        line-height: 1.2;
    }

    .section-title h2 {
        font-size: 2.4rem;
    }

    .feature-card {
        padding: 30px;
    }

    .event-card {
        min-width: 280px;
    }
}

@media (max-width: 576px) {
    .logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .logo img {
        height: 50px;
    }

    .hero h2 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

