body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6; color: #1e293b;
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
.contact-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-sizing: border-box;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    align-self: center;
    margin-top: 120px;
    margin-bottom: 60px;
}
h1 { 
    font-size: 2.5rem; margin-bottom: 10px; text-align: center;
    background: linear-gradient(to right, #2563eb, #14b8a6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tagline { text-align: center; margin-bottom: 30px; font-weight: 500; color: #475569; }
.form-group { position: relative; margin-bottom: 20px; text-align: left; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #475569;
    font-size: 0.95rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
button[type="submit"] {
    width: 100%;
    padding: 15px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
button[type="submit"]:hover:not(:disabled) {
    transform: translateY(-2px);
    background: #1d4ed8;
}
button[type="submit"]:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.contact-info {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #475569;
}
@media (max-width: 850px) {
    .contact-container { padding: 25px 20px; margin-top: 100px; width: 95%; }
    h1 { font-size: 2rem; }
}
.feedback-message {
    display: none;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}
.feedback-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.feedback-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}