/*
Theme Name: Atlas Syria — أطلس للتسويق الرقمي | سوريا
Theme URI: https://syria.atlasdigitalkw.com
Author: Atlas Digital KW
Author URI: https://www.atlasdigitalkw.com
Description: Custom bilingual Arabic/English WordPress theme for Atlas Digital Syria. Fully editable via WordPress Customizer. Includes Google Ads, Social Media, and Web Design service sections with Syria SEO optimization.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
License URI: https://www.atlasdigitalkw.com
Text Domain: atlas-syria
Tags: rtl-language, arabic, bilingual, marketing, business, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* ═══════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════ */
:root {
  --navy:        #0D1B2A;
  --navy-mid:    #142236;
  --navy-light:  #1E3550;
  --gold:        #C9A84C;
  --gold-light:  #E8C96E;
  --gold-pale:   #F5E9C8;
  --cream:       #FAF7F0;
  --white:       #FFFFFF;
  --text-main:   #0D1B2A;
  --text-muted:  #5A6A7A;
  --text-light:  #8FA0B0;
  --border:      rgba(13,27,42,0.1);
  --border-gold: rgba(201,168,76,0.35);
  --green-sy:    #007A3D;
  --red-sy:      #CE1126;
  --black-sy:    #000000;

  --font-ar:     'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-en:     'Inter', 'Helvetica Neue', Arial, sans-serif;
  --radius:      12px;
  --radius-sm:   8px;
  --container:   1100px;
  --section-pad: 80px 0;
}

/* ═══════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ar);
  background: var(--white);
  color: var(--text-main);
  line-height: 1.7;
  direction: rtl;
  font-size: 16px;
}

body.lang-en {
  direction: ltr;
  font-family: var(--font-en);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ═══════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad { padding: var(--section-pad); }

/* ═══════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════ */
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.85;
}
.section-head { margin-bottom: 52px; }
h1, h2, h3, h4 { line-height: 1.3; }
.en-text { font-family: var(--font-en); direction: ltr; display: inline-block; }

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 13px 28px;
  border-radius: 28px;
  font-weight: 800;
  font-size: 15px;
  border: none;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-primary:focus { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  padding: 13px 28px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.28);
  transition: border-color 0.2s, color 0.2s;
  font-family: inherit;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.7); color: white; }

/* ═══════════════════════════════════════════════
   SYRIA FLAG INLINE SVG (reusable class)
   ═══════════════════════════════════════════════ */
.syria-flag {
  display: inline-block;
  width: 28px;
  height: 19px;
  vertical-align: middle;
  margin-right: 6px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-en .syria-flag { margin-right: 0; margin-left: 6px; }

/* ═══════════════════════════════════════════════
   LANGUAGE BAR
   ═══════════════════════════════════════════════ */
.lang-bar {
  background: var(--navy);
  padding: 7px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.lang-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lang-bar-left {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-bar-left a { color: var(--gold-light); transition: opacity 0.2s; }
.lang-bar-left a:hover { opacity: 0.8; }
.lang-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-contact-pill {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
}
.lang-contact-pill a {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.3px;
}
.lang-toggle-group {
  display: flex;
  gap: 3px;
}
.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.55);
  padding: 3px 13px;
  border-radius: 20px;
  font-size: 12px;
  font-family: var(--font-ar);
  transition: all 0.2s;
}
.lang-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 700;
}
.lang-btn:hover:not(.active) { color: white; border-color: rgba(255,255,255,0.45); }

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */
#site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 37px;
  z-index: 999;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text-wrap { line-height: 1; }
.logo-name {
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 4px;
}
.logo-sub {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 3px;
  font-weight: 400;
  display: block;
}

#primary-navigation ul {
  display: flex;
  align-items: center;
  gap: 26px;
}
#primary-navigation a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
#primary-navigation a:hover,
#primary-navigation li.current-menu-item a {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.nav-cta-link {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 8px 20px !important;
  border-radius: 22px !important;
  border-bottom: none !important;
  font-weight: 800 !important;
  font-size: 13px !important;
}
.nav-cta-link:hover { background: var(--gold-light) !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 4px;
}
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 24px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero-section {
  background: var(--navy);
  color: white;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 68%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 68%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.28);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.65); }
}

.hero-headline {
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.22;
  margin-bottom: 22px;
  min-height: 2.6em;
}
.hero-typed { color: var(--gold-light); }
.hero-cursor {
  display: inline-block;
  width: 3px;
  height: 0.75em;
  background: var(--gold);
  margin-right: 3px;
  animation: blink 0.75s step-end infinite;
  vertical-align: baseline;
}
@keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 650px;
  line-height: 1.85;
  margin-bottom: 40px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 60px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 520px;
}
.hero-stat {
  background: rgba(255,255,255,0.04);
  padding: 20px 24px;
  text-align: center;
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold-light);
  display: block;
  font-family: var(--font-en);
}
.hero-stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
  display: block;
}

/* ═══════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════ */
.trust-bar {
  background: var(--cream);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1px;
  white-space: nowrap;
}
.trust-platforms {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-platform {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.55;
  font-family: var(--font-en);
  letter-spacing: 0.2px;
}

/* ═══════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════ */
.services-section { padding: var(--section-pad); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.22s, transform 0.2s;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 3px; height: 0;
  background: var(--gold);
  transition: height 0.3s;
}
.service-card:hover { border-color: var(--border-gold); transform: translateY(-2px); }
.service-card:hover::after { height: 100%; }
.service-icon-wrap {
  width: 50px; height: 50px;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.service-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 3px 9px;
  border-radius: 10px;
  font-family: var(--font-en);
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}
.service-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 9px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.service-features {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.service-features li {
  font-size: 13px;
  color: var(--text-muted);
  padding-right: 18px;
  position: relative;
}
.lang-en .service-features li { padding-right: 0; padding-left: 18px; }
.service-features li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--gold);
  font-weight: 800;
}
.lang-en .service-features li::before { right: auto; left: 0; }

/* ═══════════════════════════════════════════════
   WHY US (dark section)
   ═══════════════════════════════════════════════ */
.why-section {
  background: var(--navy);
  padding: var(--section-pad);
}
.why-section .section-title { color: white; }
.why-section .section-sub { color: rgba(255,255,255,0.58); }
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.reason-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: background 0.2s;
}
.reason-card:hover { background: rgba(255,255,255,0.07); }
.reason-number {
  font-size: 38px;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 14px;
  font-family: var(--font-en);
}
.reason-card h3 { font-size: 17px; font-weight: 800; color: white; margin-bottom: 8px; }
.reason-card p { font-size: 13px; color: rgba(255,255,255,0.52); line-height: 1.75; }

/* ═══════════════════════════════════════════════
   SECTORS
   ═══════════════════════════════════════════════ */
.sectors-section {
  background: var(--cream);
  padding: var(--section-pad);
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 14px;
}
.sector-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  transition: border-color 0.2s, background 0.2s;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.sector-chip:hover { border-color: var(--gold); background: var(--gold-pale); }
.sector-emoji { font-size: 24px; }

/* ═══════════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════════ */
.process-section { padding: var(--section-pad); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 27px;
  right: 14%;
  left: 14%;
  height: 1px;
  background: var(--border-gold);
  z-index: 0;
}
.process-step {
  padding: 0 14px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 54px; height: 54px;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 50%;
  font-size: 17px;
  font-weight: 900;
  display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid var(--gold-pale);
  font-family: var(--font-en);
}
.process-step h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text-muted); line-height: 1.75; }

/* ═══════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════ */
.testimonials-section {
  background: var(--cream);
  padding: var(--section-pad);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.stars { color: var(--gold); font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 11px; }
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-weight: 800;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 800; color: var(--navy); }
.author-biz { font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* ═══════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════ */
.contact-section {
  background: var(--navy);
  padding: var(--section-pad);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-section .section-title { color: white; }
.contact-section .section-sub { color: rgba(255,255,255,0.58); }
.contact-items { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.ci-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ci-label { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 4px; display: block; }
.ci-value { font-size: 15px; font-weight: 700; color: var(--gold-light); }
.ci-value:hover { text-decoration: underline; }

.lead-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.lead-form h3 { font-size: 19px; font-weight: 800; color: white; margin-bottom: 22px; }
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-sm);
  color: white;
  font-family: inherit;
  font-size: 14px;
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--gold); }
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255,255,255,0.28); }
.form-row select option { background: #1a2e44; color: white; }
.form-row textarea { resize: vertical; min-height: 90px; }
.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 28px;
  padding: 13px;
  font-size: 16px;
  font-weight: 800;
  font-family: inherit;
  transition: background 0.2s;
  margin-top: 6px;
}
.form-submit:hover { background: var(--gold-light); }
.form-note { font-size: 11px; color: rgba(255,255,255,0.3); text-align: center; margin-top: 9px; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
#colophon {
  background: #07111C;
  color: rgba(255,255,255,0.42);
  padding: 44px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand-name {
  font-size: 17px;
  font-weight: 900;
  color: white;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-brand-desc { font-size: 13px; line-height: 1.75; max-width: 290px; }
.footer-col-title { font-size: 12px; font-weight: 700; color: white; margin-bottom: 14px; letter-spacing: 0.5px; }
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-main-link { color: var(--gold-light); }
.footer-main-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════
   WHATSAPP FLOAT
   ═══════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.38);
  z-index: 1100;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 27px; height: 27px; fill: white; }

/* ═══════════════════════════════════════════════
   BILINGUAL TOGGLE
   ═══════════════════════════════════════════════ */
[data-lang="en"] { display: none; }
body.lang-en [data-lang="ar"] { display: none; }
body.lang-en [data-lang="en"] { display: block; }
body.lang-en .section-sub,
body.lang-en .hero-sub,
body.lang-en .service-card p,
body.lang-en .reason-card p,
body.lang-en .process-step p { font-family: var(--font-en); }

/* ═══════════════════════════════════════════════
   WORDPRESS CORE: Alignment, Comments
   ═══════════════════════════════════════════════ */
.wp-block-image { margin: 2rem 0; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: right; margin: 0 0 1rem 1.5rem; }
.alignright { float: left; margin: 0 1.5rem 1rem 0; }
.wp-caption { max-width: 100%; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .process-grid::before { display: none; }
  .hero-stats { grid-template-columns: 1fr; max-width: 100%; }
}

@media (max-width: 768px) {
  #primary-navigation { display: none; }
  .hamburger { display: block; }
  .lang-bar-left { display: none; }
  :root { --section-pad: 52px 0; }
  .hero-section { padding: 60px 0 52px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════ */
.breadcrumb-nav { background: var(--cream); border-bottom: 1px solid var(--border); padding: 12px 0; }
.breadcrumb { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; list-style: none; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li:last-child { color: var(--navy); font-weight: 600; }
.bc-sep { color: var(--text-light); font-size: 11px; }

/* ═══════════════════════════════════════════════
   SINGLE POST — ARTICLE HERO
   ═══════════════════════════════════════════════ */
.article-hero { background: var(--navy); color: white; padding: 56px 0 52px; }
.article-hero-inner { max-width: 780px; }
.article-meta-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.article-cat { font-size: 11px; font-weight: 800; color: var(--navy); background: var(--gold); padding: 4px 12px; border-radius: 20px; letter-spacing: 0.5px; }
.article-read-time { font-size: 13px; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 5px; }
.article-title { font-size: clamp(26px, 4vw, 44px); font-weight: 900; line-height: 1.3; color: white; margin-bottom: 18px; }
.article-excerpt { font-size: 17px; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 28px; max-width: 680px; }
.article-byline { display: flex; align-items: center; gap: 12px; }
.byline-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 900; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.byline-name { font-size: 14px; font-weight: 700; color: white; display: block; }
.byline-date { font-size: 12px; color: rgba(255,255,255,0.45); display: block; margin-top: 2px; }
.article-featured-img { background: var(--navy); }
.article-thumb { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; display: block; }

/* ARTICLE LAYOUT */
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; padding-top: 52px; padding-bottom: 60px; align-items: start; direction: rtl; }
.lang-en .article-layout { direction: ltr; }
.article-toc { order: 2; position: sticky; top: 120px; }
.toc-inner { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 18px; }
.toc-title { font-size: 12px; font-weight: 800; color: var(--text-light); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
#toc-nav ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
#toc-nav li.toc-sub { padding-right: 14px; }
.lang-en #toc-nav li.toc-sub { padding-right: 0; padding-left: 14px; }
#toc-nav a { font-size: 13px; color: var(--text-muted); display: block; padding: 5px 8px; border-radius: 6px; transition: background 0.15s, color 0.15s; line-height: 1.5; }
#toc-nav a:hover, #toc-nav a.active { background: var(--gold-pale); color: var(--navy); font-weight: 600; }
.article-content { order: 1; }
.article-content h2 { font-size: clamp(20px,2.5vw,26px); font-weight: 900; color: var(--navy); margin: 40px 0 14px; padding-top: 8px; border-top: 2px solid var(--gold-pale); }
.article-content h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin: 28px 0 10px; }
.article-content p { font-size: 16px; line-height: 1.9; color: var(--text-main); margin-bottom: 18px; }
.article-content ul, .article-content ol { margin: 0 0 18px 0; padding-right: 24px; padding-left: 0; }
.lang-en .article-content ul, .lang-en .article-content ol { padding-right: 0; padding-left: 24px; }
.article-content li { font-size: 15px; line-height: 1.8; color: var(--text-main); margin-bottom: 8px; }
.article-content strong { color: var(--navy); font-weight: 800; }
.article-content a { color: var(--gold); border-bottom: 1px solid var(--border-gold); }
.article-content a:hover { border-bottom-color: var(--gold); }
.article-content blockquote { border-right: 4px solid var(--gold); border-left: none; padding: 16px 20px; margin: 24px 0; background: var(--gold-pale); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 16px; font-style: italic; color: var(--navy); }
.lang-en .article-content blockquote { border-right: none; border-left: 4px solid var(--gold); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }

/* Tags */
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.article-tag { font-size: 12px; font-weight: 700; color: var(--text-muted); background: var(--cream); border: 1px solid var(--border); padding: 4px 12px; border-radius: 20px; transition: border-color 0.2s, color 0.2s; }
.article-tag:hover { border-color: var(--gold); color: var(--navy); }

/* In-article CTA */
.article-cta-box { display: flex; align-items: center; gap: 20px; background: var(--navy); border-radius: var(--radius); padding: 28px 24px; margin-top: 40px; flex-wrap: wrap; }
.article-cta-icon { font-size: 32px; flex-shrink: 0; }
.article-cta-title { font-size: 16px; font-weight: 800; color: white; margin-bottom: 4px; }
.article-cta-sub { font-size: 13px; color: rgba(255,255,255,0.55); }
.article-cta-btn { margin-right: auto; background: var(--gold); color: var(--navy); padding: 10px 22px; border-radius: 22px; font-weight: 800; font-size: 14px; white-space: nowrap; flex-shrink: 0; transition: background 0.2s; }
.lang-en .article-cta-btn { margin-right: 0; margin-left: auto; }
.article-cta-btn:hover { background: var(--gold-light); }

/* SHARE BAR */
.share-bar { background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; }
.share-bar-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.share-label { font-size: 13px; font-weight: 700; color: var(--text-muted); white-space: nowrap; }
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 22px; font-size: 13px; font-weight: 700; border: 1px solid var(--border); background: var(--white); color: var(--text-main); transition: all 0.2s; cursor: pointer; font-family: inherit; }
.share-btn:hover { border-color: var(--navy); color: var(--navy); }
.share-wa:hover { background: #25D366; border-color: #25D366; color: white; }
.share-fb:hover { background: #1877F2; border-color: #1877F2; color: white; }
.share-tw:hover { background: #000; border-color: #000; color: white; }

/* RELATED POSTS */
.related-posts { padding: 60px 0; background: var(--cream); }
.related-title { font-size: 22px; font-weight: 900; color: var(--navy); margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.related-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, border-color 0.2s; display: block; }
.related-card:hover { transform: translateY(-2px); border-color: var(--border-gold); }
.related-img { height: 180px; overflow: hidden; background: var(--navy); }
.related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.related-card:hover .related-img img { transform: scale(1.04); }
.related-img-placeholder { display: flex; align-items: center; justify-content: center; font-size: 40px; }
.related-body { padding: 18px; }
.related-cat { font-size: 10px; font-weight: 800; color: var(--gold); background: var(--gold-pale); padding: 3px 9px; border-radius: 10px; display: inline-block; margin-bottom: 8px; }
.related-post-title { font-size: 15px; font-weight: 800; color: var(--navy); line-height: 1.4; margin-bottom: 8px; }
.related-date { font-size: 12px; color: var(--text-light); }

/* BLOG SECTION (homepage) */
.blog-section { padding: var(--section-pad); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 36px; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, border-color 0.2s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-3px); border-color: var(--border-gold); }
.blog-card-img { height: 200px; overflow: hidden; background: var(--navy); position: relative; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img-placeholder { display: flex; align-items: center; justify-content: center; font-size: 48px; height: 100%; }
.blog-card-cat { position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 800; color: var(--navy); background: var(--gold); padding: 3px 10px; border-radius: 12px; }
.lang-en .blog-card-cat { right: auto; left: 12px; }
.blog-card-body { padding: 22px 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.blog-card-title { font-size: 17px; font-weight: 800; color: var(--navy); line-height: 1.45; margin-bottom: 10px; flex: 1; }
.blog-card-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-link { font-size: 13px; font-weight: 800; color: var(--gold); display: inline-flex; align-items: center; gap: 5px; transition: gap 0.2s; }
.blog-card:hover .blog-card-link { gap: 9px; }
.blog-view-all { text-align: center; }
.btn-outline-dark { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--navy); padding: 12px 28px; border-radius: 28px; font-weight: 700; font-size: 14px; border: 1.5px solid var(--navy); transition: background 0.2s, color 0.2s; }
.btn-outline-dark:hover { background: var(--navy); color: white; }

/* RESPONSIVE SINGLE */
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
  .article-toc { display: none; }
  .article-cta-box { flex-direction: column; text-align: center; }
  .article-cta-btn { margin: 0 auto; }
}


/* ═══════════════════════════════════════════════
   BANNER SLIDER SECTION
   ═══════════════════════════════════════════════ */
.banner-slider-section { padding: var(--section-pad); background: var(--cream); }

.banner-slider-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.banner-slider-head .section-title { margin-bottom: 0; }

/* Main slider container */
.banner-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy);
}

/* Each slide = full-width banner */
.banner-slide {
  display: none;
  position: relative;
  height: 500px;
  overflow: hidden;
}
.banner-slide.active { display: flex; align-items: flex-end; }

.banner-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  z-index: 0;
}
.banner-slide.active .banner-bg-img { transform: scale(1.03); }
.banner-bg-fallback {
  position: absolute;
  inset: 0;
  background: var(--navy-mid);
  z-index: 0;
}

/* Dark gradient overlay over image */
.banner-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(13,27,42,0.97) 0%,
    rgba(13,27,42,0.75) 35%,
    rgba(13,27,42,0.3)  65%,
    rgba(13,27,42,0.1)  100%
  );
}

/* Content sits at bottom of image */
.banner-slide-content {
  position: relative;
  z-index: 2;
  padding: 40px 44px;
  width: 100%;
  max-width: 720px;
}

.banner-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
  background: var(--gold);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.banner-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  color: white;
  line-height: 1.35;
  margin-bottom: 12px;
}

.banner-excerpt {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 600px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.banner-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 26px;
  border-radius: 26px;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}
.banner-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Arrows */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, border-color 0.2s;
  font-family: var(--font-en);
  padding: 0;
}
.banner-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.banner-arrow-prev { right: 20px; }
.banner-arrow-next { left: 20px; }
.lang-en .banner-arrow-prev { right: auto; left: 20px; }
.lang-en .banner-arrow-next { left: auto; right: 20px; }

/* Dots */
.banner-dots {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.banner-dot.active { background: var(--gold); transform: scale(1.4); }

/* Thumbnail strip at bottom */
.banner-thumbs {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.banner-thumb {
  flex: 1;
  height: 80px;
  background-color: var(--navy-mid);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(255,255,255,0.06);
  transition: flex 0.3s ease;
  padding: 0;
}
.banner-thumb:first-child { border-left: none; }
.banner-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.banner-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.65);
  transition: background 0.2s;
}
.banner-thumb.active .banner-thumb-overlay { background: rgba(13,27,42,0.25); }
.banner-thumb.active { flex: 1.6; }
.banner-thumb:hover .banner-thumb-overlay { background: rgba(13,27,42,0.4); }

.banner-thumb-label {
  position: absolute;
  bottom: 8px;
  right: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  font-family: var(--font-ar);
  line-height: 1.3;
  text-align: right;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
}
.banner-thumb.active .banner-thumb-label,
.banner-thumb:hover .banner-thumb-label { opacity: 1; }
.lang-en .banner-thumb-label { text-align: left; }

/* Responsive */
@media (max-width: 768px) {
  .banner-slide { height: 360px; }
  .banner-slide-content { padding: 24px 20px; }
  .banner-title { font-size: 20px; }
  .banner-excerpt { display: none; }
  .banner-thumbs { display: none; }
  .banner-slider-head { flex-direction: column; align-items: flex-start; }
  .banner-arrow { width: 38px; height: 38px; font-size: 20px; }
}
