/* ==========================================
   1. RESET & GENERAL STYLES
   ========================================== */
:root {
  --primary-color: #446fdb;
  --primary-hover: #0369a1;
  --secondary-color: #0f172a;
  --accent-color: #0e3480;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #334155;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Cairo", sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================
   2. NAVBAR STYLES
   ========================================== */
.navbar {
  background-color: var(--bg-card);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
}

/* Desktop Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: rgba(2, 132, 199, 0.05);
}

/* Dropdown Menu (Desktop) */
.dropdown {
  position: relative;
}

.dropdown-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown-btn:hover {
  color: var(--primary-color);
  background-color: rgba(2, 132, 199, 0.05);
}

.dropdown-icon {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  background-color: var(--bg-card);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 10px 0;
  border: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
  padding-right: 25px;
}

/* Hotline Button (Desktop) */
.btn-hotline {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.btn-hotline:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* Hamburger & Mobile Menu Styles */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--secondary-color);
  width: 40px;
  height: 40px;
}

.hamburger-btn svg {
  width: 30px;
  height: 30px;
}

.mobile-menu {
  display: none;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 20px;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-link,
.mobile-dropdown-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  font-weight: 700;
  color: var(--text-dark);
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  border: none;
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 10px 15px;
  background-color: #f1f5f9;
  border-radius: var(--radius-sm);
  margin-top: 6px;
}

.mobile-dropdown-menu.active {
  display: flex;
}

.mobile-sublink {
  padding: 8px 10px;
  font-weight: 600;
  color: var(--text-main);
}

.btn-hotline-mobile {
  background-color: var(--accent-color);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  margin-top: 10px;
}

.dropdown-icon.rotate-180 {
  transform: rotate(180deg);
}

/* ==========================================
   3. HEADER & HERO
   ========================================== */
.main-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1e293b 100%);
  color: #ffffff;
  padding: 60px 0 40px;
  text-align: center;
  margin-bottom: 40px;
}

.main-header h1 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.main-header h1 i {
  color: var(--primary-color);
}

.main-header .subtitle {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Hotlines Bar */
.hotlines-header {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.hotline-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hotline-badge i {
  color: var(--primary-color);
}

.hotline-badge strong {
  color: #38bdf8;
  font-size: 1.1rem;
}

/* ==========================================
   4. CONTENT BLOCKS & CARDS
   ========================================== */
.page-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 60px;
}

.content-block {
  background-color: var(--bg-card);
  padding: 35px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.content-block h2 {
  font-size: 1.6rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.content-block h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.content-block h3 {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin: 25px 0 15px;
}

.content-block p {
  margin-bottom: 15px;
  color: var(--text-main);
  font-size: 1.05rem;
}

/* Styled Lists */
.styled-list {
  margin-top: 15px;
}

.styled-list li {
  position: relative;
  padding-right: 28px;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.styled-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 2px;
  color: var(--primary-color);
}

/* Highlight Box */
.highlight-box {
  background-color: #f0f9ff;
  border-right: 5px solid var(--primary-color);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
}

.highlight-box h4 {
  color: var(--primary-hover);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

/* Hero Card Article */
.hero-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.hero-image {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  display: block;
}

.hero-card .content-box {
  padding: 35px;
}

.hero-card .badge {
  background-color: rgba(2, 132, 199, 0.1);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 15px;
}

.hero-card h1 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.intro-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.info-item,
.info-card {
  background-color: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.info-item h3,
.info-card h4 {
  font-size: 1.15rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.info-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

/* Inner Hotlines Grid Section */
.hotlines-section {
  background-color: #f8fafc;
  padding: 25px;
  border-radius: var(--radius-md);
  margin: 30px 0;
  border: 1px dashed #cbd5e1;
}

.hotlines-section .section-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  text-align: center;
}

.hotlines-section .section-title::after {
  display: none;
}

.hotlines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
}

.hotline-card {
  background-color: var(--bg-card);
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.hotline-info {
  display: flex;
  flex-direction: column;
}

.hotline-info strong {
  font-size: 0.95rem;
  color: var(--secondary-color);
}

.hotline-info small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.call-btn {
  background-color: #22c55e;
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.call-btn:hover {
  background-color: #16a34a;
}

/* ==========================================
   5. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 992px) {
  .desktop-only {
    display: none !important;
  }

  .hamburger-btn {
    display: block;
  }

  .main-header h1 {
    font-size: 1.7rem;
    flex-direction: column;
  }

  .content-block {
    padding: 25px;
  }
}

@media (max-width: 600px) {
  .main-header {
    padding: 40px 0 30px;
  }

  .hotlines-header {
    flex-direction: column;
  }

  .hotline-badge {
    justify-content: center;
  }

  .hotline-card {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .hero-card .content-box {
    padding: 20px;
  }
}
/* SEO Card Styles */
.seo-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  direction: rtl;
}

.seo-keywords-title {
  font-size: 1.3rem;
  color: #1e293b;
  margin-bottom: 12px;
}

.seo-keywords-intro {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* SEO Grid */
.seo-tags-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.seo-tag-box {
  background: #f8fafc;
  border-right: 4px solid #2563eb;
  padding: 16px;
  border-radius: 6px;
}

.seo-tag-box h3 {
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 8px;
}

.seo-tag-box p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.8;
}

.seo-tag-box strong {
  color: #2563eb;
}

/* Data Table Styles */
.seo-table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
}

.seo-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.92rem;
}

.seo-data-table th,
.seo-data-table td {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
}

.seo-data-table th {
  background-color: #f1f5f9;
  color: #1e293b;
}

.table-link {
  color: #2563eb;
  font-weight: bold;
  text-decoration: none;
}

/* Expanded Tags Cloud List */
.seo-queries-list h4 {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 12px;
}

.seo-queries-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-queries-list li {
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #bfdbfe;
  transition: background-color 0.2s ease;
}

.seo-queries-list li:hover {
  background: #dbeafe;
}
/* Legal Section Glassmorphism Design */
.seo-container .legal-section {
  background: #1e293b;
  color: #f8fafc;
  border-right: 6px solid #38bdf8;
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}
.legal-tab-content {
  display: none;
}

.legal-tab-content.active {
  display: block !important;
}
.seo-container .legal-tabs-nav {
  display: flex;
  gap: 12px;
  border-bottom: 2px solid #334155;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.seo-container .legal-tab-btn {
  background: #334155;
  color: #94a3b8;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.seo-container .legal-tab-btn:hover {
  background: #475569;
  color: #ffffff;
}

.seo-container .legal-tab-btn.active {
  background: #38bdf8;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.seo-container .legal-tab-content {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.seo-container .legal-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.seo-container .legal-title {
  color: #38bdf8;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.seo-container .legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}

.seo-container .legal-box {
  background: #0f172a;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #334155;
}

.seo-container .legal-box h4 {
  color: #f1f5f9;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.seo-container .legal-box p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}

.seo-container .legal-notice-box {
  background: rgba(245, 158, 11, 0.1);
  border-right: 4px solid #f59e0b;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  color: #fef3c7;
}

.seo-container .legal-list {
  list-style-type: none;
  padding: 0;
}

.seo-container .legal-list li {
  position: relative;
  padding-right: 22px;
  margin-bottom: 10px;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.seo-container .legal-list li::before {
  content: "✦";
  position: absolute;
  right: 0;
  color: #38bdf8;
}

/* Responsive Mobile Layout */
@media (max-width: 768px) {
  .seo-container {
    padding: 0 15px;
  }
  .seo-container .seo-card,
  .seo-container .keywords-card,
  .seo-container .legal-section {
    padding: 20px 15px;
  }
  .seo-container .card-title {
    font-size: 1.3rem;
  }
  .seo-container .legal-tabs-nav {
    flex-direction: column;
  }
  .seo-container .legal-tab-btn {
    width: 100%;
    text-align: center;
  }
  .seo-container .hotline-numbers {
    flex-direction: column;
    align-items: center;
  }
  .seo-container .hotline-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}
/* ==========================================================================
   Footer Styles (Matching Navbar Design Language)
   ========================================================================== */
.footer {
  background-color: #0f172a;
  color: #f8fafc;
  padding-top: 50px;
  margin-top: 60px;
  border-top: 4px solid #2563eb;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 32px;
}

/* Footer Brand */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  color: #3b82f6;
}

.footer-logo-text {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Footer Titles */
.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 35px;
  height: 3px;
  background-color: #2563eb;
  border-radius: 4px;
}

/* Footer Link Lists */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #60a5fa;
  transform: translateX(-5px);
}

/* Hotline Cards */
.hotline-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-hotline-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #1e293b;
  border: 1px solid #334155;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-hotline-card:hover {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.card-icon {
  font-size: 1.2rem;
}

.card-details {
  display: flex;
  flex-direction: column;
}

.phone-number {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
}

.phone-label {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-hotline-card:hover .phone-label {
  color: #e2e8f0;
}

/* Footer Bottom Bar */
.footer-bottom {
  background-color: #020617;
  padding: 18px 24px;
  border-top: 1px solid #1e293b;
  text-align: center;
}

.bottom-container p {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Responsive Styles for Mobile */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}
/* منع تحديد وتظليل النصوص في الصفحة بالكامل */
body {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE / Edge */
  user-select: none; /* Standard */
}

/* استثناء حقول المدخلات لتسمح للمستخدم بالكتابة داخلها بشكل طبيعي */
input,
textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
