:root {
  --primary: #0d47a1;
  --primary-dark: #002171;
  --accent: #ff6f00;
  --accent-hover: #e65100;
  --text: #1a1a2e;
  --text-muted: #5c5c6d;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --border: #e2e8f0;
  --success: #2e7d32;
  --shadow: 0 4px 24px rgba(13, 71, 161, 0.12);
  --radius: 12px;
  --font: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  right: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary-dark);
  line-height: 1.15;
}
.logo-brand span { color: var(--accent); }
.logo-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--primary);
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  color: var(--text);
  font-weight: 600;
  padding: 0.35rem 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.75em; }
.nav-dropdown ul {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 240px;
  padding: 0.5rem 0;
  flex-direction: column;
  gap: 0;
  z-index: 100;
}
.nav-dropdown:hover ul, .nav-dropdown:focus-within ul { display: flex; }
.nav-dropdown ul a {
  display: block;
  padding: 0.55rem 1rem;
  font-weight: 500;
}
.nav-dropdown ul a:hover { background: var(--bg-alt); }

.header-cta {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,33,113,0.88) 0%, rgba(13,71,161,0.75) 50%, rgba(0,0,0,0.5) 100%);
}
.hero .container { position: relative; z-index: 1; padding: 4rem 0; }
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.3;
  margin: 0 0 1rem;
  max-width: 800px;
}
.hero p {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 0 1.5rem;
  opacity: 0.95;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Sections */
section { padding: 4rem 0; }
section.alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary-dark);
  margin: 0 0 0.75rem;
}
.section-header p { color: var(--text-muted); margin: 0; }

/* Cards grid */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--primary-dark);
}
.card-body p { margin: 0 0 1rem; color: var(--text-muted); font-size: 0.95rem; }

/* Features */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.feature-list .icon {
  width: 48px;
  height: 48px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.feature-list h3 { margin: 0 0 0.5rem; font-size: 1.05rem; color: var(--primary-dark); }
.feature-list p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* Cities / tags */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.tag {
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text);
}
.tag:hover { border-color: var(--primary); color: var(--primary); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fff;
}
.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: var(--primary-dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  float: left;
  font-size: 1.25rem;
  color: var(--accent);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer { padding: 0 1.25rem 1rem; color: var(--text-muted); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
  padding: 3rem 0;
}
.cta-band h2 { margin: 0 0 0.75rem; font-size: 1.75rem; }
.cta-band p { margin: 0 0 1.5rem; opacity: 0.9; }
.cta-band .btn { margin: 0.25rem; }

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 0.35rem; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 3rem 0;
}
.page-hero h1 { margin: 0 0 0.75rem; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.page-hero p { margin: 0; opacity: 0.9; max-width: 700px; }

/* Content */
.content-block { max-width: 800px; }
.content-block h2 { color: var(--primary-dark); margin-top: 2rem; }
.content-block h3 { color: var(--primary); }
.content-block ul, .content-block ol { padding-right: 1.25rem; }
.content-block li { margin-bottom: 0.5rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-card h3 { margin-top: 0; color: var(--primary-dark); }
.contact-card a { font-size: 1.2rem; font-weight: 700; }

.map-embed {
  border: 0;
  border-radius: var(--radius);
  width: 100%;
  height: 350px;
}

/* Blog */
.blog-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.blog-card .card-body h3 { font-size: 1.1rem; }

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 1rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.floating-cta .btn {
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  min-width: 56px;
  min-height: 56px;
  border-radius: 50%;
  padding: 0;
  font-size: 1.4rem;
}

/* Testimonials */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-style: italic;
}
.testimonial cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.phone-highlight {
  display: inline-block;
  background: rgba(255, 111, 0, 0.95);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.1rem;
}
.phone-highlight:hover { background: #e65100; color: #fff; }
.hero-phone { font-size: 1.15rem; margin: 0 0 1rem; opacity: 0.95; }

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .nav-dropdown ul {
    position: static;
    box-shadow: none;
    border: none;
    padding-right: 1rem;
    display: none;
  }
  .nav-dropdown.open ul { display: flex; }
  .header-cta .btn span.hide-mobile { display: none; }
}

@media (max-width: 600px) {
  .hero { min-height: 440px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
