/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, 'Courier New', Courier, monospace, 'Segoe UI', sans-serif;
    background: #011c4e;
    color: #ffffff;
    min-height: 100vh;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
}

/* Back to Portfolio Link */
a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 2rem;
    position: absolute;
    top: 2rem;
    left: 2rem;
    transition: color 0.3s ease;
}

a:hover {
    color: #7877c6;
}

/* Main heading */
h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 300;
    margin-top: 4rem; 
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
    align-items: center;
}

/* Contact container with glass effect */
.contact-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1rem;
    max-width: 600px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Contact info section */
.contact-info {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Form styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

input, textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    color: #ffffff;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #48ebf7;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(120, 119, 198, 0.3);
}

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

/* Submit button */
button {
    background: linear-gradient(135deg, #2aa0c1, #080746);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

button:hover {
    background: linear-gradient(135deg, #306df2, #36b8ecc0);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(120, 119, 198, 0.4);
}

button:active {
    transform: translateY(0);
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    .contact-container {
        padding: 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}
