.contact-section {
    background-color: #1E1E3D;
    padding: 4rem 2rem;
    color: white;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(127, 140, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #A88BFF;
    box-shadow: 0 0 12px rgba(168, 139, 255, 0.3);
}

.contact-form label {
    position: absolute;
    left: 12px;
    top: 14px;
    background-color: #1E1E3D;
    padding: 0 4px;
    color: #aaa;
    font-size: 16px;
    pointer-events: none;
    transition: 0.2s ease all;
}

.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: #A2B1FF;
}

.contact-form button {
    background-color: #5A5A9E;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 8px rgba(127, 140, 255, 0.2);
    width: 626px;
}

.contact-form button:hover {
    background-color: #7578DA;
    box-shadow: 0 0 18px rgba(127, 140, 255, 0.35);
}