/* ===================================================================
   1. Global Styles & Fixes (الأنماط العامة والتصحيحات)
   =================================================================== */

/*
  - تم تعيين الخط الأساسي والاتجاه على مستوى الـ html و body.
  - box-sizing: border-box يجعل التعامل مع أبعاد العناصر أسهل.
*/
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

body {
  direction: rtl;
  unicode-bidi: embed;
  font-family: "Tajawal", "Cairo", "Noto Sans Arabic", sans-serif;
  color: #004956;
  margin: 0;
  line-height: 1.6; /* تحسين قابلية القراءة */
}

/* تبسيط تعريف الخط واللون لجميع العناصر */
p, ul, ol, li, b, strong, span, a, td, th, label,
button, input, select, textarea, blockquote, caption,
div, section, article, aside, header, footer, nav,
table, thead, tbody, tfoot, h1, h2, h3, h4, h5, h6 {
  font-family: "Tajawal", "Cairo", "Noto Sans Arabic", sans-serif;
  color: #000000; /* اللون الافتراضي للنصوص */
}

/* الصور المتجاوبة */
img {
  max-width: 100%;
  height: auto;
}

/* ===================================================================
   2. Header & Navigation (الهيدر والقائمة)
   =================================================================== */

/* شعار الموقع */
.navbar-area .nav-container .logo-wrapper .logo img {
  max-width: 120px;
}

/* خلفية الهيدر */
.navbar-area {
  background-color: #cff7ee;
}

.navbar-area .nav-container .navbar-collapse .navbar-nav li a {
  padding: 10px 15px; /* تقليل الحشو الأفقي قليلاً للموبايل */
  transition: all 0.3s ease-in;
  font-weight: bold;
  font-size: 16px; /* حجم خط مناسب للموبايل */
  color: #004956;
}
.navbar-area .nav-container .navbar-collapse .navbar-nav li a:hover {
  background: #081776;
  color: #fff; /* التأكد من أن النص يظل مقروءًا */
}

.navbar-toggler {
  border-radius: 25px !important;
}

/* تعديلات للتابلت والديسكتوب */
@media (min-width: 992px) {
  .navbar-area .nav-container .navbar-collapse .navbar-nav li a {
    padding: 10px 28px; /* استعادة الحشو الأصلي للشاشات الكبيرة */
    font-size: 18px; /* استعادة حجم الخط الأصلي */
  }
  .navbar-expand-lg .navbar-collapse {
    margin: 0 15px;
  }
}

/* ===================================================================
   3. Banner & Hero Section (البانر والجزء الرئيسي)
   =================================================================== */

.breadcrumb-contents.center-text {
  display: none;
}

/* منطقة اسفل الهيدر مباشرة */
.banner-area.banner-padding {
  padding: 80px 0 0; /* تقليل الـ padding للموبايل */
  background-color: #cff7ee;
}

.banner-content-title {
  font-size: 32px; /* حجم أصغر للموبايل */
  line-height: 1.4; /* تحسين التباعد بين الأسطر */
  font-weight: 1000;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px; /* تعديل تباعد الأحرف */
}

.banner-content-para {
  font-size: 18px; /* حجم أصغر للموبايل */
  line-height: 1.6;
  word-wrap: break-word;
  font-weight: 500;
  letter-spacing: -1px; /* تعديل تباعد الأحرف */
}

.blurred-img.loaded img {
  opacity: 1;
  border-radius: 20px;
}

/* تعديلات للتابلت والديسكتوب */
@media (min-width: 768px) {
  .banner-area.banner-padding {
    padding: 130px 0 0; /* استعادة القيمة الأصلية */
  }
  .banner-content-title {
    font-size: 40px;
    line-height: 70px;
    letter-spacing: -2px;
  }
  .banner-content-para {
    font-size: 22px;
    line-height: 32px;
    letter-spacing: -2px;
  }
}


/* ===================================================================
   4. Buttons & Common Elements (الأزرار والعناصر المشتركة)
   =================================================================== */

/* ازرار */
.btn-wrapper .cmn-btn {
  color: #ffffff;
  background: #091b8b;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  align-items: center;
  gap: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn-wrapper .cmn-btn:hover {
  background: #061470;
  transform: translateY(-2px);
  color: #f4fff6 !important; /* دمج القاعدة هنا */
}

.btn-wrapper .cmn-btn:active {
  background: linear-gradient(145deg, #003a44, #005f6f);
  box-shadow: 0 1px 0 #002c35, 0 2px 3px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(3px);
  transition-duration: 0.05s;
}

.btn-wrapper .cmn-btn i {
  font-size: 1.1em;
  vertical-align: middle;
}
html[dir="rtl"] .btn-wrapper .cmn-btn i {
  margin-left: 8px;
  margin-right: 0;
}

/* زر الصعود لأعلى */
.back-to-top {
  background-color: #091b8b !important;
  color: #fff !important;
  border-radius: 25px;
}
.back-to-top i {
  color: #fff !important;
}

/* زر إرسال النماذج */
.submit-btn {
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  border: none;
  outline: none;
  user-select: none;
  transition: all 0.15s ease-out;
  background: #091b8b; /* اللون الأساسي */
}
.submit-btn:hover {
  background: #061470; /* درجة أغمق عند التحويم */
  transform: translateY(-2px);
}


/* ===================================================================
   5. Section Styles (أنماط الأقسام)
   =================================================================== */

.section-title {
  text-align: center;
  gap: 20px;
  padding-bottom: 10px;
  margin-top: 60px; /* تقليل الهامش العلوي للموبايل */
}
.section-title.text-left {
  text-align: right;
}

.section-title .title {
  font-size: 27px; /* حجم أصغر للموبايل */
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #091b8b;
}

@media (min-width: 768px) {
  .section-title {
    margin-top: 100px; /* استعادة الهامش الأصلي */
  }
  .section-title .title {
    font-size: 40px;
    letter-spacing: -2px;
  }
}

/* --- Features (المميزات) --- */
.single-feature:hover {
  transform: none; /* التأكد من عدم وجود تحويل غير مرغوب فيه */
}
.single-feature-content-title {
  font-size: 24px;
  line-height: 1.3;
  color: #004956;
  font-weight: bold;
  transition: all 0.2s;
  letter-spacing: -1px;
}
.single-feature-content-para {
  font-size: 16px;
  line-height: 1.6;
  color: var(--paragraph-color);
  font-weight: 500;
  letter-spacing: -0.5px;
}
.single-feature-icon::before {
  left: 0;
  top: 0;
  background: #f9f9f9;
  opacity: 0.2;
  border: 4px solid #ededed;
}
.single-feature:hover .single-feature-icon {
  background-color: #e3ece5;
  color: #fff;
}

/* --- How it Works (كيف يعمل) --- */
.single-works-content-number {
  font-size: 60px; /* حجم أصغر للموبايل */
  line-height: 1;
  font-weight: 1000;
  color: #004956;
  display: inline-block;
  position: relative;
  padding-top: 20px;
}
.single-works-content-title {
  font-size: 24px; /* حجم أصغر للموبايل */
  line-height: 1.4;
  font-weight: 1000;
  color: #004956;
  letter-spacing: -1.5px;
}
.single-works-content-para {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.5px;
}
@media (min-width: 768px) {
  .single-works-content-number { font-size: 90px; line-height: 80px; padding-top: 30px; }
  .single-works-content-title { font-size: 28px; line-height: 38px; letter-spacing: -2px; }
  .single-works-content-para { font-size: 20px; line-height: 28px; letter-spacing: -1px; }
}


/* --- Testimonials (آراء العملاء) --- */
.single-feedback {
  padding: 25px;
  transition: 300ms;
  box-shadow: 0 0 30px rgba(221, 221, 221, 0.1);
  border: 1px solid #b6eac8;
}
.single-feedback:hover {
  transform: scale(1.03); /* تصحيح القيمة الخاطئة لتأثير جذاب */
  box-shadow: 0 0 30px rgba(221, 221, 221, 0.5);
  border: 4px solid #36714a;
}
.single-feedback-content-icon {
  font-size: 60px; /* تصغير الأيقونة قليلاً للموبايل */
  color: #004956;
}
.single-feedback-content-para {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: #004956;
  padding-top: 15px;
}
@media (min-width: 768px) {
  .single-feedback-content-icon { font-size: 70px; }
  .single-feedback-content-para { font-size: 17px; line-height: 32px; }
}


/* --- Counter (إحصائيات الموقع) --- */
.counter-wrapper-border {
  border: 8px solid #e1e8ed;
  border-radius: 5px;
}
.single-counter-para {
  font-size: 30px; /* حجم أصغر للموبايل */
  line-height: 1.2;
  font-weight: 700;
  color: #004956 !important; /* تم تصحيح الخطأ الإملائي */
  letter-spacing: -1.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.color-light {
  color: #004956 !important;
}
@media (min-width: 768px) {
  .single-counter-para { font-size: 36px; line-height: 30px; letter-spacing: -2px; }
}


/* --- Why Choose Us (لماذا تختارنا) --- */
.single-choose {
  padding: 25px;
  box-shadow: 0 0 10px rgba(var(--main-color-one-rgb), 0.05);
  border: 6px solid #f3f6f9;
}
.single-choose-icon::before {
  background: transparent;
  opacity: 1;
}
.single-choose-content-title {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: #004956 !important; /* تم تصحيح الخطأ الإملائي */
  letter-spacing: -1.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.single-choose-content-para {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 15px;
  font-weight: 600;
  letter-spacing: -1px;
}
@media (min-width: 768px) {
  .single-choose { padding: 30px; }
  .single-choose-content-title { font-size: 28px; line-height: 30px; letter-spacing: -2px; }
  .single-choose-content-para { line-height: 22px; }
}


/* ===================================================================
   6. Pricing Page (صفحة الأسعار)
   =================================================================== */

.breadcrumb-padding {
  padding: 0px;
}

/* --- Price Tabs (ألسنة تبويب الأسعار) --- */
.price-tab {
  background-color: #fff;
  padding: 10px 15px; /* تقليل الحشو للموبايل */
  box-shadow: 0 0 20px rgba(221, 221, 221, 0.3);
  border: 6px solid #e1e8ed;
  /* لجعل الألسنة قابلة للتمرير على الموبايل إذا كانت كثيرة */
  overflow-x: auto;
  white-space: nowrap;
}
.price-tab .tabs {
    display: flex; /* لضمان التمرير الصحيح */
}

.tabs li {
  font-size: 16px;
  font-weight: bold;
  color: #004956;
  line-height: 28px;
  cursor: pointer;
  transition: 300ms;
  padding: 10px 20px; /* تعديل الحشو */
}

/* الزر النشط في صفحة الأسعار */
.price-tab-list.active {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  padding: 12px 25px; /* تعديل الحشو للموبايل */
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  border: none;
  outline: none;
  user-select: none;
  background: linear-gradient(145deg, #005f6f, #003a44);
  box-shadow: 0 5px 0 #002c35, 0 6px 8px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.1), inset 0 -1px 1px rgba(0, 0, 0, 0.1);
  transition: all 0.15s ease-out;
}

@media (min-width: 768px) {
    .price-tab { padding: 10px 40px; }
    .tabs li { font-size: 18px; }
    .price-tab-list.active { padding: 12px 40px; }
}

/* --- Pricing Plans (خطط الأسعار) --- */
/* توحيد الأنماط لـ .single-price و .single-price-plan-item */
.single-price,
.single-price-plan-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  position: sticky;
  top: 20px;
  z-index: 9;
  border: 6px solid #e9ecef;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04), 0 10px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.single-price:hover,
.single-price-plan-item:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06), 0 15px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
  border-color: #004956;
  background-color: #f9f9f9; /* تم تصحيح القيمة */
}

.single-price.active {
  border-color: #004956;
}

.single-price-top-plan {
  font-size: 28px; /* تصغير الخط للموبايل */
  font-weight: 600;
  color: #091b8b;
  line-height: 1.2;
  letter-spacing: -1.5px;
}
.single-price-sub-title::before {
  background: #28fd16;
  opacity: 0.2;
}

.price-body .features li {
  position: relative;
  padding-left: 0px;
  padding-right: 30px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: #004956;
  transition: all .3s;
}
.price-body .features li::before {
  content: "\f058";
  position: absolute;
  right: 0;
  top: 0px;
  font-family: "line awesome free";
  font-weight: 1000;
  color: #004956;
  font-size: 22px;
  left: auto;
}
.all-features a {
  color: #004956;
  font-size: 16px; /* تصغير الخط للموبايل */
  font-weight: 700;
  letter-spacing: -1px;
  background-color: #bcffd3;
  padding: 5px 15px;
  border-radius: 5px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .single-price-top-plan { font-size: 33px; line-height: 28px; letter-spacing: -2px; }
  .all-features a { font-size: 18px; letter-spacing: -2px; padding: 5px 20px; line-height: 18px;}
}

/* أزرار خطط الأسعار */
.single-price .btn-wrapper .cmn-btn:hover {
  color: #fff;
  background: #061469;
  border-color: transparent; /* التأكد من عدم ظهور حدود غير مرغوبة */
}
.btn-wrapper .cmn-btn-outline-one.color-one {
  color: #ffffff;
}

/* ===================================================================
   7. Footer & Newsletter (الفوتر والنشرة البريدية)
   =================================================================== */

.getupdate-bg::before {
  background-color: #cff7ee;
  border: 1px solid #91f7e0;
}

.getupdate-content-title {
  font-size: 36px; /* حجم أصغر للموبايل */
  font-weight: 600;
  line-height: 1.3;
  color: #004956;
  margin: -10px 0 0;
}
@media (min-width: 992px) {
  .getupdate-content-title {
    font-size: 56px;
    line-height: 70px;
  }
}

.footer-area {
  z-index: 1;
  border-top: 1px solid #cff7ee;
}
.footer-widget .widget-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: #004956;
}
.footer-widget .footer-inner .footer-link-list .list a {
  font-size: 16px;
  font-weight: 500;
  color: #004956;
}
.footer-widget .footer-inner .footer-link-list .list:not(:last-child) {
  margin-bottom: 0px;
}

.copyright-area {
  padding: 15px 0;
  background-color: #f8f8f8;
}
.copyright-area .copyright-contents {
  font-size: 16px;
  color: #004956;
  text-align: center;
  font-weight: 500;
}

/* ===================================================================
   8. Dashboard & User Panel (لوحة تحكم المستخدم)
   =================================================================== */

.dashboard-close-main {
  background: #f3fff7;
  color: #fff;
  text-align: center;
  padding: 0;
  border-radius: 5px;
  border: 1px solid #69ae6e;
}
.author-content .title {
  color: #004956;
  font-size: 24px; /* حجم مناسب للموبايل */
  font-weight: 1000;
}

.dashboard-list .list a {
  font-size: 16px; /* حجم مناسب للموبايل */
  font-weight: 500;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: -0.5px;
}
.dashboard-list .list.active a,
.dashboard-list .list a:hover {
  background: #004956;
  font-weight: 500;
  color: #fff;
  letter-spacing: -1px;
}
.orders-child:nth-child(4n+2) .single-orders {
  background: #004956;
}
.orders-child:nth-child(4n+3) .single-orders {
  background: #1F5C31;
}

.custom_domain_title {
  font-size: 24px; /* حجم مناسب للموبايل */
  line-height: 1.4;
  font-weight: 1000;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -1.5px;
  color: #004956;
}
@media (min-width: 768px) {
  .author-content .title { font-size: 28px; }
  .dashboard-list .list a { font-size: 18px; padding: 10px 25px; }
  .custom_domain_title { font-size: 28px; line-height: 40px; letter-spacing: -2px; }
}

/* ===================================================================
   9. Miscellaneous (متفرقات)
   =================================================================== */

.table thead th {
  border-top: 0;
  border-bottom-width: 1px;
  font-family: "Tajawal", "Cairo", "Noto Sans Arabic", sans-serif !important;
  font-weight: initial;
}
.font-weight-normal {
  font-family: inherit;
}

.alert-warning {
  color: #000000;
  background-color: #ff9f00;
  border-color: #ff9f00;
}

/* RTL Support for form-check */
html[dir="rtl"] .form-check .form-check-input {
    margin-left: -0.75em;
    margin-right: 10px;
}
html[dir="rtl"] .form-check .form-check-label {
  padding-right: 1.75em;
  padding-left: 0;
}