:root {
    --accent-color: #535252;
    --line-color: rgb(187, 188, 189);
    --text: #000000;
    --btn-color: rgb(54, 145, 219);
    --text-on-btn: #ffffff;
}

.contact-info {
    color: var(--accent-color);
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    padding-top: 12px;
}

.contact-content{
    color: #000;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-top:4px;
}

#contact{
    padding-bottom: 128px;
}

/* ---- Card container ---- */
.contact-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
    width: 100%;
    max-width: 640px;
}

/* Hidden CSRF input shouldn't occupy a grid cell */
.contact-form > input[type="hidden"] {
    display: none;
}

/* The textarea field and submit button span both columns */
.contact-form > div:has(textarea),
.contact-form > button[type="submit"] {
    grid-column: 1 / -1;
}

/* ---- Labels ---- */
.contact-form label {
    display: block;
    font-weight: 600;
    color: #0b1437;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Required asterisk (crispy renders this as .asteriskField) */
.contact-form .asteriskField {
    color: #ef4444;
    margin-left: 2px;
    text-decoration: none;
}

/* ---- Inputs / textarea ---- */
.contact-form .form-control {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #0b1437;
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form .form-control::placeholder {
    color: #9ca3af;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--btn-color);
    box-shadow: 0 0 0 3px rgba(54, 145, 219, 0.15);
}

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

/* ---- Submit button ---- */
.contact-form button[type="submit"] {
    justify-self: start;
    background: var(--btn-color);
    color: var(--text-on-btn);
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1.75rem;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease;
}

.contact-form button[type="submit"]:hover {
    background: var(--btn-color);
}

.contact-form button[type="submit"]:active {
    transform: translateY(1px);
}

/* ---- Mobile: single column ---- */
@media (max-width: 640px) {
    .contact-form {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        border-radius: 12px;
    }
}



/* Copy rights */
.copyrights {
    padding: 20px 0;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.content{
    margin-top: 48px;
}