/* ==========================================
   تنسيقات وإعدادات عامة ومتجاوبة
   ========================================== */
/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}

body {
  background-color: #f8fafc;
  overflow-x: hidden;
} */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

.text-center {
  text-align: center !important;
}

/* ==========================================
   1. سكشن الأسئلة الشائعة (FAQ Accordion)
   ========================================== */
.faq-accordion-section {
  padding: 60px 15px;
  background-color: #f8fafc;
}

.faq-main-title {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.title-underline {
  width: 90px;
  height: 3px;
  background-color: #0d9488;
  margin: 0 auto 12px auto;
  border-radius: 2px;
}

.faq-section-subtitle {
  font-size: 15px;
  color: #64748b;
  margin: 0 auto;
  max-width: 600px;
  line-height: 1.6;
}

.mb-45 {
  margin-bottom: 45px;
}

.faq-accordion-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  width: 100%;
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Cairo", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  text-align: right;
  outline: none;
  transition: color 0.3s ease;
}

.faq-question-btn:hover {
  color: #0d9488;
}

.faq-arrow {
  font-size: 12px;
  color: #0d9488;
  transition: transform 0.3s ease;
}

.faq-answer-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease-out,
    padding 0.35s ease-out;
  padding: 0 20px;
  background-color: #ffffff;
}

.faq-answer-content p {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.8;
  margin: 0 0 20px 0;
  border-top: 1px solid #f1f5f9;
  padding-top: 15px;
  text-align: right;
}

.faq-item.active .faq-answer-content {
  max-height: 400px;
  padding: 0 20px;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-item.active {
  border-color: #0d9488;
  box-shadow: 0 5px 15px rgba(13, 148, 136, 0.06);
}

/* ==========================================
   2. مقدمة الصفحة (Hero Intro)
   ========================================== */
.faq-hero-intro,
.institution-hero-intro {
  background: #ffffff;
  padding: 40px 25px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  max-width: 950px;
  margin: 0 auto 40px auto;
  width: 100%;
}

.hero-main-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 15px;
}

.hero-description {
  font-size: 15.5px;
  color: #475569;
  line-height: 1.9;
  margin: 0;
  text-align: justify;
}

/* ==========================================
   3. شبكة الكروت والثابتة (Institution Cards)
   ========================================== */
.institution-faq-section {
  padding: 60px 15px;
  background: #f8fafc;
}

.institution-cards-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
}

.modern-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  width: 100%;
}

.modern-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.card-header-area {
  margin-bottom: 15px;
}

.card-header-area h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 10px 0 0 0;
}

.card-tag {
  background: #fee2e2;
  color: #991b1b;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  display: inline-block;
}

.card-body-content p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.8;
  margin: 0 0 15px 0;
  text-align: right;
}

.card-tip-box {
  background: #f8fafc;
  border-right: 3px solid #0d9488;
  padding: 10px 14px;
  font-size: 13px;
  color: #334155;
  border-radius: 6px;
  margin-bottom: 15px;
  text-align: right;
}

.hotline-box {
  background: #0f172a;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 8px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  margin-top: auto;
}

.hotline-box strong {
  color: #38bdf8;
  letter-spacing: 1px;
}

/* ==========================================
   4. سكشن البانر الاحترافي (Banner Section)
   ========================================== */
.institution-banner-section {
  padding: 60px 15px;
  background: #f8fafc;
}

.banner-wrapper {
  background: #0a192f;
  border-radius: 20px;
  padding: 40px 25px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
  box-shadow: 0 20px 40px rgba(10, 25, 47, 0.15);
  width: 100%;
}

.banner-right-content {
  color: #ffffff;
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12.5px;
  color: #e2e8f0;
  margin-bottom: 15px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
}

.banner-main-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 15px;
  color: #ffffff;
}

.banner-description {
  font-size: 14px;
  line-height: 1.9;
  color: #cbd5e1;
  margin-bottom: 25px;
  text-align: justify;
}

.banner-description strong {
  color: #38bdf8;
}

.banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-red-call,
.btn-dark-contact {
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s ease;
  text-align: center;
  flex: 1;
  min-width: 140px;
}

.btn-red-call {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-red-call:hover {
  background: #b91c1c;
}

.btn-dark-contact {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-dark-contact:hover {
  background: rgba(255, 255, 255, 0.15);
}

.banner-left-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 25px;
}

.side-box-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.side-box-text {
  font-size: 13px;
  line-height: 1.8;
  color: #94a3b8;
  margin-bottom: 15px;
  text-align: justify;
}

.phone-number-badge {
  background: #ffffff;
  color: #0f172a;
  padding: 12px 15px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.phone-number-badge strong {
  color: #0d9488;
  letter-spacing: 1px;
}

.features-grid-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-feature-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 8px 5px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

/* ==========================================
   5. سكشن شبكة الأسئلة الداكن (FAQ Grid)
   ========================================== */
.institution-faq-grid-section {
  padding: 60px 15px;
  background: #121212;
  color: #e5e5e5;
}

.faq-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.faq-sidebar-info {
  background: #18181b;
  padding: 30px 20px;
  border-radius: 16px;
  border: 1px solid #27272a;
}

.faq-main-heading {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
  border-bottom: 3px solid #0d9488;
  padding-bottom: 10px;
  display: inline-block;
}

.faq-sidebar-text {
  font-size: 13.5px;
  line-height: 1.9;
  color: #a1a1aa;
  margin-bottom: 15px;
  text-align: justify;
}

.faq-sidebar-text strong {
  color: #38bdf8;
}

.faq-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.faq-card-item {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: border-color 0.3s ease;
}

.faq-card-item:hover {
  border-color: #0d9488;
}

.faq-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.faq-icon-box {
  background: #0284c7;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.faq-card-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
}

.faq-card-body p {
  font-size: 12.5px;
  color: #a1a1aa;
  line-height: 1.8;
  margin: 0 0 10px 0;
  text-align: right;
}

.faq-card-body strong {
  color: #38bdf8;
}

/* ==========================================
   6. سياسة الخصوصية والتنبيهات (Privacy & Disclaimers)
   ========================================== */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.privacy-item {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 20px;
  border-radius: 12px;
  border-right: 4px solid #0ea5e9;
}

.privacy-item h3 {
  color: #0f172a;
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.privacy-item p {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.7;
}

.privacy-disclaimer-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-right: 4px solid #f59e0b;
  padding: 18px;
  border-radius: 12px;
  margin-top: 15px;
}

.privacy-disclaimer-box h3 {
  color: #b45309;
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-disclaimer-box p {
  color: #78350f;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 10px;
}

/* ==========================================
   7. الفوتر الاحترافي (Main Footer)
   ========================================== */
.main-footer {
  position: relative;
  clear: both;
  width: 100%;
  background: linear-gradient(135deg, #090d16 0%, #0f172a 100%) !important;
  color: #ffffff;
  padding-top: 50px;
  margin-top: 60px;
  border-top: 4px solid #0284c7;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px 30px 15px;
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 1.1fr;
  gap: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent !important;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #0f172a;
  font-size: 1.4rem;
  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.2rem;
  color: #ffffff;
  font-weight: 700;
  margin: 0 0 2px 0;
}

.footer-title-group span {
  font-size: 0.8rem;
  color: #38bdf8;
  font-weight: 600;
}

.footer-desc {
  font-size: 0.9rem;
  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: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 5px;
  position: relative;
  padding-bottom: 6px;
  border-bottom: 2px solid #0284c7;
  width: fit-content;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.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.88rem;
  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.88rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

.footer-contacts-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 5px;
}

.footer-contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  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);
}

.phone-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.whatsapp-btn {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
}

.footer-contact-btn .f-icon {
  font-size: 1.1rem;
  color: #38bdf8;
}

.whatsapp-btn .f-icon {
  color: #25d366;
}

.footer-contact-btn .f-text small {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
}

.footer-contact-btn .f-text strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
}

.footer-bottom-bar {
  background-color: #05080e;
  padding: 15px 10px;
  text-align: center;
}

.footer-bottom-content p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

.footer-bottom-content strong {
  color: #e2e8f0;
}

/* ==========================================
   Media Queries للتجاوب التام مع الشاشات
   ========================================== */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .footer-col:last-child {
    grid-column: span 2;
  }
  .faq-grid-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .banner-wrapper {
    grid-template-columns: 1fr;
    padding: 30px 15px;
  }

  .banner-main-title {
    font-size: 24px;
  }

  .faq-cards-container,
  .privacy-grid,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-col:last-child {
    grid-column: span 1;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }

  .faq-main-title,
  .hero-main-title,
  .faq-main-heading {
    font-size: 24px;
  }

  .faq-question-btn {
    font-size: 15px;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .banner-actions {
    flex-direction: column;
  }
  .btn-red-call,
  .btn-dark-contact {
    width: 100%;
  }
}
.regions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 10px;
}
/* تصميم الصورة الاحترافي */
.custom-img {
  width: 100vw; /* تم التعديل للتجاوب السريع */
  max-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;
}

/* باقي التنسيقات زي ما هي تماماً */
.image-container {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  padding: 10px;
  box-sizing: border-box;
}

.custom-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(181, 142, 62, 0.3);
}
