/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary-purple: #6a0dad;
    --dark-purple: #2a0845;
    --light-purple: #9d4edd;
    --text-white: #ffffff;
    --text-muted: #e0e0e0;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --neon-purple: #c77dff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--dark-purple), var(--primary-purple));
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(42, 8, 69, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo span {
    color: var(--neon-purple);
}

.menu {
    display: flex;
    gap: 2rem;
}

.menu a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.menu a:hover {
    color: var(--neon-purple);
}

.menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--neon-purple);
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}

/* Main Content */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 120px 5% 50px;
    min-height: 100vh;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
    animation: slideInLeft 1s ease forwards;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Form Container */
.form-container {
    flex: 1;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideInRight 1s ease forwards;
}

.form-container h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    text-align: center;
    color: var(--neon-purple);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 10px rgba(199, 125, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

select.form-control option {
    background: var(--dark-purple);
    color: var(--text-white);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, var(--primary-purple), var(--light-purple));
    border: none;
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(157, 78, 221, 0.4);
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}
.alert.success {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid #2ecc71;
    color: #2ecc71;
    display: block;
}
.alert.error {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    color: #e74c3c;
    display: block;
}

/* Animations */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding-top: 100px;
    }
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    .menu {
        display: none; /* Add hamburger menu logic for mobile later */
    }
}
