/* ============================================
   الدارة لتصميم المواقع — الأنماط الكاملة
   ============================================ */

/* إعادة تعيين */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Cairo', sans-serif !important; }
body { background-color: #f8fafc; color: #1e293b; direction: rtl; text-align: right; line-height: 1.7; overflow-x: clip; }
a { text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

/* ============================================
   تأثيرات التمرير (Fade In)
   ============================================ */
.fade-in-section,
.fade-in-section.visible,
.fade-in-item,
.fade-in-item.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* ============================================
   هيدر الصورة
   ============================================ */
.hero-header {
    position: relative;
    width: 100%;
    height: 220px;
    background-image: url('/alqurashi_org/arabic_websites/assets/images/100.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 3px solid #d4a653;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 53, 92, 0.4) 0%, rgba(10, 53, 92, 0.1) 100%);
    z-index: 1;
}
.header-logo {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 3;
    display: block;
    transition: transform 0.3s ease;
}
.header-logo:hover {
    transform: scale(1.05);
}
.header-logo img {
    height: 200px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

/* ============================================
   مينو الدارة — على سطرين
   ============================================ */
.navbar-bar { background-color: #0A355C !important; border-bottom: 2px solid #d4a653; box-shadow: 0 2px 6px rgba(0,0,0,0.1); width: 100%; }
.navbar-container { width: 100%; max-width: 100%; padding: 0 10px; }
.navbar { padding: 6px 0; width: 100%; }
.navbar ul {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    list-style: none !important;
    align-items: center;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0;
    gap: 4px 0;
}
.navbar li { list-style: none !important; text-align: center; min-width: 0; }
.navbar a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;
    padding: 6px 8px;
    border-radius: 3px;
    transition: all 0.2s ease;
    white-space: nowrap;
    background: transparent;
    display: block;
}
.navbar a:hover { color: #ffeb3b !important; background: rgba(255, 255, 255, 0.08); }

/* ============================================
   الحاويات العامة
   ============================================ */
.container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }

/* الحديث النبوي */
.hadith-block {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 45px;
    padding: 25px 30px;
    background: #fff;
    border-radius: 14px;
    border-right: 5px solid #d4a653;
    border-left: 5px solid #d4a653;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
}
.hadith-block::before {
    content: '❝';
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 50px;
    color: #d4a653;
    opacity: 0.3;
    font-family: serif;
}
.hadith-intro { font-size: 18px; color: #173024; font-weight: 600; margin-bottom: 18px; line-height: 1.9; }
.hadith-text { font-size: 22px; color: #0A355C; font-weight: 800; line-height: 2; }

/* العناوين */
.section-title {
    text-align: center;
    font-size: 34px;
    font-weight: 900;
    color: #0A355C;
    margin-bottom: 50px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d4a653, #0A355C);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* تسويق PHP وقواعد البيانات (أقل ببنط واحد فقط من عنوان خدماتنا 34px) */
.php-db-subtitle {
    font-size: calc(24px - 1pt);
    font-weight: 700;
    color: #1e4e7a;
    max-width: 950px;
    margin: -25px auto 35px;
    line-height: 1.65;
    text-align: center;
}

/* ============================================
   عرض المساجد — لزبائننا في ماليزيا
   ============================================ */
.malaysia-offer-section {
    max-width: 950px;
    margin: 0 auto 45px;
    text-align: center;
}
.malaysia-section-title {
    font-size: 24px;
    font-weight: 800;
    color: #0A355C;
    margin-bottom: 18px;
    text-align: center;
}
.mosque-offer-card {
    background: linear-gradient(135deg, #ffffff 0%, #f1f6fb 100%);
    border: 2px solid #d4a653;
    border-top: 5px solid #0A355C;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 10px 30px rgba(10, 53, 92, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mosque-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(10, 53, 92, 0.16);
}
.mosque-badge {
    display: inline-block;
    background-color: #0A355C;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 25px;
    margin-bottom: 14px;
}
.mosque-title {
    font-size: 23px;
    font-weight: 800;
    color: #0A355C;
    margin-bottom: 12px;
}
.mosque-desc {
    font-size: 16px;
    color: #475569;
    max-width: 760px;
    margin: 0 auto 18px;
    line-height: 1.8;
}
.mosque-price {
    display: inline-block;
    background-color: #e6f7ec;
    color: #173024;
    border: 1px solid #86efac;
    font-size: 16px;
    font-weight: 800;
    padding: 9px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.mosque-order-btn {
    display: inline-block;
    background: linear-gradient(135deg, #d4a653, #c9a227);
    color: #0A355C;
    padding: 13px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 800;
    transition: all 0.25s ease;
    box-shadow: 0 5px 15px rgba(212, 166, 83, 0.35);
}
.mosque-order-btn:hover {
    background: linear-gradient(135deg, #e6b866, #d4a653);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(212, 166, 83, 0.5);
}

/* ============================================
   الخدمات
   ============================================ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.service-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 14px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 4px solid #0A355C;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-width: 0;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 53, 92, 0.03) 0%, rgba(212, 166, 83, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover::before {
    opacity: 1;
}
.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-top-color: #d4a653;
    box-shadow: 0 20px 40px rgba(10, 53, 92, 0.2);
}
.service-icon { font-size: 48px; margin-bottom: 18px; display: block; transition: transform 0.3s ease; }
.service-card:hover .service-icon { transform: scale(1.2) rotate(5deg); }
.service-card h3 { font-size: 20px; color: #0A355C; margin-bottom: 12px; font-weight: 800; position: relative; z-index: 1; }
.service-card p { font-size: 15px; color: #64748b; line-height: 1.8; flex-grow: 1; margin-bottom: 20px; position: relative; z-index: 1; }
.service-price-btn {
    display: inline-block;
    background: linear-gradient(135deg, #d4a653, #c9a227);
    color: #0A355C;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
    align-self: center;
    box-shadow: 0 4px 12px rgba(212, 166, 83, 0.3);
    position: relative;
    z-index: 1;
}
.service-price-btn:hover {
    background: linear-gradient(135deg, #e6b866, #d4a653);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 166, 83, 0.5);
}
/* ============================================
   كرت تسليم مفتاح
   ============================================ */
.key-delivery-section { background: linear-gradient(135deg, #f8fafc 0%, #e8eef5 100%); padding: 70px 0; }
.key-delivery-card {
    background: linear-gradient(135deg, #0A355C 0%, #1e4e7a 100%);
    border-radius: 20px;
    padding: 50px 45px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    box-shadow: 0 15px 50px rgba(10, 53, 92, 0.25);
    position: relative;
    overflow: hidden;
    border: 3px solid #d4a653;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.key-delivery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(10, 53, 92, 0.35);
}
.key-delivery-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 166, 83, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.key-delivery-header { text-align: center; margin-bottom: 40px; position: relative; z-index: 1; }
.key-delivery-header h2 { font-size: 34px; font-weight: 900; color: #d4a653; margin-bottom: 12px; text-shadow: 0 3px 15px rgba(0,0,0,0.3); text-align: center; }
.key-delivery-header p { font-size: 18px; opacity: 0.95; max-width: 700px; margin: 0 auto; line-height: 1.8; text-align: center; }
.key-delivery-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px 25px;
    list-style: none;
    margin: 0 auto 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    border-right: 4px solid #d4a653;
  text-align: start;
    position: relative;
    z-index: 1;
}
.key-delivery-features li {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    color: #fff;
    text-align: start;
    min-width: 0;
    transition: all 0.25s ease;
}
.key-delivery-features li:last-child { border-bottom: none; }
.key-delivery-features li:hover { color: #d4a653; }
.key-delivery-footer { display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; }
.key-delivery-btn {
    display: inline-block;
    background: linear-gradient(135deg, #d4a653, #c9a227);
    color: #0A355C;
    padding: 18px 50px;
    max-width: 100%;
    border-radius: 50px;
    font-size: 19px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 166, 83, 0.4);
}
.key-delivery-btn:hover { background: linear-gradient(135deg, #e6b866, #d4a653); transform: translateY(-4px); box-shadow: 0 14px 35px rgba(212, 166, 83, 0.55); }

/* ============================================
   كرت تقارير الفحص الشامل
   ============================================ */
.reports-section { background: #f8fafc; padding: 70px 0; }
.reports-card {
    background: #fff;
    border-radius: 20px;
    padding: 50px 45px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 10px 40px rgba(10, 53, 92, 0.1);
    border-top: 5px solid #0A355C;
    border-bottom: 5px solid #d4a653;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.reports-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(10, 53, 92, 0.15);
}
.reports-header { text-align: center; margin-bottom: 40px; position: relative; z-index: 1; }
.reports-header h2 { font-size: 34px; font-weight: 900; color: #0A355C; margin-bottom: 12px; text-align: center; }
.reports-header p { font-size: 18px; color: #64748b; max-width: 700px; margin: 0 auto; line-height: 1.8; text-align: center; }
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin: 0 auto 35px;
    position: relative;
    z-index: 1;
}
.report-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 16px 20px;
    background: #f7f9fc;
    border-radius: 10px;
    min-width: 0;
    transition: all 0.25s ease;
    border-right: 4px solid #d4a653;
}
.report-item:hover {
    background: #0A355C;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 53, 92, 0.2);
}
.report-check { font-size: 22px; flex-shrink: 0; }
.report-text { font-size: 15px; font-weight: 700; color: #0A355C; line-height: 1.5; text-align: center; transition: color 0.25s ease; }
.report-item:hover .report-text { color: #fff; }
.reports-footer { text-align: center; position: relative; z-index: 1; }
.reports-price-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0A355C, #1e4e7a);
    color: #fff;
    padding: 18px 50px;
    max-width: 100%;
    border-radius: 50px;
    font-size: 19px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(10, 53, 92, 0.3);
}
.reports-price-btn:hover { background: linear-gradient(135deg, #d4a653, #e6b866); color: #0A355C; transform: translateY(-4px); box-shadow: 0 14px 35px rgba(212, 166, 83, 0.5); }

/* ============================================
   نموذج الطلب
   ============================================ */
.order-form-wrapper { max-width: 800px; margin: 0 auto; background: #fff; padding: 45px 40px; border-radius: 16px; box-shadow: 0 6px 25px rgba(10, 53, 92, 0.1); border-top: 5px solid #0A355C; }
.order-form .form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }.order-form .form-group { margin-bottom: 22px; min-width: 0; }
.order-form label { display: block; font-size: 15px; font-weight: 700; color: #0A355C; margin-bottom: 8px; }
.order-form .required { color: #d4a653; }
.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #fafbfc;
    transition: 0.2s;
}
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
    outline: none;
    border-color: #0A355C;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(10, 53, 92, 0.1);
}
.order-form textarea { resize: vertical; min-height: 130px; line-height: 1.8; }
.order-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #0A355C, #1e4e7a);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(10, 53, 92, 0.25);
}
.order-submit-btn:hover {
    background: linear-gradient(135deg, #d4a653, #e6b866);
    color: #0A355C;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 166, 83, 0.4);
}

/* ====== خطأ البريد الإلكتروني ====== */
.email-error {
    display: none;
    color: #a8232a;
    font-size: 13px;
    font-weight: 600;
    margin-top: 6px;
}
.input-error {
    border-color: #a8232a !important;
    background: #fdecea !important;
}

/* ============================================
   التنبيهات
   ============================================ */
.alert { padding: 16px 22px; border-radius: 10px; margin-bottom: 25px; font-size: 15px; font-weight: 600; }
.alert-success { background: #e6f7ec; color: #1e7a3e; border-right: 4px solid #1e7a3e; }
.alert-error { background: #fdecea; color: #a8232a; border-right: 4px solid #a8232a; }

/* ============================================
   قسم التواصل
   ============================================ */
.contact-section { background: #0A355C; color: #fff; padding: 60px 0; text-align: center; }
.contact-section h2 { font-size: 30px; margin-bottom: 20px; color: #d4a653; font-weight: 900; }
.contact-info-item { display: inline-block; margin: 0 25px; font-size: 17px; max-width: 100%; overflow-wrap: anywhere; }
.contact-info-item strong { color: #d4a653; margin-left: 8px; }

/* ============================================
   الفوتر
   ============================================ */
.site-footer { background: #173024; color: #fff; text-align: center; padding: 25px; border-top: 3px solid #d4a653; }
.reports-grid {
    grid-template-columns: 1;
}
html[lang="en"] .report-item {
  justify-content: flex-start;
  text-align: left;
}
@media (max-width: 767px) {
    .php-db-subtitle .aw-dark-red-line {
        color: #8b0000 !important;
        font-weight: 700 !important;
    }
}