/* Fast Diagnostic: brand colours taken from the logo (navy + red) */
:root {
  --brand: #0f3154;
  --brand-2: #1b4373;
  --accent: #a82838;
  --accent-dark: #8c1f2d;
  --tint: #eef2f8;
  --ink: #1b2533;
  --muted: #5d6b7e;
  --line: #dde4ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --wa: #25d366;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(15, 49, 84, .10);
  --shadow-sm: 0 6px 18px rgba(15, 49, 84, .08);
  --max: 1240px;
  --bar-h: 60px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.75;
  -webkit-font-smoothing: antialiased; padding-bottom: var(--bar-h);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
h1, h2, h3 { color: var(--brand); line-height: 1.3; }
h2.title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; text-align: center; margin-bottom: 14px; }
h2.title .soft { font-weight: 500; color: var(--brand-2); }
.subtitle { color: var(--muted); font-size: 1.08rem; text-align: center; max-width: 640px; margin: 0 auto 52px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 12px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5a; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { box-shadow: var(--shadow); }
.btn-outline { border-color: var(--line); color: var(--brand); background: #fff; }
.btn-outline:hover { border-color: var(--brand); }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .24); }

/* ---------- Header (two rows) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0 6px; }
.brand .logo-img { height: 70px; width: auto; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 99px;
  background: var(--bg-soft); color: var(--brand); font-weight: 600; font-size: .92rem; transition: .15s;
}
.pill:hover { background: var(--tint); }
.pill svg { width: 18px; height: 18px; color: var(--accent); }
.top-actions .btn { padding: 9px 18px; font-size: .95rem; border-radius: 99px; }
.mainnav { display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  position: relative; display: block; padding: 12px 0 14px; font-weight: 600; color: #4a5568; transition: color .15s;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a.active { color: var(--brand); }
.nav-links a.active::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--accent);
}
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 6px; color: var(--brand); }
.menu-btn svg { width: 28px; height: 28px; }

/* ---------- Rings motif (used in hero, page hero, CTA) ---------- */
.rings { position: relative; overflow: hidden; isolation: isolate; }
.rings::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 135%, rgba(255, 255, 255, .055) 0 110px, transparent 110px 220px);
}

/* ---------- Home hero slider ---------- */
.hero {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 70%, #24538a 100%);
  color: #fff; min-height: 600px; padding-bottom: 130px;
}
.hero .rings-accent {
  position: absolute; inset-inline-end: -140px; top: -140px; width: 520px; height: 520px; border-radius: 50%;
  border: 60px solid rgba(168, 40, 56, .22); z-index: -1;
}
.hero-art { position: absolute; z-index: -1; inset-inline-end: 7%; top: 48px; width: min(30vw, 380px); color: rgba(255, 255, 255, .13); }
.slides { position: relative; min-height: 430px; }
.slide {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; max-width: 720px;
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .6s, transform .6s, visibility .6s;
}
.slide.active { opacity: 1; visibility: visible; transform: none; }
.slide .tag { align-self: flex-start; }
.slide h1 { color: #fff; font-size: clamp(2rem, 4.8vw, 3.5rem); font-weight: 700; margin: 14px 0 16px; }
.slide h1 .hl { color: #ffb3bc; }
.slide p { color: #d5deeb; font-size: 1.12rem; max-width: 600px; margin-bottom: 30px; }
.slide .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.slider-ctrl { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.slider-ctrl button {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: transparent;
  color: #fff; cursor: pointer; display: grid; place-items: center; transition: .15s;
}
.slider-ctrl button:hover { background: rgba(255, 255, 255, .15); }
.slider-ctrl svg { width: 18px; height: 18px; }
[dir="rtl"] .slider-ctrl .arrow svg { transform: scaleX(-1); }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border: 0; padding: 0; border-radius: 99px; background: rgba(255, 255, 255, .4); transition: width .2s; }
.dots button.active { width: 28px; background: #fff; }
.tag {
  display: inline-block; font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 99px;
  background: var(--accent); color: #fff;
}

/* Quick service cards overlapping the hero */
.quick { position: relative; z-index: 5; margin-top: -96px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick-card {
  background: #fff; border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px; min-height: 172px; transition: transform .2s, box-shadow .2s;
  border-bottom: 3px solid transparent;
}
.quick-card:hover { transform: translateY(-4px); border-bottom-color: var(--accent); }
.quick-card svg { width: 40px; height: 40px; color: var(--brand); stroke-width: 1.4; }
.quick-card h3 { font-size: 1.12rem; font-weight: 600; }
.quick-card p { color: var(--muted); font-size: .9rem; line-height: 1.6; margin-top: -8px; }

/* ---------- About + stat collage ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-grid h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 18px; }
.about-grid p { color: var(--muted); font-size: 1.05rem; margin-bottom: 14px; }
.about-grid .btn { margin-top: 10px; }
.collage { position: relative; min-height: 440px; }
.collage .visual {
  position: absolute; inset: 40px 70px 40px 70px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(150deg, var(--brand), var(--brand-2)); display: grid; place-items: center;
}
.collage .visual img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collage .visual .logo-badge { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); width: 58%; }
.stat {
  position: absolute; background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow); min-width: 190px;
}
.stat b { display: block; font-size: 1.55rem; color: var(--brand); line-height: 1.2; }
.stat span { color: var(--muted); font-size: .9rem; }
.stat .badge {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; background: #e7f8ee; color: #148a47;
  font-size: .78rem; font-weight: 600; padding: 2px 10px; border-radius: 6px;
}
.stat.s1 { top: 0; inset-inline-start: 0; }
.stat.s2 { top: 44%; inset-inline-end: 0; }
.stat.s3 { bottom: 0; inset-inline-start: 18%; }

/* ---------- Outlined service cards ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service {
  border: 1.5px solid #c9d4e4; border-radius: var(--radius); padding: 36px 22px 30px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px; transition: .2s; background: #fff;
}
.service:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.service svg { width: 54px; height: 54px; color: var(--brand); stroke-width: 1.4; }
.service h3 { font-size: 1.2rem; font-weight: 600; }
.service p { color: var(--muted); font-size: .92rem; }
.service .more { color: var(--accent); font-weight: 600; font-size: .9rem; margin-top: auto; }

/* ---------- Values row ---------- */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
.value .ico {
  width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(15, 49, 84, .09);
  display: grid; place-items: center; color: var(--brand);
}
.value .ico svg { width: 36px; height: 36px; stroke-width: 1.5; }
.value h3 { font-size: 1.12rem; font-weight: 500; color: #4a5568; }

/* ---------- Price cards (with navy footer band) ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  border: 1.5px solid var(--line); background: #fff; padding: 9px 22px; border-radius: 99px;
  font-size: .95rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: .15s;
}
.filter.active, .filter:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.cards.featured { grid-template-columns: repeat(auto-fit, minmax(270px, 380px)); justify-content: center; }
.card {
  border: 1.5px solid #c9d4e4; border-radius: var(--radius); overflow: hidden; background: #fff;
  display: flex; flex-direction: column; transition: .2s;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--brand-2); }
.card .body { padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card .tag { align-self: flex-start; }
.card h3 { font-size: 1.15rem; font-weight: 600; }
.card .sub { font-size: .84rem; color: var(--muted); margin-top: -8px; }
.card ul { list-style: none; display: grid; gap: 7px; font-size: .93rem; }
.card li { display: flex; gap: 9px; align-items: flex-start; }
.card li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.card .foot {
  background: var(--brand); color: #fff; padding: 14px 18px 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.card.single .foot { background: var(--brand-2); }
.price { font-weight: 700; font-size: 1.8rem; line-height: 1; white-space: nowrap; }
.price sub { font-size: .8rem; font-weight: 500; vertical-align: baseline; margin-inline-start: 4px; opacity: .75; }
.card .foot .btn { padding: 9px 18px; font-size: .9rem; border-radius: 10px; }
.note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 34px; }
.center { text-align: center; margin-top: 34px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { border: 1.5px solid #c9d4e4; border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.step .body { padding: 28px 26px; flex: 1; }
.step .num { font-size: 2.4rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--muted); }
.step .foot { background: var(--brand); height: 10px; }

/* ---------- FAQ ---------- */
.faq { max-width: 920px; margin-inline: auto; display: grid; gap: 16px; }
.faq details { border: 1.5px solid #cfd8e5; border-radius: 12px; padding: 20px 24px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 1.05rem; color: #3d4757; list-style: none; display: flex; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: var(--accent); font-size: 1.6rem; line-height: 1; font-weight: 400; width: 18px; flex: none; }
.faq details[open] summary::before { content: "−"; }
.faq details[open] { border-color: var(--brand-2); }
.faq p { color: var(--muted); margin-top: 10px; padding-inline-start: 34px; }

/* ---------- Inner page hero ---------- */
.page-hero { background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #fff; padding: 56px 0 64px; }
.crumbs { font-size: .9rem; color: #b8c6da; margin-bottom: 10px; }
.crumbs a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); }
.page-hero p { color: #d5deeb; font-size: 1.08rem; max-width: 640px; margin-top: 8px; }

/* ---------- About page ---------- */
.checklist { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.checklist li { display: flex; gap: 12px; color: var(--ink); }
.checklist li::before {
  content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--tint);
  color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { border: 1.5px solid #c9d4e4; border-radius: var(--radius); padding: 30px 26px; background: #fff; }
.feature .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ico svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feature p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.info-list { display: grid; gap: 14px; }
.info-item { display: flex; gap: 16px; align-items: center; background: #fff; border: 1.5px solid #c9d4e4; border-radius: 14px; padding: 18px; transition: .15s; }
a.info-item:hover { border-color: var(--brand); }
.info-item .ico { width: 50px; height: 50px; border-radius: 12px; background: var(--tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.info-item .ico svg { width: 24px; height: 24px; }
.info-item small { color: var(--muted); display: block; }
.info-item b { color: var(--brand); }
.form { background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow); display: grid; gap: 16px; border-top: 4px solid var(--accent); }
.form h3 { font-size: 1.3rem; }
.form label { font-weight: 600; font-size: .92rem; color: var(--brand); display: grid; gap: 6px; }
.form input, .form select {
  font-family: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg-soft); color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus { outline: 2px solid var(--brand-2); border-color: transparent; background: #fff; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form fieldset { border: 0; }
.form legend { font-weight: 600; font-size: .92rem; color: var(--brand); margin-bottom: 6px; }
.radio-row { display: flex; gap: 10px; }
.radio-row label { flex: 1; display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px; cursor: pointer; font-weight: 500; color: var(--ink); }
.radio-row input { width: auto; accent-color: var(--accent); }
.map { border-radius: 20px; overflow: hidden; border: 1.5px solid #c9d4e4; margin-top: 32px; }
.map iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-wrap { padding: 96px 0; }
.cta {
  background: linear-gradient(120deg, var(--brand), var(--brand-2)); border-radius: 24px; color: #fff;
  text-align: center; padding: 64px 28px;
}
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 10px; }
.cta p { color: #d5deeb; font-size: 1.12rem; margin-bottom: 26px; }
.cta .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 26px; text-align: center; background: #fff; }
.site-footer .logo-img { height: 82px; width: auto; margin: 0 auto 18px; }
.socials { display: flex; justify-content: center; gap: 12px; margin-bottom: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #c9d4e4; display: grid; place-items: center; color: var(--brand); transition: .15s; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials svg { width: 18px; height: 18px; }
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; margin-bottom: 18px; }
.foot-links li + li { border-inline-start: 1px solid var(--line); }
.foot-links a { padding: 0 22px; color: #4a5568; }
.foot-links a:hover { color: var(--accent); }
.foot-address { color: var(--muted); font-size: .92rem; }
.copy { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; font-size: .86rem; color: var(--muted); }
.copy .credit { display: block; margin-top: 6px; font-size: .8rem; color: var(--brand-2); font-weight: 500; }

/* ---------- Fixed bottom bar ---------- */
.bottom-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60; height: var(--bar-h); background: #fff;
  box-shadow: 0 -4px 20px rgba(15, 49, 84, .08); border-top: 1px solid var(--line);
}
.bottom-bar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.bb-group { display: flex; align-items: center; height: 100%; }
.bb-item { display: flex; align-items: center; gap: 8px; padding: 0 20px; height: 60%; color: #4a5568; font-weight: 500; font-size: .95rem; transition: color .15s; }
.bb-item + .bb-item { border-inline-start: 1px solid var(--line); }
.bb-item:hover { color: var(--accent); }
.bb-item svg { width: 20px; height: 20px; color: var(--brand); }
.bb-item.wa svg { color: var(--wa); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .quick-grid, .services { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps, .features { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .brand .logo-img { height: 56px; }
  .top-actions .btn, .top-actions .pill.phone { display: none; }
  .menu-btn { display: block; }
  .mainnav { position: absolute; inset-inline: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .mainnav.open { display: block; }
  .nav-links { flex-direction: column; gap: 0; width: min(var(--max), 100% - 32px); margin-inline: auto; padding-bottom: 10px; }
  .nav-links a.active::after { inset-inline-end: auto; width: 4px; height: 60%; top: 20%; bottom: auto; inset-inline-start: -12px; border-radius: 4px; }
  .hero { min-height: 0; padding-bottom: 120px; }
  .hero-art { display: none; }
  .slides { min-height: 430px; }
  .quick-grid, .services { grid-template-columns: 1fr 1fr; gap: 12px; }
  .quick-card { padding: 18px 16px; min-height: 0; }
  .quick-card p { display: none; }
  .services { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .collage { min-height: 400px; }
  .collage .visual { inset: 50px 20px; }
  .stat { min-width: 0; padding: 12px 14px; }
  .stat b { font-size: 1.25rem; }
  .form .two { grid-template-columns: 1fr; }
  .bb-item { padding: 0 10px; font-size: .78rem; flex-direction: column; gap: 2px; justify-content: center; }
  .bb-item + .bb-item { border: 0; }
  .bottom-bar .container { justify-content: space-around; }
  .bb-group { display: contents; }
  .foot-links a { padding: 0 12px; }
}
