/* General Styles */
:root {
    --primary-color: #4a90e2; /* Softer blue */
    --secondary-color: rgba(10, 25, 47, 0.8); /* Semi-transparent dark navy */
    --background-color: transparent; /* Transparent background */
    --text-color: #ccd6f6; /* Light gray */
    --light-text-color: #ffffff; /* White */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Space Background */
.space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    overflow: hidden;
}

/* Floating Stars */
.floating-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-stars span {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: floatAround linear infinite, glow 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Floating Around Animation */
@keyframes floatAround {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, 20px);
    }
    50% {
        transform: translate(-20px, 20px);
    }
    75% {
        transform: translate(-20px, -20px);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Glowing Animation */
@keyframes glow {
    0%, 100% {
        opacity: 0.8;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 40px rgba(255, 255, 255, 0.8);
    }
}

/* Header Styles */
header {
    background-color: rgba(10, 25, 47, 0);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light-text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--light-text-color);
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    transform: scaleX(1);
}

/* Hero Section */
.hero {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: transparent;
    color: var(--light-text-color);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeIn 2s ease-in-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--light-text-color);
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* Contact Form Section */
.contact-form {
    padding: 4rem 2rem;
    text-align: center;
    background-color: transparent;
    color: var(--text-color);
}

.contact-form h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light-text-color);
}

.contact-form .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.contact-form form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    background-color: transparent;
    color: var(--light-text-color);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group label {
    position: absolute;
    top: 0.75rem;
    left: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.75rem;
    font-size: 0.875rem;
    color: var(--primary-color);
}

.form-group .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.form-group input:focus ~ .underline,
.form-group textarea:focus ~ .underline {
    transform: scaleX(1);
    transform-origin: left;
}

.cta {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Social Media Section */
.social-media {
    padding: 4rem 2rem;
    text-align: center;
    background-color: transparent;
    color: var(--text-color);
}

.social-media h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light-text-color);
}

.social-media .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icons a {
    color: var(--light-text-color);
    font-size: 2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Footer Section */
footer {
    background-color: rgba(10, 25, 47, 0);
    padding: 2rem;
    text-align: center;
    color: var(--light-text-color);
    margin-top: 4rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-in {
    animation: fadeInUp 1s ease-in-out;
}