/* ── Al-Rajhi Section Widget Styles ──────────────────────── */

.arw-wrapper {
    width: 100%;
    font-family: 'Tajawal', 'Segoe UI', sans-serif;
}

.arw-wrapper[dir="ltr"] {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

/* ── Section Titles ─────────────────────────────────────── */
.arw-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1a2c5b;
    margin: 0 0 12px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.arw-wrapper[dir="rtl"] .arw-section-title {
    left: 50%;
    transform: translateX(50%);
}

.arw-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #1a2c5b;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* ── Sites Section ──────────────────────────────────────── */
.arw-sites-section {
    text-align: center;
    margin-bottom: 60px;
}

.arw-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

/* ── Site Cards ─────────────────────────────────────────── */
.arw-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e0eaf4;
    border-radius: 12px;
    padding: 24px 20px 16px;
    min-width: 180px;
    max-width: 220px;
    flex: 1 1 180px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    gap: 14px;
}

.arw-card:hover {
    transform: translateY(-4px);
}

.arw-card--shadow {
    box-shadow: 0 2px 16px rgba(26, 44, 91, 0.08);
}

.arw-card--shadow:hover {
    box-shadow: 0 6px 28px rgba(26, 44, 91, 0.15);
}

.arw-card-logo {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.arw-card-logo-placeholder {
    width: 100px;
    height: 50px;
    background: #e8f0f8;
    border-radius: 6px;
}

.arw-card-label {
    font-size: 14px;
    color: #3a5a8a;
    font-weight: 500;
    text-align: center;
}

/* ── Contact Section ────────────────────────────────────── */
.arw-contact-section {
    text-align: center;
}

.arw-form-wrapper {
    max-width: 680px;
    margin: 32px auto 0;
    text-align: start;
}

/* ── Fluent Form Overrides ──────────────────────────────── */
.arw-form-wrapper .ff-el-group label {
    font-size: 14px;
    color: #555;
}

.arw-form-wrapper .ff-el-form-control {
    border: 1px solid #d0dce8;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    background: rgba(255,255,255,0.9);
    color: #333;
    width: 100%;
    box-sizing: border-box;
}

.arw-form-wrapper .ff-el-form-control:focus {
    border-color: #1a2c5b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26,44,91,0.1);
}

.arw-form-wrapper .ff_submit_btn_wrapper button,
.arw-form-wrapper .ff-btn-submit {
    background: #1a2c5b !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 40px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.arw-form-wrapper .ff_submit_btn_wrapper button:hover,
.arw-form-wrapper .ff-btn-submit:hover {
    background: #253d7a !important;
}

/* Placeholder color */
.arw-form-wrapper .ff-el-form-control::placeholder {
    color: #aab4c0;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .arw-inner {
        padding: 40px 20px !important;
    }
    .arw-cards-grid {
        gap: 12px;
    }
    .arw-card {
        min-width: 140px;
        padding: 16px 14px 12px;
    }
    .arw-section-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .arw-cards-grid {
        flex-direction: column;
        align-items: center;
    }
    .arw-card {
        width: 100%;
        max-width: 300px;
        flex: unset;
    }
}
