/* Compiled Tailwind-like layer for the portfolio site (dark + gold theme) */
:root {
  --bg-body: #0b0b0c;
  --bg-surface: #121214;
  --text-primary: #f8fafc;
  --text-muted: #b6c0ce;
  --accent: #d4af37;
  --accent-soft: #c49a2f;
  --border: #1f2937;
  --radius: 14px;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Cairo", "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.lang-en {
  direction: ltr;
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
  position: relative;
}

h3 {
  font-size: clamp(19px, 0.8vw, 24px);
}

h2::before,
h3::before,
h4::before,
h5::before,
h6::before {
  content: "";
  display: inline-flex;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-inline-start: 8px;
  margin-inline-end: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

section {
  
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.grid {
  display: grid;
}

.flex {
  display: flex;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrap {
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 999px;
  font-weight: 600;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 13px;
}

.contact-chip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px;
  color: var(--text-primary);
  font-weight: 700;
  min-width: 240px;
  transition: transform 0.15s ease, border 0.15s ease;
}

.contact-chip .icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.45);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  color: #0b0b0c !important;
}

.btn-secondary {
  border-color: var(--border);
  background: var(--bg-surface);
  color: var(--text-primary);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.surface {
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.muted {
  color: var(--text-muted);
}

.quick-visual {
  display: flex;
  justify-content: center;
  margin: -6px auto 10px;
}

.quick-visual-img {
  width: 100%;
  max-width: 190px;
  border-radius: 12px;
  display: block;
  opacity: 0.9;
}

.quick-visual-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 13px;
}

.quick-visual-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.35), rgba(212, 175, 55, 0.12));
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.section-head {
  margin-bottom: 26px;
}
.section-title {
  margin: 0 0 10px;
}

h2.section-title {
  font-size: clamp(24px, 1vw, 30px) !important;
}
h3.section-title {
  font-size: clamp(18px, 1vw, 30px)!important;
}
h4.section-title {
  font-size: clamp(16px, 1vw, 30px) !important;
}

.section-desc {
  margin: 0;
  color: var(--text-muted);
}
main{
  overflow: hidden;
}
.hero {
  padding: 20px 0 0px;
  min-height: 80vh;
  position: relative;

}

.hero-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}
.hero .surface > div {
  align-self: flex-start;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  pointer-events: none;
}

.hero::before {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.08), transparent 60%);
  top: -140px;
  left: -180px;
}

.hero::after {
  width: 320px;
  height: 320px;
  background: rgba(212, 175, 55, 0.06);
  bottom: -140px;
  right: -120px;
}

.hero-title {
 font-size: clamp(20px, 0.4vw, 44px);
  line-height: 1.3;
  margin: 0 0 16px;
  max-width: 56ch;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 22px;
  line-height: 1.7;
  max-width: 56ch;
}

.hero-visual {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 680px;
}

.visual-card {
  position: relative;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(245, 245, 245, 0.12);
}

.visual-chip {
  display: inline-flex;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 13px;
  border: 1px solid rgba(245, 245, 245, 0.16);
}

.visual-stack {
  display: grid;
  gap: 10px;
}

.accent {
  color: var(--accent);
}

.hero .surface {
  background: rgba(18, 18, 20, 0.78);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.hero-strap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  margin-bottom: 12px;
}

.hero-strap .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.15);
}


.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-row .btn {
  min-width: 220px;
}

.btn-secondary {
  padding: 12px 18px;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.available-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  color: var(--accent);
  font-weight: 700;
  margin: 10px 0 6px;
  font-size: 13px;
}

.name-badge {
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  margin-bottom: 8px;
  align-items: flex-start;
  
}

.name-badge .name-en {
  font-size: 14px;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

.name-badge .name-ar {
  font-size: 30px;
  color: var(--text-primary);
  font-family: "Cairo", system-ui, sans-serif;
  font-weight: 800;
  display: block;
  line-height: 1.3;
   color: var(--accent);
   padding: 10px;
}

.slogan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 16px;
}

.cta-links {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
}

.cta-links a {
  color: var(--text-muted);
  text-decoration: underline;
}

.cta-links a:hover {
  color: var(--text-primary);
}

.contact-inline {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.contact-link svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

.contact-inline .sep {
  margin: 0 6px;
  color: var(--text-muted);
}

.contact-inline strong {
  color: var(--accent);
  font-weight: 700;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.value-item {
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.05);
  text-align: center;
  color: var(--accent);
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  position: relative;
  padding-left: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  inset: 12px auto 12px 6px;
  width: 2px;
  background: rgba(212, 175, 55, 0.4);
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.15);
}

.timeline-card {
  margin-left: 14px;
}

.caps-grid,
.solutions-grid,
.showcase-grid {
  display: grid;
  gap: 18px;
}

.caps-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.solutions-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.showcase-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.list {
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}

.list li {
  margin-bottom: 6px;
  color: var(--text-muted);
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.form {
  display: grid;
  gap: 12px;
}

.input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-primary);
}

.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 14px 16px;
  background: #25d366;
  color: #0b0b0c;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  border: none;
  cursor: pointer;
}

.lang-switch {
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 16px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.nav-chip svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

.focus-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 12px;
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 12px;
}

.badge {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--text-primary);
  border: 1px solid rgba(212, 175, 55, 0.5);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.caps-grid .badge {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--text-primary);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.meta-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.info-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.info-card {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 8px;
  align-content: start;
}

.info-card strong {
  font-size: 15px;
}

.info-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text-muted);
}

.info-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.28);
  color: var(--accent);
  font-size: 13px;
}

.info-item strong {
  font-size: 14px;
}

.footer {
  padding: 24px 0 40px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.capsule {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--accent);
  font-weight: 700;
}

.nav .container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11, 11, 12, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 0;
  flex-wrap: nowrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}

.nav a {
  color: var(--text-muted);
  font-weight: 600;
}

.nav a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex: 0 0 auto;
  margin-inline-start: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips.flow-rtl {
  direction: rtl;
}

.chips.flow-rtl .tag:not(:last-child)::after {
  content: " \u2190";
  color: var(--text-muted);
  margin-inline-start: 6px;
  font-weight: 600;
}

.chips-compact {
  gap: 6px 8px;
}

.feature-chips .badge {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--text-primary);
  font-weight: 700;
}

.kpi {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.kpi strong {
  color: var(--accent);
  font-size: 20px;
}

.model-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.model-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.05);
  min-height: 180px;
}

.model-card .model-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text-primary);
  font-size: 16px;
}

.model-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.1));
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.model-card .section-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.faq-acc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.faq-acc details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.faq-acc summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-acc summary::marker,
.faq-acc summary::-webkit-details-marker {
  display: none;
}

.faq-acc summary span {
  font-size: 16px;
}

.faq-acc .faq-body {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq-acc .icon {
  color: var(--accent);
  margin-inline-start: 10px;
  font-size: 18px;
  transition: transform 0.2s ease;
}

.faq-acc details[open] summary .icon {
  transform: rotate(45deg);
}

/* تأكيد إخفاء الماركَر الافتراضي للـ summary في كل المتصفحات */
.faq-acc summary::marker,
.faq-acc summary::-webkit-details-marker {
  display: none;
}

.btn-compact {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
}



.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  section {
    padding: 48px 0;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
  }

  .nav-brand {
    width: 100%;
  }

  .nav-brand .nav-chip h1 {
    font-size: 16px;
  }

  .nav-chip {
    padding: 6px 9px;
    font-size: 14px;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 40px;
  }

   .cta-row {
    flex-direction: column;
  }

  .cta-row .btn {
    width: 100%;
  }

  .timeline-item {
    padding-left: 16px;
  }
}
