/* ========================================================
   SarkariExam Authentic Contact Us Stylesheet
   Reference: sarkariexam.com
   ======================================================== */

.sarkari-contact-wrapper {
    max-width: 1040px;
    margin: 18px auto 44px;
    padding: 0 14px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #172033;
    box-sizing: border-box;
}

/* 1. Breadcrumb */
.sarkari-contact-wrapper .sarkari-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 13px;
    padding: 9px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-bottom: 16px;
}

.sarkari-contact-wrapper .sarkari-breadcrumb a {
    color: #8B0000;
    font-weight: 700;
    text-decoration: none;
}

.sarkari-contact-wrapper .sarkari-breadcrumb a:hover {
    text-decoration: underline;
    color: #b31b20;
}

.sarkari-contact-wrapper .sarkari-breadcrumb .sep {
    color: #94a3b8;
    font-size: 14px;
}

.sarkari-contact-wrapper .sarkari-breadcrumb .current {
    color: #475569;
    font-weight: 600;
}

/* 2. Header Banner */
.sarkari-contact-header {
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 24px 22px 20px;
    margin-bottom: 22px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.contact-badge {
    display: inline-block;
    color: #061d4a;
    font-size: 13.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.sarkari-contact-header h1 {
    color: #8B0000;
    font-size: clamp(24px, 3.2vw, 32px);
    font-weight: 800;
    margin: 4px 0 8px;
    line-height: 1.25;
}

.sarkari-contact-header p {
    color: #64748b;
    font-size: 14px;
    margin: 0 auto;
    max-width: 680px;
    line-height: 1.55;
}

/* 3. Two-Column Grid */
.sarkari-contact-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 22px;
    align-items: start;
}

/* Left Column: Cards */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 18px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.card-icon-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.card-icon-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.contact-card p {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
}

/* WhatsApp Card Specifics */
.card-whatsapp {
    border-top: 4px solid #25D366;
}

.card-whatsapp .icon-svg {
    color: #25D366;
}

.btn-contact-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 13.5px;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none !important;
    transition: background 0.15s ease, transform 0.15s ease;
}

.btn-contact-whatsapp:hover {
    background: #1eb855;
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* Email Card Specifics */
.card-email {
    border-top: 4px solid #061d4a;
}

.card-email .icon-svg {
    color: #061d4a;
}

.email-highlight-link {
    display: inline-block;
    color: #0000cc;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: underline;
    word-break: break-all;
    transition: color 0.15s ease;
}

.email-highlight-link:hover {
    color: #8B0000;
}

/* Tip Card */
.card-tip {
    background: #fffdf5;
    border: 1px solid #f6db9e;
    border-left: 4px solid #ef6c00;
}

.card-tip h4 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 800;
    color: #c62828;
}

.card-tip p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: #334155;
}

.card-disclaimer {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 12px 16px;
}

.card-disclaimer p {
    margin: 0;
    line-height: 1.5;
}

/* Right Column: Form Card */
.contact-form-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.form-header-bar {
    background: #8B0000;
    color: #ffffff;
    padding: 12px 20px;
    border-bottom: 2px solid #730000;
}

.form-header-bar h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
}

/* Alerts */
.contact-alert {
    margin: 16px 20px 0;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 13.5px;
    line-height: 1.5;
}

.contact-alert.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.contact-alert.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Form Fields */
.contact-form-body {
    padding: 22px 24px 26px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
}

.form-group label .req {
    color: #dc2626;
    margin-left: 2px;
}

.form-group input,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.form-submit-row {
    margin-top: 10px;
}

.btn-submit-message {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #8B0000;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    padding: 12px 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(139, 0, 0, 0.3);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-submit-message:hover {
    background: #a30000;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(139, 0, 0, 0.4);
}

.btn-submit-message svg {
    transition: transform 0.15s ease;
}

.btn-submit-message:hover svg {
    transform: translateX(3px);
}

/* Optional Custom Content from Admin */
.contact-admin-notes {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.admin-notes-title {
    background: #061d4a;
    color: #ffffff;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 800;
}

.admin-notes-body {
    padding: 18px 20px;
    font-size: 13.5px;
    line-height: 1.65;
    color: #334155;
}

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

    .contact-info-col {
        order: 2;
    }

    .contact-form-col {
        order: 1;
    }

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

@media (max-width: 480px) {
    .sarkari-contact-header {
        padding: 18px 14px;
    }

    .contact-form-body {
        padding: 18px 16px;
    }

    .btn-submit-message {
        width: 100%;
        justify-content: center;
    }
}
