/* ============================
   CONTACT PAGE – Biogenic Labs (Sleek Modern)
   ============================ */

:root {
    --accent: #2e3192;
    --accent-dark: #1f2170;
    --bg-light: #f7f9fc;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: var(--text-dark);
}

/* --- Main Section --- */
.site-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 160px); /* adjust for header/footer */
    padding: 2rem 1rem;
}

/* --- Contact Card --- */
.contact-section {
    max-width: 480px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.8rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* --- Title + Intro --- */
.page-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #2e3192
}

.contact-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* --- Form --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-dark);
    background: #fafafa;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(46, 49, 146, 0.15);
    background: #fff;
}

/* --- Move submit button slightly up --- */
.contact-form .form-group:last-child {
    margin-bottom: 0.5rem;
}

.contact-form .btn {
    margin-top: 0;
    align-self: center;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    transition: all 0.25s ease;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    box-shadow: 0 6px 15px rgba(46, 49, 146, 0.25);
}

.contact-form .btn:active {
    transform: scale(0.98);
}

/* --- Responsive --- */
@media (max-width: 480px) {
    .contact-section {
        padding: 1.8rem 1.2rem;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .contact-form .btn {
        width: 100%;
    }
}
