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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: #0b0b0f; /* Deep space black */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Prvents scroll due to absolute stars */
}

/* Starry Background Container */
#stars-container {
    position: fixed;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at center, #1b1c2b 0%, #050508 100%);
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
    transition: transform 0.1s ease-out;
}

/* Glowing effect for specific stars */
.star.glow {
    animation: twinkle 3s infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Content Area */
.content {
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    padding: 16px 48px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.35);
    background-color: #f0f0f0;
}

.btn:active {
    transform: translateY(1px);
}

/* Contact Form Formats */
.contact-box {
    background: rgba(25, 25, 35, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #b0b0c0;
    font-weight: 400;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

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

.btn-submit {
    width: 100%;
    cursor: pointer;
    border: none;
    margin-top: 10px;
}

/* Form Messages */
.message {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 400;
}

.message.success {
    background: rgba(46, 213, 115, 0.15);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: #2ed573;
}

.message.error {
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

/* Contact Info below form */
.contact-info {
    margin-top: 30px;
    font-size: 1rem;
    color: #a0a0b0;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-info a:hover {
    color: #e0e0f0;
    border-color: #fff;
}

/* Language Switch */
.lang-switch {
    position: absolute;
    top: 25px;
    right: 40px;
    z-index: 100;
    font-size: 0.95rem;
}

.lang-switch a {
    color: #a0a0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lang-switch a:hover, .lang-switch a.active {
    color: #ffffff;
}

.lang-switch .separator {
    color: #555555;
    margin: 0 8px;
}

@media (max-width: 600px) {
    .lang-switch {
        top: 15px;
        right: 20px;
        font-size: 0.85rem;
    }
}
