/* ============================================
   CONTACT PAGE
   ============================================ */

/* 1. HERO HEADER */
.contact-hero {
    background-color: var(--bg-light);
    padding: 50px 20px 30px;
    text-align: center;
}

.contact-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary);
    line-height: 1.2;
}

.contact-hero-sub {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text);
}

/* 2. SECTION BACKGROUND — scoped so navbar is untouched */
.contact-section {
    background-color: #f4f7f6;
    padding: 30px 20px 60px;
    display: flex;
    justify-content: center;
}

/* 3. SIDE BY SIDE WRAPPER */
.contact-wrapper {
    width: 95%;
    max-width: 1100px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

/* 4. LEFT: INFO BOX */
.contact-info-box {
    background: linear-gradient(135deg, #1a3a63 0%, #2c5aa0 100%);
    border-radius: 18px;
    padding: 40px 32px;
    color: #ffffff;
    text-align: center;
    flex: 0 0 320px;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
    color: #ffffff;
}

.contact-info-sub {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.88;
    margin-bottom: 28px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-info-item i {
    font-size: 1rem;
    opacity: 0.85;
    width: 20px;
    text-align: center;
}

/* 5. RIGHT: CARD */
.contact-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px 50px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    flex: 1;
}

/* 6. TITLE */
.contact-form-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.5px;
}

/* 7. FIELDS */
.contact-field {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 15px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.contact-required {
    color: #e74c3c;
    margin-left: 2px;
}

/* 8. INPUTS */
.contact-input {
    width: 100%;
    padding: 11px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.contact-input:focus {
    border-color: #0070ba;
    box-shadow: 0 0 0 3px rgba(0, 112, 186, 0.12);
}

.contact-input--error {
    border-color: #e74c3c;
}

.contact-input--error:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

.contact-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* 9. CHARACTER COUNTER */
.contact-char-count {
    font-size: 12px;
    color: #999;
    text-align: right;
    margin-top: 3px;
}

/* 10. ERRORS */
.contact-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
    display: block;
}

.contact-error--general {
    background-color: #fdf0ef;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 12px;
    font-size: 14px;
    text-align: center;
}

/* 11. CONSENT */
.contact-consent-group {
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-consent-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #0070ba;
    flex-shrink: 0;
    cursor: pointer;
}

.contact-consent-label {
    font-size: 13.5px;
    color: #555;
    line-height: 1.6;
    cursor: pointer;
}

/* 12. SUBMIT BUTTON */
.contact-submit-btn {
    width: 100%;
    background-color: #0070ba;
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.1s ease;
    margin-top: 6px;
}

.contact-submit-btn:hover {
    background-color: #005a9e;
}

.contact-submit-btn:active {
    transform: scale(0.98);
}

/* 13. SUCCESS MESSAGE */
.contact-success-msg {
    color: #2e7d32;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    margin-top: 14px;
    padding: 14px;
    background-color: #f0faf0;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
}

/* 14. PRIVACY NOTE */
.contact-privacy-note {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: #888;
}

.contact-privacy-note a {
    color: #0070ba;
    text-decoration: none;
}

.contact-privacy-note a:hover {
    text-decoration: underline;
}

/* 15. RESPONSIVE */
@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info-box {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .contact-hero-title {
        font-size: 26px;
    }

    .contact-card {
        padding: 25px 20px;
    }

    .contact-form-title {
        font-size: 22px;
    }

    .contact-submit-btn {
        font-size: 15px;
        padding: 13px;
    }
}