/* --- إعدادات عامة --- */
body {
  font-family: "Cairo", Tahoma, sans-serif, Arial;
  background-color: #f8f9fa;
  color: #333333;
  direction: rtl;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* --- رأس الصفحة والـ Intro --- */
.screen-intro-section,
.toshiba-faults-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 30px;
}

.screen-intro-section {
  background: linear-gradient(135deg, #f1f7fc 0%, #ffffff 100%);
}

.header-box,
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.top-badge {
  display: inline-block;
  background-color: rgba(0, 86, 179, 0.1);
  color: #0056b3;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 15px;
}

.header-box h1,
.section-header h2 {
  font-size: 28px;
  color: #333333;
  margin-bottom: 15px;
  font-weight: 700;
}

.intro-sub,
.section-header p {
  font-size: 16px;
  color: #666666;
}

.highlight-keyword {
  color: #0056b3;
  font-weight: bold;
}

.contact-hover-link {
  color: #ff9800;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.contact-hover-link:hover {
  text-decoration: underline;
}

/* --- تصميم التخطيط الرئيسي (Main Layout & Sidebar) --- */
.main-content-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 50px auto;
  padding: 0 15px;
}

.sidebar {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-content-area {
  flex: 3;
  min-width: 300px;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* --- كروت الحجز والمميزات في الشريط الجانبي --- */
.booking-card,
.features-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.booking-card h3,
.features-card h4 {
  margin-top: 0;
  color: #333333;
  font-size: 20px;
}

.btn-hotline,
.btn-whatsapp,
.btn-consultation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.btn-hotline {
  background-color: #0056b3;
  color: #ffffff;
}

.btn-hotline:hover {
  background-color: #004085;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
  text-align: right;
}

.features-list li {
  padding: 8px 0;
  color: #666666;
  display: flex;
  align-items: center;
  gap: 10px;
}

.features-list li i {
  color: #28a745;
}

/* --- شبكة الأعطال والكروت (Faults Grid) --- */
.faults-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.fault-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.fault-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #0056b3;
}

.fault-card-header,
.card-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.fault-card-header i,
.card-icon {
  font-size: 22px;
  color: #ff9800;
}

.fault-card h3 {
  font-size: 18px;
  margin: 0;
  color: #333333;
}

.fault-desc,
.fault-cause,
.fault-details {
  font-size: 14px;
  color: #666666;
  margin-bottom: 15px;
}

.fault-footer,
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e0e0e0;
  padding-top: 12px;
  margin-top: auto;
  font-size: 13px;
}

.badge-pro,
.status-badge.technician {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: bold;
}

.badge-self,
.status-badge.self-fix {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: bold;
}

.fault-price,
.price-tag {
  font-weight: bold;
  color: #0056b3;
}

/* --- جدول الأخطاء (Error Codes Table) --- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.error-codes-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  text-align: right;
  font-size: 14px;
}

.error-codes-table th,
.error-codes-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e0e0e0;
}

.error-codes-table th {
  background-color: #0056b3;
  color: #ffffff;
  font-weight: 600;
}

.error-codes-table tr:hover {
  background-color: rgba(0, 86, 179, 0.02);
}

.table-link {
  color: #0056b3;
  text-decoration: none;
  font-weight: bold;
}

.table-link:hover {
  text-decoration: underline;
}

/* --- خطوات الخدمة (Steps Grid) --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.step-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #e0e0e0;
  position: relative;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: #0056b3;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 15px auto;
}

.step-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333333;
}

.step-card p {
  font-size: 14px;
  color: #666666;
  margin: 0;
}

/* --- قسم الكلمات الدلالية والسيو (SEO Box) --- */
.bottom-seo-box,
.modern-models-box {
  background: #f1f7fc;
  padding: 25px;
  border-radius: 10px;
  margin-top: 40px;
}

.seo-tags-wrap,
.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.seo-tags-wrap span,
.tags-list span {
  background: #ffffff;
  color: #0056b3;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  border: 1px solid #e0e0e0;
}

/* --- الاستجابة للشاشات الصغيرة (Responsive Media Queries) --- */
@media (max-width: 768px) {
  .main-content-layout {
    flex-direction: column;
  }

  .header-box h1,
  .section-header h2 {
    font-size: 24px;
  }

  .article-content-area {
    padding: 15px;
  }
}
/* ==========================================
   تنسيقات سكشن سياسة الخصوصية (Privacy Policy CSS)
   ========================================== */

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 25px;
  margin-bottom: 25px;
}

.privacy-item {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 22px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border-right: 4px solid #0ea5e9;
}

.privacy-item:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 10px 20px -5px rgba(2, 132, 199, 0.1);
}

.privacy-item h3 {
  color: #0f172a;
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.privacy-item p {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
}

.privacy-footer-note {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  border: 1px dashed #0284c7;
  padding: 15px 20px;
  border-radius: 10px;
  text-align: center;
  margin-top: 20px;
}

.privacy-footer-note p {
  font-size: 0.95rem;
  color: #0f172a;
  margin: 0;
}

/* التجاوب مع الشاشات الصغيرة والمتوسطة */
@media (max-width: 768px) {
  .privacy-grid {
    grid-template-columns: 1fr;
  }
}
/* تنسيق صندوق التنبيه بطبيعة المركز (لسنا الوكيل الرئيسي) */
.privacy-disclaimer-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-right: 4px solid #f59e0b;
  padding: 20px;
  border-radius: 12px;
  margin-top: 15px;
}

.privacy-disclaimer-box h3 {
  color: #b45309;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-disclaimer-box p {
  color: #78350f;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}
/* ==========================================
   تنسيقات الفوتر القوي - مؤسسة المعتمد جروب
   ========================================== */

.main-footer {
  background: linear-gradient(135deg, #090d16 0%, #0f172a 100%);
  color: #ffffff;
  padding-top: 60px;
  margin-top: 50px;
  border-top: 4px solid #0284c7;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 1.1fr;
  gap: 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* عمود اليمين (اللوجو والاسم) */
.footer-logo-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #0f172a;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
}

.footer-title-group h3 {
  font-size: 1.35rem;
  color: #ffffff;
  font-weight: 700;
  margin: 0 0 2px 0;
}

.footer-title-group span {
  font-size: 0.85rem;
  color: #38bdf8;
  font-weight: 600;
}

.footer-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0;
}

.footer-disclaimer-note small {
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
}

/* عمود الوسط (اللينكات) */
.footer-col h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 5px;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 2px solid #0284c7;
  width: fit-content;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.footer-links-list li a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links-list li a:hover {
  color: #38bdf8;
  transform: translateX(-4px);
}

/* عمود اليسار (أرقام الاتصال) */
.footer-contact-col p {
  font-size: 0.92rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

.footer-contacts-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 5px;
}

.footer-contact-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hotline-btn {
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(2, 132, 199, 0.4);
}
.hotline-btn:hover {
  background: rgba(2, 132, 199, 0.3);
  transform: translateY(-2px);
}

.phone-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.phone-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.whatsapp-btn {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
}
.whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

.footer-contact-btn .f-icon {
  font-size: 1.2rem;
  color: #38bdf8;
}
.whatsapp-btn .f-icon {
  color: #25d366;
}

.footer-contact-btn .f-text small {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
}

.footer-contact-btn .f-text strong {
  display: block;
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* شريط الحقوق السفلي */
.footer-bottom-bar {
  background-color: #05080e;
  padding: 18px 0;
  text-align: center;
}

.footer-bottom-content p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.footer-bottom-content strong {
  color: #e2e8f0;
}

/* التجاوب مع الشاشات الصغيرة والمتوسطة */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-col:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-col:last-child {
    grid-column: span 1;
  }
  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.regions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 10px;
}
/* حاوية الصورة لتوسيطها وحمايتها على جميع الأجهزة */
.image-container {
  width: 100%;
  max-width: 800px; /* يمكنك زيادة أو تقليل العرض الأقصى حسب تصميم موقعك */
  margin: 20px auto;
  padding: 10px;
  box-sizing: border-box;
}

/* تصميم الصورة الاحترافي */
.custom-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px; /* حواف دائرية أنيقة */
  border: 2px solid #b58e3e; /* إطار بنفس لون الهوية (الذهبي الفاخر) */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* ظل خفيف لإبراز الصورة وتعميق التصميم */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* تأثير حركة خفيف عند مرور الماوس فوق الصورة */
.custom-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(181, 142, 62, 0.3);
}
