/* ============================================================
   Contact Us Page – Premium Design (Fixed)
   Colors: #011C08 (dark), #f7a200 (gold), #0a4409 (green)
   Header: 56px fixed | Nav: 36px fixed | Total offset: 92px
   ============================================================ */

/* ---- Hero Banner ---- */
section.contact-hero {
    background: linear-gradient(135deg, #011C08 0%, #0a4409 60%, #1b5e20 100%) !important;
    padding: 70px 20px 110px !important;
    margin-top: 92px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

section.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 15% 60%, rgba(247, 162, 0, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 85% 25%, rgba(247, 162, 0, 0.05) 0%, transparent 38%);
    pointer-events: none;
}

.contact-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.contact-hero-badge {
    display: inline-block;
    background: rgba(247, 162, 0, 0.15);
    color: #f7a200;
    border: 1px solid rgba(247, 162, 0, 0.45);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 100px;
    margin-bottom: 22px;
}

.contact-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 14px;
    line-height: 1.15;
}

.contact-hero h1 span {
    color: #f7a200;
}

.contact-hero>.contact-hero-inner>p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.72) !important;
    margin: 0;
}

/* ---- Main Layout ---- */
.contact-main {
    max-width: 1080px;
    margin: -55px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: start;
}

/* ---- Info Stack (Left Column) ---- */
.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

div.contact-info-card {
    background-color: #011C08 !important;
    border-radius: 12px !important;
    padding: 22px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    border: 1px solid #1b5e20 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

div.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(1, 28, 8, 0.28) !important;
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    background: rgba(247, 162, 0, 0.14) !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f7a200 !important;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-info-text h4 {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.contact-info-text p {
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    line-height: 1.65;
}

/* Gold highlight card */
div.contact-info-card.contact-response-card {
    background: linear-gradient(135deg, #f7a200, #fbc02d) !important;
    border: none !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

div.contact-info-card.contact-response-card .contact-info-icon {
    background: rgba(1, 28, 8, 0.18) !important;
    color: #011C08 !important;
    margin: 0 auto;
    border-radius: 50%;
    width: 38px;
    height: 38px;
}

div.contact-info-card.contact-response-card .contact-info-text h4 {
    color: rgba(1, 28, 8, 0.65) !important;
    margin-bottom: 4px;
}

div.contact-info-card.contact-response-card .contact-info-text p {
    color: #011C08 !important;
    font-size: 18px;
    font-weight: 800;
}

/* ---- Form Card (Right Column) ---- */
.contact-form-card {
    background: #fff;
    border-radius: 14px;
    padding: 38px 40px;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.contact-form-heading {
    font-size: 22px;
    font-weight: 700;
    color: #011C08 !important;
    margin: 0 0 5px;
}

.contact-form-subheading {
    font-size: 13px;
    color: #888;
    margin: 0 0 16px;
}

.form-divider {
    height: 3px;
    width: 46px;
    background: linear-gradient(90deg, #f7a200, #f1d316);
    border-radius: 4px;
    margin-bottom: 24px;
}

/* ---- Form Controls ---- */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #444;
    margin-bottom: 7px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.form-group label .required {
    color: #e53935;
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 7px;
    font-size: 14px;
    outline: none;
    background: #fafafa;
    color: #212121;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.2s;
    font-family: 'Roboto', Arial, sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0a4409;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(10, 68, 9, 0.09);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #e53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.07);
}

.error-msg {
    display: block;
    color: #e53935;
    font-size: 11px;
    margin-top: 4px;
    font-weight: 600;
}

/* ---- Customer / Seller Toggle ---- */
.form-category-tabs {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.category-tab {
    flex: 1;
    padding: 11px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    font-family: 'Roboto', Arial, sans-serif;
}

.category-tab.active {
    border-color: #0a4409;
    background: #f0faf0;
    color: #0a4409;
}

/* ---- Submit Button ---- */
.contact-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #011C08, #0a4409);
    color: #f7a200;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    transition: opacity 0.2s ease, transform 0.15s ease;
    font-family: 'Roboto', Arial, sans-serif;
    box-shadow: 0 4px 14px rgba(1, 28, 8, 0.28);
}

.contact-submit-btn:hover:not(:disabled) {
    opacity: 0.91;
    transform: translateY(-1px);
}

.contact-submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ---- Feedback ---- */
.form-feedback {
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.form-feedback.success {
    background: #f0faf0;
    border: 1.5px solid #a5d6a7;
    color: #2e7d32;
}

.form-feedback.error {
    background: #fff5f5;
    border: 1.5px solid #ffcdd2;
    color: #c62828;
}

.form-feedback i {
    font-size: 17px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-stack {
        flex-direction: row;
        flex-wrap: wrap;
    }

    div.contact-info-card {
        flex: 1 1 200px;
    }
}

@media (max-width: 600px) {
    section.contact-hero {
        padding: 50px 15px 90px !important;
    }

    .contact-hero h1 {
        font-size: 28px;
    }

    .contact-form-card {
        padding: 26px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-info-stack {
        flex-direction: column;
    }
}