/* ==========================================================================
   91Search Content Pages (Static Pages, Privacy Policy, Terms, Contact Us)
   ========================================================================== */

.page-wrapper {
    background: #f8fafc;
    min-height: calc(100vh - 350px);
    padding: 24px 16px 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
}

.page-container {
    max-width: 960px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ── Page Header ──────────────────────────────────────────────────────── */
.page-header-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.page-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.page-title-main {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.page-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #64748b;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.page-badge-pill i {
    color: var(--primary-color, #ff6600);
}

/* ── Content Body Card ────────────────────────────────────────────────── */
.content-card-premium {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 36px 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.page-rich-content {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

.page-rich-content p {
    margin: 0 0 16px 0;
}

.page-rich-content p:last-child {
    margin-bottom: 0;
}

.page-rich-content strong {
    color: #0f172a;
    font-weight: 600;
}

.page-rich-content h2 {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 32px 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-rich-content h2:first-child {
    margin-top: 0;
}

.page-rich-content h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--primary-color, #ff6600);
    border-radius: 2px;
}

.page-rich-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 22px 0 10px 0;
}

.page-rich-content ul, 
.page-rich-content ol {
    margin: 0 0 18px 0;
    padding-left: 22px;
}

.page-rich-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.page-rich-content a {
    color: var(--primary-color, #ff6600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.page-rich-content a:hover {
    color: #e55a00;
    text-decoration: underline;
}

.page-rich-content blockquote {
    margin: 20px 0;
    padding: 14px 20px;
    background: #fff8f5;
    border-left: 4px solid var(--primary-color, #ff6600);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #475569;
}

.page-rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.page-rich-content th, 
.page-rich-content td {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.page-rich-content th {
    background: #f8fafc;
    font-weight: 600;
    color: #0f172a;
}

/* ── Contact Us Specific Styles ────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.contact-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
    border-color: var(--primary-color, #ff6600);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.08);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 102, 0, 0.1);
    color: var(--primary-color, #ff6600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-card-info h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.contact-card-info p {
    margin: 0;
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
}

.contact-card-info a {
    color: var(--primary-color, #ff6600);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 4px;
}

.contact-card-info a:hover {
    text-decoration: underline;
}

/* Contact Message Form */
.contact-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    margin-top: 24px;
}

.contact-form-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.contact-form-subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 0 20px 0;
}

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

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    color: #1e293b;
    transition: border-color 0.2s;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    border-color: var(--primary-color, #ff6600);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

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

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-color, #ff6600);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.contact-submit-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
}

/* ── About Us Specific Highlights ──────────────────────────────────────── */
.about-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0 30px 0;
}

.about-highlight-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
}

.about-highlight-icon {
    font-size: 24px;
    color: var(--primary-color, #ff6600);
    margin-bottom: 8px;
}

.about-highlight-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.about-highlight-desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 16px 12px 40px;
    }
    .page-header-card {
        padding: 18px 16px;
        margin-bottom: 14px;
    }
    .content-card-premium {
        padding: 22px 18px;
    }
    .page-title-main {
        font-size: 22px;
    }
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    .about-highlights-grid {
        grid-template-columns: 1fr;
    }
}
