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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0c0c1e 0%, #1a1a2e 50%, #16213e 100%);
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated Star Background */
.stars-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: transparent;
}

.stars-background::before,
.stars-background::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.stars-background::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    box-shadow: 
        100px 200px #ffffff,
        300px 100px #ffffff,
        500px 300px #ffffff,
        700px 150px #ffffff,
        900px 250px #ffffff,
        200px 400px #ffffff,
        600px 450px #ffffff,
        800px 350px #ffffff,
        400px 500px #ffffff,
        1000px 400px #ffffff,
        150px 600px #ffffff,
        350px 650px #ffffff,
        750px 600px #ffffff,
        950px 550px #ffffff,
        50px 750px #ffffff,
        450px 800px #ffffff,
        650px 750px #ffffff,
        850px 700px #ffffff;
}

.stars-background::after {
    top: 30%;
    left: 20%;
    animation-delay: 1.5s;
    box-shadow: 
        80px 180px #ffffff,
        280px 80px #ffffff,
        480px 280px #ffffff,
        680px 130px #ffffff,
        880px 230px #ffffff,
        180px 380px #ffffff,
        580px 430px #ffffff,
        780px 330px #ffffff,
        380px 480px #ffffff,
        980px 380px #ffffff,
        130px 580px #ffffff,
        330px 630px #ffffff,
        730px 580px #ffffff,
        930px 530px #ffffff,
        30px 730px #ffffff,
        430px 780px #ffffff,
        630px 730px #ffffff,
        830px 680px #ffffff;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Gradient Planets Background */
.planets-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.planets-background::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #ff6b6b 0%, #ee5a24 50%, #d63031 100%);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.planets-background::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #74b9ff 0%, #0984e3 50%, #2d3436 100%);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 8s ease-in-out infinite reverse;
}

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

/* Glow Effects */
.glow-text {
    text-shadow: 0 0 10px #74b9ff, 0 0 20px #74b9ff, 0 0 30px #74b9ff;
    color: #ffffff;
}

.glow-link {
    color: #74b9ff;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #74b9ff;
}

.glow-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #74b9ff, 0 0 20px #74b9ff, 0 0 30px #74b9ff;
}

.glow-button {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(116, 185, 255, 0.3);
}

.glow-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(116, 185, 255, 0.6);
    text-shadow: 0 0 10px #ffffff;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.95) 0%, rgba(12, 12, 30, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-right: 2px solid rgba(116, 185, 255, 0.3);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
}

.nav-header {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid rgba(116, 185, 255, 0.3);
    margin-bottom: 30px;
}

.nav-header h2 {
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: 0 0 15px #74b9ff;
}

.nav-links {
    list-style: none;
    padding: 0;
}

.nav-links li {
    margin: 10px 0;
}

.nav-link {
    display: block;
    padding: 15px 30px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 1.1rem;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(116, 185, 255, 0.1);
    border-left: 3px solid #74b9ff;
    text-shadow: 0 0 10px #74b9ff;
    box-shadow: inset 0 0 20px rgba(116, 185, 255, 0.2);
}

/* Main Content */
.main-content {
    margin-left: 250px;
    min-height: 100vh;
    padding: 40px;
    position: relative;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

.main-title {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #74b9ff, #ffffff, #74b9ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(116, 185, 255, 0.2);
}

.article-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #74b9ff;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Location Cards */
.location-card {
    background: rgba(116, 185, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    border: 1px solid rgba(116, 185, 255, 0.3);
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(116, 185, 255, 0.2);
}

.location-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.location-details p {
    margin-bottom: 10px;
}

.location-details ul {
    margin-top: 10px;
}

/* Contact Form */
.contact-form-container {
    background: rgba(12, 12, 30, 0.8);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(116, 185, 255, 0.3);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid rgba(116, 185, 255, 0.3);
    border-radius: 8px;
    background: rgba(26, 26, 46, 0.8);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #74b9ff;
    box-shadow: 0 0 15px rgba(116, 185, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    justify-self: center;
    width: fit-content;
    margin-top: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    padding: 10px 20px;
    background: rgba(116, 185, 255, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(116, 185, 255, 0.3);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(116, 185, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .side-nav {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 2px solid rgba(116, 185, 255, 0.3);
    }
    
    .nav-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        padding: 20px;
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .nav-link {
        padding: 10px 15px;
        border-radius: 20px;
        border-left: none;
        border: 1px solid rgba(116, 185, 255, 0.3);
        text-align: center;
        min-width: 120px;
    }
    
    .nav-link:hover,
    .nav-link.active {
        border: 1px solid #74b9ff;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .contact-form {
        gap: 15px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .location-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .article-content p,
    .article-content li {
        font-size: 1rem;
    }
    
    .nav-header h2 {
        font-size: 1.3rem;
    }
    
    .planets-background::before {
        width: 100px;
        height: 100px;
    }
    
    .planets-background::after {
        width: 70px;
        height: 70px;
    }
}

/* Mobile Navigation Toggle (for future enhancement) */
@media (max-width: 768px) {
    .nav-header {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
    }
}

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(12, 12, 30, 0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #0984e3, #74b9ff);
}

