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: 20px 15px;
  box-sizing: border-box;
}

.institution-intro-article,
.article-content-area {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.institution-intro-article h2,
.section-header h2 {
  color: #0056b3;
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: 700;
  border-right: 4px solid #ff9800;
  padding-right: 12px;
}

.institution-intro-article p,
.article-content-area p {
  font-size: 15px;
  color: #555555;
  margin-bottom: 15px;
  line-height: 1.8;
}

.hotline-highlight {
  background-color: rgba(255, 152, 0, 0.1);
  color: #ff9800;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.screen-intro-section {
  margin-bottom: 40px;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.section-header h2 {
  border-right: none;
  padding-right: 0;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  padding: 10px 0;
  color: #555555;
  font-size: 15px;
}

.features-list li i {
  color: #28a745;
  margin-left: 8px;
  font-style: normal;
  font-weight: bold;
}

@media (max-width: 768px) {
  .container {
    padding: 10px;
  }
  .institution-intro-article,
  .article-content-area {
    padding: 20px;
  }
}
.screen-intro-section {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.section-header h2 {
  color: #2c3e50;
  font-size: 22px;
  margin-bottom: 10px;
  border-bottom: 2px solid #0056b3;
  padding-bottom: 8px;
  display: inline-block;
}

.article-content-area {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.extra-margin-top {
  margin-top: 25px;
}

.highlight-p {
  font-weight: bold;
  color: #0056b3;
  margin-top: 10px;
}

.hotline-highlight {
  color: #e74c3c;
  font-weight: bold;
}

/* القوائم والعناصر */
.styled-list {
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fault-item,
.faq-item {
  background: #fafafa;
  padding: 15px;
  border-right: 4px solid #0056b3;
  border-radius: 4px;
  margin-bottom: 10px;
}

.fault-item h3,
.faq-item h3 {
  margin-top: 0;
  color: #2c3e50;
  font-size: 18px;
}

/* صندوق الخدمات والموديلات الحديثة */
.service-box {
  background: #f8f9fa;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.service-tags-text {
  margin-top: 10px;
  font-weight: bold;
  font-size: 14px;
  color: #555;
}

/* شبكة الأعطال السريعة */
.quick-faults-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.fault-card {
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.fault-card h4 {
  margin-top: 0;
  color: #2c3e50;
}

.price-tag {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  font-size: 13px;
}

.price-tag.orange {
  color: #e67e22;
}

.price-tag.green {
  color: #27ae60;
}

.note-text {
  font-size: 13px;
  color: #666;
  margin-top: 15px;
}

/* شبكة مناطق الخدمة */
.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.area-card {
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 6px;
  background: #fff;
}

.area-card h3 {
  margin-top: 0;
  font-size: 17px;
  color: #0056b3;
}

/* تذييل الكلمات الدلالية */
.seo-keywords-footer {
  margin-top: 25px;
  background: #fdfdfd;
  border: 1px dashed #ccc;
  padding: 15px;
  border-radius: 6px;
}

.seo-title {
  font-weight: bold;
  margin-bottom: 8px;
  color: #2c3e50;
}

.seo-subtitle {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: #eee;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: #444;
}
/* ==========================================
   تنسيقات سكشن سياسة الخصوصية (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);
}
